1. Packages
  2. Azure Native
  3. API Docs
  4. containerregistry
  5. Packages
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

azure-native.containerregistry.Registry

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

    An object that represents a container registry. Azure REST API version: 2022-12-01. Prior API version in Azure Native 1.x: 2019-05-01.

    Other available API versions: 2017-03-01, 2019-05-01, 2023-01-01-preview, 2023-06-01-preview, 2023-07-01, 2023-08-01-preview, 2023-11-01-preview.

    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 (
    	"github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v2"
    	"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
    	})
    }
    
    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.List;
    import java.util.ArrayList;
    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 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=azure_native.containerregistry.SkuArgs(
            name=azure_native.containerregistry.SkuName.STANDARD,
        ),
        tags={
            "key": "value",
        })
    
    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",
        },
    });
    
    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 (
    	"github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v2"
    	"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
    	})
    }
    
    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.List;
    import java.util.ArrayList;
    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 pulumi
    import pulumi_azure_native as azure_native
    
    registry = azure_native.containerregistry.Registry("registry",
        location="westus",
        registry_name="myRegistry",
        resource_group_name="myResourceGroup",
        sku=azure_native.containerregistry.SkuArgs(
            name=azure_native.containerregistry.SkuName.STANDARD,
        ),
        tags={
            "key": "value",
        },
        zone_redundancy=azure_native.containerregistry.ZoneRedundancy.ENABLED)
    
    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,
    });
    
    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_set: Optional[NetworkRuleSetArgs] = None,
                 identity: Optional[IdentityPropertiesArgs] = None,
                 location: Optional[str] = None,
                 network_rule_bypass_options: Optional[Union[str, NetworkRuleBypassOptions]] = None,
                 admin_user_enabled: Optional[bool] = None,
                 policies: Optional[PoliciesArgs] = None,
                 public_network_access: Optional[Union[str, PublicNetworkAccess]] = None,
                 registry_name: Optional[str] = None,
                 encryption: Optional[EncryptionPropertyArgs] = None,
                 data_endpoint_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.
    
    

    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.

    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",
        },
        NetworkRuleSet = new AzureNative.ContainerRegistry.Inputs.NetworkRuleSetArgs
        {
            DefaultAction = "string",
            IpRules = new[]
            {
                new AzureNative.ContainerRegistry.Inputs.IPRuleArgs
                {
                    IPAddressOrRange = "string",
                    Action = "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",
        NetworkRuleBypassOptions = "string",
        AdminUserEnabled = false,
        Policies = new AzureNative.ContainerRegistry.Inputs.PoliciesArgs
        {
            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",
            },
            TrustPolicy = new AzureNative.ContainerRegistry.Inputs.TrustPolicyArgs
            {
                Status = "string",
                Type = "string",
            },
        },
        PublicNetworkAccess = "string",
        RegistryName = "string",
        Encryption = new AzureNative.ContainerRegistry.Inputs.EncryptionPropertyArgs
        {
            KeyVaultProperties = new AzureNative.ContainerRegistry.Inputs.KeyVaultPropertiesArgs
            {
                Identity = "string",
                KeyIdentifier = "string",
            },
            Status = "string",
        },
        DataEndpointEnabled = 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"),
    },
    NetworkRuleSet: &containerregistry.NetworkRuleSetArgs{
    DefaultAction: pulumi.String("string"),
    IpRules: containerregistry.IPRuleArray{
    &containerregistry.IPRuleArgs{
    IPAddressOrRange: pulumi.String("string"),
    Action: 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"),
    NetworkRuleBypassOptions: pulumi.String("string"),
    AdminUserEnabled: pulumi.Bool(false),
    Policies: &containerregistry.PoliciesArgs{
    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"),
    },
    TrustPolicy: &containerregistry.TrustPolicyArgs{
    Status: pulumi.String("string"),
    Type: pulumi.String("string"),
    },
    },
    PublicNetworkAccess: pulumi.String("string"),
    RegistryName: pulumi.String("string"),
    Encryption: &containerregistry.EncryptionPropertyArgs{
    KeyVaultProperties: &containerregistry.KeyVaultPropertiesArgs{
    Identity: pulumi.String("string"),
    KeyIdentifier: pulumi.String("string"),
    },
    Status: pulumi.String("string"),
    },
    DataEndpointEnabled: pulumi.Bool(false),
    Tags: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    ZoneRedundancy: pulumi.String("string"),
    })
    
    var registryResource = new Registry("registryResource", RegistryArgs.builder()        
        .resourceGroupName("string")
        .sku(SkuArgs.builder()
            .name("string")
            .build())
        .networkRuleSet(NetworkRuleSetArgs.builder()
            .defaultAction("string")
            .ipRules(IPRuleArgs.builder()
                .iPAddressOrRange("string")
                .action("string")
                .build())
            .build())
        .identity(IdentityPropertiesArgs.builder()
            .principalId("string")
            .tenantId("string")
            .type("SystemAssigned")
            .userAssignedIdentities(Map.of("string", Map.ofEntries(
                Map.entry("clientId", "string"),
                Map.entry("principalId", "string")
            )))
            .build())
        .location("string")
        .networkRuleBypassOptions("string")
        .adminUserEnabled(false)
        .policies(PoliciesArgs.builder()
            .exportPolicy(ExportPolicyArgs.builder()
                .status("string")
                .build())
            .quarantinePolicy(QuarantinePolicyArgs.builder()
                .status("string")
                .build())
            .retentionPolicy(RetentionPolicyArgs.builder()
                .days(0)
                .status("string")
                .build())
            .trustPolicy(TrustPolicyArgs.builder()
                .status("string")
                .type("string")
                .build())
            .build())
        .publicNetworkAccess("string")
        .registryName("string")
        .encryption(EncryptionPropertyArgs.builder()
            .keyVaultProperties(KeyVaultPropertiesArgs.builder()
                .identity("string")
                .keyIdentifier("string")
                .build())
            .status("string")
            .build())
        .dataEndpointEnabled(false)
        .tags(Map.of("string", "string"))
        .zoneRedundancy("string")
        .build());
    
    registry_resource = azure_native.containerregistry.Registry("registryResource",
        resource_group_name="string",
        sku=azure_native.containerregistry.SkuArgs(
            name="string",
        ),
        network_rule_set=azure_native.containerregistry.NetworkRuleSetArgs(
            default_action="string",
            ip_rules=[azure_native.containerregistry.IPRuleArgs(
                i_p_address_or_range="string",
                action="string",
            )],
        ),
        identity=azure_native.containerregistry.IdentityPropertiesArgs(
            principal_id="string",
            tenant_id="string",
            type=azure_native.containerregistry.ResourceIdentityType.SYSTEM_ASSIGNED,
            user_assigned_identities={
                "string": azure_native.containerregistry.UserIdentityPropertiesArgs(
                    client_id="string",
                    principal_id="string",
                ),
            },
        ),
        location="string",
        network_rule_bypass_options="string",
        admin_user_enabled=False,
        policies=azure_native.containerregistry.PoliciesArgs(
            export_policy=azure_native.containerregistry.ExportPolicyArgs(
                status="string",
            ),
            quarantine_policy=azure_native.containerregistry.QuarantinePolicyArgs(
                status="string",
            ),
            retention_policy=azure_native.containerregistry.RetentionPolicyArgs(
                days=0,
                status="string",
            ),
            trust_policy=azure_native.containerregistry.TrustPolicyArgs(
                status="string",
                type="string",
            ),
        ),
        public_network_access="string",
        registry_name="string",
        encryption=azure_native.containerregistry.EncryptionPropertyArgs(
            key_vault_properties=azure_native.containerregistry.KeyVaultPropertiesArgs(
                identity="string",
                key_identifier="string",
            ),
            status="string",
        ),
        data_endpoint_enabled=False,
        tags={
            "string": "string",
        },
        zone_redundancy="string")
    
    const registryResource = new azure_native.containerregistry.Registry("registryResource", {
        resourceGroupName: "string",
        sku: {
            name: "string",
        },
        networkRuleSet: {
            defaultAction: "string",
            ipRules: [{
                iPAddressOrRange: "string",
                action: "string",
            }],
        },
        identity: {
            principalId: "string",
            tenantId: "string",
            type: azure_native.containerregistry.ResourceIdentityType.SystemAssigned,
            userAssignedIdentities: {
                string: {
                    clientId: "string",
                    principalId: "string",
                },
            },
        },
        location: "string",
        networkRuleBypassOptions: "string",
        adminUserEnabled: false,
        policies: {
            exportPolicy: {
                status: "string",
            },
            quarantinePolicy: {
                status: "string",
            },
            retentionPolicy: {
                days: 0,
                status: "string",
            },
            trustPolicy: {
                status: "string",
                type: "string",
            },
        },
        publicNetworkAccess: "string",
        registryName: "string",
        encryption: {
            keyVaultProperties: {
                identity: "string",
                keyIdentifier: "string",
            },
            status: "string",
        },
        dataEndpointEnabled: false,
        tags: {
            string: "string",
        },
        zoneRedundancy: "string",
    });
    
    type: azure-native:containerregistry:Registry
    properties:
        adminUserEnabled: 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:
            exportPolicy:
                status: string
            quarantinePolicy:
                status: string
            retentionPolicy:
                days: 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

    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.
    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.
    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
    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.
    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.
    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.
    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.
    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:

    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.
    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.
    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.
    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.
    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.
    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.

    Supporting Types

    Action, ActionArgs

    Allow
    Allow
    ActionAllow
    Allow
    Allow
    Allow
    Allow
    Allow
    ALLOW
    Allow
    "Allow"
    Allow

    DefaultAction, DefaultActionArgs

    Allow
    Allow
    Deny
    Deny
    DefaultActionAllow
    Allow
    DefaultActionDeny
    Deny
    Allow
    Allow
    Deny
    Deny
    Allow
    Allow
    Deny
    Deny
    ALLOW
    Allow
    DENY
    Deny
    "Allow"
    Allow
    "Deny"
    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.
    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, EncryptionPropertyResponseArgs

    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.
    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, EncryptionStatusArgs

    Enabled
    enabled
    Disabled
    disabled
    EncryptionStatusEnabled
    enabled
    EncryptionStatusDisabled
    disabled
    Enabled
    enabled
    Disabled
    disabled
    Enabled
    enabled
    Disabled
    disabled
    ENABLED
    enabled
    DISABLED
    disabled
    "enabled"
    enabled
    "disabled"
    disabled

    ExportPolicy, ExportPolicyArgs

    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 | 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, ExportPolicyResponseArgs

    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, ExportPolicyStatusArgs

    Enabled
    enabled
    Disabled
    disabled
    ExportPolicyStatusEnabled
    enabled
    ExportPolicyStatusDisabled
    disabled
    Enabled
    enabled
    Disabled
    disabled
    Enabled
    enabled
    Disabled
    disabled
    ENABLED
    enabled
    DISABLED
    disabled
    "enabled"
    enabled
    "disabled"
    disabled

    IPRule, IPRuleArgs

    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.
    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, IPRuleResponseArgs

    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.
    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

    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}'.
    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, IdentityPropertiesResponseArgs

    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}'.
    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.
    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, KeyVaultPropertiesResponseArgs

    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.
    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, NetworkRuleBypassOptionsArgs

    AzureServices
    AzureServices
    None
    None
    NetworkRuleBypassOptionsAzureServices
    AzureServices
    NetworkRuleBypassOptionsNone
    None
    AzureServices
    AzureServices
    None
    None
    AzureServices
    AzureServices
    None
    None
    AZURE_SERVICES
    AzureServices
    NONE
    None
    "AzureServices"
    AzureServices
    "None"
    None

    NetworkRuleSet, NetworkRuleSetArgs

    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.
    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, NetworkRuleSetResponseArgs

    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.
    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

    ExportPolicy Pulumi.AzureNative.ContainerRegistry.Inputs.ExportPolicy
    The export policy for a container registry.
    QuarantinePolicy Pulumi.AzureNative.ContainerRegistry.Inputs.QuarantinePolicy
    The quarantine policy for a container registry.
    RetentionPolicy Pulumi.AzureNative.ContainerRegistry.Inputs.RetentionPolicy
    The retention policy for a container registry.
    TrustPolicy Pulumi.AzureNative.ContainerRegistry.Inputs.TrustPolicy
    The content trust policy 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.
    TrustPolicy TrustPolicy
    The content trust policy 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.
    trustPolicy TrustPolicy
    The content trust policy 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.
    trustPolicy TrustPolicy
    The content trust policy 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.
    trust_policy TrustPolicy
    The content trust policy 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.
    trustPolicy Property Map
    The content trust policy for a container registry.

    PoliciesResponse, PoliciesResponseArgs

    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.
    TrustPolicy TrustPolicyResponse
    The content trust policy 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.
    trustPolicy TrustPolicyResponse
    The content trust policy 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.
    trustPolicy TrustPolicyResponse
    The content trust policy 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.
    trust_policy TrustPolicyResponse
    The content trust policy 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.
    trustPolicy Property Map
    The content trust policy for a container registry.

    PolicyStatus, PolicyStatusArgs

    Enabled
    enabled
    Disabled
    disabled
    PolicyStatusEnabled
    enabled
    PolicyStatusDisabled
    disabled
    Enabled
    enabled
    Disabled
    disabled
    Enabled
    enabled
    Disabled
    disabled
    ENABLED
    enabled
    DISABLED
    disabled
    "enabled"
    enabled
    "disabled"
    disabled

    PrivateEndpointConnectionResponse, PrivateEndpointConnectionResponseArgs

    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.
    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, PrivateEndpointResponseArgs

    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, PrivateLinkServiceConnectionStateResponseArgs

    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.
    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, PublicNetworkAccessArgs

    Enabled
    Enabled
    Disabled
    Disabled
    PublicNetworkAccessEnabled
    Enabled
    PublicNetworkAccessDisabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    ENABLED
    Enabled
    DISABLED
    Disabled
    "Enabled"
    Enabled
    "Disabled"
    Disabled

    QuarantinePolicy, QuarantinePolicyArgs

    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 | 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, QuarantinePolicyResponseArgs

    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, ResourceIdentityTypeArgs

    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned, UserAssigned
    None
    None
    ResourceIdentityTypeSystemAssigned
    SystemAssigned
    ResourceIdentityTypeUserAssigned
    UserAssigned
    ResourceIdentityType_SystemAssigned_UserAssigned
    SystemAssigned, UserAssigned
    ResourceIdentityTypeNone
    None
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned, UserAssigned
    None
    None
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned, UserAssigned
    None
    None
    SYSTEM_ASSIGNED
    SystemAssigned
    USER_ASSIGNED
    UserAssigned
    SYSTEM_ASSIGNED_USER_ASSIGNED
    SystemAssigned, UserAssigned
    NONE
    None
    "SystemAssigned"
    SystemAssigned
    "UserAssigned"
    UserAssigned
    "SystemAssigned, UserAssigned"
    SystemAssigned, UserAssigned
    "None"
    None

    RetentionPolicy, RetentionPolicyArgs

    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 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, RetentionPolicyResponseArgs

    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.
    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

    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 | 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, SkuNameArgs

    Classic
    Classic
    Basic
    Basic
    Standard
    Standard
    Premium
    Premium
    SkuNameClassic
    Classic
    SkuNameBasic
    Basic
    SkuNameStandard
    Standard
    SkuNamePremium
    Premium
    Classic
    Classic
    Basic
    Basic
    Standard
    Standard
    Premium
    Premium
    Classic
    Classic
    Basic
    Basic
    Standard
    Standard
    Premium
    Premium
    CLASSIC
    Classic
    BASIC
    Basic
    STANDARD
    Standard
    PREMIUM
    Premium
    "Classic"
    Classic
    "Basic"
    Basic
    "Standard"
    Standard
    "Premium"
    Premium

    SkuResponse, SkuResponseArgs

    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.

    StatusResponse, StatusResponseArgs

    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.
    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, SystemDataResponseArgs

    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.
    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

    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 | 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, TrustPolicyResponseArgs

    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, TrustPolicyTypeArgs

    Notary
    Notary
    TrustPolicyTypeNotary
    Notary
    Notary
    Notary
    Notary
    Notary
    NOTARY
    Notary
    "Notary"
    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.
    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, UserIdentityPropertiesResponseArgs

    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.
    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, ZoneRedundancyArgs

    Enabled
    Enabled
    Disabled
    Disabled
    ZoneRedundancyEnabled
    Enabled
    ZoneRedundancyDisabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    ENABLED
    Enabled
    DISABLED
    Disabled
    "Enabled"
    Enabled
    "Disabled"
    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
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi