CmdID

CmdID / az / az network / az network vnet

az network vnet create

Create a virtual network. Azure CLI reference

22 options Its page in the Azure CLI reference

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

Options

22 in the Azure CLI reference
--address-prefixesSpace-separated list of IP address prefixes for the VNet.
--bgp-communityThe BGP community associated with the virtual network.
--ddos-protection-planName or ID of a DDoS protection plan to associate with the VNet.
--ddos-protectionControl whether DDoS protection is enabled.
--dns-serversSpace-separated list of DNS server IP addresses.
--edge-zoneThe name of edge zone.
--enable-encryptionEnable encryption on the virtual network.
--encryption-enforcement-policy, --encryption-policyTo control if the Virtual Machine without encryption is allowed in encrypted Virtual Network or not.
--extended-locationThe extended location of the virtual network.
--flowtimeoutThe FlowTimeout value (in minutes) for the Virtual Network.
--ipam-pool-prefix-allocations, --ipam-allocationsA list of IPAM Pools allocating IP address prefixes.
--location, -lLocation.
--name, -nThe virtual network (VNet) name.
--network-security-group, --nsgName or ID of a network security group (NSG).
--private-endpoint-vnet-policies, --pe-vnet-policiesPrivate Endpoint VNet Policies.
--subnet-nameName of a new subnet to create within the VNet.
--subnet-prefixIP address prefix for the new subnet.
--subnet-prefixesSpace-separated list of address prefixes in CIDR format for the new subnet.
--subnetsManage a list of subnets in a Virtual Network (similar to az network vnet subnet).
--summarized-gateway-prefixes, --sgpA configurable list of summarized gateway prefixes advertised for the virtual network.
--tagsSpace-separated tags: key[=value] [key[=value] ...].
--vm-protectionEnable VM protection for all subnets in the VNet.