Skip to content

Commit 771b3a6

Browse files
authored
Merge pull request #823 from cxznmhdcxz/standardv2-pipv6-for-nat-gateway-and-public-ip
{Network} StandardV2 Sku and Public IP V6 for Nat Gateway and Public IP
2 parents a4fbf60 + 635986f commit 771b3a6

14 files changed

Lines changed: 8276 additions & 82 deletions

File tree

Commands/network/vnet/_create.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,24 @@ You may also create a subnet at the same time by specifying a subnet name and (o
106106
```bash
107107
network vnet create -g MyResourceGroup -n MyVNet --ipam-allocations [0].number-of-ip-addresses=100 [0].id=ipam-pool-resource-id
108108
```
109+
110+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fQ==/2024-07-01.xml) **Stable**
111+
112+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{} 2024-07-01 -->
113+
114+
#### examples
115+
116+
- Create a virtual network with a specific address prefix and one subnet.
117+
```bash
118+
network vnet create -g MyResourceGroup -n MyVnet --address-prefix 10.0.0.0/16 --subnet-name MySubnet --subnet-prefixes 10.0.0.0/24
119+
```
120+
121+
- Create a virtual network.
122+
```bash
123+
network vnet create --address-prefixes 10.0.0.0/16 --name MyVirtualNetwork --resource-group MyResourceGroup --subnet-name MyAseSubnet --subnet-prefixes 10.0.0.0/24
124+
```
125+
126+
- Create virtual network with an IPAM pool allocation.
127+
```bash
128+
network vnet create -g MyResourceGroup -n MyVNet --ipam-allocations [0].number-of-ip-addresses=100 [0].id=ipam-pool-resource-id
129+
```

Commands/network/vnet/_delete.md

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

Commands/network/vnet/_list.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,25 @@ List virtual networks.
135135
```bash
136136
network vnet list --query "[?contains(addressSpace.addressPrefixes, '10.0.0.0/16')]"
137137
```
138+
139+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcw==/2024-07-01.xml) **Stable**
140+
141+
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.network/virtualnetworks 2024-07-01 -->
142+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks 2024-07-01 -->
143+
144+
#### examples
145+
146+
- List all virtual networks in a subscription.
147+
```bash
148+
network vnet list
149+
```
150+
151+
- List all virtual networks in a resource group.
152+
```bash
153+
network vnet list -g MyResourceGroup
154+
```
155+
156+
- List virtual networks in a subscription which specify a certain address prefix.
157+
```bash
158+
network vnet list --query "[?contains(addressSpace.addressPrefixes, '10.0.0.0/16')]"
159+
```

Commands/network/vnet/_show.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,14 @@ Get the details of a virtual network.
6969
```bash
7070
network vnet show -g MyResourceGroup -n MyVNet
7171
```
72+
73+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fQ==/2024-07-01.xml) **Stable**
74+
75+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{} 2024-07-01 -->
76+
77+
#### examples
78+
79+
- Get details for MyVNet.
80+
```bash
81+
network vnet show -g MyResourceGroup -n MyVNet
82+
```

Commands/network/vnet/_update.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,24 @@ Update a virtual network.
129129
```bash
130130
network vnet update -g MyResourceGroup -n MyVNet --dns-servers null
131131
```
132+
133+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fQ==/2024-07-01.xml) **Stable**
134+
135+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{} 2024-07-01 -->
136+
137+
#### examples
138+
139+
- Update a virtual network with the IP address of a DNS server.
140+
```bash
141+
network vnet update -g MyResourceGroup -n MyVNet --dns-servers 10.2.0.8
142+
```
143+
144+
- Update a virtual network.
145+
```bash
146+
network vnet update --address-prefixes 40.1.0.0/24 --name MyVNet --resource-group MyResourceGroup
147+
```
148+
149+
- Update a virtual network to delete DNS server.
150+
```bash
151+
network vnet update -g MyResourceGroup -n MyVNet --dns-servers null
152+
```

Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcw==/2024-07-01.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcw==/2024-07-01.xml

Lines changed: 1653 additions & 0 deletions
Large diffs are not rendered by default.

Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25hdGdhdGV3YXlzL3t9/2024-07-01.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL25hdGdhdGV3YXlzL3t9/2024-07-01.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
</arg>
161161
</item>
162162
</arg>
163-
<arg type="array<object>" var="$parameters.properties.publicIpAddressesV6" options="pip-addresses-v6" hide="True" group="">
163+
<arg type="array<object>" var="$parameters.properties.publicIpAddressesV6" options="pip-addresses-v6" group="">
164164
<help short="An array of public ip addresses V6 associated with the nat gateway resource."/>
165165
<item type="object" cls="SubResource_create">
166166
<arg type="string" var="@SubResource_create.id" options="id">
@@ -176,11 +176,11 @@
176176
</arg>
177177
</item>
178178
</arg>
179-
<arg type="array<@SubResource_create>" var="$parameters.properties.publicIpPrefixesV6" options="pip-prefixes-v6" hide="True" group="">
179+
<arg type="array<@SubResource_create>" var="$parameters.properties.publicIpPrefixesV6" options="pip-prefixes-v6" group="">
180180
<help short="An array of public ip prefixes V6 associated with the nat gateway resource."/>
181181
<item type="@SubResource_create"/>
182182
</arg>
183-
<arg type="@SubResource_create" var="$parameters.properties.sourceVirtualNetwork" options="source-vnet" hide="True" group="">
183+
<arg type="@SubResource_create" var="$parameters.properties.sourceVirtualNetwork" options="source-vnet" group="">
184184
<help short="A reference to the source virtual network using this nat gateway resource."/>
185185
</arg>
186186
<arg type="object" var="$parameters.tags" options="tags" group="">
@@ -368,7 +368,7 @@
368368
</arg>
369369
</item>
370370
</arg>
371-
<arg nullable="True" type="array<object>" var="$parameters.properties.publicIpAddressesV6" options="pip-addresses-v6" hide="True" group="">
371+
<arg nullable="True" type="array<object>" var="$parameters.properties.publicIpAddressesV6" options="pip-addresses-v6" group="">
372372
<help short="An array of public ip addresses V6 associated with the nat gateway resource."/>
373373
<item nullable="True" type="object" cls="SubResource_update">
374374
<arg nullable="True" type="string" var="@SubResource_update.id" options="id">
@@ -384,11 +384,11 @@
384384
</arg>
385385
</item>
386386
</arg>
387-
<arg nullable="True" type="array<@SubResource_update>" var="$parameters.properties.publicIpPrefixesV6" options="pip-prefixes-v6" hide="True" group="">
387+
<arg nullable="True" type="array<@SubResource_update>" var="$parameters.properties.publicIpPrefixesV6" options="pip-prefixes-v6" group="">
388388
<help short="An array of public ip prefixes V6 associated with the nat gateway resource."/>
389389
<item nullable="True" type="@SubResource_update"/>
390390
</arg>
391-
<arg nullable="True" type="@SubResource_update" var="$parameters.properties.sourceVirtualNetwork" options="source-vnet" hide="True" group="">
391+
<arg nullable="True" type="@SubResource_update" var="$parameters.properties.sourceVirtualNetwork" options="source-vnet" group="">
392392
<help short="A reference to the source virtual network using this nat gateway resource."/>
393393
</arg>
394394
<arg nullable="True" type="object" var="$parameters.tags" options="tags" group="">

Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2FwcGxpY2F0aW9uZ2F0ZXdheXdlYmFwcGxpY2F0aW9uZmlyZXdhbGxwb2xpY2llcy97fQ==/2024-10-01.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)