Share via


az peering location

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 location command. Learn more about extensions.

Peering location.

Commands

Name Description Type Status
az peering location list

Lists all of the available peering locations for the specified kind of peering.

Extension GA

az peering location list

Lists all of the available peering locations for the specified kind of peering.

az peering location list --kind {Direct, Exchange}
                         [--direct-peering-type {Cdn, Edge, Internal, Ix, IxRs, Transit}]

Examples

List direct peering locations

az peering location list --kind "Direct"

List exchange peering locations

az peering location list --kind "Exchange"

Required Parameters

--kind

The kind of the peering.

Accepted values: Direct, Exchange

Optional Parameters

--direct-peering-type

The type of direct peering.

Accepted values: Cdn, Edge, Internal, Ix, IxRs, Transit
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.