1. Packages
  2. Azure Native
  3. API Docs
  4. containerregistry
  5. ConnectedRegistry
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.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native.containerregistry.ConnectedRegistry

Explore with Pulumi AI

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.90.0 published on Thursday, Mar 27, 2025 by Pulumi

An object that represents a connected registry for a container registry.

Uses Azure REST API version 2023-01-01-preview. In version 1.x of the Azure Native provider, it used API version 2020-11-01-preview.

Other available API versions: 2023-06-01-preview, 2023-08-01-preview, 2023-11-01-preview, 2024-11-01-preview.

Example Usage

ConnectedRegistryCreate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var connectedRegistry = new AzureNative.ContainerRegistry.ConnectedRegistry("connectedRegistry", new()
    {
        ClientTokenIds = new[]
        {
            "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token",
        },
        ConnectedRegistryName = "myConnectedRegistry",
        Mode = AzureNative.ContainerRegistry.ConnectedRegistryMode.ReadWrite,
        NotificationsList = new[]
        {
            "hello-world:*:*",
            "sample/repo/*:1.0:*",
        },
        Parent = new AzureNative.ContainerRegistry.Inputs.ParentPropertiesArgs
        {
            SyncProperties = new AzureNative.ContainerRegistry.Inputs.SyncPropertiesArgs
            {
                MessageTtl = "P2D",
                Schedule = "0 9 * * *",
                SyncWindow = "PT3H",
                TokenId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken",
            },
        },
        RegistryName = "myRegistry",
        ResourceGroupName = "myResourceGroup",
    });

});
Copy
package main

import (
	containerregistry "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.NewConnectedRegistry(ctx, "connectedRegistry", &containerregistry.ConnectedRegistryArgs{
			ClientTokenIds: pulumi.StringArray{
				pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token"),
			},
			ConnectedRegistryName: pulumi.String("myConnectedRegistry"),
			Mode:                  pulumi.String(containerregistry.ConnectedRegistryModeReadWrite),
			NotificationsList: pulumi.StringArray{
				pulumi.String("hello-world:*:*"),
				pulumi.String("sample/repo/*:1.0:*"),
			},
			Parent: &containerregistry.ParentPropertiesArgs{
				SyncProperties: &containerregistry.SyncPropertiesArgs{
					MessageTtl: pulumi.String("P2D"),
					Schedule:   pulumi.String("0 9 * * *"),
					SyncWindow: pulumi.String("PT3H"),
					TokenId:    pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken"),
				},
			},
			RegistryName:      pulumi.String("myRegistry"),
			ResourceGroupName: pulumi.String("myResourceGroup"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerregistry.ConnectedRegistry;
import com.pulumi.azurenative.containerregistry.ConnectedRegistryArgs;
import com.pulumi.azurenative.containerregistry.inputs.ParentPropertiesArgs;
import com.pulumi.azurenative.containerregistry.inputs.SyncPropertiesArgs;
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 connectedRegistry = new ConnectedRegistry("connectedRegistry", ConnectedRegistryArgs.builder()
            .clientTokenIds("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token")
            .connectedRegistryName("myConnectedRegistry")
            .mode("ReadWrite")
            .notificationsList(            
                "hello-world:*:*",
                "sample/repo/*:1.0:*")
            .parent(ParentPropertiesArgs.builder()
                .syncProperties(SyncPropertiesArgs.builder()
                    .messageTtl("P2D")
                    .schedule("0 9 * * *")
                    .syncWindow("PT3H")
                    .tokenId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken")
                    .build())
                .build())
            .registryName("myRegistry")
            .resourceGroupName("myResourceGroup")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const connectedRegistry = new azure_native.containerregistry.ConnectedRegistry("connectedRegistry", {
    clientTokenIds: ["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token"],
    connectedRegistryName: "myConnectedRegistry",
    mode: azure_native.containerregistry.ConnectedRegistryMode.ReadWrite,
    notificationsList: [
        "hello-world:*:*",
        "sample/repo/*:1.0:*",
    ],
    parent: {
        syncProperties: {
            messageTtl: "P2D",
            schedule: "0 9 * * *",
            syncWindow: "PT3H",
            tokenId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken",
        },
    },
    registryName: "myRegistry",
    resourceGroupName: "myResourceGroup",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

connected_registry = azure_native.containerregistry.ConnectedRegistry("connectedRegistry",
    client_token_ids=["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token"],
    connected_registry_name="myConnectedRegistry",
    mode=azure_native.containerregistry.ConnectedRegistryMode.READ_WRITE,
    notifications_list=[
        "hello-world:*:*",
        "sample/repo/*:1.0:*",
    ],
    parent={
        "sync_properties": {
            "message_ttl": "P2D",
            "schedule": "0 9 * * *",
            "sync_window": "PT3H",
            "token_id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken",
        },
    },
    registry_name="myRegistry",
    resource_group_name="myResourceGroup")
Copy
resources:
  connectedRegistry:
    type: azure-native:containerregistry:ConnectedRegistry
    properties:
      clientTokenIds:
        - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token
      connectedRegistryName: myConnectedRegistry
      mode: ReadWrite
      notificationsList:
        - hello-world:*:*
        - sample/repo/*:1.0:*
      parent:
        syncProperties:
          messageTtl: P2D
          schedule: 0 9 * * *
          syncWindow: PT3H
          tokenId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken
      registryName: myRegistry
      resourceGroupName: myResourceGroup
Copy

Create ConnectedRegistry Resource

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

Constructor syntax

new ConnectedRegistry(name: string, args: ConnectedRegistryArgs, opts?: CustomResourceOptions);
@overload
def ConnectedRegistry(resource_name: str,
                      args: ConnectedRegistryArgs,
                      opts: Optional[ResourceOptions] = None)

@overload
def ConnectedRegistry(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      mode: Optional[Union[str, ConnectedRegistryMode]] = None,
                      parent: Optional[ParentPropertiesArgs] = None,
                      registry_name: Optional[str] = None,
                      resource_group_name: Optional[str] = None,
                      client_token_ids: Optional[Sequence[str]] = None,
                      connected_registry_name: Optional[str] = None,
                      logging: Optional[LoggingPropertiesArgs] = None,
                      notifications_list: Optional[Sequence[str]] = None)
func NewConnectedRegistry(ctx *Context, name string, args ConnectedRegistryArgs, opts ...ResourceOption) (*ConnectedRegistry, error)
public ConnectedRegistry(string name, ConnectedRegistryArgs args, CustomResourceOptions? opts = null)
public ConnectedRegistry(String name, ConnectedRegistryArgs args)
public ConnectedRegistry(String name, ConnectedRegistryArgs args, CustomResourceOptions options)
type: azure-native:containerregistry:ConnectedRegistry
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ConnectedRegistryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ConnectedRegistryArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ConnectedRegistryArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ConnectedRegistryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ConnectedRegistryArgs
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 connectedRegistryResource = new AzureNative.ContainerRegistry.ConnectedRegistry("connectedRegistryResource", new()
{
    Mode = "string",
    Parent = new AzureNative.ContainerRegistry.Inputs.ParentPropertiesArgs
    {
        SyncProperties = new AzureNative.ContainerRegistry.Inputs.SyncPropertiesArgs
        {
            MessageTtl = "string",
            TokenId = "string",
            Schedule = "string",
            SyncWindow = "string",
        },
        Id = "string",
    },
    RegistryName = "string",
    ResourceGroupName = "string",
    ClientTokenIds = new[]
    {
        "string",
    },
    ConnectedRegistryName = "string",
    Logging = new AzureNative.ContainerRegistry.Inputs.LoggingPropertiesArgs
    {
        AuditLogStatus = "string",
        LogLevel = "string",
    },
    NotificationsList = new[]
    {
        "string",
    },
});
Copy
example, err := containerregistry.NewConnectedRegistry(ctx, "connectedRegistryResource", &containerregistry.ConnectedRegistryArgs{
	Mode: pulumi.String("string"),
	Parent: &containerregistry.ParentPropertiesArgs{
		SyncProperties: &containerregistry.SyncPropertiesArgs{
			MessageTtl: pulumi.String("string"),
			TokenId:    pulumi.String("string"),
			Schedule:   pulumi.String("string"),
			SyncWindow: pulumi.String("string"),
		},
		Id: pulumi.String("string"),
	},
	RegistryName:      pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	ClientTokenIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	ConnectedRegistryName: pulumi.String("string"),
	Logging: &containerregistry.LoggingPropertiesArgs{
		AuditLogStatus: pulumi.String("string"),
		LogLevel:       pulumi.String("string"),
	},
	NotificationsList: pulumi.StringArray{
		pulumi.String("string"),
	},
})
Copy
var connectedRegistryResource = new ConnectedRegistry("connectedRegistryResource", ConnectedRegistryArgs.builder()
    .mode("string")
    .parent(ParentPropertiesArgs.builder()
        .syncProperties(SyncPropertiesArgs.builder()
            .messageTtl("string")
            .tokenId("string")
            .schedule("string")
            .syncWindow("string")
            .build())
        .id("string")
        .build())
    .registryName("string")
    .resourceGroupName("string")
    .clientTokenIds("string")
    .connectedRegistryName("string")
    .logging(LoggingPropertiesArgs.builder()
        .auditLogStatus("string")
        .logLevel("string")
        .build())
    .notificationsList("string")
    .build());
Copy
connected_registry_resource = azure_native.containerregistry.ConnectedRegistry("connectedRegistryResource",
    mode="string",
    parent={
        "sync_properties": {
            "message_ttl": "string",
            "token_id": "string",
            "schedule": "string",
            "sync_window": "string",
        },
        "id": "string",
    },
    registry_name="string",
    resource_group_name="string",
    client_token_ids=["string"],
    connected_registry_name="string",
    logging={
        "audit_log_status": "string",
        "log_level": "string",
    },
    notifications_list=["string"])
Copy
const connectedRegistryResource = new azure_native.containerregistry.ConnectedRegistry("connectedRegistryResource", {
    mode: "string",
    parent: {
        syncProperties: {
            messageTtl: "string",
            tokenId: "string",
            schedule: "string",
            syncWindow: "string",
        },
        id: "string",
    },
    registryName: "string",
    resourceGroupName: "string",
    clientTokenIds: ["string"],
    connectedRegistryName: "string",
    logging: {
        auditLogStatus: "string",
        logLevel: "string",
    },
    notificationsList: ["string"],
});
Copy
type: azure-native:containerregistry:ConnectedRegistry
properties:
    clientTokenIds:
        - string
    connectedRegistryName: string
    logging:
        auditLogStatus: string
        logLevel: string
    mode: string
    notificationsList:
        - string
    parent:
        id: string
        syncProperties:
            messageTtl: string
            schedule: string
            syncWindow: string
            tokenId: string
    registryName: string
    resourceGroupName: string
Copy

ConnectedRegistry Resource Properties

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

Inputs

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

The ConnectedRegistry resource accepts the following input properties:

Mode This property is required. string | Pulumi.AzureNative.ContainerRegistry.ConnectedRegistryMode
The mode of the connected registry resource that indicates the permissions of the registry.
Parent This property is required. Pulumi.AzureNative.ContainerRegistry.Inputs.ParentProperties
The parent of the connected registry.
RegistryName
This property is required.
Changes to this property will trigger replacement.
string
The name of the container registry.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ClientTokenIds List<string>
The list of the ACR token resource IDs used to authenticate clients to the connected registry.
ConnectedRegistryName Changes to this property will trigger replacement. string
The name of the connected registry.
Logging Pulumi.AzureNative.ContainerRegistry.Inputs.LoggingProperties
The logging properties of the connected registry.
NotificationsList List<string>
The list of notifications subscription information for the connected registry.
Mode This property is required. string | ConnectedRegistryMode
The mode of the connected registry resource that indicates the permissions of the registry.
Parent This property is required. ParentPropertiesArgs
The parent of the connected registry.
RegistryName
This property is required.
Changes to this property will trigger replacement.
string
The name of the container registry.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ClientTokenIds []string
The list of the ACR token resource IDs used to authenticate clients to the connected registry.
ConnectedRegistryName Changes to this property will trigger replacement. string
The name of the connected registry.
Logging LoggingPropertiesArgs
The logging properties of the connected registry.
NotificationsList []string
The list of notifications subscription information for the connected registry.
mode This property is required. String | ConnectedRegistryMode
The mode of the connected registry resource that indicates the permissions of the registry.
parent This property is required. ParentProperties
The parent of the connected registry.
registryName
This property is required.
Changes to this property will trigger replacement.
String
The name of the container registry.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
clientTokenIds List<String>
The list of the ACR token resource IDs used to authenticate clients to the connected registry.
connectedRegistryName Changes to this property will trigger replacement. String
The name of the connected registry.
logging LoggingProperties
The logging properties of the connected registry.
notificationsList List<String>
The list of notifications subscription information for the connected registry.
mode This property is required. string | ConnectedRegistryMode
The mode of the connected registry resource that indicates the permissions of the registry.
parent This property is required. ParentProperties
The parent of the connected registry.
registryName
This property is required.
Changes to this property will trigger replacement.
string
The name of the container registry.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
clientTokenIds string[]
The list of the ACR token resource IDs used to authenticate clients to the connected registry.
connectedRegistryName Changes to this property will trigger replacement. string
The name of the connected registry.
logging LoggingProperties
The logging properties of the connected registry.
notificationsList string[]
The list of notifications subscription information for the connected registry.
mode This property is required. str | ConnectedRegistryMode
The mode of the connected registry resource that indicates the permissions of the registry.
parent This property is required. ParentPropertiesArgs
The parent of the connected registry.
registry_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the container registry.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
client_token_ids Sequence[str]
The list of the ACR token resource IDs used to authenticate clients to the connected registry.
connected_registry_name Changes to this property will trigger replacement. str
The name of the connected registry.
logging LoggingPropertiesArgs
The logging properties of the connected registry.
notifications_list Sequence[str]
The list of notifications subscription information for the connected registry.
mode This property is required. String | "ReadWrite" | "ReadOnly" | "Registry" | "Mirror"
The mode of the connected registry resource that indicates the permissions of the registry.
parent This property is required. Property Map
The parent of the connected registry.
registryName
This property is required.
Changes to this property will trigger replacement.
String
The name of the container registry.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
clientTokenIds List<String>
The list of the ACR token resource IDs used to authenticate clients to the connected registry.
connectedRegistryName Changes to this property will trigger replacement. String
The name of the connected registry.
logging Property Map
The logging properties of the connected registry.
notificationsList List<String>
The list of notifications subscription information for the connected registry.

Outputs

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

Activation Pulumi.AzureNative.ContainerRegistry.Outputs.ActivationPropertiesResponse
The activation properties of the connected registry.
ConnectionState string
The current connection state of the connected registry.
Id string
The provider-assigned unique ID for this managed resource.
LastActivityTime string
The last activity time of the connected registry.
Name string
The name of the resource.
ProvisioningState string
Provisioning state of the resource.
StatusDetails List<Pulumi.AzureNative.ContainerRegistry.Outputs.StatusDetailPropertiesResponse>
The list of current statuses of the connected registry.
SystemData Pulumi.AzureNative.ContainerRegistry.Outputs.SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
Type string
The type of the resource.
Version string
The current version of ACR runtime on the connected registry.
LoginServer Pulumi.AzureNative.ContainerRegistry.Outputs.LoginServerPropertiesResponse
The login server properties of the connected registry.
Activation ActivationPropertiesResponse
The activation properties of the connected registry.
ConnectionState string
The current connection state of the connected registry.
Id string
The provider-assigned unique ID for this managed resource.
LastActivityTime string
The last activity time of the connected registry.
Name string
The name of the resource.
ProvisioningState string
Provisioning state of the resource.
StatusDetails []StatusDetailPropertiesResponse
The list of current statuses of the connected registry.
SystemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
Type string
The type of the resource.
Version string
The current version of ACR runtime on the connected registry.
LoginServer LoginServerPropertiesResponse
The login server properties of the connected registry.
activation ActivationPropertiesResponse
The activation properties of the connected registry.
connectionState String
The current connection state of the connected registry.
id String
The provider-assigned unique ID for this managed resource.
lastActivityTime String
The last activity time of the connected registry.
name String
The name of the resource.
provisioningState String
Provisioning state of the resource.
statusDetails List<StatusDetailPropertiesResponse>
The list of current statuses of the connected registry.
systemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type String
The type of the resource.
version String
The current version of ACR runtime on the connected registry.
loginServer LoginServerPropertiesResponse
The login server properties of the connected registry.
activation ActivationPropertiesResponse
The activation properties of the connected registry.
connectionState string
The current connection state of the connected registry.
id string
The provider-assigned unique ID for this managed resource.
lastActivityTime string
The last activity time of the connected registry.
name string
The name of the resource.
provisioningState string
Provisioning state of the resource.
statusDetails StatusDetailPropertiesResponse[]
The list of current statuses of the connected registry.
systemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type string
The type of the resource.
version string
The current version of ACR runtime on the connected registry.
loginServer LoginServerPropertiesResponse
The login server properties of the connected registry.
activation ActivationPropertiesResponse
The activation properties of the connected registry.
connection_state str
The current connection state of the connected registry.
id str
The provider-assigned unique ID for this managed resource.
last_activity_time str
The last activity time of the connected registry.
name str
The name of the resource.
provisioning_state str
Provisioning state of the resource.
status_details Sequence[StatusDetailPropertiesResponse]
The list of current statuses of the connected registry.
system_data SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type str
The type of the resource.
version str
The current version of ACR runtime on the connected registry.
login_server LoginServerPropertiesResponse
The login server properties of the connected registry.
activation Property Map
The activation properties of the connected registry.
connectionState String
The current connection state of the connected registry.
id String
The provider-assigned unique ID for this managed resource.
lastActivityTime String
The last activity time of the connected registry.
name String
The name of the resource.
provisioningState String
Provisioning state of the resource.
statusDetails List<Property Map>
The list of current statuses of the connected registry.
systemData Property Map
Metadata pertaining to creation and last modification of the resource.
type String
The type of the resource.
version String
The current version of ACR runtime on the connected registry.
loginServer Property Map
The login server properties of the connected registry.

Supporting Types

ActivationPropertiesResponse
, ActivationPropertiesResponseArgs

Status This property is required. string
The activation status of the connected registry.
Status This property is required. string
The activation status of the connected registry.
status This property is required. String
The activation status of the connected registry.
status This property is required. string
The activation status of the connected registry.
status This property is required. str
The activation status of the connected registry.
status This property is required. String
The activation status of the connected registry.

AuditLogStatus
, AuditLogStatusArgs

Enabled
Enabled
Disabled
Disabled
AuditLogStatusEnabled
Enabled
AuditLogStatusDisabled
Disabled
Enabled
Enabled
Disabled
Disabled
Enabled
Enabled
Disabled
Disabled
ENABLED
Enabled
DISABLED
Disabled
"Enabled"
Enabled
"Disabled"
Disabled

ConnectedRegistryMode
, ConnectedRegistryModeArgs

ReadWrite
ReadWrite
ReadOnly
ReadOnly
Registry
Registry
Mirror
Mirror
ConnectedRegistryModeReadWrite
ReadWrite
ConnectedRegistryModeReadOnly
ReadOnly
ConnectedRegistryModeRegistry
Registry
ConnectedRegistryModeMirror
Mirror
ReadWrite
ReadWrite
ReadOnly
ReadOnly
Registry
Registry
Mirror
Mirror
ReadWrite
ReadWrite
ReadOnly
ReadOnly
Registry
Registry
Mirror
Mirror
READ_WRITE
ReadWrite
READ_ONLY
ReadOnly
REGISTRY
Registry
MIRROR
Mirror
"ReadWrite"
ReadWrite
"ReadOnly"
ReadOnly
"Registry"
Registry
"Mirror"
Mirror

LogLevel
, LogLevelArgs

Debug
Debug
Information
Information
Warning
Warning
Error
Error
None
None
LogLevelDebug
Debug
LogLevelInformation
Information
LogLevelWarning
Warning
LogLevelError
Error
LogLevelNone
None
Debug
Debug
Information
Information
Warning
Warning
Error
Error
None
None
Debug
Debug
Information
Information
Warning
Warning
Error
Error
None
None
DEBUG
Debug
INFORMATION
Information
WARNING
Warning
ERROR
Error
NONE
None
"Debug"
Debug
"Information"
Information
"Warning"
Warning
"Error"
Error
"None"
None

LoggingProperties
, LoggingPropertiesArgs

AuditLogStatus string | Pulumi.AzureNative.ContainerRegistry.AuditLogStatus
Indicates whether audit logs are enabled on the connected registry.
LogLevel string | Pulumi.AzureNative.ContainerRegistry.LogLevel
The verbosity of logs persisted on the connected registry.
AuditLogStatus string | AuditLogStatus
Indicates whether audit logs are enabled on the connected registry.
LogLevel string | LogLevel
The verbosity of logs persisted on the connected registry.
auditLogStatus String | AuditLogStatus
Indicates whether audit logs are enabled on the connected registry.
logLevel String | LogLevel
The verbosity of logs persisted on the connected registry.
auditLogStatus string | AuditLogStatus
Indicates whether audit logs are enabled on the connected registry.
logLevel string | LogLevel
The verbosity of logs persisted on the connected registry.
audit_log_status str | AuditLogStatus
Indicates whether audit logs are enabled on the connected registry.
log_level str | LogLevel
The verbosity of logs persisted on the connected registry.
auditLogStatus String | "Enabled" | "Disabled"
Indicates whether audit logs are enabled on the connected registry.
logLevel String | "Debug" | "Information" | "Warning" | "Error" | "None"
The verbosity of logs persisted on the connected registry.

LoggingPropertiesResponse
, LoggingPropertiesResponseArgs

AuditLogStatus string
Indicates whether audit logs are enabled on the connected registry.
LogLevel string
The verbosity of logs persisted on the connected registry.
AuditLogStatus string
Indicates whether audit logs are enabled on the connected registry.
LogLevel string
The verbosity of logs persisted on the connected registry.
auditLogStatus String
Indicates whether audit logs are enabled on the connected registry.
logLevel String
The verbosity of logs persisted on the connected registry.
auditLogStatus string
Indicates whether audit logs are enabled on the connected registry.
logLevel string
The verbosity of logs persisted on the connected registry.
audit_log_status str
Indicates whether audit logs are enabled on the connected registry.
log_level str
The verbosity of logs persisted on the connected registry.
auditLogStatus String
Indicates whether audit logs are enabled on the connected registry.
logLevel String
The verbosity of logs persisted on the connected registry.

LoginServerPropertiesResponse
, LoginServerPropertiesResponseArgs

Host This property is required. string
The host of the connected registry. Can be FQDN or IP.
Tls This property is required. Pulumi.AzureNative.ContainerRegistry.Inputs.TlsPropertiesResponse
The TLS properties of the connected registry login server.
Host This property is required. string
The host of the connected registry. Can be FQDN or IP.
Tls This property is required. TlsPropertiesResponse
The TLS properties of the connected registry login server.
host This property is required. String
The host of the connected registry. Can be FQDN or IP.
tls This property is required. TlsPropertiesResponse
The TLS properties of the connected registry login server.
host This property is required. string
The host of the connected registry. Can be FQDN or IP.
tls This property is required. TlsPropertiesResponse
The TLS properties of the connected registry login server.
host This property is required. str
The host of the connected registry. Can be FQDN or IP.
tls This property is required. TlsPropertiesResponse
The TLS properties of the connected registry login server.
host This property is required. String
The host of the connected registry. Can be FQDN or IP.
tls This property is required. Property Map
The TLS properties of the connected registry login server.

ParentProperties
, ParentPropertiesArgs

SyncProperties This property is required. Pulumi.AzureNative.ContainerRegistry.Inputs.SyncProperties
The sync properties of the connected registry with its parent.
Id string
The resource ID of the parent to which the connected registry will be associated.
SyncProperties This property is required. SyncProperties
The sync properties of the connected registry with its parent.
Id string
The resource ID of the parent to which the connected registry will be associated.
syncProperties This property is required. SyncProperties
The sync properties of the connected registry with its parent.
id String
The resource ID of the parent to which the connected registry will be associated.
syncProperties This property is required. SyncProperties
The sync properties of the connected registry with its parent.
id string
The resource ID of the parent to which the connected registry will be associated.
sync_properties This property is required. SyncProperties
The sync properties of the connected registry with its parent.
id str
The resource ID of the parent to which the connected registry will be associated.
syncProperties This property is required. Property Map
The sync properties of the connected registry with its parent.
id String
The resource ID of the parent to which the connected registry will be associated.

ParentPropertiesResponse
, ParentPropertiesResponseArgs

SyncProperties This property is required. Pulumi.AzureNative.ContainerRegistry.Inputs.SyncPropertiesResponse
The sync properties of the connected registry with its parent.
Id string
The resource ID of the parent to which the connected registry will be associated.
SyncProperties This property is required. SyncPropertiesResponse
The sync properties of the connected registry with its parent.
Id string
The resource ID of the parent to which the connected registry will be associated.
syncProperties This property is required. SyncPropertiesResponse
The sync properties of the connected registry with its parent.
id String
The resource ID of the parent to which the connected registry will be associated.
syncProperties This property is required. SyncPropertiesResponse
The sync properties of the connected registry with its parent.
id string
The resource ID of the parent to which the connected registry will be associated.
sync_properties This property is required. SyncPropertiesResponse
The sync properties of the connected registry with its parent.
id str
The resource ID of the parent to which the connected registry will be associated.
syncProperties This property is required. Property Map
The sync properties of the connected registry with its parent.
id String
The resource ID of the parent to which the connected registry will be associated.

StatusDetailPropertiesResponse
, StatusDetailPropertiesResponseArgs

Code This property is required. string
The code of the status.
CorrelationId This property is required. string
The correlation ID of the status.
Description This property is required. string
The description of the status.
Timestamp This property is required. string
The timestamp of the status.
Type This property is required. string
The component of the connected registry corresponding to the status.
Code This property is required. string
The code of the status.
CorrelationId This property is required. string
The correlation ID of the status.
Description This property is required. string
The description of the status.
Timestamp This property is required. string
The timestamp of the status.
Type This property is required. string
The component of the connected registry corresponding to the status.
code This property is required. String
The code of the status.
correlationId This property is required. String
The correlation ID of the status.
description This property is required. String
The description of the status.
timestamp This property is required. String
The timestamp of the status.
type This property is required. String
The component of the connected registry corresponding to the status.
code This property is required. string
The code of the status.
correlationId This property is required. string
The correlation ID of the status.
description This property is required. string
The description of the status.
timestamp This property is required. string
The timestamp of the status.
type This property is required. string
The component of the connected registry corresponding to the status.
code This property is required. str
The code of the status.
correlation_id This property is required. str
The correlation ID of the status.
description This property is required. str
The description of the status.
timestamp This property is required. str
The timestamp of the status.
type This property is required. str
The component of the connected registry corresponding to the status.
code This property is required. String
The code of the status.
correlationId This property is required. String
The correlation ID of the status.
description This property is required. String
The description of the status.
timestamp This property is required. String
The timestamp of the status.
type This property is required. String
The component of the connected registry corresponding to the status.

SyncProperties
, SyncPropertiesArgs

MessageTtl This property is required. string
The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
TokenId This property is required. string
The resource ID of the ACR token used to authenticate the connected registry to its parent during sync.
Schedule string
The cron expression indicating the schedule that the connected registry will sync with its parent.
SyncWindow string
The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
MessageTtl This property is required. string
The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
TokenId This property is required. string
The resource ID of the ACR token used to authenticate the connected registry to its parent during sync.
Schedule string
The cron expression indicating the schedule that the connected registry will sync with its parent.
SyncWindow string
The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
messageTtl This property is required. String
The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
tokenId This property is required. String
The resource ID of the ACR token used to authenticate the connected registry to its parent during sync.
schedule String
The cron expression indicating the schedule that the connected registry will sync with its parent.
syncWindow String
The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
messageTtl This property is required. string
The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
tokenId This property is required. string
The resource ID of the ACR token used to authenticate the connected registry to its parent during sync.
schedule string
The cron expression indicating the schedule that the connected registry will sync with its parent.
syncWindow string
The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
message_ttl This property is required. str
The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
token_id This property is required. str
The resource ID of the ACR token used to authenticate the connected registry to its parent during sync.
schedule str
The cron expression indicating the schedule that the connected registry will sync with its parent.
sync_window str
The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
messageTtl This property is required. String
The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
tokenId This property is required. String
The resource ID of the ACR token used to authenticate the connected registry to its parent during sync.
schedule String
The cron expression indicating the schedule that the connected registry will sync with its parent.
syncWindow String
The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.

SyncPropertiesResponse
, SyncPropertiesResponseArgs

GatewayEndpoint This property is required. string
The gateway endpoint used by the connected registry to communicate with its parent.
LastSyncTime This property is required. string
The last time a sync occurred between the connected registry and its parent.
MessageTtl This property is required. string
The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
TokenId This property is required. string
The resource ID of the ACR token used to authenticate the connected registry to its parent during sync.
Schedule string
The cron expression indicating the schedule that the connected registry will sync with its parent.
SyncWindow string
The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
GatewayEndpoint This property is required. string
The gateway endpoint used by the connected registry to communicate with its parent.
LastSyncTime This property is required. string
The last time a sync occurred between the connected registry and its parent.
MessageTtl This property is required. string
The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
TokenId This property is required. string
The resource ID of the ACR token used to authenticate the connected registry to its parent during sync.
Schedule string
The cron expression indicating the schedule that the connected registry will sync with its parent.
SyncWindow string
The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
gatewayEndpoint This property is required. String
The gateway endpoint used by the connected registry to communicate with its parent.
lastSyncTime This property is required. String
The last time a sync occurred between the connected registry and its parent.
messageTtl This property is required. String
The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
tokenId This property is required. String
The resource ID of the ACR token used to authenticate the connected registry to its parent during sync.
schedule String
The cron expression indicating the schedule that the connected registry will sync with its parent.
syncWindow String
The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
gatewayEndpoint This property is required. string
The gateway endpoint used by the connected registry to communicate with its parent.
lastSyncTime This property is required. string
The last time a sync occurred between the connected registry and its parent.
messageTtl This property is required. string
The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
tokenId This property is required. string
The resource ID of the ACR token used to authenticate the connected registry to its parent during sync.
schedule string
The cron expression indicating the schedule that the connected registry will sync with its parent.
syncWindow string
The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
gateway_endpoint This property is required. str
The gateway endpoint used by the connected registry to communicate with its parent.
last_sync_time This property is required. str
The last time a sync occurred between the connected registry and its parent.
message_ttl This property is required. str
The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
token_id This property is required. str
The resource ID of the ACR token used to authenticate the connected registry to its parent during sync.
schedule str
The cron expression indicating the schedule that the connected registry will sync with its parent.
sync_window str
The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
gatewayEndpoint This property is required. String
The gateway endpoint used by the connected registry to communicate with its parent.
lastSyncTime This property is required. String
The last time a sync occurred between the connected registry and its parent.
messageTtl This property is required. String
The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.
tokenId This property is required. String
The resource ID of the ACR token used to authenticate the connected registry to its parent during sync.
schedule String
The cron expression indicating the schedule that the connected registry will sync with its parent.
syncWindow String
The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.

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.

TlsCertificatePropertiesResponse
, TlsCertificatePropertiesResponseArgs

Location This property is required. string
Indicates the location of the certificates.
Type This property is required. string
The type of certificate location.
Location This property is required. string
Indicates the location of the certificates.
Type This property is required. string
The type of certificate location.
location This property is required. String
Indicates the location of the certificates.
type This property is required. String
The type of certificate location.
location This property is required. string
Indicates the location of the certificates.
type This property is required. string
The type of certificate location.
location This property is required. str
Indicates the location of the certificates.
type This property is required. str
The type of certificate location.
location This property is required. String
Indicates the location of the certificates.
type This property is required. String
The type of certificate location.

TlsPropertiesResponse
, TlsPropertiesResponseArgs

Certificate This property is required. Pulumi.AzureNative.ContainerRegistry.Inputs.TlsCertificatePropertiesResponse
The certificate used to configure HTTPS for the login server.
Status This property is required. string
Indicates whether HTTPS is enabled for the login server.
Certificate This property is required. TlsCertificatePropertiesResponse
The certificate used to configure HTTPS for the login server.
Status This property is required. string
Indicates whether HTTPS is enabled for the login server.
certificate This property is required. TlsCertificatePropertiesResponse
The certificate used to configure HTTPS for the login server.
status This property is required. String
Indicates whether HTTPS is enabled for the login server.
certificate This property is required. TlsCertificatePropertiesResponse
The certificate used to configure HTTPS for the login server.
status This property is required. string
Indicates whether HTTPS is enabled for the login server.
certificate This property is required. TlsCertificatePropertiesResponse
The certificate used to configure HTTPS for the login server.
status This property is required. str
Indicates whether HTTPS is enabled for the login server.
certificate This property is required. Property Map
The certificate used to configure HTTPS for the login server.
status This property is required. String
Indicates whether HTTPS is enabled for the login server.

Import

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

$ pulumi import azure-native:containerregistry:ConnectedRegistry myConnectedRegistry /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName} 
Copy

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

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
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.90.0 published on Thursday, Mar 27, 2025 by Pulumi