Skip to content
Merged
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/nat/gateway/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Create a NAT gateway.
```bash
network nat gateway create --resource-group MyResourceGroup --name MyNatGateway --location MyLocation --public-ip-addresses MyPublicIp --public-ip-prefixes MyPublicIpPrefix --idle-timeout 4 --zone 2
```

### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25hdGdhdGV3YXlzL3t9/2024-07-01.xml) **Stable**

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

#### examples

- Create a NAT gateway.
```bash
network nat gateway create --resource-group MyResourceGroup --name MyNatGateway --location MyLocation --public-ip-addresses MyPublicIp --public-ip-prefixes MyPublicIpPrefix --idle-timeout 4 --zone 2
```
11 changes: 11 additions & 0 deletions Commands/network/nat/gateway/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Delete a NAT gateway.
```bash
network nat gateway delete --resource-group MyResourceGroup --name MyNatGateway
```

### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25hdGdhdGV3YXlzL3t9/2024-07-01.xml) **Stable**

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

#### examples

- Delete a NAT gateway.
```bash
network nat gateway delete --resource-group MyResourceGroup --name MyNatGateway
```
12 changes: 12 additions & 0 deletions Commands/network/nat/gateway/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,15 @@ List NAT gateways.
```bash
network nat gateway list -g MyResourceGroup
```

### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25hdGdhdGV3YXlz/2024-07-01.xml) **Stable**

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

#### examples

- List NAT gateways.
```bash
network nat gateway list -g MyResourceGroup
```
16 changes: 16 additions & 0 deletions Commands/network/nat/gateway/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,19 @@ Show details of a NAT gateway.
```bash
network nat gateway show --ids {GatewayId}
```

### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25hdGdhdGV3YXlzL3t9/2024-07-01.xml) **Stable**

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

#### examples

- Show details of a NAT gateway.
```bash
network nat gateway show --resource-group MyResourceGroup --name MyNatGateway
```

- Show NAT gateway using ID.
```bash
network nat gateway show --ids {GatewayId}
```
11 changes: 11 additions & 0 deletions Commands/network/nat/gateway/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Update a NAT gateway.
```bash
network nat gateway update -g MyResourceGroup --name MyNatGateway --idle-timeout 5
```

### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25hdGdhdGV3YXlzL3t9/2024-07-01.xml) **Stable**

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

#### examples

- Update a NAT gateway.
```bash
network nat gateway update -g MyResourceGroup --name MyNatGateway --idle-timeout 5
```
21 changes: 21 additions & 0 deletions Commands/network/public-ip/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,24 @@ Create a public IP address.
```bash
network public-ip create -g MyResourceGroup -n MyIp --zone 2
```

### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3B1YmxpY2lwYWRkcmVzc2VzL3t9/2024-07-01.xml) **Stable**

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

#### examples

- Create a basic public IP resource.
```bash
network public-ip create -g MyResourceGroup -n MyIp
```

- Create a static public IP resource for a DNS name label.
```bash
network public-ip create -g MyResourceGroup -n MyIp --dns-name MyLabel --allocation-method Static
```

- Create a public IP resource in an availability zone in the current resource group region.
```bash
network public-ip create -g MyResourceGroup -n MyIp --zone 2
```
11 changes: 11 additions & 0 deletions Commands/network/public-ip/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,14 @@ Delete a public IP address.
```bash
network public-ip delete -g MyResourceGroup -n MyIp
```

### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3B1YmxpY2lwYWRkcmVzc2VzL3t9/2024-07-01.xml) **Stable**

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

#### examples

- Delete a public IP address.
```bash
network public-ip delete -g MyResourceGroup -n MyIp
```
22 changes: 22 additions & 0 deletions Commands/network/public-ip/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,25 @@ List public IP addresses.
```bash
network public-ip list -g MyResourceGroup --query "[?dnsSettings.domainNameLabel=='MyLabel']"
```

### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3B1YmxpY2lwYWRkcmVzc2Vz/2024-07-01.xml) **Stable**

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

#### examples

- List all public IPs in a subscription.
```bash
network public-ip list
```

- List all public IPs in a resource group.
```bash
network public-ip list -g MyResourceGroup
```

- List all public IPs of a domain name label.
```bash
network public-ip list -g MyResourceGroup --query "[?dnsSettings.domainNameLabel=='MyLabel']"
```
16 changes: 16 additions & 0 deletions Commands/network/public-ip/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,19 @@ Get the details of a public IP address.
```bash
network public-ip show -g MyResourceGroup -n MyIp --query "{fqdn: dnsSettings.fqdn,address: ipAddress}"
```

### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3B1YmxpY2lwYWRkcmVzc2VzL3t9/2024-07-01.xml) **Stable**

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

#### examples

- Get information about a public IP resource.
```bash
network public-ip show -g MyResourceGroup -n MyIp
```

- Get the FQDN and IP address of a public IP resource.
```bash
network public-ip show -g MyResourceGroup -n MyIp --query "{fqdn: dnsSettings.fqdn,address: ipAddress}"
```
16 changes: 16 additions & 0 deletions Commands/network/public-ip/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,19 @@ Update a public IP address.
```bash
network public-ip update -g MyResourceGroup -n MyIP --protection-mode Disabled --ddos-protection-plan null
```

### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3B1YmxpY2lwYWRkcmVzc2VzL3t9/2024-07-01.xml) **Stable**

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

#### examples

- Update a public IP resource with a DNS name label and static allocation.
```bash
network public-ip update -g MyResourceGroup -n MyIp --dns-name MyLabel --allocation-method Static
```

- Detach a DDoS protection plan in a public IP resource.
```bash
network public-ip update -g MyResourceGroup -n MyIP --protection-mode Disabled --ddos-protection-plan null
```
11 changes: 11 additions & 0 deletions Commands/network/public-ip/prefix/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,14 @@ Create a public IP prefix resource.
```bash
network public-ip prefix create --length 28 --location westus2 --name MyPublicIPPrefix --resource-group MyResourceGroup
```

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

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

#### examples

- Create a public IP prefix resource. (autogenerated)
```bash
network public-ip prefix create --length 28 --location westus2 --name MyPublicIPPrefix --resource-group MyResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/network/public-ip/prefix/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,14 @@ Delete a public IP prefix resource.
```bash
network public-ip prefix delete --name MyPublicIPPrefix --resource-group MyResourceGroup
```

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

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

#### examples

- Delete a public IP prefix resource. (autogenerated)
```bash
network public-ip prefix delete --name MyPublicIPPrefix --resource-group MyResourceGroup
```
12 changes: 12 additions & 0 deletions Commands/network/public-ip/prefix/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,15 @@ List public IP prefix resources.
```bash
network public-ip prefix list --resource-group MyResourceGroup
```

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

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

#### examples

- List public IP prefix resource.
```bash
network public-ip prefix list --resource-group MyResourceGroup
```
11 changes: 11 additions & 0 deletions Commands/network/public-ip/prefix/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,14 @@ Get the details of a public IP prefix resource.
```bash
network public-ip prefix show --name MyPublicIPPrefix --resource-group MyResourceGroup --subscription MySubscription
```

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

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

#### examples

- Get the details of a public IP prefix resource. (autogenerated)
```bash
network public-ip prefix show --name MyPublicIPPrefix --resource-group MyResourceGroup --subscription MySubscription
```
11 changes: 11 additions & 0 deletions Commands/network/public-ip/prefix/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,14 @@ Update a public IP prefix resource.
```bash
network public-ip prefix update --name MyPublicIPPrefix --resource-group MyResourceGroup --set useRemoteGateways=true
```

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

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

#### examples

- Update a public IP prefix resource. (autogenerated)
```bash
network public-ip prefix update --name MyPublicIPPrefix --resource-group MyResourceGroup --set useRemoteGateways=true
```
Loading