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
The kind of the peering.
| Property | Value |
|---|---|
| Accepted values: | Direct, Exchange |
The location of the peering.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The ASN number associated with a legacy peering.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |