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.36.0 published on Monday, Apr 8, 2024 by Pulumi

azure-native.containerregistry.ConnectedRegistry

Explore with Pulumi AI

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

    An object that represents a connected registry for a container registry. Azure REST API version: 2023-01-01-preview. Prior API version in Azure Native 1.x: 2020-11-01-preview.

    Other available API versions: 2023-06-01-preview, 2023-08-01-preview, 2023-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",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := containerregistry.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
    	})
    }
    
    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());
    
        }
    }
    
    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=azure_native.containerregistry.ParentPropertiesArgs(
            sync_properties=azure_native.containerregistry.SyncPropertiesArgs(
                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")
    
    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",
    });
    
    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
    

    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 string
    The unique name of the resource.
    args ConnectedRegistryArgs
    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 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 string
    The unique name of the resource.
    args ConnectedRegistryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConnectedRegistryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConnectedRegistryArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

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

    var 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",
        },
    });
    
    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"),
    },
    })
    
    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());
    
    connected_registry_resource = azure_native.containerregistry.ConnectedRegistry("connectedRegistryResource",
        mode="string",
        parent=azure_native.containerregistry.ParentPropertiesArgs(
            sync_properties=azure_native.containerregistry.SyncPropertiesArgs(
                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=azure_native.containerregistry.LoggingPropertiesArgs(
            audit_log_status="string",
            log_level="string",
        ),
        notifications_list=["string"])
    
    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"],
    });
    
    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
    

    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

    The ConnectedRegistry resource accepts the following input properties:

    Mode string | Pulumi.AzureNative.ContainerRegistry.ConnectedRegistryMode
    The mode of the connected registry resource that indicates the permissions of the registry.
    Parent Pulumi.AzureNative.ContainerRegistry.Inputs.ParentProperties
    The parent of the connected registry.
    RegistryName string
    The name of the container registry.
    ResourceGroupName 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 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 string | ConnectedRegistryMode
    The mode of the connected registry resource that indicates the permissions of the registry.
    Parent ParentPropertiesArgs
    The parent of the connected registry.
    RegistryName string
    The name of the container registry.
    ResourceGroupName 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 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 String | ConnectedRegistryMode
    The mode of the connected registry resource that indicates the permissions of the registry.
    parent ParentProperties
    The parent of the connected registry.
    registryName String
    The name of the container registry.
    resourceGroupName 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 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 string | ConnectedRegistryMode
    The mode of the connected registry resource that indicates the permissions of the registry.
    parent ParentProperties
    The parent of the connected registry.
    registryName string
    The name of the container registry.
    resourceGroupName 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 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 str | ConnectedRegistryMode
    The mode of the connected registry resource that indicates the permissions of the registry.
    parent ParentPropertiesArgs
    The parent of the connected registry.
    registry_name str
    The name of the container registry.
    resource_group_name 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 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 String | "ReadWrite" | "ReadOnly" | "Registry" | "Mirror"
    The mode of the connected registry resource that indicates the permissions of the registry.
    parent Property Map
    The parent of the connected registry.
    registryName String
    The name of the container registry.
    resourceGroupName 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 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 string
    The activation status of the connected registry.
    Status string
    The activation status of the connected registry.
    status String
    The activation status of the connected registry.
    status string
    The activation status of the connected registry.
    status str
    The activation status of the connected registry.
    status 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 string
    The host of the connected registry. Can be FQDN or IP.
    Tls Pulumi.AzureNative.ContainerRegistry.Inputs.TlsPropertiesResponse
    The TLS properties of the connected registry login server.
    Host string
    The host of the connected registry. Can be FQDN or IP.
    Tls TlsPropertiesResponse
    The TLS properties of the connected registry login server.
    host String
    The host of the connected registry. Can be FQDN or IP.
    tls TlsPropertiesResponse
    The TLS properties of the connected registry login server.
    host string
    The host of the connected registry. Can be FQDN or IP.
    tls TlsPropertiesResponse
    The TLS properties of the connected registry login server.
    host str
    The host of the connected registry. Can be FQDN or IP.
    tls TlsPropertiesResponse
    The TLS properties of the connected registry login server.
    host String
    The host of the connected registry. Can be FQDN or IP.
    tls Property Map
    The TLS properties of the connected registry login server.

    ParentProperties, ParentPropertiesArgs

    SyncProperties 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 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 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 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 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 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 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 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 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 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 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 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 string
    The code of the status.
    CorrelationId string
    The correlation ID of the status.
    Description string
    The description of the status.
    Timestamp string
    The timestamp of the status.
    Type string
    The component of the connected registry corresponding to the status.
    Code string
    The code of the status.
    CorrelationId string
    The correlation ID of the status.
    Description string
    The description of the status.
    Timestamp string
    The timestamp of the status.
    Type string
    The component of the connected registry corresponding to the status.
    code String
    The code of the status.
    correlationId String
    The correlation ID of the status.
    description String
    The description of the status.
    timestamp String
    The timestamp of the status.
    type String
    The component of the connected registry corresponding to the status.
    code string
    The code of the status.
    correlationId string
    The correlation ID of the status.
    description string
    The description of the status.
    timestamp string
    The timestamp of the status.
    type string
    The component of the connected registry corresponding to the status.
    code str
    The code of the status.
    correlation_id str
    The correlation ID of the status.
    description str
    The description of the status.
    timestamp str
    The timestamp of the status.
    type str
    The component of the connected registry corresponding to the status.
    code String
    The code of the status.
    correlationId String
    The correlation ID of the status.
    description String
    The description of the status.
    timestamp String
    The timestamp of the status.
    type String
    The component of the connected registry corresponding to the status.

    SyncProperties, SyncPropertiesArgs

    MessageTtl 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 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 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 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 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 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 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 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 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 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 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 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 string
    The gateway endpoint used by the connected registry to communicate with its parent.
    LastSyncTime string
    The last time a sync occurred between the connected registry and its parent.
    MessageTtl 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 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 string
    The gateway endpoint used by the connected registry to communicate with its parent.
    LastSyncTime string
    The last time a sync occurred between the connected registry and its parent.
    MessageTtl 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 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 String
    The gateway endpoint used by the connected registry to communicate with its parent.
    lastSyncTime String
    The last time a sync occurred between the connected registry and its parent.
    messageTtl 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 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 string
    The gateway endpoint used by the connected registry to communicate with its parent.
    lastSyncTime string
    The last time a sync occurred between the connected registry and its parent.
    messageTtl 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 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 str
    The gateway endpoint used by the connected registry to communicate with its parent.
    last_sync_time str
    The last time a sync occurred between the connected registry and its parent.
    message_ttl 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 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 String
    The gateway endpoint used by the connected registry to communicate with its parent.
    lastSyncTime String
    The last time a sync occurred between the connected registry and its parent.
    messageTtl 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 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 string
    Indicates the location of the certificates.
    Type string
    The type of certificate location.
    Location string
    Indicates the location of the certificates.
    Type string
    The type of certificate location.
    location String
    Indicates the location of the certificates.
    type String
    The type of certificate location.
    location string
    Indicates the location of the certificates.
    type string
    The type of certificate location.
    location str
    Indicates the location of the certificates.
    type str
    The type of certificate location.
    location String
    Indicates the location of the certificates.
    type String
    The type of certificate location.

    TlsPropertiesResponse, TlsPropertiesResponseArgs

    Certificate Pulumi.AzureNative.ContainerRegistry.Inputs.TlsCertificatePropertiesResponse
    The certificate used to configure HTTPS for the login server.
    Status string
    Indicates whether HTTPS is enabled for the login server.
    Certificate TlsCertificatePropertiesResponse
    The certificate used to configure HTTPS for the login server.
    Status string
    Indicates whether HTTPS is enabled for the login server.
    certificate TlsCertificatePropertiesResponse
    The certificate used to configure HTTPS for the login server.
    status String
    Indicates whether HTTPS is enabled for the login server.
    certificate TlsCertificatePropertiesResponse
    The certificate used to configure HTTPS for the login server.
    status string
    Indicates whether HTTPS is enabled for the login server.
    certificate TlsCertificatePropertiesResponse
    The certificate used to configure HTTPS for the login server.
    status str
    Indicates whether HTTPS is enabled for the login server.
    certificate Property Map
    The certificate used to configure HTTPS for the login server.
    status 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} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.36.0 published on Monday, Apr 8, 2024 by Pulumi