Skip to main content

peering_locations

Creates, updates, deletes, gets or lists a peering_locations resource.

Overview

Namepeering_locations
TypeResource
Idazure.peering.peering_locations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the resource.
namestringThe name of the resource.
azureRegionstringThe Azure region associated with the peering location.
countrystringThe country in which the peering location exists.
directobjectThe properties that define a direct peering location.
exchangeobjectThe properties that define an exchange peering location.
kindstringThe kind of peering that the peering location supports. Known values are: "Direct" and "Exchange".
peeringLocationstringThe name of the peering location.
typestringThe type of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscription_id, kinddirectPeeringTypeLists all of the available peering locations for the specified kind of peering.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
kindstringThe kind of the peering. Known values are: "Direct" and "Exchange". Required.
subscription_idstring
directPeeringTypestringThe type of direct peering. Known values are: "Edge", "Transit", "Cdn", and "Internal". Default value is None.

SELECT examples

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

SELECT
id,
name,
azureRegion,
country,
direct,
exchange,
kind,
peeringLocation,
type
FROM azure.peering.peering_locations
WHERE subscription_id = '{{ subscription_id }}' -- required
AND kind = '{{ kind }}' -- required
AND directPeeringType = '{{ directPeeringType }}'
;