mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 21:56:58 +00:00
Update cheatsheets
This commit is contained in:
26
az-network
Normal file
26
az-network
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# az network
|
||||
|
||||
> Manage Azure Network resources.
|
||||
> Part of `azure-cli` (also known as `az`).
|
||||
> 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}}`
|
||||
Reference in New Issue
Block a user