1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/az-network.md

22 lines
685 B
Markdown
Raw Normal View History

2021-10-11 00:12:04 +05:30
# az network
> Manage Azure Network resources.
> Part of `azure-cli`.
> More information: <https://docs.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}}`