locations
Creates, updates, deletes, gets or lists a locations resource.
Overview
| Name | locations |
| Type | Resource |
| Id | azure.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. |
kind | string | The kind of peering that the peering location supports. |
properties | object | The properties that define a 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 | kind, subscriptionId | 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. |
subscriptionId | string | The Azure subscription ID. |
directPeeringType | string | The type of direct peering. |
SELECT examples
- list
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 }}'
;