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
@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)
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.
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:
Outputs
All input properties are implicitly available as output properties. Additionally, the Registry resource produces the following output properties:
- 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<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 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.
| Name | Value |
|---|
| ActionAllow | Allow |
AzureADAuthenticationAsArmPolicy, AzureADAuthenticationAsArmPolicyArgs
The policy for using ARM audience token for a container registry.
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.
| Name | Value |
|---|
| Enabled | enabled |
| Disabled | disabled |
| Name | Value |
|---|
| AzureADAuthenticationAsArmPolicyStatusEnabled | enabled |
| AzureADAuthenticationAsArmPolicyStatusDisabled | disabled |
| Name | Value |
|---|
| Enabled | enabled |
| Disabled | disabled |
| Name | Value |
|---|
| Enabled | enabled |
| Disabled | disabled |
| Name | Value |
|---|
| ENABLED | enabled |
| DISABLED | disabled |
DefaultAction
The default action of allow or deny when no other rules match.
| Name | Value |
|---|
| Allow | Allow |
| Deny | Deny |
| Name | Value |
|---|
| DefaultActionAllow | Allow |
| DefaultActionDeny | Deny |
| Name | Value |
|---|
| Allow | Allow |
| Deny | Deny |
| Name | Value |
|---|
| Allow | Allow |
| Deny | Deny |
| Name | Value |
|---|
| ALLOW | Allow |
| DENY | Deny |
EncryptionProperty, EncryptionPropertyArgs
EncryptionPropertyResponse
EncryptionStatus
Indicates whether or not the encryption is enabled for container registry.
| Name | Value |
|---|
| Enabled | enabled |
| Disabled | disabled |
| Name | Value |
|---|
| EncryptionStatusEnabled | enabled |
| EncryptionStatusDisabled | disabled |
| Name | Value |
|---|
| Enabled | enabled |
| Disabled | disabled |
| Name | Value |
|---|
| Enabled | enabled |
| Disabled | disabled |
| Name | Value |
|---|
| ENABLED | enabled |
| DISABLED | disabled |
ExportPolicy, ExportPolicyArgs
The export policy for a container registry.
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.
| Name | Value |
|---|
| Enabled | enabled |
| Disabled | disabled |
| Name | Value |
|---|
| ExportPolicyStatusEnabled | enabled |
| ExportPolicyStatusDisabled | disabled |
| Name | Value |
|---|
| Enabled | enabled |
| Disabled | disabled |
| Name | Value |
|---|
| Enabled | enabled |
| Disabled | disabled |
| Name | Value |
|---|
| ENABLED | enabled |
| DISABLED | 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 | 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 | "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}'.
- 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}'.
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.
- 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.
- 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.
| Name | Value |
|---|
| AzureServices | AzureServices |
| None | None |
| Name | Value |
|---|
| NetworkRuleBypassOptionsAzureServices | AzureServices |
| NetworkRuleBypassOptionsNone | None |
| Name | Value |
|---|
| AzureServices | AzureServices |
| None | None |
| Name | Value |
|---|
| AzureServices | AzureServices |
| None | None |
| Name | Value |
|---|
| AZURE_SERVICES | AzureServices |
| NONE | None |
NetworkRuleSet, NetworkRuleSetArgs
The network rule set for a container registry.
NetworkRuleSetResponse
The network rule set for a container registry.
Policies, PoliciesArgs
The policies for a container registry.
PoliciesResponse
The policies for a container registry.
PolicyStatus
The value that indicates whether the policy is enabled or not.
| Name | Value |
|---|
| Enabled | enabled |
| Disabled | disabled |
| Name | Value |
|---|
| PolicyStatusEnabled | enabled |
| PolicyStatusDisabled | disabled |
| Name | Value |
|---|
| Enabled | enabled |
| Disabled | disabled |
| Name | Value |
|---|
| Enabled | enabled |
| Disabled | disabled |
| Name | Value |
|---|
| ENABLED | enabled |
| DISABLED | disabled |
PrivateEndpointConnectionResponse
An object that represents a private endpoint connection for a container registry.
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.
| Name | Value |
|---|
| Enabled | Enabled |
| Disabled | Disabled |
| Name | Value |
|---|
| PublicNetworkAccessEnabled | Enabled |
| PublicNetworkAccessDisabled | Disabled |
| Name | Value |
|---|
| Enabled | Enabled |
| Disabled | Disabled |
| Name | Value |
|---|
| Enabled | Enabled |
| Disabled | Disabled |
| Name | Value |
|---|
| ENABLED | Enabled |
| DISABLED | Disabled |
QuarantinePolicy, QuarantinePolicyArgs
The quarantine policy for a container registry.
- 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.
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.
| Name | Value |
|---|
| SystemAssigned | SystemAssigned |
| UserAssigned | UserAssigned |
| SystemAssigned_UserAssigned | SystemAssigned, UserAssigned |
| None | None |
| Name | Value |
|---|
| ResourceIdentityTypeSystemAssigned | SystemAssigned |
| ResourceIdentityTypeUserAssigned | UserAssigned |
| ResourceIdentityType_SystemAssigned_UserAssigned | SystemAssigned, UserAssigned |
| ResourceIdentityTypeNone | None |
| Value |
|---|
SystemAssigned |
UserAssigned |
SystemAssigned, UserAssigned |
None |
| Name | Value |
|---|
| SystemAssigned | SystemAssigned |
| UserAssigned | UserAssigned |
| SystemAssigned_UserAssigned | SystemAssigned, UserAssigned |
| None | None |
| Name | Value |
|---|
| SystemAssigned | SystemAssigned |
| UserAssigned | UserAssigned |
| SystemAssigned_UserAssigned | SystemAssigned, UserAssigned |
| None | None |
| Name | Value |
|---|
| SYSTEM_ASSIGNED | SystemAssigned |
| USER_ASSIGNED | UserAssigned |
| SYSTEM_ASSIGNED_USER_ASSIGNED | SystemAssigned, UserAssigned |
| NONE | None |
| 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 | 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 | 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.
SkuName
The SKU name of the container registry. Required for registry creation.
| Name | Value |
|---|
| Classic | Classic |
| Basic | Basic |
| Standard | Standard |
| Premium | Premium |
| Name | Value |
|---|
| SkuNameClassic | Classic |
| SkuNameBasic | Basic |
| SkuNameStandard | Standard |
| SkuNamePremium | Premium |
| Value |
|---|
Classic |
Basic |
Standard |
Premium |
| Name | Value |
|---|
| Classic | Classic |
| Basic | Basic |
| Standard | Standard |
| Premium | Premium |
| Name | Value |
|---|
| Classic | Classic |
| Basic | Basic |
| Standard | Standard |
| Premium | Premium |
| Name | Value |
|---|
| CLASSIC | Classic |
| BASIC | Basic |
| STANDARD | Standard |
| PREMIUM | Premium |
| 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 | PolicyStatus
- 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.
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.
- 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.
TrustPolicy, TrustPolicyArgs
The content trust policy for a container registry.
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.
| Name | Value |
|---|
| TrustPolicyTypeNotary | 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
| Name | Value |
|---|
| Enabled | Enabled |
| Disabled | Disabled |
| Name | Value |
|---|
| ZoneRedundancyEnabled | Enabled |
| ZoneRedundancyDisabled | Disabled |
| Name | Value |
|---|
| Enabled | Enabled |
| Disabled | Disabled |
| Name | Value |
|---|
| Enabled | Enabled |
| Disabled | Disabled |
| Name | Value |
|---|
| 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