Skip to main content

vw_cache_rules

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

Overview

Namevw_cache_rules
TypeView
Idazure.container_registry.vw_cache_rules

Fields

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

SQL Definition

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';