azurerm_container_registry

Nivis Nix constructor for the azurerm_container_registry 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,
  location,
  resource_group_name,
  sku,
  admin_enabled ? null,
  anonymous_pull_enabled ? null,
  azuread_authentication_as_arm_policy_enabled ? null,
  data_endpoint_enabled ? null,
  encryption ? null,
  export_policy_enabled ? null,
  id ? null,
  cfg_name ? null,
  network_rule_bypass_for_tasks_enabled ? null,
  network_rule_bypass_option ? null,
  network_rule_set ? null,
  public_network_access_enabled ? null,
  quarantine_policy_enabled ? null,
  retention_policy_in_days ? null,
  role_assignment_mode ? null,
  tags ? null,
  zone_redundancy_enabled ? null,
  georeplications ? null,
  identity ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • location
  • resource_group_name
  • sku
Optional arguments
  • admin_enabled (defaults to null)
  • anonymous_pull_enabled (defaults to null)
  • azuread_authentication_as_arm_policy_enabled (defaults to null)
  • data_endpoint_enabled (defaults to null)
  • encryption (defaults to null)
  • export_policy_enabled (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • network_rule_bypass_for_tasks_enabled (defaults to null)
  • network_rule_bypass_option (defaults to null)
  • network_rule_set (defaults to null)
  • public_network_access_enabled (defaults to null)
  • quarantine_policy_enabled (defaults to null)
  • retention_policy_in_days (defaults to null)
  • role_assignment_mode (defaults to null)
  • tags (defaults to null)
  • zone_redundancy_enabled (defaults to null)
  • georeplications (defaults to null)
  • identity (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • admin_password
  • admin_username
  • data_endpoint_host_names
  • login_server
Example
azurerm_container_registry {
  name = "container_registry";
  location = …;  # required
  resource_group_name = …;  # required
  sku = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.