CmdID

CmdID / az / az network / az network vnet

az network vnet subnet

Manage subnets in an Azure Virtual Network. Azure CLI reference

8 commands 11 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Commands

8, each with its page

Options

11 in the Azure CLI reference
--address-prefixAddress prefix in CIDR format.
--address-prefixesSpace-separated list of address prefixes in CIDR format.
--disable-private-endpoint-network-policiesDisable private endpoint network policies on the subnet, the policy is disabled by default.
--disable-private-link-service-network-policiesDisable private link service network policies on the subnet.
--name, -nThe subnet name.
--nat-gatewayName or ID of a NAT gateway to attach.
--network-security-group, --nsgName or ID of a network security group (NSG).
--route-tableName or ID of a route table to associate with the subnet.
--service-endpoint-policySpace-separated list of names or IDs of service endpoint policies to apply.
--service-endpoints
--vnet-nameThe virtual network (VNet) name.