azurerm_container_registryNivis 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
locationresource_group_namesku
Optional arguments
admin_enabled(defaults tonull)anonymous_pull_enabled(defaults tonull)azuread_authentication_as_arm_policy_enabled(defaults tonull)data_endpoint_enabled(defaults tonull)encryption(defaults tonull)export_policy_enabled(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)network_rule_bypass_for_tasks_enabled(defaults tonull)network_rule_bypass_option(defaults tonull)network_rule_set(defaults tonull)public_network_access_enabled(defaults tonull)quarantine_policy_enabled(defaults tonull)retention_policy_in_days(defaults tonull)role_assignment_mode(defaults tonull)tags(defaults tonull)zone_redundancy_enabled(defaults tonull)georeplications(defaults tonull)identity(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
admin_passwordadmin_usernamedata_endpoint_host_nameslogin_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.