Skip to main content

vw_schema_versions

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

Overview

Namevw_schema_versions
TypeView
Idazure.device_registry.vw_schema_versions

Fields

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

SQL Definition

SELECT
JSON_EXTRACT(properties, '$.uuid') as "uuid",
JSON_EXTRACT(properties, '$.description') as "description",
JSON_EXTRACT(properties, '$.schemaContent') as "schema_content",
JSON_EXTRACT(properties, '$.hash') as "hash",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
schemaRegistryName,
schemaName,
schemaVersionName
FROM azure.device_registry.schema_versions
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND schemaRegistryName = 'replace-me' AND schemaName = 'replace-me';