legacy_peerings
Creates, updates, deletes, gets or lists a legacy_peerings
resource.
Overview
Name | legacy_peerings |
Type | Resource |
Id | azure.peering.legacy_peerings |
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 the peering. |
location | string | The location of the resource. |
properties | object | The properties that define a peering. |
sku | object | The SKU that defines the tier and kind of the peering. |
tags | object | The resource tags. |
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 | peeringLocation , kind , subscriptionId | asn , directPeeringType | Lists all of the legacy peerings under the given subscription matching the specified kind and location. |
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. |
peeringLocation | string | The location of the peering. |
subscriptionId | string | The Azure subscription ID. |
asn | integer (int32) | The ASN number associated with a legacy peering. |
directPeeringType | string | The direct peering type. |
SELECT
examples
- list
Lists all of the legacy peerings under the given subscription matching the specified kind and location.
SELECT
id,
name,
kind,
location,
properties,
sku,
tags,
type
FROM azure.peering.legacy_peerings
WHERE peeringLocation = '{{ peeringLocation }}' -- required
AND kind = '{{ kind }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND asn = '{{ asn }}'
AND directPeeringType = '{{ directPeeringType }}'
;