Skip to content

Commit 77e8bbd

Browse files
authored
Merge pull request #772 from cxznmhdcxz/standardV2-for-nat-gateway-and-public-ip
[Network] StandardV2 for NAT Gateway and Public IP
2 parents dd1be5a + 66aac80 commit 77e8bbd

31 files changed

Lines changed: 9469 additions & 0 deletions

File tree

Commands/network/nat/gateway/_create.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,14 @@ Create a NAT gateway.
1414
```bash
1515
network nat gateway create --resource-group MyResourceGroup --name MyNatGateway --location MyLocation --public-ip-addresses MyPublicIp --public-ip-prefixes MyPublicIpPrefix --idle-timeout 4 --zone 2
1616
```
17+
18+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25hdGdhdGV3YXlzL3t9/2024-07-01.xml) **Stable**
19+
20+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/natgateways/{} 2024-07-01 -->
21+
22+
#### examples
23+
24+
- Create a NAT gateway.
25+
```bash
26+
network nat gateway create --resource-group MyResourceGroup --name MyNatGateway --location MyLocation --public-ip-addresses MyPublicIp --public-ip-prefixes MyPublicIpPrefix --idle-timeout 4 --zone 2
27+
```

Commands/network/nat/gateway/_delete.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,14 @@ Delete a NAT gateway.
1414
```bash
1515
network nat gateway delete --resource-group MyResourceGroup --name MyNatGateway
1616
```
17+
18+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25hdGdhdGV3YXlzL3t9/2024-07-01.xml) **Stable**
19+
20+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/natgateways/{} 2024-07-01 -->
21+
22+
#### examples
23+
24+
- Delete a NAT gateway.
25+
```bash
26+
network nat gateway delete --resource-group MyResourceGroup --name MyNatGateway
27+
```

Commands/network/nat/gateway/_list.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,15 @@ List NAT gateways.
1515
```bash
1616
network nat gateway list -g MyResourceGroup
1717
```
18+
19+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25hdGdhdGV3YXlz/2024-07-01.xml) **Stable**
20+
21+
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.network/natgateways 2024-07-01 -->
22+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/natgateways 2024-07-01 -->
23+
24+
#### examples
25+
26+
- List NAT gateways.
27+
```bash
28+
network nat gateway list -g MyResourceGroup
29+
```

Commands/network/nat/gateway/_show.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,19 @@ Show details of a NAT gateway.
1919
```bash
2020
network nat gateway show --ids {GatewayId}
2121
```
22+
23+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25hdGdhdGV3YXlzL3t9/2024-07-01.xml) **Stable**
24+
25+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/natgateways/{} 2024-07-01 -->
26+
27+
#### examples
28+
29+
- Show details of a NAT gateway.
30+
```bash
31+
network nat gateway show --resource-group MyResourceGroup --name MyNatGateway
32+
```
33+
34+
- Show NAT gateway using ID.
35+
```bash
36+
network nat gateway show --ids {GatewayId}
37+
```

Commands/network/nat/gateway/_update.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,14 @@ Update a NAT gateway.
1414
```bash
1515
network nat gateway update -g MyResourceGroup --name MyNatGateway --idle-timeout 5
1616
```
17+
18+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25hdGdhdGV3YXlzL3t9/2024-07-01.xml) **Stable**
19+
20+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/natgateways/{} 2024-07-01 -->
21+
22+
#### examples
23+
24+
- Update a NAT gateway.
25+
```bash
26+
network nat gateway update -g MyResourceGroup --name MyNatGateway --idle-timeout 5
27+
```

Commands/network/public-ip/_create.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,24 @@ Create a public IP address.
129129
```bash
130130
network public-ip create -g MyResourceGroup -n MyIp --zone 2
131131
```
132+
133+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3B1YmxpY2lwYWRkcmVzc2VzL3t9/2024-07-01.xml) **Stable**
134+
135+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipaddresses/{} 2024-07-01 -->
136+
137+
#### examples
138+
139+
- Create a basic public IP resource.
140+
```bash
141+
network public-ip create -g MyResourceGroup -n MyIp
142+
```
143+
144+
- Create a static public IP resource for a DNS name label.
145+
```bash
146+
network public-ip create -g MyResourceGroup -n MyIp --dns-name MyLabel --allocation-method Static
147+
```
148+
149+
- Create a public IP resource in an availability zone in the current resource group region.
150+
```bash
151+
network public-ip create -g MyResourceGroup -n MyIp --zone 2
152+
```

Commands/network/public-ip/_delete.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,14 @@ Delete a public IP address.
6969
```bash
7070
network public-ip delete -g MyResourceGroup -n MyIp
7171
```
72+
73+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3B1YmxpY2lwYWRkcmVzc2VzL3t9/2024-07-01.xml) **Stable**
74+
75+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipaddresses/{} 2024-07-01 -->
76+
77+
#### examples
78+
79+
- Delete a public IP address.
80+
```bash
81+
network public-ip delete -g MyResourceGroup -n MyIp
82+
```

Commands/network/public-ip/_list.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,25 @@ List public IP addresses.
135135
```bash
136136
network public-ip list -g MyResourceGroup --query "[?dnsSettings.domainNameLabel=='MyLabel']"
137137
```
138+
139+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3B1YmxpY2lwYWRkcmVzc2Vz/2024-07-01.xml) **Stable**
140+
141+
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.network/publicipaddresses 2024-07-01 -->
142+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipaddresses 2024-07-01 -->
143+
144+
#### examples
145+
146+
- List all public IPs in a subscription.
147+
```bash
148+
network public-ip list
149+
```
150+
151+
- List all public IPs in a resource group.
152+
```bash
153+
network public-ip list -g MyResourceGroup
154+
```
155+
156+
- List all public IPs of a domain name label.
157+
```bash
158+
network public-ip list -g MyResourceGroup --query "[?dnsSettings.domainNameLabel=='MyLabel']"
159+
```

Commands/network/public-ip/_show.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,19 @@ Get the details of a public IP address.
9999
```bash
100100
network public-ip show -g MyResourceGroup -n MyIp --query "{fqdn: dnsSettings.fqdn,address: ipAddress}"
101101
```
102+
103+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3B1YmxpY2lwYWRkcmVzc2VzL3t9/2024-07-01.xml) **Stable**
104+
105+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipaddresses/{} 2024-07-01 -->
106+
107+
#### examples
108+
109+
- Get information about a public IP resource.
110+
```bash
111+
network public-ip show -g MyResourceGroup -n MyIp
112+
```
113+
114+
- Get the FQDN and IP address of a public IP resource.
115+
```bash
116+
network public-ip show -g MyResourceGroup -n MyIp --query "{fqdn: dnsSettings.fqdn,address: ipAddress}"
117+
```

Commands/network/public-ip/_update.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,19 @@ Update a public IP address.
8484
```bash
8585
network public-ip update -g MyResourceGroup -n MyIP --protection-mode Disabled --ddos-protection-plan null
8686
```
87+
88+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3B1YmxpY2lwYWRkcmVzc2VzL3t9/2024-07-01.xml) **Stable**
89+
90+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/publicipaddresses/{} 2024-07-01 -->
91+
92+
#### examples
93+
94+
- Update a public IP resource with a DNS name label and static allocation.
95+
```bash
96+
network public-ip update -g MyResourceGroup -n MyIp --dns-name MyLabel --allocation-method Static
97+
```
98+
99+
- Detach a DDoS protection plan in a public IP resource.
100+
```bash
101+
network public-ip update -g MyResourceGroup -n MyIP --protection-mode Disabled --ddos-protection-plan null
102+
```

0 commit comments

Comments
 (0)