vw_tokens
Creates, updates, deletes, gets or lists a vw_tokens
resource.
Overview
Name | vw_tokens |
Type | View |
Id | azure.container_registry.vw_tokens |
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,
systemData as system_data,
JSON_EXTRACT(properties, '$.creationDate') as "creation_date",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.scopeMapId') as "scope_map_id",
JSON_EXTRACT(properties, '$.credentials') as "credentials",
JSON_EXTRACT(properties, '$.status') as "status",
subscriptionId,
resourceGroupName,
registryName,
tokenName
FROM azure.container_registry.tokens
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND registryName = 'replace-me';
SELECT
id as id,
name as name,
type as type,
systemData as system_data,
json_extract_path_text(properties, '$.creationDate') as "creation_date",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.scopeMapId') as "scope_map_id",
json_extract_path_text(properties, '$.credentials') as "credentials",
json_extract_path_text(properties, '$.status') as "status",
subscriptionId,
resourceGroupName,
registryName,
tokenName
FROM azure.container_registry.tokens
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND registryName = 'replace-me';