Sprog

ArmContainerRegistryModelFactory.ConnectedRegistryData Method

Definition

public static Azure.ResourceManager.ContainerRegistry.ConnectedRegistryData ConnectedRegistryData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryProvisioningState? provisioningState, Azure.ResourceManager.ContainerRegistry.Models.ConnectedRegistryMode? mode, string version, Azure.ResourceManager.ContainerRegistry.Models.ConnectedRegistryConnectionState? connectionState, DateTimeOffset? lastActivityOn, Azure.ResourceManager.ContainerRegistry.Models.ConnectedRegistryParent parent, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> clientTokenIds, Azure.ResourceManager.ContainerRegistry.Models.ConnectedRegistryLoginServer loginServer, Azure.ResourceManager.ContainerRegistry.Models.ConnectedRegistryLogging logging, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerRegistry.Models.ConnectedRegistryStatusDetail> statusDetails, System.Collections.Generic.IEnumerable<string> notificationsList, Azure.ResourceManager.ContainerRegistry.Models.GarbageCollectionProperties garbageCollection, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistrySyncResult registrySyncResult, Azure.ResourceManager.ContainerRegistry.Models.ConnectedRegistryActivationStatus? activationStatus, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default);
static member ConnectedRegistryData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryProvisioningState> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ConnectedRegistryMode> * string * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ConnectedRegistryConnectionState> * Nullable<DateTimeOffset> * Azure.ResourceManager.ContainerRegistry.Models.ConnectedRegistryParent * seq<Azure.Core.ResourceIdentifier> * Azure.ResourceManager.ContainerRegistry.Models.ConnectedRegistryLoginServer * Azure.ResourceManager.ContainerRegistry.Models.ConnectedRegistryLogging * seq<Azure.ResourceManager.ContainerRegistry.Models.ConnectedRegistryStatusDetail> * seq<string> * Azure.ResourceManager.ContainerRegistry.Models.GarbageCollectionProperties * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistrySyncResult * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ConnectedRegistryActivationStatus> * Azure.ResourceManager.Models.ManagedServiceIdentity -> Azure.ResourceManager.ContainerRegistry.ConnectedRegistryData
Public Shared Function ConnectedRegistryData (id As ResourceIdentifier, name As String, resourceType As ResourceType, systemData As SystemData, provisioningState As Nullable(Of ContainerRegistryProvisioningState), mode As Nullable(Of ConnectedRegistryMode), version As String, connectionState As Nullable(Of ConnectedRegistryConnectionState), lastActivityOn As Nullable(Of DateTimeOffset), parent As ConnectedRegistryParent, clientTokenIds As IEnumerable(Of ResourceIdentifier), loginServer As ConnectedRegistryLoginServer, logging As ConnectedRegistryLogging, statusDetails As IEnumerable(Of ConnectedRegistryStatusDetail), notificationsList As IEnumerable(Of String), garbageCollection As GarbageCollectionProperties, registrySyncResult As ContainerRegistrySyncResult, activationStatus As Nullable(Of ConnectedRegistryActivationStatus), Optional identity As ManagedServiceIdentity = Nothing) As ConnectedRegistryData

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the private link resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

provisioningState
Nullable<ContainerRegistryProvisioningState>

Provisioning state of the resource.

mode
Nullable<ConnectedRegistryMode>

The mode of the connected registry resource that indicates the permissions of the registry.

version
String

The current version of ACR runtime on the connected registry.

connectionState
Nullable<ConnectedRegistryConnectionState>

The current connection state of the connected registry.

lastActivityOn
Nullable<DateTimeOffset>

The last activity time of the connected registry.

parent
ConnectedRegistryParent

The parent of the connected registry.

clientTokenIds
IEnumerable<ResourceIdentifier>

The list of the ACR token resource IDs used to authenticate clients to the connected registry.

loginServer
ConnectedRegistryLoginServer

The login server properties of the connected registry.

logging
ConnectedRegistryLogging

The logging properties of the connected registry.

statusDetails
IEnumerable<ConnectedRegistryStatusDetail>

The list of current statuses of the connected registry.

notificationsList
IEnumerable<String>

The list of notifications subscription information for the connected registry.

garbageCollection
GarbageCollectionProperties

The garbage collection properties of the connected registry.

registrySyncResult
ContainerRegistrySyncResult

The result of the connected registry's most recent sync with its parent.

activationStatus
Nullable<ConnectedRegistryActivationStatus>

The activation status of the connected registry.

identity
ManagedServiceIdentity

The user-assigned managed identity used by the on-prem connected registry to authenticate with the cloud registry for sync operations. Requires authType to be ManagedIdentity.

Returns

A new ConnectedRegistryData instance for mocking.

Applies to