From 3e8fda151a3fbebd12b173c731129bb96b2390da Mon Sep 17 00:00:00 2001 From: Muhammad Falak R Wani Date: Mon, 4 Oct 2021 10:08:55 +0530 Subject: [PATCH 1/3] az-network: add page Signed-off-by: Muhammad Falak R Wani --- pages/common/az-network.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pages/common/az-network.md diff --git a/pages/common/az-network.md b/pages/common/az-network.md new file mode 100644 index 00000000000000..adf3c4729aee77 --- /dev/null +++ b/pages/common/az-network.md @@ -0,0 +1,21 @@ +# az network + +> Manage Azure Network resources. +> Part of `azure-cli`. +> More information: . + +- 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 {{my_vnet}} --resource_group {{group_name}} --submet-name {{my_subnet}} --subnet-prefixes {{10.0.0.0/24}}` + +- Enable accelerated networking for a network interface card: + +`az network nic update --accelerated-networking true --name {{my_nic}} --resource-group {{resource_group}}` From 6bcba7aa98380728bb4b5097b2aee2ac1eb0ecd4 Mon Sep 17 00:00:00 2001 From: Muhammad Falak R Wani Date: Wed, 6 Oct 2021 17:13:18 +0530 Subject: [PATCH 2/3] Update pages/common/az-network.md Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com> --- pages/common/az-network.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/az-network.md b/pages/common/az-network.md index adf3c4729aee77..1d492487758e15 100644 --- a/pages/common/az-network.md +++ b/pages/common/az-network.md @@ -18,4 +18,4 @@ - Enable accelerated networking for a network interface card: -`az network nic update --accelerated-networking true --name {{my_nic}} --resource-group {{resource_group}}` +`az network nic update --accelerated-networking true --name {{nic}} --resource-group {{resource_group}}` From bdac14dc319ecce9c6ea6acb92609abaf709a0c5 Mon Sep 17 00:00:00 2001 From: Muhammad Falak R Wani Date: Wed, 6 Oct 2021 17:13:30 +0530 Subject: [PATCH 3/3] Update pages/common/az-network.md Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com> --- pages/common/az-network.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/az-network.md b/pages/common/az-network.md index 1d492487758e15..73f74c3f20e0cb 100644 --- a/pages/common/az-network.md +++ b/pages/common/az-network.md @@ -14,7 +14,7 @@ - Create a virtual network: -`az network vnet create --address-prefixes {{10.0.0.0/16}} --name {{my_vnet}} --resource_group {{group_name}} --submet-name {{my_subnet}} --subnet-prefixes {{10.0.0.0/24}}` +`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: