mirror of https://github.com/CrimsonTome/tldr.git
707 B
707 B
az network
Manage Azure Network resources. Part of
azure-cli
(also known asaz
). More information: https://learn.microsoft.com/cli/azure/network.
- List network resources in a region that are used against a subscription quota:
az network list-usages
- List all virtual networks in a subscription:
az network vnet list
- 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}}
- Enable accelerated networking for a network interface card:
az network nic update --accelerated-networking true --name {{nic}} --resource-group {{resource_group}}