@@ -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 }
0 commit comments