Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Commands/network/ddos-custom-policy/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Create a DDoS custom policy.
```bash
network ddos-custom-policy create --resource-group rg1 --ddos-custom-policy-name test-ddos-custom-policy --location centraluseuap --detection-rules "[{name:detectionRuleTcp,detection-mode:TrafficThreshold,traffic-detection-rule:{traffic-type:Tcp,packets-per-second:1000000}}]"
```

### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcy97fQ==/2025-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/ddoscustompolicies/{} 2025-07-01 -->

#### examples

- Create DDoS custom policy
```bash
network ddos-custom-policy create --resource-group rg1 --ddos-custom-policy-name test-ddos-custom-policy --location centraluseuap --detection-rules "[{name:detectionRuleTcp,detection-mode:TrafficThreshold,traffic-detection-rule:{traffic-type:Tcp,packets-per-second:1000000}}]"
```
11 changes: 11 additions & 0 deletions Commands/network/ddos-custom-policy/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Delete the specified DDoS custom policy.
```bash
network ddos-custom-policy delete --resource-group rg1 --ddos-custom-policy-name test-ddos-custom-policy
```

### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcy97fQ==/2025-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/ddoscustompolicies/{} 2025-07-01 -->

#### examples

- Delete DDoS custom policy
```bash
network ddos-custom-policy delete --resource-group rg1 --ddos-custom-policy-name test-ddos-custom-policy
```
9 changes: 9 additions & 0 deletions Commands/network/ddos-custom-policy/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _network ddos-custom-policy list_

List all the DDoS custom policies in a resource group.

## Versions

### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcw==/2025-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/ddoscustompolicies 2025-07-01 -->
11 changes: 11 additions & 0 deletions Commands/network/ddos-custom-policy/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Get information about the specified DDoS custom policy.
```bash
network ddos-custom-policy show --resource-group rg1 --ddos-custom-policy-name test-ddos-custom-policy
```

### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcy97fQ==/2025-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/ddoscustompolicies/{} 2025-07-01 -->

#### examples

- Get DDoS custom policy
```bash
network ddos-custom-policy show --resource-group rg1 --ddos-custom-policy-name test-ddos-custom-policy
```
11 changes: 11 additions & 0 deletions Commands/network/ddos-custom-policy/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Update a DDoS custom policy.
```bash
network ddos-custom-policy update --resource-group rg1 --ddos-custom-policy-name test-ddos-custom-policy --location centraluseuap --detection-rules "[{name:detectionRuleTcp,detection-mode:TrafficThreshold,traffic-detection-rule:{traffic-type:Tcp,packets-per-second:1000000}}]"
```

### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Rkb3NjdXN0b21wb2xpY2llcy97fQ==/2025-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/ddoscustompolicies/{} 2025-07-01 -->

#### examples

- Create DDoS custom policy
```bash
network ddos-custom-policy update --resource-group rg1 --ddos-custom-policy-name test-ddos-custom-policy --location centraluseuap --detection-rules "[{name:detectionRuleTcp,detection-mode:TrafficThreshold,traffic-detection-rule:{traffic-type:Tcp,packets-per-second:1000000}}]"
```
3 changes: 3 additions & 0 deletions Commands/network/ddos-custom-policy/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ Manage Ddos Custom Policy
- [delete](/Commands/network/ddos-custom-policy/_delete.md)
: Delete the specified DDoS custom policy.

- [list](/Commands/network/ddos-custom-policy/_list.md)
: List all the DDoS custom policies in a resource group.

- [show](/Commands/network/ddos-custom-policy/_show.md)
: Get information about the specified DDoS custom policy.

Expand Down
31 changes: 31 additions & 0 deletions Commands/network/lb/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,3 +189,34 @@ Create a load balancer.
```bash
network lb create -g MyResourceGroup -n MyLb --sku Standard --frontend-ip-zone 1 --vnet-name MyVnet --subnet MySubnet
```

### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2xvYWRiYWxhbmNlcnMve30=/2025-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/loadbalancers/{} 2025-07-01 -->

#### examples

- Create a basic load balancer.
```bash
network lb create -g MyResourceGroup -n MyLb --sku Basic
```

- Create a basic load balancer on a specific virtual network and subnet If a virtual network with the same name is found in the same resource group, the load balancer will utilize this virtual network. If one is not found a new one will be created.
```bash
network lb create -g MyResourceGroup -n MyLb --sku Basic --vnet-name MyVnet --subnet MySubnet
```

- Create a basic load balancer on a subnet of a pre-existing virtual network. The subnet can be in arbitary resource group or subscription by providing the ID of the subnet.
```bash
network lb create -g MyResourceGroup -n MyLb --sku Basic --subnet {subnetID}
```

- Create a basic zone flavored internal load balancer, through provisioning a zonal public ip.
```bash
network lb create -g MyResourceGroup -n MyLb --sku Basic --public-ip-zone 2
```

- Create a standard zone flavored public-facing load balancer, through provisioning a zonal frontend ip configuration and Vnet.
```bash
network lb create -g MyResourceGroup -n MyLb --sku Standard --frontend-ip-zone 1 --vnet-name MyVnet --subnet MySubnet
```
11 changes: 11 additions & 0 deletions Commands/network/lb/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,14 @@ Delete the specified load balancer.
```bash
network lb delete -g MyResourceGroup -n MyLb
```

### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2xvYWRiYWxhbmNlcnMve30=/2025-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/loadbalancers/{} 2025-07-01 -->

#### examples

- Delete a load balancer.
```bash
network lb delete -g MyResourceGroup -n MyLb
```
11 changes: 11 additions & 0 deletions Commands/network/lb/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,14 @@ List load balancers.
```bash
network lb list -g MyResourceGroup
```

### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2xvYWRiYWxhbmNlcnM=/2025-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/loadbalancers 2025-07-01 -->

#### examples

- List load balancers.
```bash
network lb list -g MyResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/network/lb/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,14 @@ Get the details of a load balancer.
```bash
network lb show -g MyResourceGroup -n MyLb
```

### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2xvYWRiYWxhbmNlcnMve30=/2025-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/loadbalancers/{} 2025-07-01 -->

#### examples

- Get the details of a load balancer.
```bash
network lb show -g MyResourceGroup -n MyLb
```
11 changes: 11 additions & 0 deletions Commands/network/lb/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,14 @@ This command can only be used to update the tags for a load balancer. Name and r
```bash
network lb update -g MyResourceGroup -n MyLB --tags CostCenter=MyTestGroup
```

### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2xvYWRiYWxhbmNlcnMve30=/2025-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/loadbalancers/{} 2025-07-01 -->

#### examples

- Update the tags of a load balancer.
```bash
network lb update -g MyResourceGroup -n MyLB --tags CostCenter=MyTestGroup
```
16 changes: 16 additions & 0 deletions Commands/network/lb/frontend-ip/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,19 @@ Create a frontend IP address.
```bash
network lb frontend-ip create -g MyResourceGroup -n MyFrontendIp --lb-name MyLb --private-ip-address 10.10.10.100 --subnet MySubnet --vnet-name MyVnet
```

### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2xvYWRiYWxhbmNlcnMve30=/2025-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/loadbalancers/{} 2025-07-01 properties.frontendIPConfigurations[] -->

#### examples

- Create a frontend ip address for a public load balancer.
```bash
network lb frontend-ip create -g MyResourceGroup -n MyFrontendIp --lb-name MyLb --public-ip-address MyFrontendIp
```

- Create a frontend ip address for an internal load balancer.
```bash
network lb frontend-ip create -g MyResourceGroup -n MyFrontendIp --lb-name MyLb --private-ip-address 10.10.10.100 --subnet MySubnet --vnet-name MyVnet
```
11 changes: 11 additions & 0 deletions Commands/network/lb/frontend-ip/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,14 @@ Delete a frontend IP address.
```bash
network lb frontend-ip delete -g MyResourceGroup --lb-name MyLb -n MyFrontendIp
```

### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2xvYWRiYWxhbmNlcnMve30=/2025-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/loadbalancers/{} 2025-07-01 properties.frontendIPConfigurations[] -->

#### examples

- Delete a frontend IP address.
```bash
network lb frontend-ip delete -g MyResourceGroup --lb-name MyLb -n MyFrontendIp
```
11 changes: 11 additions & 0 deletions Commands/network/lb/frontend-ip/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,14 @@ List frontend IP addresses.
```bash
network lb frontend-ip list -g MyResourceGroup --lb-name MyLb
```

### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2xvYWRiYWxhbmNlcnMve30=/2025-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/loadbalancers/{} 2025-07-01 properties.frontendIPConfigurations -->

#### examples

- List frontend IP addresses.
```bash
network lb frontend-ip list -g MyResourceGroup --lb-name MyLb
```
11 changes: 11 additions & 0 deletions Commands/network/lb/frontend-ip/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,14 @@ Get the details of a frontend IP address.
```bash
network lb frontend-ip show -g MyResourceGroup --lb-name MyLb -n MyFrontendIp
```

### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2xvYWRiYWxhbmNlcnMve30=/2025-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/loadbalancers/{} 2025-07-01 properties.frontendIPConfigurations[] -->

#### examples

- Get the details of a frontend IP address.
```bash
network lb frontend-ip show -g MyResourceGroup --lb-name MyLb -n MyFrontendIp
```
16 changes: 16 additions & 0 deletions Commands/network/lb/frontend-ip/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,19 @@ Update a frontend IP address.
```bash
network lb frontend-ip update -g MyResourceGroup --lb-name MyLb -n MyFrontendIp --private-ip-address 10.10.10.50
```

### [2025-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2xvYWRiYWxhbmNlcnMve30=/2025-07-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/loadbalancers/{} 2025-07-01 properties.frontendIPConfigurations[] -->

#### examples

- Update the frontend IP address of a public load balancer.
```bash
network lb frontend-ip update -g MyResourceGroup --lb-name MyLb -n MyFrontendIp --public-ip-address MyNewPublicIp
```

- Update the frontend IP address of an internal load balancer.
```bash
network lb frontend-ip update -g MyResourceGroup --lb-name MyLb -n MyFrontendIp --private-ip-address 10.10.10.50
```
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/ddoscustompolicies", "version": "2025-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9kZG9zQ3VzdG9tUG9saWNpZXM=/V/MjAyNS0wNy0wMQ=="}], "commandGroups": [{"name": "network ddos-custom-policy", "commands": [{"name": "list", "version": "2025-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/ddoscustompolicies", "version": "2025-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9kZG9zQ3VzdG9tUG9saWNpZXM=/V/MjAyNS0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "DdosCustomPolicies_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-07-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/ddosCustomPolicies/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<object>", "name": "detectionRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"readOnly": true, "type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "detectionMode", "enum": {"items": [{"value": "TrafficThreshold"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "trafficDetectionRule", "props": [{"type": "integer32", "name": "packetsPerSecond"}, {"type": "string", "name": "trafficType", "enum": {"items": [{"value": "Tcp"}, {"value": "TcpSyn"}, {"value": "Udp"}]}}]}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "array<object>", "name": "frontEndIpConfiguration", "item": {"type": "object", "props": [{"type": "string", "name": "id"}], "cls": "CommonSubResource_read"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@CommonSubResource_read>", "name": "publicIPAddresses", "item": {"type": "@CommonSubResource_read"}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]}
Loading
Loading