Skip to content

Commit 386e04f

Browse files
committed
export
1 parent cee53fa commit 386e04f

File tree

11 files changed

+6689
-11
lines changed

11 files changed

+6689
-11
lines changed

Commands/network/vnet/subnet/_create.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,3 +163,19 @@ Create a subnet and associate an existing NSG and route table.
163163
```bash
164164
network vnet subnet create -n MySubnet --vnet-name MyVnet -g MyResourceGroup --nat-gateway MyNatGateway --address-prefixes "10.0.0.0/21"
165165
```
166+
167+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fS9zdWJuZXRzL3t9/2024-07-01.xml) **Stable**
168+
169+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/subnets/{} 2024-07-01 -->
170+
171+
#### examples
172+
173+
- Create new subnet attached to an NSG with a custom route table.
174+
```bash
175+
network vnet subnet create -g MyResourceGroup --vnet-name MyVnet -n MySubnet --address-prefixes 10.0.0.0/24 --network-security-group MyNsg --route-table MyRouteTable
176+
```
177+
178+
- Create new subnet attached to a NAT gateway.
179+
```bash
180+
network vnet subnet create -n MySubnet --vnet-name MyVnet -g MyResourceGroup --nat-gateway MyNatGateway --address-prefixes "10.0.0.0/21"
181+
```

Commands/network/vnet/subnet/_delete.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,14 @@ Delete a subnet.
113113
```bash
114114
network vnet subnet delete --name MySubnet --resource-group MyResourceGroup --vnet-name MyVnet
115115
```
116+
117+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fS9zdWJuZXRzL3t9/2024-07-01.xml) **Stable**
118+
119+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/subnets/{} 2024-07-01 -->
120+
121+
#### examples
122+
123+
- Delete a subnet.
124+
```bash
125+
network vnet subnet delete --name MySubnet --resource-group MyResourceGroup --vnet-name MyVnet
126+
```

Commands/network/vnet/subnet/_list.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,14 @@ List the subnets in a virtual network.
9191
```bash
9292
network vnet subnet list -g MyResourceGroup --vnet-name MyVNet
9393
```
94+
95+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fS9zdWJuZXRz/2024-07-01.xml) **Stable**
96+
97+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/subnets 2024-07-01 -->
98+
99+
#### examples
100+
101+
- List the subnets in a virtual network.
102+
```bash
103+
network vnet subnet list -g MyResourceGroup --vnet-name MyVNet
104+
```

Commands/network/vnet/subnet/_show.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,14 @@ Show details of a subnet.
113113
```bash
114114
network vnet subnet show -g MyResourceGroup -n MySubnet --vnet-name MyVNet
115115
```
116+
117+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fS9zdWJuZXRzL3t9/2024-07-01.xml) **Stable**
118+
119+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/subnets/{} 2024-07-01 -->
120+
121+
#### examples
122+
123+
- Show the details of a subnet associated with a virtual network.
124+
```bash
125+
network vnet subnet show -g MyResourceGroup -n MySubnet --vnet-name MyVNet
126+
```

Commands/network/vnet/subnet/_update.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,3 +263,29 @@ Update a subnet.
263263
```bash
264264
network vnet subnet update -g MyResourceGroup --vnet-name MyVNet -n MySubnet --nsg null
265265
```
266+
267+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fS9zdWJuZXRzL3t9/2024-07-01.xml) **Stable**
268+
269+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/subnets/{} 2024-07-01 -->
270+
271+
#### examples
272+
273+
- Associate a network security group to a subnet.
274+
```bash
275+
network vnet subnet update -g MyResourceGroup -n MySubnet --vnet-name MyVNet --network-security-group MyNsg
276+
```
277+
278+
- Update subnet with NAT gateway.
279+
```bash
280+
network vnet subnet update -n MySubnet --vnet-name MyVnet -g MyResourceGroup --nat-gateway MyNatGateway --address-prefixes "10.0.0.0/21"
281+
```
282+
283+
- Disable the private endpoint network policies.
284+
```bash
285+
network vnet subnet update -n MySubnet --vnet-name MyVnet -g MyResourceGroup --private-endpoint-network-policies Disabled
286+
```
287+
288+
- Detach a network security group in a subnet.
289+
```bash
290+
network vnet subnet update -g MyResourceGroup --vnet-name MyVNet -n MySubnet --nsg null
291+
```

Commands/readme.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@
6565
- [capacity](/Commands/capacity/readme.md)
6666
: Manage capacity.
6767

68-
- [carbon](/Commands/carbon/readme.md)
69-
: Manage Carbon
70-
7168
- [cdn](/Commands/cdn/readme.md)
7269
: Manage Azure Content Delivery Networks (CDNs).
7370

@@ -122,9 +119,6 @@
122119
- [databricks](/Commands/databricks/readme.md)
123120
: Manage databricks workspaces.
124121

125-
- [datadog](/Commands/datadog/readme.md)
126-
: Manage Datadog
127-
128122
- [dataprotection](/Commands/dataprotection/readme.md)
129123
: Manage dataprotection.
130124

@@ -189,7 +183,7 @@
189183
: Manage custom virtual machine images.
190184

191185
- [informatica](/Commands/informatica/readme.md)
192-
: Manage all resources related to Informatica within the Azure CLI.
186+
: Manage Informatica
193187

194188
- [k8s-runtime](/Commands/k8s-runtime/readme.md)
195189
: Manage Arc Kubernetes Runtime resources
@@ -230,14 +224,11 @@
230224
- [mobile-network](/Commands/mobile-network/readme.md)
231225
: Manage mobile network
232226

233-
- [mongo-db](/Commands/mongo-db/readme.md)
234-
: Manage MongoDB
235-
236227
- [monitor](/Commands/monitor/readme.md)
237228
: Manage the Azure Monitor Service.
238229

239230
- [neon](/Commands/neon/readme.md)
240-
: Manage Neon Postgres databases and related resources within Azure.
231+
: Manage Neon Postgres
241232

242233
- [netappfiles](/Commands/netappfiles/readme.md)
243234
: Manage Azure NetApp Files (ANF) Resources

Commands/tree.json

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149837,6 +149837,30 @@
149837149837
"version": "2024-01-01"
149838149838
}
149839149839
]
149840+
},
149841+
{
149842+
"examples": [
149843+
{
149844+
"commands": [
149845+
"network vnet subnet create -g MyResourceGroup --vnet-name MyVnet -n MySubnet --address-prefixes 10.0.0.0/24 --network-security-group MyNsg --route-table MyRouteTable"
149846+
],
149847+
"name": "Create new subnet attached to an NSG with a custom route table."
149848+
},
149849+
{
149850+
"commands": [
149851+
"network vnet subnet create -n MySubnet --vnet-name MyVnet -g MyResourceGroup --nat-gateway MyNatGateway --address-prefixes \"10.0.0.0/21\""
149852+
],
149853+
"name": "Create new subnet attached to a NAT gateway."
149854+
}
149855+
],
149856+
"name": "2024-07-01",
149857+
"resources": [
149858+
{
149859+
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/subnets/{}",
149860+
"plane": "mgmt-plane",
149861+
"version": "2024-07-01"
149862+
}
149863+
]
149840149864
}
149841149865
]
149842149866
},
@@ -150030,6 +150054,24 @@
150030150054
"version": "2024-01-01"
150031150055
}
150032150056
]
150057+
},
150058+
{
150059+
"examples": [
150060+
{
150061+
"commands": [
150062+
"network vnet subnet delete --name MySubnet --resource-group MyResourceGroup --vnet-name MyVnet"
150063+
],
150064+
"name": "Delete a subnet."
150065+
}
150066+
],
150067+
"name": "2024-07-01",
150068+
"resources": [
150069+
{
150070+
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/subnets/{}",
150071+
"plane": "mgmt-plane",
150072+
"version": "2024-07-01"
150073+
}
150074+
]
150033150075
}
150034150076
]
150035150077
},
@@ -150187,6 +150229,24 @@
150187150229
"version": "2024-01-01"
150188150230
}
150189150231
]
150232+
},
150233+
{
150234+
"examples": [
150235+
{
150236+
"commands": [
150237+
"network vnet subnet list -g MyResourceGroup --vnet-name MyVNet"
150238+
],
150239+
"name": "List the subnets in a virtual network."
150240+
}
150241+
],
150242+
"name": "2024-07-01",
150243+
"resources": [
150244+
{
150245+
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/subnets",
150246+
"plane": "mgmt-plane",
150247+
"version": "2024-07-01"
150248+
}
150249+
]
150190150250
}
150191150251
]
150192150252
},
@@ -150451,6 +150511,24 @@
150451150511
"version": "2024-01-01"
150452150512
}
150453150513
]
150514+
},
150515+
{
150516+
"examples": [
150517+
{
150518+
"commands": [
150519+
"network vnet subnet show -g MyResourceGroup -n MySubnet --vnet-name MyVNet"
150520+
],
150521+
"name": "Show the details of a subnet associated with a virtual network."
150522+
}
150523+
],
150524+
"name": "2024-07-01",
150525+
"resources": [
150526+
{
150527+
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/subnets/{}",
150528+
"plane": "mgmt-plane",
150529+
"version": "2024-07-01"
150530+
}
150531+
]
150454150532
}
150455150533
]
150456150534
},
@@ -150824,6 +150902,42 @@
150824150902
"version": "2024-01-01"
150825150903
}
150826150904
]
150905+
},
150906+
{
150907+
"examples": [
150908+
{
150909+
"commands": [
150910+
"network vnet subnet update -g MyResourceGroup -n MySubnet --vnet-name MyVNet --network-security-group MyNsg"
150911+
],
150912+
"name": "Associate a network security group to a subnet."
150913+
},
150914+
{
150915+
"commands": [
150916+
"network vnet subnet update -n MySubnet --vnet-name MyVnet -g MyResourceGroup --nat-gateway MyNatGateway --address-prefixes \"10.0.0.0/21\""
150917+
],
150918+
"name": "Update subnet with NAT gateway."
150919+
},
150920+
{
150921+
"commands": [
150922+
"network vnet subnet update -n MySubnet --vnet-name MyVnet -g MyResourceGroup --private-endpoint-network-policies Disabled"
150923+
],
150924+
"name": "Disable the private endpoint network policies."
150925+
},
150926+
{
150927+
"commands": [
150928+
"network vnet subnet update -g MyResourceGroup --vnet-name MyVNet -n MySubnet --nsg null"
150929+
],
150930+
"name": "Detach a network security group in a subnet."
150931+
}
150932+
],
150933+
"name": "2024-07-01",
150934+
"resources": [
150935+
{
150936+
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/subnets/{}",
150937+
"plane": "mgmt-plane",
150938+
"version": "2024-07-01"
150939+
}
150940+
]
150827150941
}
150828150942
]
150829150943
}

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

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

0 commit comments

Comments
 (0)