Skip to main content

locations

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

Overview

Namelocations
TypeResource
Idazure.peering.locations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the resource.
namestringThe name of the resource.
kindstringThe kind of peering that the peering location supports.
propertiesobjectThe properties that define a peering location.
typestringThe type of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectkind, subscriptionIddirectPeeringTypeLists 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.
subscriptionIdstringThe Azure subscription ID.
directPeeringTypestringThe type of direct peering.

SELECT examples

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

SELECT
id,
name,
kind,
properties,
type
FROM azure.peering.locations
WHERE kind = '{{ kind }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND directPeeringType = '{{ directPeeringType }}'
;