vw_schema_versions
Creates, updates, deletes, gets or lists a vw_schema_versions
resource.
Overview
Name | vw_schema_versions |
Type | View |
Id | azure.device_registry.vw_schema_versions |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
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';
SELECT
json_extract_path_text(properties, '$.uuid') as "uuid",
json_extract_path_text(properties, '$.description') as "description",
json_extract_path_text(properties, '$.schemaContent') as "schema_content",
json_extract_path_text(properties, '$.hash') as "hash",
json_extract_path_text(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';