1. Registry
  2. Packages
  3. Azure Native
  4. API Docs
  5. containerregistry
  6. Registry
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.32.0
published on Wednesday, Nov 18, 2026 by Pulumi
azure-native logo Azure Native
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.32.0
published on Wednesday, Nov 18, 2026 by Pulumi

    An object that represents a container registry.

    Uses Azure REST API version 2023-01-01-preview. In version 2.x of the Azure Native provider, it used API version 2022-12-01.

    Other available API versions: 2019-12-01-preview, 2020-11-01-preview, 2021-06-01-preview, 2021-08-01-preview, 2021-09-01, 2021-12-01-preview, 2022-02-01-preview, 2022-12-01, 2023-06-01-preview, 2023-07-01, 2023-08-01-preview, 2023-11-01-preview, 2024-11-01-preview, 2025-03-01-preview, 2025-04-01, 2025-05-01-preview, 2025-06-01-preview, 2025-11-01, 2026-01-01-preview, 2026-03-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native containerregistry [ApiVersion]. See the version guide for details.

    Example Usage

    RegistryCreate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var registry = new AzureNative.ContainerRegistry.Registry("registry", new()
        {
            AdminUserEnabled = true,
            Location = "westus",
            RegistryName = "myRegistry",
            ResourceGroupName = "myResourceGroup",
            Sku = new AzureNative.ContainerRegistry.Inputs.SkuArgs
            {
                Name = AzureNative.ContainerRegistry.SkuName.Standard,
            },
            Tags = 
            {
                { "key", "value" },
            },
        });
    
    });
    
    package main
    
    import (
    	containerregistry "github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := containerregistry.NewRegistry(ctx, "registry", &containerregistry.RegistryArgs{
    			AdminUserEnabled:  pulumi.Bool(true),
    			Location:          pulumi.String("westus"),
    			RegistryName:      pulumi.String("myRegistry"),
    			ResourceGroupName: pulumi.String("myResourceGroup"),
    			Sku: &containerregistry.SkuArgs{
    				Name: pulumi.String(containerregistry.SkuNameStandard),
    			},
    			Tags: pulumi.StringMap{
    				"key": pulumi.String("value"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    terraform {
      required_providers {
        azure-native = {
          source = "pulumi/azure-native"
        }
      }
    }
    
    resource "azure-native_containerregistry_registry" "registry" {
      lifecycle {
        create_before_destroy = true
      }
      admin_user_enabled  = true
      location            = "westus"
      registry_name       = "myRegistry"
      resource_group_name = "myResourceGroup"
      sku = {
        name = "Standard"
      }
      tags = {
        "key" = "value"
      }
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.containerregistry.Registry;
    import com.pulumi.azurenative.containerregistry.RegistryArgs;
    import com.pulumi.azurenative.containerregistry.inputs.SkuArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var registry = new Registry("registry", RegistryArgs.builder()
                .adminUserEnabled(true)
                .location("westus")
                .registryName("myRegistry")
                .resourceGroupName("myResourceGroup")
                .sku(SkuArgs.builder()
                    .name("Standard")
                    .build())
                .tags(Map.of("key", "value"))
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const registry = new azure_native.containerregistry.Registry("registry", {
        adminUserEnabled: true,
        location: "westus",
        registryName: "myRegistry",
        resourceGroupName: "myResourceGroup",
        sku: {
            name: azure_native.containerregistry.SkuName.Standard,
        },
        tags: {
            key: "value",
        },
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    registry = azure_native.containerregistry.Registry("registry",
        admin_user_enabled=True,
        location="westus",
        registry_name="myRegistry",
        resource_group_name="myResourceGroup",
        sku={
            "name": azure_native.containerregistry.SkuName.STANDARD,
        },
        tags={
            "key": "value",
        })
    
    resources:
      registry:
        type: azure-native:containerregistry:Registry
        properties:
          adminUserEnabled: true
          location: westus
          registryName: myRegistry
          resourceGroupName: myResourceGroup
          sku:
            name: Standard
          tags:
            key: value
    

    RegistryCreateZoneRedundant

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var registry = new AzureNative.ContainerRegistry.Registry("registry", new()
        {
            Location = "westus",
            RegistryName = "myRegistry",
            ResourceGroupName = "myResourceGroup",
            Sku = new AzureNative.ContainerRegistry.Inputs.SkuArgs
            {
                Name = AzureNative.ContainerRegistry.SkuName.Standard,
            },
            Tags = 
            {
                { "key", "value" },
            },
            ZoneRedundancy = AzureNative.ContainerRegistry.ZoneRedundancy.Enabled,
        });
    
    });
    
    package main
    
    import (
    	containerregistry "github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := containerregistry.NewRegistry(ctx, "registry", &containerregistry.RegistryArgs{
    			Location:          pulumi.String("westus"),
    			RegistryName:      pulumi.String("myRegistry"),
    			ResourceGroupName: pulumi.String("myResourceGroup"),
    			Sku: &containerregistry.SkuArgs{
    				Name: pulumi.String(containerregistry.SkuNameStandard),
    			},
    			Tags: pulumi.StringMap{
    				"key": pulumi.String("value"),
    			},
    			ZoneRedundancy: pulumi.String(containerregistry.ZoneRedundancyEnabled),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    terraform {
      required_providers {
        azure-native = {
          source = "pulumi/azure-native"
        }
      }
    }
    
    resource "azure-native_containerregistry_registry" "registry" {
      lifecycle {
        create_before_destroy = true
      }
      location            = "westus"
      registry_name       = "myRegistry"
      resource_group_name = "myResourceGroup"
      sku = {
        name = "Standard"
      }
      tags = {
        "key" = "value"
      }
      zone_redundancy = "Enabled"
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.containerregistry.Registry;
    import com.pulumi.azurenative.containerregistry.RegistryArgs;
    import com.pulumi.azurenative.containerregistry.inputs.SkuArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var registry = new Registry("registry", RegistryArgs.builder()
                .location("westus")
                .registryName("myRegistry")
                .resourceGroupName("myResourceGroup")
                .sku(SkuArgs.builder()
                    .name("Standard")
                    .build())
                .tags(Map.of("key", "value"))
                .zoneRedundancy("Enabled")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const registry = new azure_native.containerregistry.Registry("registry", {
        location: "westus",
        registryName: "myRegistry",
        resourceGroupName: "myResourceGroup",
        sku: {
            name: azure_native.containerregistry.SkuName.Standard,
        },
        tags: {
            key: "value",
        },
        zoneRedundancy: azure_native.containerregistry.ZoneRedundancy.Enabled,
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    registry = azure_native.containerregistry.Registry("registry",
        location="westus",
        registry_name="myRegistry",
        resource_group_name="myResourceGroup",
        sku={
            "name": azure_native.containerregistry.SkuName.STANDARD,
        },
        tags={
            "key": "value",
        },
        zone_redundancy=azure_native.containerregistry.ZoneRedundancy.ENABLED)
    
    resources:
      registry:
        type: azure-native:containerregistry:Registry
        properties:
          location: westus
          registryName: myRegistry
          resourceGroupName: myResourceGroup
          sku:
            name: Standard
          tags:
            key: value
          zoneRedundancy: Enabled
    

    Create Registry Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Registry(name: string, args: RegistryArgs, opts?: CustomResourceOptions);
    @overload
    def Registry(resource_name: str,
                 args: RegistryArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Registry(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 resource_group_name: Optional[str] = None,
                 sku: Optional[SkuArgs] = None,
                 network_rule_bypass_options: Optional[Union[str, NetworkRuleBypassOptions]] = None,
                 encryption: Optional[EncryptionPropertyArgs] = None,
                 identity: Optional[IdentityPropertiesArgs] = None,
                 location: Optional[str] = None,
                 admin_user_enabled: Optional[bool] = None,
                 network_rule_set: Optional[NetworkRuleSetArgs] = None,
                 policies: Optional[PoliciesArgs] = None,
                 public_network_access: Optional[Union[str, PublicNetworkAccess]] = None,
                 registry_name: Optional[str] = None,
                 data_endpoint_enabled: Optional[bool] = None,
                 anonymous_pull_enabled: Optional[bool] = None,
                 tags: Optional[Mapping[str, str]] = None,
                 zone_redundancy: Optional[Union[str, ZoneRedundancy]] = None)
    func NewRegistry(ctx *Context, name string, args RegistryArgs, opts ...ResourceOption) (*Registry, error)
    public Registry(string name, RegistryArgs args, CustomResourceOptions? opts = null)
    public Registry(String name, RegistryArgs args)
    public Registry(String name, RegistryArgs args, CustomResourceOptions options)
    
    type: azure-native:containerregistry:Registry
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "azure-native_containerregistry_registry" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args RegistryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RegistryArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RegistryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RegistryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RegistryArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var registryResource = new AzureNative.ContainerRegistry.Registry("registryResource", new()
    {
        ResourceGroupName = "string",
        Sku = new AzureNative.ContainerRegistry.Inputs.SkuArgs
        {
            Name = "string",
        },
        NetworkRuleBypassOptions = "string",
        Encryption = new AzureNative.ContainerRegistry.Inputs.EncryptionPropertyArgs
        {
            KeyVaultProperties = new AzureNative.ContainerRegistry.Inputs.KeyVaultPropertiesArgs
            {
                Identity = "string",
                KeyIdentifier = "string",
            },
            Status = "string",
        },
        Identity = new AzureNative.ContainerRegistry.Inputs.IdentityPropertiesArgs
        {
            PrincipalId = "string",
            TenantId = "string",
            Type = AzureNative.ContainerRegistry.ResourceIdentityType.SystemAssigned,
            UserAssignedIdentities = 
            {
                { "string", new AzureNative.ContainerRegistry.Inputs.UserIdentityPropertiesArgs
                {
                    ClientId = "string",
                    PrincipalId = "string",
                } },
            },
        },
        Location = "string",
        AdminUserEnabled = false,
        NetworkRuleSet = new AzureNative.ContainerRegistry.Inputs.NetworkRuleSetArgs
        {
            DefaultAction = "string",
            IpRules = new[]
            {
                new AzureNative.ContainerRegistry.Inputs.IPRuleArgs
                {
                    IPAddressOrRange = "string",
                    Action = "string",
                },
            },
        },
        Policies = new AzureNative.ContainerRegistry.Inputs.PoliciesArgs
        {
            AzureADAuthenticationAsArmPolicy = new AzureNative.ContainerRegistry.Inputs.AzureADAuthenticationAsArmPolicyArgs
            {
                Status = "string",
            },
            ExportPolicy = new AzureNative.ContainerRegistry.Inputs.ExportPolicyArgs
            {
                Status = "string",
            },
            QuarantinePolicy = new AzureNative.ContainerRegistry.Inputs.QuarantinePolicyArgs
            {
                Status = "string",
            },
            RetentionPolicy = new AzureNative.ContainerRegistry.Inputs.RetentionPolicyArgs
            {
                Days = 0,
                Status = "string",
            },
            SoftDeletePolicy = new AzureNative.ContainerRegistry.Inputs.SoftDeletePolicyArgs
            {
                RetentionDays = 0,
                Status = "string",
            },
            TrustPolicy = new AzureNative.ContainerRegistry.Inputs.TrustPolicyArgs
            {
                Status = "string",
                Type = "string",
            },
        },
        PublicNetworkAccess = "string",
        RegistryName = "string",
        DataEndpointEnabled = false,
        AnonymousPullEnabled = false,
        Tags = 
        {
            { "string", "string" },
        },
        ZoneRedundancy = "string",
    });
    
    example, err := containerregistry.NewRegistry(ctx, "registryResource", &containerregistry.RegistryArgs{
    	ResourceGroupName: pulumi.String("string"),
    	Sku: &containerregistry.SkuArgs{
    		Name: pulumi.String("string"),
    	},
    	NetworkRuleBypassOptions: pulumi.String("string"),
    	Encryption: &containerregistry.EncryptionPropertyArgs{
    		KeyVaultProperties: &containerregistry.KeyVaultPropertiesArgs{
    			Identity:      pulumi.String("string"),
    			KeyIdentifier: pulumi.String("string"),
    		},
    		Status: pulumi.String("string"),
    	},
    	Identity: &containerregistry.IdentityPropertiesArgs{
    		PrincipalId: pulumi.String("string"),
    		TenantId:    pulumi.String("string"),
    		Type:        containerregistry.ResourceIdentityTypeSystemAssigned,
    		UserAssignedIdentities: containerregistry.UserIdentityPropertiesMap{
    			"string": &containerregistry.UserIdentityPropertiesArgs{
    				ClientId:    pulumi.String("string"),
    				PrincipalId: pulumi.String("string"),
    			},
    		},
    	},
    	Location:         pulumi.String("string"),
    	AdminUserEnabled: pulumi.Bool(false),
    	NetworkRuleSet: &containerregistry.NetworkRuleSetArgs{
    		DefaultAction: pulumi.String("string"),
    		IpRules: containerregistry.IPRuleArray{
    			&containerregistry.IPRuleArgs{
    				IPAddressOrRange: pulumi.String("string"),
    				Action:           pulumi.String("string"),
    			},
    		},
    	},
    	Policies: &containerregistry.PoliciesArgs{
    		AzureADAuthenticationAsArmPolicy: &containerregistry.AzureADAuthenticationAsArmPolicyArgs{
    			Status: pulumi.String("string"),
    		},
    		ExportPolicy: &containerregistry.ExportPolicyArgs{
    			Status: pulumi.String("string"),
    		},
    		QuarantinePolicy: &containerregistry.QuarantinePolicyArgs{
    			Status: pulumi.String("string"),
    		},
    		RetentionPolicy: &containerregistry.RetentionPolicyArgs{
    			Days:   pulumi.Int(0),
    			Status: pulumi.String("string"),
    		},
    		SoftDeletePolicy: &containerregistry.SoftDeletePolicyArgs{
    			RetentionDays: pulumi.Int(0),
    			Status:        pulumi.String("string"),
    		},
    		TrustPolicy: &containerregistry.TrustPolicyArgs{
    			Status: pulumi.String("string"),
    			Type:   pulumi.String("string"),
    		},
    	},
    	PublicNetworkAccess:  pulumi.String("string"),
    	RegistryName:         pulumi.String("string"),
    	DataEndpointEnabled:  pulumi.Bool(false),
    	AnonymousPullEnabled: pulumi.Bool(false),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	ZoneRedundancy: pulumi.String("string"),
    })
    
    resource "azure-native_containerregistry_registry" "registryResource" {
      lifecycle {
        create_before_destroy = true
      }
      resource_group_name = "string"
      sku = {
        name = "string"
      }
      network_rule_bypass_options = "string"
      encryption = {
        key_vault_properties = {
          identity       = "string"
          key_identifier = "string"
        }
        status = "string"
      }
      identity = {
        principal_id = "string"
        tenant_id    = "string"
        type         = "SystemAssigned"
        user_assigned_identities = {
          "string" = {
            client_id    = "string"
            principal_id = "string"
          }
        }
      }
      location           = "string"
      admin_user_enabled = false
      network_rule_set = {
        default_action = "string"
        ip_rules = [{
          i_p_address_or_range = "string"
          action               = "string"
        }]
      }
      policies = {
        azure_ad_authentication_as_arm_policy = {
          status = "string"
        }
        export_policy = {
          status = "string"
        }
        quarantine_policy = {
          status = "string"
        }
        retention_policy = {
          days   = 0
          status = "string"
        }
        soft_delete_policy = {
          retention_days = 0
          status         = "string"
        }
        trust_policy = {
          status = "string"
          type   = "string"
        }
      }
      public_network_access  = "string"
      registry_name          = "string"
      data_endpoint_enabled  = false
      anonymous_pull_enabled = false
      tags = {
        "string" = "string"
      }
      zone_redundancy = "string"
    }
    
    var registryResource = new com.pulumi.azurenative.containerregistry.Registry("registryResource", com.pulumi.azurenative.containerregistry.RegistryArgs.builder()
        .resourceGroupName("string")
        .sku(com.pulumi.azurenative.containerregistry.inputs.SkuArgs.builder()
            .name("string")
            .build())
        .networkRuleBypassOptions("string")
        .encryption(com.pulumi.azurenative.containerregistry.inputs.EncryptionPropertyArgs.builder()
            .keyVaultProperties(com.pulumi.azurenative.containerregistry.inputs.KeyVaultPropertiesArgs.builder()
                .identity("string")
                .keyIdentifier("string")
                .build())
            .status("string")
            .build())
        .identity(com.pulumi.azurenative.containerregistry.inputs.IdentityPropertiesArgs.builder()
            .principalId("string")
            .tenantId("string")
            .type(com.pulumi.azurenative.containerregistry.enums.ResourceIdentityType.SystemAssigned)
            .userAssignedIdentities(Map.of("string", com.pulumi.azurenative.containerregistry.inputs.UserIdentityPropertiesArgs.builder()
                .clientId("string")
                .principalId("string")
                .build()))
            .build())
        .location("string")
        .adminUserEnabled(false)
        .networkRuleSet(com.pulumi.azurenative.containerregistry.inputs.NetworkRuleSetArgs.builder()
            .defaultAction("string")
            .ipRules(com.pulumi.azurenative.containerregistry.inputs.IPRuleArgs.builder()
                .iPAddressOrRange("string")
                .action("string")
                .build())
            .build())
        .policies(PoliciesArgs.builder()
            .azureADAuthenticationAsArmPolicy(AzureADAuthenticationAsArmPolicyArgs.builder()
                .status("string")
                .build())
            .exportPolicy(ExportPolicyArgs.builder()
                .status("string")
                .build())
            .quarantinePolicy(QuarantinePolicyArgs.builder()
                .status("string")
                .build())
            .retentionPolicy(com.pulumi.azurenative.containerregistry.inputs.RetentionPolicyArgs.builder()
                .days(0)
                .status("string")
                .build())
            .softDeletePolicy(com.pulumi.azurenative.containerregistry.inputs.SoftDeletePolicyArgs.builder()
                .retentionDays(0)
                .status("string")
                .build())
            .trustPolicy(TrustPolicyArgs.builder()
                .status("string")
                .type("string")
                .build())
            .build())
        .publicNetworkAccess("string")
        .registryName("string")
        .dataEndpointEnabled(false)
        .anonymousPullEnabled(false)
        .tags(Map.of("string", "string"))
        .zoneRedundancy("string")
        .build());
    
    registry_resource = azure_native.containerregistry.Registry("registryResource",
        resource_group_name="string",
        sku={
            "name": "string",
        },
        network_rule_bypass_options="string",
        encryption={
            "key_vault_properties": {
                "identity": "string",
                "key_identifier": "string",
            },
            "status": "string",
        },
        identity={
            "principal_id": "string",
            "tenant_id": "string",
            "type": azure_native.containerregistry.ResourceIdentityType.SYSTEM_ASSIGNED,
            "user_assigned_identities": {
                "string": {
                    "client_id": "string",
                    "principal_id": "string",
                },
            },
        },
        location="string",
        admin_user_enabled=False,
        network_rule_set={
            "default_action": "string",
            "ip_rules": [{
                "i_p_address_or_range": "string",
                "action": "string",
            }],
        },
        policies={
            "azure_ad_authentication_as_arm_policy": {
                "status": "string",
            },
            "export_policy": {
                "status": "string",
            },
            "quarantine_policy": {
                "status": "string",
            },
            "retention_policy": {
                "days": 0,
                "status": "string",
            },
            "soft_delete_policy": {
                "retention_days": 0,
                "status": "string",
            },
            "trust_policy": {
                "status": "string",
                "type": "string",
            },
        },
        public_network_access="string",
        registry_name="string",
        data_endpoint_enabled=False,
        anonymous_pull_enabled=False,
        tags={
            "string": "string",
        },
        zone_redundancy="string")
    
    const registryResource = new azure_native.containerregistry.Registry("registryResource", {
        resourceGroupName: "string",
        sku: {
            name: "string",
        },
        networkRuleBypassOptions: "string",
        encryption: {
            keyVaultProperties: {
                identity: "string",
                keyIdentifier: "string",
            },
            status: "string",
        },
        identity: {
            principalId: "string",
            tenantId: "string",
            type: azure_native.containerregistry.ResourceIdentityType.SystemAssigned,
            userAssignedIdentities: {
                string: {
                    clientId: "string",
                    principalId: "string",
                },
            },
        },
        location: "string",
        adminUserEnabled: false,
        networkRuleSet: {
            defaultAction: "string",
            ipRules: [{
                iPAddressOrRange: "string",
                action: "string",
            }],
        },
        policies: {
            azureADAuthenticationAsArmPolicy: {
                status: "string",
            },
            exportPolicy: {
                status: "string",
            },
            quarantinePolicy: {
                status: "string",
            },
            retentionPolicy: {
                days: 0,
                status: "string",
            },
            softDeletePolicy: {
                retentionDays: 0,
                status: "string",
            },
            trustPolicy: {
                status: "string",
                type: "string",
            },
        },
        publicNetworkAccess: "string",
        registryName: "string",
        dataEndpointEnabled: false,
        anonymousPullEnabled: false,
        tags: {
            string: "string",
        },
        zoneRedundancy: "string",
    });
    
    type: azure-native:containerregistry:Registry
    properties:
        adminUserEnabled: false
        anonymousPullEnabled: false
        dataEndpointEnabled: false
        encryption:
            keyVaultProperties:
                identity: string
                keyIdentifier: string
            status: string
        identity:
            principalId: string
            tenantId: string
            type: SystemAssigned
            userAssignedIdentities:
                string:
                    clientId: string
                    principalId: string
        location: string
        networkRuleBypassOptions: string
        networkRuleSet:
            defaultAction: string
            ipRules:
                - action: string
                  iPAddressOrRange: string
        policies:
            azureADAuthenticationAsArmPolicy:
                status: string
            exportPolicy:
                status: string
            quarantinePolicy:
                status: string
            retentionPolicy:
                days: 0
                status: string
            softDeletePolicy:
                retentionDays: 0
                status: string
            trustPolicy:
                status: string
                type: string
        publicNetworkAccess: string
        registryName: string
        resourceGroupName: string
        sku:
            name: string
        tags:
            string: string
        zoneRedundancy: string
    

    Registry Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Registry resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Sku Pulumi.AzureNative.ContainerRegistry.Inputs.Sku
    The SKU of the container registry.
    AdminUserEnabled bool
    The value that indicates whether the admin user is enabled.
    AnonymousPullEnabled bool
    Enables registry-wide pull from unauthenticated clients.
    DataEndpointEnabled bool
    Enable a single data endpoint per region for serving data.
    Encryption Pulumi.AzureNative.ContainerRegistry.Inputs.EncryptionProperty
    The encryption settings of container registry.
    Identity Pulumi.AzureNative.ContainerRegistry.Inputs.IdentityProperties
    The identity of the container registry.
    Location string
    The location of the resource. This cannot be changed after the resource is created.
    NetworkRuleBypassOptions string | Pulumi.AzureNative.ContainerRegistry.NetworkRuleBypassOptions
    Whether to allow trusted Azure services to access a network restricted registry.
    NetworkRuleSet Pulumi.AzureNative.ContainerRegistry.Inputs.NetworkRuleSet
    The network rule set for a container registry.
    Policies Pulumi.AzureNative.ContainerRegistry.Inputs.Policies
    The policies for a container registry.
    PublicNetworkAccess string | Pulumi.AzureNative.ContainerRegistry.PublicNetworkAccess
    Whether or not public network access is allowed for the container registry.
    RegistryName string
    The name of the container registry.
    Tags Dictionary<string, string>
    The tags of the resource.
    ZoneRedundancy string | Pulumi.AzureNative.ContainerRegistry.ZoneRedundancy
    Whether or not zone redundancy is enabled for this container registry
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Sku SkuArgs
    The SKU of the container registry.
    AdminUserEnabled bool
    The value that indicates whether the admin user is enabled.
    AnonymousPullEnabled bool
    Enables registry-wide pull from unauthenticated clients.
    DataEndpointEnabled bool
    Enable a single data endpoint per region for serving data.
    Encryption EncryptionPropertyArgs
    The encryption settings of container registry.
    Identity IdentityPropertiesArgs
    The identity of the container registry.
    Location string
    The location of the resource. This cannot be changed after the resource is created.
    NetworkRuleBypassOptions string | NetworkRuleBypassOptions
    Whether to allow trusted Azure services to access a network restricted registry.
    NetworkRuleSet NetworkRuleSetArgs
    The network rule set for a container registry.
    Policies PoliciesArgs
    The policies for a container registry.
    PublicNetworkAccess string | PublicNetworkAccess
    Whether or not public network access is allowed for the container registry.
    RegistryName string
    The name of the container registry.
    Tags map[string]string
    The tags of the resource.
    ZoneRedundancy string | ZoneRedundancy
    Whether or not zone redundancy is enabled for this container registry
    resource_group_name string
    The name of the resource group. The name is case insensitive.
    sku object
    The SKU of the container registry.
    admin_user_enabled bool
    The value that indicates whether the admin user is enabled.
    anonymous_pull_enabled bool
    Enables registry-wide pull from unauthenticated clients.
    data_endpoint_enabled bool
    Enable a single data endpoint per region for serving data.
    encryption object
    The encryption settings of container registry.
    identity object
    The identity of the container registry.
    location string
    The location of the resource. This cannot be changed after the resource is created.
    network_rule_bypass_options string | "AzureServices" | "None"
    Whether to allow trusted Azure services to access a network restricted registry.
    network_rule_set object
    The network rule set for a container registry.
    policies object
    The policies for a container registry.
    public_network_access string | "Enabled" | "Disabled"
    Whether or not public network access is allowed for the container registry.
    registry_name string
    The name of the container registry.
    tags map(string)
    The tags of the resource.
    zone_redundancy string | "Enabled" | "Disabled"
    Whether or not zone redundancy is enabled for this container registry
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    sku Sku
    The SKU of the container registry.
    adminUserEnabled Boolean
    The value that indicates whether the admin user is enabled.
    anonymousPullEnabled Boolean
    Enables registry-wide pull from unauthenticated clients.
    dataEndpointEnabled Boolean
    Enable a single data endpoint per region for serving data.
    encryption EncryptionProperty
    The encryption settings of container registry.
    identity IdentityProperties
    The identity of the container registry.
    location String
    The location of the resource. This cannot be changed after the resource is created.
    networkRuleBypassOptions String | NetworkRuleBypassOptions
    Whether to allow trusted Azure services to access a network restricted registry.
    networkRuleSet NetworkRuleSet
    The network rule set for a container registry.
    policies Policies
    The policies for a container registry.
    publicNetworkAccess String | PublicNetworkAccess
    Whether or not public network access is allowed for the container registry.
    registryName String
    The name of the container registry.
    tags Map<String,String>
    The tags of the resource.
    zoneRedundancy String | ZoneRedundancy
    Whether or not zone redundancy is enabled for this container registry
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    sku Sku
    The SKU of the container registry.
    adminUserEnabled boolean
    The value that indicates whether the admin user is enabled.
    anonymousPullEnabled boolean
    Enables registry-wide pull from unauthenticated clients.
    dataEndpointEnabled boolean
    Enable a single data endpoint per region for serving data.
    encryption EncryptionProperty
    The encryption settings of container registry.
    identity IdentityProperties
    The identity of the container registry.
    location string
    The location of the resource. This cannot be changed after the resource is created.
    networkRuleBypassOptions string | NetworkRuleBypassOptions
    Whether to allow trusted Azure services to access a network restricted registry.
    networkRuleSet NetworkRuleSet
    The network rule set for a container registry.
    policies Policies
    The policies for a container registry.
    publicNetworkAccess string | PublicNetworkAccess
    Whether or not public network access is allowed for the container registry.
    registryName string
    The name of the container registry.
    tags {[key: string]: string}
    The tags of the resource.
    zoneRedundancy string | ZoneRedundancy
    Whether or not zone redundancy is enabled for this container registry
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    sku SkuArgs
    The SKU of the container registry.
    admin_user_enabled bool
    The value that indicates whether the admin user is enabled.
    anonymous_pull_enabled bool
    Enables registry-wide pull from unauthenticated clients.
    data_endpoint_enabled bool
    Enable a single data endpoint per region for serving data.
    encryption EncryptionPropertyArgs
    The encryption settings of container registry.
    identity IdentityPropertiesArgs
    The identity of the container registry.
    location str
    The location of the resource. This cannot be changed after the resource is created.
    network_rule_bypass_options str | NetworkRuleBypassOptions
    Whether to allow trusted Azure services to access a network restricted registry.
    network_rule_set NetworkRuleSetArgs
    The network rule set for a container registry.
    policies PoliciesArgs
    The policies for a container registry.
    public_network_access str | PublicNetworkAccess
    Whether or not public network access is allowed for the container registry.
    registry_name str
    The name of the container registry.
    tags Mapping[str, str]
    The tags of the resource.
    zone_redundancy str | ZoneRedundancy
    Whether or not zone redundancy is enabled for this container registry
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    sku Property Map
    The SKU of the container registry.
    adminUserEnabled Boolean
    The value that indicates whether the admin user is enabled.
    anonymousPullEnabled Boolean
    Enables registry-wide pull from unauthenticated clients.
    dataEndpointEnabled Boolean
    Enable a single data endpoint per region for serving data.
    encryption Property Map
    The encryption settings of container registry.
    identity Property Map
    The identity of the container registry.
    location String
    The location of the resource. This cannot be changed after the resource is created.
    networkRuleBypassOptions String | "AzureServices" | "None"
    Whether to allow trusted Azure services to access a network restricted registry.
    networkRuleSet Property Map
    The network rule set for a container registry.
    policies Property Map
    The policies for a container registry.
    publicNetworkAccess String | "Enabled" | "Disabled"
    Whether or not public network access is allowed for the container registry.
    registryName String
    The name of the container registry.
    tags Map<String>
    The tags of the resource.
    zoneRedundancy String | "Enabled" | "Disabled"
    Whether or not zone redundancy is enabled for this container registry

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Registry resource produces the following output properties:

    AzureApiVersion string
    The Azure API version of the resource.
    CreationDate string
    The creation date of the container registry in ISO8601 format.
    DataEndpointHostNames List<string>
    List of host names that will serve data when dataEndpointEnabled is true.
    Id string
    The provider-assigned unique ID for this managed resource.
    LoginServer string
    The URL that can be used to log into the container registry.
    Name string
    The name of the resource.
    PrivateEndpointConnections List<Pulumi.AzureNative.ContainerRegistry.Outputs.PrivateEndpointConnectionResponse>
    List of private endpoint connections for a container registry.
    ProvisioningState string
    The provisioning state of the container registry at the time the operation was called.
    Status Pulumi.AzureNative.ContainerRegistry.Outputs.StatusResponse
    The status of the container registry at the time the operation was called.
    SystemData Pulumi.AzureNative.ContainerRegistry.Outputs.SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    The type of the resource.
    AzureApiVersion string
    The Azure API version of the resource.
    CreationDate string
    The creation date of the container registry in ISO8601 format.
    DataEndpointHostNames []string
    List of host names that will serve data when dataEndpointEnabled is true.
    Id string
    The provider-assigned unique ID for this managed resource.
    LoginServer string
    The URL that can be used to log into the container registry.
    Name string
    The name of the resource.
    PrivateEndpointConnections []PrivateEndpointConnectionResponse
    List of private endpoint connections for a container registry.
    ProvisioningState string
    The provisioning state of the container registry at the time the operation was called.
    Status StatusResponse
    The status of the container registry at the time the operation was called.
    SystemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    The type of the resource.
    azure_api_version string
    The Azure API version of the resource.
    creation_date string
    The creation date of the container registry in ISO8601 format.
    data_endpoint_host_names list(string)
    List of host names that will serve data when dataEndpointEnabled is true.
    id string
    The provider-assigned unique ID for this managed resource.
    login_server string
    The URL that can be used to log into the container registry.
    name string
    The name of the resource.
    private_endpoint_connections list(object)
    List of private endpoint connections for a container registry.
    provisioning_state string
    The provisioning state of the container registry at the time the operation was called.
    status object
    The status of the container registry at the time the operation was called.
    system_data object
    Metadata pertaining to creation and last modification of the resource.
    type string
    The type of the resource.
    azureApiVersion String
    The Azure API version of the resource.
    creationDate String
    The creation date of the container registry in ISO8601 format.
    dataEndpointHostNames List<String>
    List of host names that will serve data when dataEndpointEnabled is true.
    id String
    The provider-assigned unique ID for this managed resource.
    loginServer String
    The URL that can be used to log into the container registry.
    name String
    The name of the resource.
    privateEndpointConnections List<PrivateEndpointConnectionResponse>
    List of private endpoint connections for a container registry.
    provisioningState String
    The provisioning state of the container registry at the time the operation was called.
    status StatusResponse
    The status of the container registry at the time the operation was called.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type String
    The type of the resource.
    azureApiVersion string
    The Azure API version of the resource.
    creationDate string
    The creation date of the container registry in ISO8601 format.
    dataEndpointHostNames string[]
    List of host names that will serve data when dataEndpointEnabled is true.
    id string
    The provider-assigned unique ID for this managed resource.
    loginServer string
    The URL that can be used to log into the container registry.
    name string
    The name of the resource.
    privateEndpointConnections PrivateEndpointConnectionResponse[]
    List of private endpoint connections for a container registry.
    provisioningState string
    The provisioning state of the container registry at the time the operation was called.
    status StatusResponse
    The status of the container registry at the time the operation was called.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type string
    The type of the resource.
    azure_api_version str
    The Azure API version of the resource.
    creation_date str
    The creation date of the container registry in ISO8601 format.
    data_endpoint_host_names Sequence[str]
    List of host names that will serve data when dataEndpointEnabled is true.
    id str
    The provider-assigned unique ID for this managed resource.
    login_server str
    The URL that can be used to log into the container registry.
    name str
    The name of the resource.
    private_endpoint_connections Sequence[PrivateEndpointConnectionResponse]
    List of private endpoint connections for a container registry.
    provisioning_state str
    The provisioning state of the container registry at the time the operation was called.
    status StatusResponse
    The status of the container registry at the time the operation was called.
    system_data SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type str
    The type of the resource.
    azureApiVersion String
    The Azure API version of the resource.
    creationDate String
    The creation date of the container registry in ISO8601 format.
    dataEndpointHostNames List<String>
    List of host names that will serve data when dataEndpointEnabled is true.
    id String
    The provider-assigned unique ID for this managed resource.
    loginServer String
    The URL that can be used to log into the container registry.
    name String
    The name of the resource.
    privateEndpointConnections List<Property Map>
    List of private endpoint connections for a container registry.
    provisioningState String
    The provisioning state of the container registry at the time the operation was called.
    status Property Map
    The status of the container registry at the time the operation was called.
    systemData Property Map
    Metadata pertaining to creation and last modification of the resource.
    type String
    The type of the resource.

    Look up Existing Registry Resource

    Get an existing Registry resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): Registry
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> Registry
    func GetRegistry(ctx *Context, name string, id IDInput, state *RegistryState, opts ...ResourceOption) (*Registry, error)
    public static Registry Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static Registry get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingRegistry:    type: azure-native:containerregistry:Registry    get:      id: ${id}
    import {
      to = azure-native_containerregistry_registry.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state RegistryState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    Action

    The action of IP ACL rule.

    NameValue
    AllowAllow
    NameValue
    ActionAllowAllow
    Value
    Allow
    NameValue
    AllowAllow
    NameValue
    AllowAllow
    NameValue
    ALLOWAllow
    Value
    Allow

    AzureADAuthenticationAsArmPolicy, AzureADAuthenticationAsArmPolicyArgs

    The policy for using ARM audience token for a container registry.

    Status string | Pulumi.AzureNative.ContainerRegistry.AzureADAuthenticationAsArmPolicyStatus
    The value that indicates whether the policy is enabled or not.
    Status string | AzureADAuthenticationAsArmPolicyStatus
    The value that indicates whether the policy is enabled or not.
    status string | "enabled" | "disabled"
    The value that indicates whether the policy is enabled or not.
    status String | AzureADAuthenticationAsArmPolicyStatus
    The value that indicates whether the policy is enabled or not.
    status string | AzureADAuthenticationAsArmPolicyStatus
    The value that indicates whether the policy is enabled or not.
    status str | AzureADAuthenticationAsArmPolicyStatus
    The value that indicates whether the policy is enabled or not.
    status String | "enabled" | "disabled"
    The value that indicates whether the policy is enabled or not.

    AzureADAuthenticationAsArmPolicyResponse

    The policy for using ARM audience token for a container registry.

    Status string
    The value that indicates whether the policy is enabled or not.
    Status string
    The value that indicates whether the policy is enabled or not.
    status string
    The value that indicates whether the policy is enabled or not.
    status String
    The value that indicates whether the policy is enabled or not.
    status string
    The value that indicates whether the policy is enabled or not.
    status str
    The value that indicates whether the policy is enabled or not.
    status String
    The value that indicates whether the policy is enabled or not.

    AzureADAuthenticationAsArmPolicyStatus

    The value that indicates whether the policy is enabled or not.

    NameValue
    Enabledenabled
    Disableddisabled
    NameValue
    AzureADAuthenticationAsArmPolicyStatusEnabledenabled
    AzureADAuthenticationAsArmPolicyStatusDisableddisabled
    Value
    enabled
    disabled
    NameValue
    Enabledenabled
    Disableddisabled
    NameValue
    Enabledenabled
    Disableddisabled
    NameValue
    ENABLEDenabled
    DISABLEDdisabled
    Value
    enabled
    disabled

    DefaultAction

    The default action of allow or deny when no other rules match.

    NameValue
    AllowAllow
    DenyDeny
    NameValue
    DefaultActionAllowAllow
    DefaultActionDenyDeny
    Value
    Allow
    Deny
    NameValue
    AllowAllow
    DenyDeny
    NameValue
    AllowAllow
    DenyDeny
    NameValue
    ALLOWAllow
    DENYDeny
    Value
    Allow
    Deny

    EncryptionProperty, EncryptionPropertyArgs

    KeyVaultProperties Pulumi.AzureNative.ContainerRegistry.Inputs.KeyVaultProperties
    Key vault properties.
    Status string | Pulumi.AzureNative.ContainerRegistry.EncryptionStatus
    Indicates whether or not the encryption is enabled for container registry.
    KeyVaultProperties KeyVaultProperties
    Key vault properties.
    Status string | EncryptionStatus
    Indicates whether or not the encryption is enabled for container registry.
    key_vault_properties object
    Key vault properties.
    status string | "enabled" | "disabled"
    Indicates whether or not the encryption is enabled for container registry.
    keyVaultProperties KeyVaultProperties
    Key vault properties.
    status String | EncryptionStatus
    Indicates whether or not the encryption is enabled for container registry.
    keyVaultProperties KeyVaultProperties
    Key vault properties.
    status string | EncryptionStatus
    Indicates whether or not the encryption is enabled for container registry.
    key_vault_properties KeyVaultProperties
    Key vault properties.
    status str | EncryptionStatus
    Indicates whether or not the encryption is enabled for container registry.
    keyVaultProperties Property Map
    Key vault properties.
    status String | "enabled" | "disabled"
    Indicates whether or not the encryption is enabled for container registry.

    EncryptionPropertyResponse

    KeyVaultProperties Pulumi.AzureNative.ContainerRegistry.Inputs.KeyVaultPropertiesResponse
    Key vault properties.
    Status string
    Indicates whether or not the encryption is enabled for container registry.
    KeyVaultProperties KeyVaultPropertiesResponse
    Key vault properties.
    Status string
    Indicates whether or not the encryption is enabled for container registry.
    key_vault_properties object
    Key vault properties.
    status string
    Indicates whether or not the encryption is enabled for container registry.
    keyVaultProperties KeyVaultPropertiesResponse
    Key vault properties.
    status String
    Indicates whether or not the encryption is enabled for container registry.
    keyVaultProperties KeyVaultPropertiesResponse
    Key vault properties.
    status string
    Indicates whether or not the encryption is enabled for container registry.
    key_vault_properties KeyVaultPropertiesResponse
    Key vault properties.
    status str
    Indicates whether or not the encryption is enabled for container registry.
    keyVaultProperties Property Map
    Key vault properties.
    status String
    Indicates whether or not the encryption is enabled for container registry.

    EncryptionStatus

    Indicates whether or not the encryption is enabled for container registry.

    NameValue
    Enabledenabled
    Disableddisabled
    NameValue
    EncryptionStatusEnabledenabled
    EncryptionStatusDisableddisabled
    Value
    enabled
    disabled
    NameValue
    Enabledenabled
    Disableddisabled
    NameValue
    Enabledenabled
    Disableddisabled
    NameValue
    ENABLEDenabled
    DISABLEDdisabled
    Value
    enabled
    disabled

    ExportPolicy, ExportPolicyArgs

    The export policy for a container registry.

    Status string | Pulumi.AzureNative.ContainerRegistry.ExportPolicyStatus
    The value that indicates whether the policy is enabled or not.
    Status string | ExportPolicyStatus
    The value that indicates whether the policy is enabled or not.
    status string | "enabled" | "disabled"
    The value that indicates whether the policy is enabled or not.
    status String | ExportPolicyStatus
    The value that indicates whether the policy is enabled or not.
    status string | ExportPolicyStatus
    The value that indicates whether the policy is enabled or not.
    status str | ExportPolicyStatus
    The value that indicates whether the policy is enabled or not.
    status String | "enabled" | "disabled"
    The value that indicates whether the policy is enabled or not.

    ExportPolicyResponse

    The export policy for a container registry.

    Status string
    The value that indicates whether the policy is enabled or not.
    Status string
    The value that indicates whether the policy is enabled or not.
    status string
    The value that indicates whether the policy is enabled or not.
    status String
    The value that indicates whether the policy is enabled or not.
    status string
    The value that indicates whether the policy is enabled or not.
    status str
    The value that indicates whether the policy is enabled or not.
    status String
    The value that indicates whether the policy is enabled or not.

    ExportPolicyStatus

    The value that indicates whether the policy is enabled or not.

    NameValue
    Enabledenabled
    Disableddisabled
    NameValue
    ExportPolicyStatusEnabledenabled
    ExportPolicyStatusDisableddisabled
    Value
    enabled
    disabled
    NameValue
    Enabledenabled
    Disableddisabled
    NameValue
    Enabledenabled
    Disableddisabled
    NameValue
    ENABLEDenabled
    DISABLEDdisabled
    Value
    enabled
    disabled

    IPRule, IPRuleArgs

    IP rule with specific IP or IP range in CIDR format.

    IPAddressOrRange string
    Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
    Action string | Pulumi.AzureNative.ContainerRegistry.Action
    The action of IP ACL rule.
    IPAddressOrRange string
    Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
    Action string | Action
    The action of IP ACL rule.
    i_p_address_or_range string
    Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
    action string | "Allow"
    The action of IP ACL rule.
    iPAddressOrRange String
    Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
    action String | Action
    The action of IP ACL rule.
    iPAddressOrRange string
    Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
    action string | Action
    The action of IP ACL rule.
    i_p_address_or_range str
    Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
    action str | Action
    The action of IP ACL rule.
    iPAddressOrRange String
    Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
    action String | "Allow"
    The action of IP ACL rule.

    IPRuleResponse

    IP rule with specific IP or IP range in CIDR format.

    IPAddressOrRange string
    Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
    Action string
    The action of IP ACL rule.
    IPAddressOrRange string
    Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
    Action string
    The action of IP ACL rule.
    i_p_address_or_range string
    Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
    action string
    The action of IP ACL rule.
    iPAddressOrRange String
    Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
    action String
    The action of IP ACL rule.
    iPAddressOrRange string
    Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
    action string
    The action of IP ACL rule.
    i_p_address_or_range str
    Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
    action str
    The action of IP ACL rule.
    iPAddressOrRange String
    Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
    action String
    The action of IP ACL rule.

    IdentityProperties, IdentityPropertiesArgs

    Managed identity for the resource.

    PrincipalId string
    The principal ID of resource identity.
    TenantId string
    The tenant ID of resource.
    Type Pulumi.AzureNative.ContainerRegistry.ResourceIdentityType
    The identity type.
    UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.ContainerRegistry.Inputs.UserIdentityProperties>
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    PrincipalId string
    The principal ID of resource identity.
    TenantId string
    The tenant ID of resource.
    Type ResourceIdentityType
    The identity type.
    UserAssignedIdentities map[string]UserIdentityProperties
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principal_id string
    The principal ID of resource identity.
    tenant_id string
    The tenant ID of resource.
    type "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"
    The identity type.
    user_assigned_identities map(object)
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principalId String
    The principal ID of resource identity.
    tenantId String
    The tenant ID of resource.
    type ResourceIdentityType
    The identity type.
    userAssignedIdentities Map<String,UserIdentityProperties>
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principalId string
    The principal ID of resource identity.
    tenantId string
    The tenant ID of resource.
    type ResourceIdentityType
    The identity type.
    userAssignedIdentities {[key: string]: UserIdentityProperties}
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principal_id str
    The principal ID of resource identity.
    tenant_id str
    The tenant ID of resource.
    type ResourceIdentityType
    The identity type.
    user_assigned_identities Mapping[str, UserIdentityProperties]
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principalId String
    The principal ID of resource identity.
    tenantId String
    The tenant ID of resource.
    type "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"
    The identity type.
    userAssignedIdentities Map<Property Map>
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

    IdentityPropertiesResponse

    Managed identity for the resource.

    PrincipalId string
    The principal ID of resource identity.
    TenantId string
    The tenant ID of resource.
    Type string
    The identity type.
    UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.ContainerRegistry.Inputs.UserIdentityPropertiesResponse>
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    PrincipalId string
    The principal ID of resource identity.
    TenantId string
    The tenant ID of resource.
    Type string
    The identity type.
    UserAssignedIdentities map[string]UserIdentityPropertiesResponse
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principal_id string
    The principal ID of resource identity.
    tenant_id string
    The tenant ID of resource.
    type string
    The identity type.
    user_assigned_identities map(object)
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principalId String
    The principal ID of resource identity.
    tenantId String
    The tenant ID of resource.
    type String
    The identity type.
    userAssignedIdentities Map<String,UserIdentityPropertiesResponse>
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principalId string
    The principal ID of resource identity.
    tenantId string
    The tenant ID of resource.
    type string
    The identity type.
    userAssignedIdentities {[key: string]: UserIdentityPropertiesResponse}
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principal_id str
    The principal ID of resource identity.
    tenant_id str
    The tenant ID of resource.
    type str
    The identity type.
    user_assigned_identities Mapping[str, UserIdentityPropertiesResponse]
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principalId String
    The principal ID of resource identity.
    tenantId String
    The tenant ID of resource.
    type String
    The identity type.
    userAssignedIdentities Map<Property Map>
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

    KeyVaultProperties, KeyVaultPropertiesArgs

    Identity string
    The client id of the identity which will be used to access key vault.
    KeyIdentifier string
    Key vault uri to access the encryption key.
    Identity string
    The client id of the identity which will be used to access key vault.
    KeyIdentifier string
    Key vault uri to access the encryption key.
    identity string
    The client id of the identity which will be used to access key vault.
    key_identifier string
    Key vault uri to access the encryption key.
    identity String
    The client id of the identity which will be used to access key vault.
    keyIdentifier String
    Key vault uri to access the encryption key.
    identity string
    The client id of the identity which will be used to access key vault.
    keyIdentifier string
    Key vault uri to access the encryption key.
    identity str
    The client id of the identity which will be used to access key vault.
    key_identifier str
    Key vault uri to access the encryption key.
    identity String
    The client id of the identity which will be used to access key vault.
    keyIdentifier String
    Key vault uri to access the encryption key.

    KeyVaultPropertiesResponse

    KeyRotationEnabled bool
    Auto key rotation status for a CMK enabled registry.
    LastKeyRotationTimestamp string
    Timestamp of the last successful key rotation.
    VersionedKeyIdentifier string
    The fully qualified key identifier that includes the version of the key that is actually used for encryption.
    Identity string
    The client id of the identity which will be used to access key vault.
    KeyIdentifier string
    Key vault uri to access the encryption key.
    KeyRotationEnabled bool
    Auto key rotation status for a CMK enabled registry.
    LastKeyRotationTimestamp string
    Timestamp of the last successful key rotation.
    VersionedKeyIdentifier string
    The fully qualified key identifier that includes the version of the key that is actually used for encryption.
    Identity string
    The client id of the identity which will be used to access key vault.
    KeyIdentifier string
    Key vault uri to access the encryption key.
    key_rotation_enabled bool
    Auto key rotation status for a CMK enabled registry.
    last_key_rotation_timestamp string
    Timestamp of the last successful key rotation.
    versioned_key_identifier string
    The fully qualified key identifier that includes the version of the key that is actually used for encryption.
    identity string
    The client id of the identity which will be used to access key vault.
    key_identifier string
    Key vault uri to access the encryption key.
    keyRotationEnabled Boolean
    Auto key rotation status for a CMK enabled registry.
    lastKeyRotationTimestamp String
    Timestamp of the last successful key rotation.
    versionedKeyIdentifier String
    The fully qualified key identifier that includes the version of the key that is actually used for encryption.
    identity String
    The client id of the identity which will be used to access key vault.
    keyIdentifier String
    Key vault uri to access the encryption key.
    keyRotationEnabled boolean
    Auto key rotation status for a CMK enabled registry.
    lastKeyRotationTimestamp string
    Timestamp of the last successful key rotation.
    versionedKeyIdentifier string
    The fully qualified key identifier that includes the version of the key that is actually used for encryption.
    identity string
    The client id of the identity which will be used to access key vault.
    keyIdentifier string
    Key vault uri to access the encryption key.
    key_rotation_enabled bool
    Auto key rotation status for a CMK enabled registry.
    last_key_rotation_timestamp str
    Timestamp of the last successful key rotation.
    versioned_key_identifier str
    The fully qualified key identifier that includes the version of the key that is actually used for encryption.
    identity str
    The client id of the identity which will be used to access key vault.
    key_identifier str
    Key vault uri to access the encryption key.
    keyRotationEnabled Boolean
    Auto key rotation status for a CMK enabled registry.
    lastKeyRotationTimestamp String
    Timestamp of the last successful key rotation.
    versionedKeyIdentifier String
    The fully qualified key identifier that includes the version of the key that is actually used for encryption.
    identity String
    The client id of the identity which will be used to access key vault.
    keyIdentifier String
    Key vault uri to access the encryption key.

    NetworkRuleBypassOptions

    Whether to allow trusted Azure services to access a network restricted registry.

    NameValue
    AzureServicesAzureServices
    NoneNone
    NameValue
    NetworkRuleBypassOptionsAzureServicesAzureServices
    NetworkRuleBypassOptionsNoneNone
    Value
    AzureServices
    None
    NameValue
    AzureServicesAzureServices
    NoneNone
    NameValue
    AzureServicesAzureServices
    NoneNone
    NameValue
    AZURE_SERVICESAzureServices
    NONENone
    Value
    AzureServices
    None

    NetworkRuleSet, NetworkRuleSetArgs

    The network rule set for a container registry.

    DefaultAction string | Pulumi.AzureNative.ContainerRegistry.DefaultAction
    The default action of allow or deny when no other rules match.
    IpRules List<Pulumi.AzureNative.ContainerRegistry.Inputs.IPRule>
    The IP ACL rules.
    DefaultAction string | DefaultAction
    The default action of allow or deny when no other rules match.
    IpRules []IPRule
    The IP ACL rules.
    default_action string | "Allow" | "Deny"
    The default action of allow or deny when no other rules match.
    ip_rules list(object)
    The IP ACL rules.
    defaultAction String | DefaultAction
    The default action of allow or deny when no other rules match.
    ipRules List<IPRule>
    The IP ACL rules.
    defaultAction string | DefaultAction
    The default action of allow or deny when no other rules match.
    ipRules IPRule[]
    The IP ACL rules.
    default_action str | DefaultAction
    The default action of allow or deny when no other rules match.
    ip_rules Sequence[IPRule]
    The IP ACL rules.
    defaultAction String | "Allow" | "Deny"
    The default action of allow or deny when no other rules match.
    ipRules List<Property Map>
    The IP ACL rules.

    NetworkRuleSetResponse

    The network rule set for a container registry.

    DefaultAction string
    The default action of allow or deny when no other rules match.
    IpRules List<Pulumi.AzureNative.ContainerRegistry.Inputs.IPRuleResponse>
    The IP ACL rules.
    DefaultAction string
    The default action of allow or deny when no other rules match.
    IpRules []IPRuleResponse
    The IP ACL rules.
    default_action string
    The default action of allow or deny when no other rules match.
    ip_rules list(object)
    The IP ACL rules.
    defaultAction String
    The default action of allow or deny when no other rules match.
    ipRules List<IPRuleResponse>
    The IP ACL rules.
    defaultAction string
    The default action of allow or deny when no other rules match.
    ipRules IPRuleResponse[]
    The IP ACL rules.
    default_action str
    The default action of allow or deny when no other rules match.
    ip_rules Sequence[IPRuleResponse]
    The IP ACL rules.
    defaultAction String
    The default action of allow or deny when no other rules match.
    ipRules List<Property Map>
    The IP ACL rules.

    Policies, PoliciesArgs

    The policies for a container registry.

    AzureADAuthenticationAsArmPolicy AzureADAuthenticationAsArmPolicy
    The policy for using ARM audience token for a container registry.
    ExportPolicy ExportPolicy
    The export policy for a container registry.
    QuarantinePolicy QuarantinePolicy
    The quarantine policy for a container registry.
    RetentionPolicy RetentionPolicy
    The retention policy for a container registry.
    SoftDeletePolicy SoftDeletePolicy
    The soft delete policy for a container registry.
    TrustPolicy TrustPolicy
    The content trust policy for a container registry.
    azure_ad_authentication_as_arm_policy object
    The policy for using ARM audience token for a container registry.
    export_policy object
    The export policy for a container registry.
    quarantine_policy object
    The quarantine policy for a container registry.
    retention_policy object
    The retention policy for a container registry.
    soft_delete_policy object
    The soft delete policy for a container registry.
    trust_policy object
    The content trust policy for a container registry.
    azureADAuthenticationAsArmPolicy AzureADAuthenticationAsArmPolicy
    The policy for using ARM audience token for a container registry.
    exportPolicy ExportPolicy
    The export policy for a container registry.
    quarantinePolicy QuarantinePolicy
    The quarantine policy for a container registry.
    retentionPolicy RetentionPolicy
    The retention policy for a container registry.
    softDeletePolicy SoftDeletePolicy
    The soft delete policy for a container registry.
    trustPolicy TrustPolicy
    The content trust policy for a container registry.
    azureADAuthenticationAsArmPolicy AzureADAuthenticationAsArmPolicy
    The policy for using ARM audience token for a container registry.
    exportPolicy ExportPolicy
    The export policy for a container registry.
    quarantinePolicy QuarantinePolicy
    The quarantine policy for a container registry.
    retentionPolicy RetentionPolicy
    The retention policy for a container registry.
    softDeletePolicy SoftDeletePolicy
    The soft delete policy for a container registry.
    trustPolicy TrustPolicy
    The content trust policy for a container registry.
    azure_ad_authentication_as_arm_policy AzureADAuthenticationAsArmPolicy
    The policy for using ARM audience token for a container registry.
    export_policy ExportPolicy
    The export policy for a container registry.
    quarantine_policy QuarantinePolicy
    The quarantine policy for a container registry.
    retention_policy RetentionPolicy
    The retention policy for a container registry.
    soft_delete_policy SoftDeletePolicy
    The soft delete policy for a container registry.
    trust_policy TrustPolicy
    The content trust policy for a container registry.
    azureADAuthenticationAsArmPolicy Property Map
    The policy for using ARM audience token for a container registry.
    exportPolicy Property Map
    The export policy for a container registry.
    quarantinePolicy Property Map
    The quarantine policy for a container registry.
    retentionPolicy Property Map
    The retention policy for a container registry.
    softDeletePolicy Property Map
    The soft delete policy for a container registry.
    trustPolicy Property Map
    The content trust policy for a container registry.

    PoliciesResponse

    The policies for a container registry.

    AzureADAuthenticationAsArmPolicy Pulumi.AzureNative.ContainerRegistry.Inputs.AzureADAuthenticationAsArmPolicyResponse
    The policy for using ARM audience token for a container registry.
    ExportPolicy Pulumi.AzureNative.ContainerRegistry.Inputs.ExportPolicyResponse
    The export policy for a container registry.
    QuarantinePolicy Pulumi.AzureNative.ContainerRegistry.Inputs.QuarantinePolicyResponse
    The quarantine policy for a container registry.
    RetentionPolicy Pulumi.AzureNative.ContainerRegistry.Inputs.RetentionPolicyResponse
    The retention policy for a container registry.
    SoftDeletePolicy Pulumi.AzureNative.ContainerRegistry.Inputs.SoftDeletePolicyResponse
    The soft delete policy for a container registry.
    TrustPolicy Pulumi.AzureNative.ContainerRegistry.Inputs.TrustPolicyResponse
    The content trust policy for a container registry.
    AzureADAuthenticationAsArmPolicy AzureADAuthenticationAsArmPolicyResponse
    The policy for using ARM audience token for a container registry.
    ExportPolicy ExportPolicyResponse
    The export policy for a container registry.
    QuarantinePolicy QuarantinePolicyResponse
    The quarantine policy for a container registry.
    RetentionPolicy RetentionPolicyResponse
    The retention policy for a container registry.
    SoftDeletePolicy SoftDeletePolicyResponse
    The soft delete policy for a container registry.
    TrustPolicy TrustPolicyResponse
    The content trust policy for a container registry.
    azure_ad_authentication_as_arm_policy object
    The policy for using ARM audience token for a container registry.
    export_policy object
    The export policy for a container registry.
    quarantine_policy object
    The quarantine policy for a container registry.
    retention_policy object
    The retention policy for a container registry.
    soft_delete_policy object
    The soft delete policy for a container registry.
    trust_policy object
    The content trust policy for a container registry.
    azureADAuthenticationAsArmPolicy AzureADAuthenticationAsArmPolicyResponse
    The policy for using ARM audience token for a container registry.
    exportPolicy ExportPolicyResponse
    The export policy for a container registry.
    quarantinePolicy QuarantinePolicyResponse
    The quarantine policy for a container registry.
    retentionPolicy RetentionPolicyResponse
    The retention policy for a container registry.
    softDeletePolicy SoftDeletePolicyResponse
    The soft delete policy for a container registry.
    trustPolicy TrustPolicyResponse
    The content trust policy for a container registry.
    azureADAuthenticationAsArmPolicy AzureADAuthenticationAsArmPolicyResponse
    The policy for using ARM audience token for a container registry.
    exportPolicy ExportPolicyResponse
    The export policy for a container registry.
    quarantinePolicy QuarantinePolicyResponse
    The quarantine policy for a container registry.
    retentionPolicy RetentionPolicyResponse
    The retention policy for a container registry.
    softDeletePolicy SoftDeletePolicyResponse
    The soft delete policy for a container registry.
    trustPolicy TrustPolicyResponse
    The content trust policy for a container registry.
    azure_ad_authentication_as_arm_policy AzureADAuthenticationAsArmPolicyResponse
    The policy for using ARM audience token for a container registry.
    export_policy ExportPolicyResponse
    The export policy for a container registry.
    quarantine_policy QuarantinePolicyResponse
    The quarantine policy for a container registry.
    retention_policy RetentionPolicyResponse
    The retention policy for a container registry.
    soft_delete_policy SoftDeletePolicyResponse
    The soft delete policy for a container registry.
    trust_policy TrustPolicyResponse
    The content trust policy for a container registry.
    azureADAuthenticationAsArmPolicy Property Map
    The policy for using ARM audience token for a container registry.
    exportPolicy Property Map
    The export policy for a container registry.
    quarantinePolicy Property Map
    The quarantine policy for a container registry.
    retentionPolicy Property Map
    The retention policy for a container registry.
    softDeletePolicy Property Map
    The soft delete policy for a container registry.
    trustPolicy Property Map
    The content trust policy for a container registry.

    PolicyStatus

    The value that indicates whether the policy is enabled or not.

    NameValue
    Enabledenabled
    Disableddisabled
    NameValue
    PolicyStatusEnabledenabled
    PolicyStatusDisableddisabled
    Value
    enabled
    disabled
    NameValue
    Enabledenabled
    Disableddisabled
    NameValue
    Enabledenabled
    Disableddisabled
    NameValue
    ENABLEDenabled
    DISABLEDdisabled
    Value
    enabled
    disabled

    PrivateEndpointConnectionResponse

    An object that represents a private endpoint connection for a container registry.

    Id string
    The resource ID.
    Name string
    The name of the resource.
    ProvisioningState string
    The provisioning state of private endpoint connection resource.
    SystemData Pulumi.AzureNative.ContainerRegistry.Inputs.SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    The type of the resource.
    PrivateEndpoint Pulumi.AzureNative.ContainerRegistry.Inputs.PrivateEndpointResponse
    The resource of private endpoint.
    PrivateLinkServiceConnectionState Pulumi.AzureNative.ContainerRegistry.Inputs.PrivateLinkServiceConnectionStateResponse
    A collection of information about the state of the connection between service consumer and provider.
    Id string
    The resource ID.
    Name string
    The name of the resource.
    ProvisioningState string
    The provisioning state of private endpoint connection resource.
    SystemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    The type of the resource.
    PrivateEndpoint PrivateEndpointResponse
    The resource of private endpoint.
    PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse
    A collection of information about the state of the connection between service consumer and provider.
    id string
    The resource ID.
    name string
    The name of the resource.
    provisioning_state string
    The provisioning state of private endpoint connection resource.
    system_data object
    Metadata pertaining to creation and last modification of the resource.
    type string
    The type of the resource.
    private_endpoint object
    The resource of private endpoint.
    private_link_service_connection_state object
    A collection of information about the state of the connection between service consumer and provider.
    id String
    The resource ID.
    name String
    The name of the resource.
    provisioningState String
    The provisioning state of private endpoint connection resource.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type String
    The type of the resource.
    privateEndpoint PrivateEndpointResponse
    The resource of private endpoint.
    privateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse
    A collection of information about the state of the connection between service consumer and provider.
    id string
    The resource ID.
    name string
    The name of the resource.
    provisioningState string
    The provisioning state of private endpoint connection resource.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type string
    The type of the resource.
    privateEndpoint PrivateEndpointResponse
    The resource of private endpoint.
    privateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse
    A collection of information about the state of the connection between service consumer and provider.
    id str
    The resource ID.
    name str
    The name of the resource.
    provisioning_state str
    The provisioning state of private endpoint connection resource.
    system_data SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type str
    The type of the resource.
    private_endpoint PrivateEndpointResponse
    The resource of private endpoint.
    private_link_service_connection_state PrivateLinkServiceConnectionStateResponse
    A collection of information about the state of the connection between service consumer and provider.
    id String
    The resource ID.
    name String
    The name of the resource.
    provisioningState String
    The provisioning state of private endpoint connection resource.
    systemData Property Map
    Metadata pertaining to creation and last modification of the resource.
    type String
    The type of the resource.
    privateEndpoint Property Map
    The resource of private endpoint.
    privateLinkServiceConnectionState Property Map
    A collection of information about the state of the connection between service consumer and provider.

    PrivateEndpointResponse

    The Private Endpoint resource.

    Id string
    This is private endpoint resource created with Microsoft.Network resource provider.
    Id string
    This is private endpoint resource created with Microsoft.Network resource provider.
    id string
    This is private endpoint resource created with Microsoft.Network resource provider.
    id String
    This is private endpoint resource created with Microsoft.Network resource provider.
    id string
    This is private endpoint resource created with Microsoft.Network resource provider.
    id str
    This is private endpoint resource created with Microsoft.Network resource provider.
    id String
    This is private endpoint resource created with Microsoft.Network resource provider.

    PrivateLinkServiceConnectionStateResponse

    The state of a private link service connection.

    ActionsRequired string
    A message indicating if changes on the service provider require any updates on the consumer.
    Description string
    The description for connection status. For example if connection is rejected it can indicate reason for rejection.
    Status string
    The private link service connection status.
    ActionsRequired string
    A message indicating if changes on the service provider require any updates on the consumer.
    Description string
    The description for connection status. For example if connection is rejected it can indicate reason for rejection.
    Status string
    The private link service connection status.
    actions_required string
    A message indicating if changes on the service provider require any updates on the consumer.
    description string
    The description for connection status. For example if connection is rejected it can indicate reason for rejection.
    status string
    The private link service connection status.
    actionsRequired String
    A message indicating if changes on the service provider require any updates on the consumer.
    description String
    The description for connection status. For example if connection is rejected it can indicate reason for rejection.
    status String
    The private link service connection status.
    actionsRequired string
    A message indicating if changes on the service provider require any updates on the consumer.
    description string
    The description for connection status. For example if connection is rejected it can indicate reason for rejection.
    status string
    The private link service connection status.
    actions_required str
    A message indicating if changes on the service provider require any updates on the consumer.
    description str
    The description for connection status. For example if connection is rejected it can indicate reason for rejection.
    status str
    The private link service connection status.
    actionsRequired String
    A message indicating if changes on the service provider require any updates on the consumer.
    description String
    The description for connection status. For example if connection is rejected it can indicate reason for rejection.
    status String
    The private link service connection status.

    PublicNetworkAccess

    Whether or not public network access is allowed for the container registry.

    NameValue
    EnabledEnabled
    DisabledDisabled
    NameValue
    PublicNetworkAccessEnabledEnabled
    PublicNetworkAccessDisabledDisabled
    Value
    Enabled
    Disabled
    NameValue
    EnabledEnabled
    DisabledDisabled
    NameValue
    EnabledEnabled
    DisabledDisabled
    NameValue
    ENABLEDEnabled
    DISABLEDDisabled
    Value
    Enabled
    Disabled

    QuarantinePolicy, QuarantinePolicyArgs

    The quarantine policy for a container registry.

    Status string | Pulumi.AzureNative.ContainerRegistry.PolicyStatus
    The value that indicates whether the policy is enabled or not.
    Status string | PolicyStatus
    The value that indicates whether the policy is enabled or not.
    status string | "enabled" | "disabled"
    The value that indicates whether the policy is enabled or not.
    status String | PolicyStatus
    The value that indicates whether the policy is enabled or not.
    status string | PolicyStatus
    The value that indicates whether the policy is enabled or not.
    status str | PolicyStatus
    The value that indicates whether the policy is enabled or not.
    status String | "enabled" | "disabled"
    The value that indicates whether the policy is enabled or not.

    QuarantinePolicyResponse

    The quarantine policy for a container registry.

    Status string
    The value that indicates whether the policy is enabled or not.
    Status string
    The value that indicates whether the policy is enabled or not.
    status string
    The value that indicates whether the policy is enabled or not.
    status String
    The value that indicates whether the policy is enabled or not.
    status string
    The value that indicates whether the policy is enabled or not.
    status str
    The value that indicates whether the policy is enabled or not.
    status String
    The value that indicates whether the policy is enabled or not.

    ResourceIdentityType

    The identity type.

    NameValue
    SystemAssignedSystemAssigned
    UserAssignedUserAssigned
    SystemAssigned_UserAssignedSystemAssigned, UserAssigned
    NoneNone
    NameValue
    ResourceIdentityTypeSystemAssignedSystemAssigned
    ResourceIdentityTypeUserAssignedUserAssigned
    ResourceIdentityType_SystemAssigned_UserAssignedSystemAssigned, UserAssigned
    ResourceIdentityTypeNoneNone
    Value
    SystemAssigned
    UserAssigned
    SystemAssigned, UserAssigned
    None
    NameValue
    SystemAssignedSystemAssigned
    UserAssignedUserAssigned
    SystemAssigned_UserAssignedSystemAssigned, UserAssigned
    NoneNone
    NameValue
    SystemAssignedSystemAssigned
    UserAssignedUserAssigned
    SystemAssigned_UserAssignedSystemAssigned, UserAssigned
    NoneNone
    NameValue
    SYSTEM_ASSIGNEDSystemAssigned
    USER_ASSIGNEDUserAssigned
    SYSTEM_ASSIGNED_USER_ASSIGNEDSystemAssigned, UserAssigned
    NONENone
    Value
    SystemAssigned
    UserAssigned
    SystemAssigned, UserAssigned
    None

    RetentionPolicy, RetentionPolicyArgs

    The retention policy for a container registry.

    Days int
    The number of days to retain an untagged manifest after which it gets purged.
    Status string | Pulumi.AzureNative.ContainerRegistry.PolicyStatus
    The value that indicates whether the policy is enabled or not.
    Days int
    The number of days to retain an untagged manifest after which it gets purged.
    Status string | PolicyStatus
    The value that indicates whether the policy is enabled or not.
    days number
    The number of days to retain an untagged manifest after which it gets purged.
    status string | "enabled" | "disabled"
    The value that indicates whether the policy is enabled or not.
    days Integer
    The number of days to retain an untagged manifest after which it gets purged.
    status String | PolicyStatus
    The value that indicates whether the policy is enabled or not.
    days number
    The number of days to retain an untagged manifest after which it gets purged.
    status string | PolicyStatus
    The value that indicates whether the policy is enabled or not.
    days int
    The number of days to retain an untagged manifest after which it gets purged.
    status str | PolicyStatus
    The value that indicates whether the policy is enabled or not.
    days Number
    The number of days to retain an untagged manifest after which it gets purged.
    status String | "enabled" | "disabled"
    The value that indicates whether the policy is enabled or not.

    RetentionPolicyResponse

    The retention policy for a container registry.

    LastUpdatedTime string
    The timestamp when the policy was last updated.
    Days int
    The number of days to retain an untagged manifest after which it gets purged.
    Status string
    The value that indicates whether the policy is enabled or not.
    LastUpdatedTime string
    The timestamp when the policy was last updated.
    Days int
    The number of days to retain an untagged manifest after which it gets purged.
    Status string
    The value that indicates whether the policy is enabled or not.
    last_updated_time string
    The timestamp when the policy was last updated.
    days number
    The number of days to retain an untagged manifest after which it gets purged.
    status string
    The value that indicates whether the policy is enabled or not.
    lastUpdatedTime String
    The timestamp when the policy was last updated.
    days Integer
    The number of days to retain an untagged manifest after which it gets purged.
    status String
    The value that indicates whether the policy is enabled or not.
    lastUpdatedTime string
    The timestamp when the policy was last updated.
    days number
    The number of days to retain an untagged manifest after which it gets purged.
    status string
    The value that indicates whether the policy is enabled or not.
    last_updated_time str
    The timestamp when the policy was last updated.
    days int
    The number of days to retain an untagged manifest after which it gets purged.
    status str
    The value that indicates whether the policy is enabled or not.
    lastUpdatedTime String
    The timestamp when the policy was last updated.
    days Number
    The number of days to retain an untagged manifest after which it gets purged.
    status String
    The value that indicates whether the policy is enabled or not.

    Sku, SkuArgs

    The SKU of a container registry.

    Name string | Pulumi.AzureNative.ContainerRegistry.SkuName
    The SKU name of the container registry. Required for registry creation.
    Name string | SkuName
    The SKU name of the container registry. Required for registry creation.
    name string | "Classic" | "Basic" | "Standard" | "Premium"
    The SKU name of the container registry. Required for registry creation.
    name String | SkuName
    The SKU name of the container registry. Required for registry creation.
    name string | SkuName
    The SKU name of the container registry. Required for registry creation.
    name str | SkuName
    The SKU name of the container registry. Required for registry creation.
    name String | "Classic" | "Basic" | "Standard" | "Premium"
    The SKU name of the container registry. Required for registry creation.

    SkuName

    The SKU name of the container registry. Required for registry creation.

    NameValue
    ClassicClassic
    BasicBasic
    StandardStandard
    PremiumPremium
    NameValue
    SkuNameClassicClassic
    SkuNameBasicBasic
    SkuNameStandardStandard
    SkuNamePremiumPremium
    Value
    Classic
    Basic
    Standard
    Premium
    NameValue
    ClassicClassic
    BasicBasic
    StandardStandard
    PremiumPremium
    NameValue
    ClassicClassic
    BasicBasic
    StandardStandard
    PremiumPremium
    NameValue
    CLASSICClassic
    BASICBasic
    STANDARDStandard
    PREMIUMPremium
    Value
    Classic
    Basic
    Standard
    Premium

    SkuResponse

    The SKU of a container registry.

    Name string
    The SKU name of the container registry. Required for registry creation.
    Tier string
    The SKU tier based on the SKU name.
    Name string
    The SKU name of the container registry. Required for registry creation.
    Tier string
    The SKU tier based on the SKU name.
    name string
    The SKU name of the container registry. Required for registry creation.
    tier string
    The SKU tier based on the SKU name.
    name String
    The SKU name of the container registry. Required for registry creation.
    tier String
    The SKU tier based on the SKU name.
    name string
    The SKU name of the container registry. Required for registry creation.
    tier string
    The SKU tier based on the SKU name.
    name str
    The SKU name of the container registry. Required for registry creation.
    tier str
    The SKU tier based on the SKU name.
    name String
    The SKU name of the container registry. Required for registry creation.
    tier String
    The SKU tier based on the SKU name.

    SoftDeletePolicy, SoftDeletePolicyArgs

    The soft delete policy for a container registry

    RetentionDays int
    The number of days after which a soft-deleted item is permanently deleted.
    Status string | Pulumi.AzureNative.ContainerRegistry.PolicyStatus
    The value that indicates whether the policy is enabled or not.
    RetentionDays int
    The number of days after which a soft-deleted item is permanently deleted.
    Status string | PolicyStatus
    The value that indicates whether the policy is enabled or not.
    retention_days number
    The number of days after which a soft-deleted item is permanently deleted.
    status string | "enabled" | "disabled"
    The value that indicates whether the policy is enabled or not.
    retentionDays Integer
    The number of days after which a soft-deleted item is permanently deleted.
    status String | PolicyStatus
    The value that indicates whether the policy is enabled or not.
    retentionDays number
    The number of days after which a soft-deleted item is permanently deleted.
    status string | PolicyStatus
    The value that indicates whether the policy is enabled or not.
    retention_days int
    The number of days after which a soft-deleted item is permanently deleted.
    status str | PolicyStatus
    The value that indicates whether the policy is enabled or not.
    retentionDays Number
    The number of days after which a soft-deleted item is permanently deleted.
    status String | "enabled" | "disabled"
    The value that indicates whether the policy is enabled or not.

    SoftDeletePolicyResponse

    The soft delete policy for a container registry

    LastUpdatedTime string
    The timestamp when the policy was last updated.
    RetentionDays int
    The number of days after which a soft-deleted item is permanently deleted.
    Status string
    The value that indicates whether the policy is enabled or not.
    LastUpdatedTime string
    The timestamp when the policy was last updated.
    RetentionDays int
    The number of days after which a soft-deleted item is permanently deleted.
    Status string
    The value that indicates whether the policy is enabled or not.
    last_updated_time string
    The timestamp when the policy was last updated.
    retention_days number
    The number of days after which a soft-deleted item is permanently deleted.
    status string
    The value that indicates whether the policy is enabled or not.
    lastUpdatedTime String
    The timestamp when the policy was last updated.
    retentionDays Integer
    The number of days after which a soft-deleted item is permanently deleted.
    status String
    The value that indicates whether the policy is enabled or not.
    lastUpdatedTime string
    The timestamp when the policy was last updated.
    retentionDays number
    The number of days after which a soft-deleted item is permanently deleted.
    status string
    The value that indicates whether the policy is enabled or not.
    last_updated_time str
    The timestamp when the policy was last updated.
    retention_days int
    The number of days after which a soft-deleted item is permanently deleted.
    status str
    The value that indicates whether the policy is enabled or not.
    lastUpdatedTime String
    The timestamp when the policy was last updated.
    retentionDays Number
    The number of days after which a soft-deleted item is permanently deleted.
    status String
    The value that indicates whether the policy is enabled or not.

    StatusResponse

    The status of an Azure resource at the time the operation was called.

    DisplayStatus string
    The short label for the status.
    Message string
    The detailed message for the status, including alerts and error messages.
    Timestamp string
    The timestamp when the status was changed to the current value.
    DisplayStatus string
    The short label for the status.
    Message string
    The detailed message for the status, including alerts and error messages.
    Timestamp string
    The timestamp when the status was changed to the current value.
    display_status string
    The short label for the status.
    message string
    The detailed message for the status, including alerts and error messages.
    timestamp string
    The timestamp when the status was changed to the current value.
    displayStatus String
    The short label for the status.
    message String
    The detailed message for the status, including alerts and error messages.
    timestamp String
    The timestamp when the status was changed to the current value.
    displayStatus string
    The short label for the status.
    message string
    The detailed message for the status, including alerts and error messages.
    timestamp string
    The timestamp when the status was changed to the current value.
    display_status str
    The short label for the status.
    message str
    The detailed message for the status, including alerts and error messages.
    timestamp str
    The timestamp when the status was changed to the current value.
    displayStatus String
    The short label for the status.
    message String
    The detailed message for the status, including alerts and error messages.
    timestamp String
    The timestamp when the status was changed to the current value.

    SystemDataResponse

    Metadata pertaining to creation and last modification of the resource.

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource modification (UTC).
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource modification (UTC).
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    created_at string
    The timestamp of resource creation (UTC).
    created_by string
    The identity that created the resource.
    created_by_type string
    The type of identity that created the resource.
    last_modified_at string
    The timestamp of resource modification (UTC).
    last_modified_by string
    The identity that last modified the resource.
    last_modified_by_type string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource modification (UTC).
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource modification (UTC).
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource modification (UTC).
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource modification (UTC).
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    TrustPolicy, TrustPolicyArgs

    The content trust policy for a container registry.

    Status string | Pulumi.AzureNative.ContainerRegistry.PolicyStatus
    The value that indicates whether the policy is enabled or not.
    Type string | Pulumi.AzureNative.ContainerRegistry.TrustPolicyType
    The type of trust policy.
    Status string | PolicyStatus
    The value that indicates whether the policy is enabled or not.
    Type string | TrustPolicyType
    The type of trust policy.
    status string | "enabled" | "disabled"
    The value that indicates whether the policy is enabled or not.
    type string | "Notary"
    The type of trust policy.
    status String | PolicyStatus
    The value that indicates whether the policy is enabled or not.
    type String | TrustPolicyType
    The type of trust policy.
    status string | PolicyStatus
    The value that indicates whether the policy is enabled or not.
    type string | TrustPolicyType
    The type of trust policy.
    status str | PolicyStatus
    The value that indicates whether the policy is enabled or not.
    type str | TrustPolicyType
    The type of trust policy.
    status String | "enabled" | "disabled"
    The value that indicates whether the policy is enabled or not.
    type String | "Notary"
    The type of trust policy.

    TrustPolicyResponse

    The content trust policy for a container registry.

    Status string
    The value that indicates whether the policy is enabled or not.
    Type string
    The type of trust policy.
    Status string
    The value that indicates whether the policy is enabled or not.
    Type string
    The type of trust policy.
    status string
    The value that indicates whether the policy is enabled or not.
    type string
    The type of trust policy.
    status String
    The value that indicates whether the policy is enabled or not.
    type String
    The type of trust policy.
    status string
    The value that indicates whether the policy is enabled or not.
    type string
    The type of trust policy.
    status str
    The value that indicates whether the policy is enabled or not.
    type str
    The type of trust policy.
    status String
    The value that indicates whether the policy is enabled or not.
    type String
    The type of trust policy.

    TrustPolicyType

    The type of trust policy.

    NameValue
    NotaryNotary
    NameValue
    TrustPolicyTypeNotaryNotary
    Value
    Notary
    NameValue
    NotaryNotary
    NameValue
    NotaryNotary
    NameValue
    NOTARYNotary
    Value
    Notary

    UserIdentityProperties, UserIdentityPropertiesArgs

    ClientId string
    The client id of user assigned identity.
    PrincipalId string
    The principal id of user assigned identity.
    ClientId string
    The client id of user assigned identity.
    PrincipalId string
    The principal id of user assigned identity.
    client_id string
    The client id of user assigned identity.
    principal_id string
    The principal id of user assigned identity.
    clientId String
    The client id of user assigned identity.
    principalId String
    The principal id of user assigned identity.
    clientId string
    The client id of user assigned identity.
    principalId string
    The principal id of user assigned identity.
    client_id str
    The client id of user assigned identity.
    principal_id str
    The principal id of user assigned identity.
    clientId String
    The client id of user assigned identity.
    principalId String
    The principal id of user assigned identity.

    UserIdentityPropertiesResponse

    ClientId string
    The client id of user assigned identity.
    PrincipalId string
    The principal id of user assigned identity.
    ClientId string
    The client id of user assigned identity.
    PrincipalId string
    The principal id of user assigned identity.
    client_id string
    The client id of user assigned identity.
    principal_id string
    The principal id of user assigned identity.
    clientId String
    The client id of user assigned identity.
    principalId String
    The principal id of user assigned identity.
    clientId string
    The client id of user assigned identity.
    principalId string
    The principal id of user assigned identity.
    client_id str
    The client id of user assigned identity.
    principal_id str
    The principal id of user assigned identity.
    clientId String
    The client id of user assigned identity.
    principalId String
    The principal id of user assigned identity.

    ZoneRedundancy

    Whether or not zone redundancy is enabled for this container registry replication

    NameValue
    EnabledEnabled
    DisabledDisabled
    NameValue
    ZoneRedundancyEnabledEnabled
    ZoneRedundancyDisabledDisabled
    Value
    Enabled
    Disabled
    NameValue
    EnabledEnabled
    DisabledDisabled
    NameValue
    EnabledEnabled
    DisabledDisabled
    NameValue
    ENABLEDEnabled
    DISABLEDDisabled
    Value
    Enabled
    Disabled

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:containerregistry:Registry myRegistry /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo Azure Native
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Viewing docs for Azure Native v3.32.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial