vw_cache_rules
Creates, updates, deletes, gets or lists a vw_cache_rules
resource.
Overview
Name | vw_cache_rules |
Type | View |
Id | azure.container_registry.vw_cache_rules |
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, '$.credentialSetResourceId') as "credential_set_resource_id",
JSON_EXTRACT(properties, '$.sourceRepository') as "source_repository",
JSON_EXTRACT(properties, '$.targetRepository') as "target_repository",
JSON_EXTRACT(properties, '$.creationDate') as "creation_date",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
registryName,
cacheRuleName
FROM azure.container_registry.cache_rules
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, '$.credentialSetResourceId') as "credential_set_resource_id",
json_extract_path_text(properties, '$.sourceRepository') as "source_repository",
json_extract_path_text(properties, '$.targetRepository') as "target_repository",
json_extract_path_text(properties, '$.creationDate') as "creation_date",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
subscriptionId,
resourceGroupName,
registryName,
cacheRuleName
FROM azure.container_registry.cache_rules
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND registryName = 'replace-me';