vw_express_route_cross_connection_peerings
Creates, updates, deletes, gets or lists a vw_express_route_cross_connection_peerings
resource.
Overview
Name | vw_express_route_cross_connection_peerings |
Type | View |
Id | azure.network.vw_express_route_cross_connection_peerings |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
etag as etag,
JSON_EXTRACT(properties, '$.peeringType') as "peering_type",
JSON_EXTRACT(properties, '$.state') as "state",
JSON_EXTRACT(properties, '$.azureASN') as "azure_asn",
JSON_EXTRACT(properties, '$.peerASN') as "peer_asn",
JSON_EXTRACT(properties, '$.primaryPeerAddressPrefix') as "primary_peer_address_prefix",
JSON_EXTRACT(properties, '$.secondaryPeerAddressPrefix') as "secondary_peer_address_prefix",
JSON_EXTRACT(properties, '$.primaryAzurePort') as "primary_azure_port",
JSON_EXTRACT(properties, '$.secondaryAzurePort') as "secondary_azure_port",
JSON_EXTRACT(properties, '$.sharedKey') as "shared_key",
JSON_EXTRACT(properties, '$.vlanId') as "vlan_id",
JSON_EXTRACT(properties, '$.microsoftPeeringConfig') as "microsoft_peering_config",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.gatewayManagerEtag') as "gateway_manager_etag",
JSON_EXTRACT(properties, '$.lastModifiedBy') as "last_modified_by",
JSON_EXTRACT(properties, '$.ipv6PeeringConfig') as "ipv6_peering_config",
subscriptionId,
resourceGroupName,
crossConnectionName,
peeringName
FROM azure.network.express_route_cross_connection_peerings
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND crossConnectionName = 'replace-me';
SELECT
id as id,
name as name,
etag as etag,
json_extract_path_text(properties, '$.peeringType') as "peering_type",
json_extract_path_text(properties, '$.state') as "state",
json_extract_path_text(properties, '$.azureASN') as "azure_asn",
json_extract_path_text(properties, '$.peerASN') as "peer_asn",
json_extract_path_text(properties, '$.primaryPeerAddressPrefix') as "primary_peer_address_prefix",
json_extract_path_text(properties, '$.secondaryPeerAddressPrefix') as "secondary_peer_address_prefix",
json_extract_path_text(properties, '$.primaryAzurePort') as "primary_azure_port",
json_extract_path_text(properties, '$.secondaryAzurePort') as "secondary_azure_port",
json_extract_path_text(properties, '$.sharedKey') as "shared_key",
json_extract_path_text(properties, '$.vlanId') as "vlan_id",
json_extract_path_text(properties, '$.microsoftPeeringConfig') as "microsoft_peering_config",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.gatewayManagerEtag') as "gateway_manager_etag",
json_extract_path_text(properties, '$.lastModifiedBy') as "last_modified_by",
json_extract_path_text(properties, '$.ipv6PeeringConfig') as "ipv6_peering_config",
subscriptionId,
resourceGroupName,
crossConnectionName,
peeringName
FROM azure.network.express_route_cross_connection_peerings
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND crossConnectionName = 'replace-me';