azurerm_container_registry_cache_ruleNivis Nix constructor for the azurerm_container_registry_cache_rule resource (provider azurerm). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
container_registry_id,
source_repo,
target_repo,
credential_set_id ? null,
id ? null,
cfg_name ? null,
timeouts ? null,
overrides ? {}
}Required arguments
container_registry_idsource_repotarget_repo
Optional arguments
credential_set_id(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
azurerm_container_registry_cache_rule {
name = "container_registry_cache_rule";
container_registry_id = …; # required
source_repo = …; # required
target_repo = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.