az peering legacy

Note

This reference is part of the peering extension for the Azure CLI (version 2.3.1 or higher). The extension will automatically install the first time you run an az peering legacy command. Learn more about extensions.

Peering legacy.

Commands

Name Description Type Status
az peering legacy list

Lists all of the legacy peerings under the given subscription matching the specified kind and location.

Extension GA

az peering legacy list

Lists all of the legacy peerings under the given subscription matching the specified kind and location.

az peering legacy list --kind {Direct, Exchange}
                       --peering-location
                       [--asn]

Examples

List legacy peerings

az peering legacy list --kind "Exchange" --peering-location "peeringLocation0"

Required Parameters

--kind

The kind of the peering.

accepted values: Direct, Exchange
--peering-location

The location of the peering.

Optional Parameters

--asn

The ASN number associated with a legacy peering.

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.