@@ -150470,6 +150470,30 @@
150470150470 "version": "2024-01-01"
150471150471 }
150472150472 ]
150473+ },
150474+ {
150475+ "examples": [
150476+ {
150477+ "commands": [
150478+ "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"
150479+ ],
150480+ "name": "Create new subnet attached to an NSG with a custom route table."
150481+ },
150482+ {
150483+ "commands": [
150484+ "network vnet subnet create -n MySubnet --vnet-name MyVnet -g MyResourceGroup --nat-gateway MyNatGateway --address-prefixes \"10.0.0.0/21\""
150485+ ],
150486+ "name": "Create new subnet attached to a NAT gateway."
150487+ }
150488+ ],
150489+ "name": "2024-07-01",
150490+ "resources": [
150491+ {
150492+ "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/subnets/{}",
150493+ "plane": "mgmt-plane",
150494+ "version": "2024-07-01"
150495+ }
150496+ ]
150473150497 }
150474150498 ]
150475150499 },
@@ -150663,6 +150687,24 @@
150663150687 "version": "2024-01-01"
150664150688 }
150665150689 ]
150690+ },
150691+ {
150692+ "examples": [
150693+ {
150694+ "commands": [
150695+ "network vnet subnet delete --name MySubnet --resource-group MyResourceGroup --vnet-name MyVnet"
150696+ ],
150697+ "name": "Delete a subnet."
150698+ }
150699+ ],
150700+ "name": "2024-07-01",
150701+ "resources": [
150702+ {
150703+ "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/subnets/{}",
150704+ "plane": "mgmt-plane",
150705+ "version": "2024-07-01"
150706+ }
150707+ ]
150666150708 }
150667150709 ]
150668150710 },
@@ -150820,6 +150862,24 @@
150820150862 "version": "2024-01-01"
150821150863 }
150822150864 ]
150865+ },
150866+ {
150867+ "examples": [
150868+ {
150869+ "commands": [
150870+ "network vnet subnet list -g MyResourceGroup --vnet-name MyVNet"
150871+ ],
150872+ "name": "List the subnets in a virtual network."
150873+ }
150874+ ],
150875+ "name": "2024-07-01",
150876+ "resources": [
150877+ {
150878+ "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/subnets",
150879+ "plane": "mgmt-plane",
150880+ "version": "2024-07-01"
150881+ }
150882+ ]
150823150883 }
150824150884 ]
150825150885 },
@@ -151084,6 +151144,24 @@
151084151144 "version": "2024-01-01"
151085151145 }
151086151146 ]
151147+ },
151148+ {
151149+ "examples": [
151150+ {
151151+ "commands": [
151152+ "network vnet subnet show -g MyResourceGroup -n MySubnet --vnet-name MyVNet"
151153+ ],
151154+ "name": "Show the details of a subnet associated with a virtual network."
151155+ }
151156+ ],
151157+ "name": "2024-07-01",
151158+ "resources": [
151159+ {
151160+ "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/subnets/{}",
151161+ "plane": "mgmt-plane",
151162+ "version": "2024-07-01"
151163+ }
151164+ ]
151087151165 }
151088151166 ]
151089151167 },
@@ -151457,6 +151535,42 @@
151457151535 "version": "2024-01-01"
151458151536 }
151459151537 ]
151538+ },
151539+ {
151540+ "examples": [
151541+ {
151542+ "commands": [
151543+ "network vnet subnet update -g MyResourceGroup -n MySubnet --vnet-name MyVNet --network-security-group MyNsg"
151544+ ],
151545+ "name": "Associate a network security group to a subnet."
151546+ },
151547+ {
151548+ "commands": [
151549+ "network vnet subnet update -n MySubnet --vnet-name MyVnet -g MyResourceGroup --nat-gateway MyNatGateway --address-prefixes \"10.0.0.0/21\""
151550+ ],
151551+ "name": "Update subnet with NAT gateway."
151552+ },
151553+ {
151554+ "commands": [
151555+ "network vnet subnet update -n MySubnet --vnet-name MyVnet -g MyResourceGroup --private-endpoint-network-policies Disabled"
151556+ ],
151557+ "name": "Disable the private endpoint network policies."
151558+ },
151559+ {
151560+ "commands": [
151561+ "network vnet subnet update -g MyResourceGroup --vnet-name MyVNet -n MySubnet --nsg null"
151562+ ],
151563+ "name": "Detach a network security group in a subnet."
151564+ }
151565+ ],
151566+ "name": "2024-07-01",
151567+ "resources": [
151568+ {
151569+ "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/subnets/{}",
151570+ "plane": "mgmt-plane",
151571+ "version": "2024-07-01"
151572+ }
151573+ ]
151460151574 }
151461151575 ]
151462151576 }
0 commit comments