vw_peer_asns
Creates, updates, deletes, gets or lists a vw_peer_asns
resource.
Overview
Name | vw_peer_asns |
Type | View |
Id | azure.peering.vw_peer_asns |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
type as type,
JSON_EXTRACT(properties, '$.peerAsn') as "peer_asn",
JSON_EXTRACT(properties, '$.peerContactDetail') as "peer_contact_detail",
JSON_EXTRACT(properties, '$.peerName') as "peer_name",
JSON_EXTRACT(properties, '$.validationState') as "validation_state",
JSON_EXTRACT(properties, '$.errorMessage') as "error_message",
subscriptionId,
peerAsnName
FROM azure.peering.peer_asns
WHERE subscriptionId = 'replace-me';
SELECT
id as id,
name as name,
type as type,
json_extract_path_text(properties, '$.peerAsn') as "peer_asn",
json_extract_path_text(properties, '$.peerContactDetail') as "peer_contact_detail",
json_extract_path_text(properties, '$.peerName') as "peer_name",
json_extract_path_text(properties, '$.validationState') as "validation_state",
json_extract_path_text(properties, '$.errorMessage') as "error_message",
subscriptionId,
peerAsnName
FROM azure.peering.peer_asns
WHERE subscriptionId = 'replace-me';