az-network
Verified for current stable LTS
Az Network Command: Create A Virtual Network With Specified Address Prefix And Subnet
Use for Create a virtual network with specified address prefix and subnet with Az Network. Exact CLI syntax to Create a virtual network with specified address prefix and subnet using Az Network.
When to use this: Use for Create a virtual network with specified address prefix and subnet with Az Network.
Command Syntax
az network vnet create --address-prefixes <10.0.0.0/16> -n <vnet> -g <group_name> --subnet-name <subnet> --subnet-prefixes <10.0.0.0/24> az network vnet create --address-prefixes <10.0.0.0/16> -n <vnet> -g <group_name> --subnet-name <subnet> --subnet-prefixes <10.0.0.0/24> Command Breakdown
--address-prefixes- Command Option
- Tool-specific option used by this command invocation.
-n- Command Option
- Tool-specific option used by this command invocation.
-g- Command Option
- Tool-specific option used by this command invocation.
--subnet-name- Command Option
- Tool-specific option used by this command invocation.
--subnet-prefixes- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to Create a virtual network with specified address prefix and subnet using Az Network.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Az Network Command: Enable Accelerated Networking For A Network Interface Card
az network nic update --accelerated-networking true -n <nic> -g <resource_group> Az Network Command: List All Virtual Networks In A Subscription az network vnet list Az Network Command: List Network Resources By Subscription Quota az network list-usages Az Network Command: Create Virtual Network az network vnet create --address-prefixes <10.0.0.0/16> -n <vnet> -g <group_name> --subnet-name <subnet> --subnet-prefixes <10.0.0.0/24> Az Network Command: Create Vnet az network vnet create --address-prefixes <10.0.0.0/16> -n <vnet> -g <group_name> --subnet-name <subnet> --subnet-prefixes <10.0.0.0/24>