Skip to main content

vw_prefixes

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

Overview

Namevw_prefixes
TypeView
Idazure.peering.vw_prefixes

Fields

See the SQL Definition (view DDL) for fields returned by this view.

SQL Definition

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';