azurerm_container_registry_cache_rule

Nivis 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_id
  • source_repo
  • target_repo
Optional arguments
  • credential_set_id (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • timeouts (defaults to null)
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.