Skip to main content

express_route_circuit_peerings

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

Overview

Nameexpress_route_circuit_peerings
TypeResource
Idazure.network.express_route_circuit_peerings

Fields

NameDatatypeDescription
idtextResource ID.
nametextThe name of the resource that is unique within a resource group. This name can be used to access the resource.
azure_asntextfield from the properties object
circuitNametextfield from the properties object
connectionstextfield from the properties object
etagtextA unique read-only string that changes whenever the resource is updated.
express_route_connectiontextfield from the properties object
gateway_manager_etagtextfield from the properties object
ipv6_peering_configtextfield from the properties object
last_modified_bytextfield from the properties object
microsoft_peering_configtextfield from the properties object
peer_asntextfield from the properties object
peered_connectionstextfield from the properties object
peeringNametextfield from the properties object
peering_typetextfield from the properties object
primary_azure_porttextfield from the properties object
primary_peer_address_prefixtextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
route_filtertextfield from the properties object
secondary_azure_porttextfield from the properties object
secondary_peer_address_prefixtextfield from the properties object
shared_keytextfield from the properties object
statetextfield from the properties object
statstextfield from the properties object
subscriptionIdtextfield from the properties object
typetextType of the resource.
vlan_idtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTcircuitName, peeringName, resourceGroupName, subscriptionIdGets the specified peering for the express route circuit.
listSELECTcircuitName, resourceGroupName, subscriptionIdGets all peerings in a specified express route circuit.
create_or_updateINSERTcircuitName, peeringName, resourceGroupName, subscriptionIdCreates or updates a peering in the specified express route circuits.
deleteDELETEcircuitName, peeringName, resourceGroupName, subscriptionIdDeletes the specified peering from the specified express route circuit.

SELECT examples

Gets all peerings in a specified express route circuit.

SELECT
id,
name,
azure_asn,
circuitName,
connections,
etag,
express_route_connection,
gateway_manager_etag,
ipv6_peering_config,
last_modified_by,
microsoft_peering_config,
peer_asn,
peered_connections,
peeringName,
peering_type,
primary_azure_port,
primary_peer_address_prefix,
provisioning_state,
resourceGroupName,
route_filter,
secondary_azure_port,
secondary_peer_address_prefix,
shared_key,
state,
stats,
subscriptionId,
type,
vlan_id
FROM azure.network.vw_express_route_circuit_peerings
WHERE circuitName = '{{ circuitName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new express_route_circuit_peerings resource.

/*+ create */
INSERT INTO azure.network.express_route_circuit_peerings (
circuitName,
peeringName,
resourceGroupName,
subscriptionId,
properties,
name,
id
)
SELECT
'{{ circuitName }}',
'{{ peeringName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ name }}',
'{{ id }}'
;

DELETE example

Deletes the specified express_route_circuit_peerings resource.

/*+ delete */
DELETE FROM azure.network.express_route_circuit_peerings
WHERE circuitName = '{{ circuitName }}'
AND peeringName = '{{ peeringName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';