vw_schemas
Creates, updates, deletes, gets or lists a vw_schemas
resource.
Overview
Name | vw_schemas |
Type | View |
Id | azure.device_registry.vw_schemas |
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, '$.displayName') as "display_name",
JSON_EXTRACT(properties, '$.description') as "description",
JSON_EXTRACT(properties, '$.format') as "format",
JSON_EXTRACT(properties, '$.schemaType') as "schema_type",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.tags') as "tags",
subscriptionId,
resourceGroupName,
schemaRegistryName,
schemaName
FROM azure.device_registry.schemas
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND schemaRegistryName = 'replace-me';
SELECT
json_extract_path_text(properties, '$.uuid') as "uuid",
json_extract_path_text(properties, '$.displayName') as "display_name",
json_extract_path_text(properties, '$.description') as "description",
json_extract_path_text(properties, '$.format') as "format",
json_extract_path_text(properties, '$.schemaType') as "schema_type",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.tags') as "tags",
subscriptionId,
resourceGroupName,
schemaRegistryName,
schemaName
FROM azure.device_registry.schemas
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND schemaRegistryName = 'replace-me';