vw_registered_prefixes
Creates, updates, deletes, gets or lists a vw_registered_prefixes resource.
Overview
| Name | vw_registered_prefixes |
| Type | View |
| Id | azure.peering.vw_registered_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, '$.peeringServicePrefixKey') as "peering_service_prefix_key",
JSON_EXTRACT(properties, '$.errorMessage') as "error_message",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
peeringName,
registeredPrefixName
FROM azure.peering.registered_prefixes
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND peeringName = '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, '$.peeringServicePrefixKey') as "peering_service_prefix_key",
json_extract_path_text(properties, '$.errorMessage') as "error_message",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
peeringName,
registeredPrefixName
FROM azure.peering.registered_prefixes
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND peeringName = 'replace-me';