Κοινή χρήση μέσω


az csvmware virtual-network

Note

This reference is part of the csvmware extension for the Azure CLI (version 2.0.67 or higher). The extension will automatically install the first time you run an az csvmware virtual-network command. Learn more about extensions.

Command group 'csvmware' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Manage virtual networks.

Commands

Name Description Type Status
az csvmware virtual-network list

List details of available virtual networks in a private cloud.

Extension Preview
az csvmware virtual-network show

Get the details of a virtual network in a private cloud.

Extension Preview

az csvmware virtual-network list

Preview

Command group 'csvmware' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

List details of available virtual networks in a private cloud.

az csvmware virtual-network list --location
                                 --private-cloud
                                 --resource-pool

Examples

List details of virtual networks.

az csvmware virtual-network list -p MyPrivateCloud -r MyResourcePool --location eastus

Required Parameters

--location -l

Region in which the private cloud is present.

--private-cloud -p

Name or ID of the CloudSimple private cloud.

--resource-pool -r

ID of the resource pool used to derive vSphere cluster which contains virtual networks. You can also pass the basename of the ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az csvmware virtual-network show

Preview

Command group 'csvmware' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Get the details of a virtual network in a private cloud.

az csvmware virtual-network show --location
                                 --name
                                 --private-cloud

Examples

Get the details of a virtual network.

az csvmware virtual-network show -n MyVirtualNetwork -p MyPrivateCloud --location eastus

Required Parameters

--location -l

Region in which the private cloud is present.

--name -n

ID of the virtual network (vsphereId). You can also pass the basename of the ID.

--private-cloud -p

Name or ID of the CloudSimple private cloud.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.