CmdID / az / az network / az network vnet
az network vnet update
Update a virtual network. Azure CLI reference
13 options Its page in the Azure CLI reference
Options
--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.--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.--flowtimeoutThe FlowTimeout value (in minutes) for the Virtual Network.--ipam-pool-prefix-allocations, --ipam-allocationsA list of IPAM Pools allocating IP address prefixes.--name, -nThe virtual network (VNet) name.--private-endpoint-vnet-policies, --pe-vnet-policiesPrivate Endpoint VNet Policies.--summarized-gateway-prefixes, --sgpA configurable list of summarized gateway prefixes advertised for the virtual network.--vm-protectionEnable VM protection for all subnets in the VNet.