az aksarc vnet
Note
This reference is part of the aksarc extension for the Azure CLI (version 2.32.0 or higher). The extension will automatically install the first time you run an az aksarc vnet command. Learn more about extensions.
Manage virtual networks for provisioned clusters.
Commands
Name | Description | Type | Status |
---|---|---|---|
az aksarc vnet create |
Creates the virtual network. |
Extension | GA |
az aksarc vnet delete |
Deletes the virtual network. |
Extension | GA |
az aksarc vnet list |
Lists the virtual networks by resource group or subscription. |
Extension | GA |
az aksarc vnet show |
Gets the virtual network. |
Extension | GA |
az aksarc vnet create
Creates the virtual network.
az aksarc vnet create --custom-location
--name
--resource-group
[--location]
[--moc-group]
[--moc-location]
[--moc-vnet-name]
[--no-wait]
[--tags]
Examples
PutVirtualNetwork
az aksarc vnet create --name "test-vnet-static" --resource-group "test-arcappliance-resgrp" --custom-location "testcustomlocation" --moc-vnet-name "test-vnet"
Required Parameters
Name or ID of the custom location to use for the virtual network.
Name of the virtual network.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Name of the MOC group containing the MOC network for HCI Infrastructure.
Name of the MOC location containing the MOC group with the network for HCI Infrastructure.
Name of the MOC network for HCI Infrastructure.
Do not wait for the long-running operation to finish.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az aksarc vnet delete
Deletes the virtual network.
az aksarc vnet delete --name
--resource-group
[--no-wait]
[--yes]
Examples
DeleteVirtualNetwork
az aksarc vnet delete --resource-group "test-arcappliance-resgrp" --name "test-vnet-static"
Required Parameters
Name of the virtual network.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Do not wait for the long-running operation to finish.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az aksarc vnet list
Lists the virtual networks by resource group or subscription.
az aksarc vnet list [--resource-group]
Examples
ListVirtualNetworkByResourceGroup
az aksarc vnet list --resource-group "test-arcappliance-resgrp"
ListVirtualNetworkBySubscription
az aksarc vnet list
Optional Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az aksarc vnet show
Gets the virtual network.
az aksarc vnet show --name
--resource-group
Examples
GetVirtualNetwork
az aksarc vnet show --resource-group "test-arcappliance-resgrp" --name "test-vnet-static"
Required Parameters
Name of the virtual network.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.