peering_locations
Creates, updates, deletes, gets or lists a peering_locations resource.
Overview
| Name | peering_locations |
| Type | Resource |
| Id | azure.peering.peering_locations |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the resource. |
name | string | The name of the resource. |
azureRegion | string | The Azure region associated with the peering location. |
country | string | The country in which the peering location exists. |
direct | object | The properties that define a direct peering location. |
exchange | object | The properties that define an exchange peering location. |
kind | string | The kind of peering that the peering location supports. Known values are: "Direct" and "Exchange". |
peeringLocation | string | The name of the peering location. |
type | string | The type of the resource. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | subscription_id, kind | directPeeringType | Lists 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.
| Name | Datatype | Description |
|---|---|---|
kind | string | The kind of the peering. Known values are: "Direct" and "Exchange". Required. |
subscription_id | string | |
directPeeringType | string | The type of direct peering. Known values are: "Edge", "Transit", "Cdn", and "Internal". Default value is None. |
SELECT examples
- list
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 }}'
;