az-network

Manage Azure Network resources.

TLDR

List network resources in a region that are used against a subscription quota

$ az network list-usages
copy


List all virtual networks in a subscription
$ az network vnet list
copy


Create a virtual network
$ az network vnet create --address-prefixes [10.0.0.0/16] --name [vnet] --resource_group [group_name] --submet-name [subnet] --subnet-prefixes [10.0.0.0/24]
copy


Enable accelerated networking for a network interface card
$ az network nic update --accelerated-networking true --name [nic] --resource-group [resource_group]
copy

Copied to clipboard