vw_prefixes
Creates, updates, deletes, gets or lists a vw_prefixes
resource.
Overview
Name | vw_prefixes |
Type | View |
Id | azure.peering.vw_prefixes |
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, '$.prefix') as "prefix",
JSON_EXTRACT(properties, '$.prefixValidationState') as "prefix_validation_state",
JSON_EXTRACT(properties, '$.learnedType') as "learned_type",
JSON_EXTRACT(properties, '$.errorMessage') as "error_message",
JSON_EXTRACT(properties, '$.events') as "events",
JSON_EXTRACT(properties, '$.peeringServicePrefixKey') as "peering_service_prefix_key",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
peeringServiceName,
prefixName
FROM azure.peering.prefixes
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND peeringServiceName = 'replace-me';
SELECT
id as id,
name as name,
type as type,
json_extract_path_text(properties, '$.prefix') as "prefix",
json_extract_path_text(properties, '$.prefixValidationState') as "prefix_validation_state",
json_extract_path_text(properties, '$.learnedType') as "learned_type",
json_extract_path_text(properties, '$.errorMessage') as "error_message",
json_extract_path_text(properties, '$.events') as "events",
json_extract_path_text(properties, '$.peeringServicePrefixKey') as "peering_service_prefix_key",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
peeringServiceName,
prefixName
FROM azure.peering.prefixes
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND peeringServiceName = 'replace-me';