Freigeben über


ArmContainerRegistryModelFactory.ConnectedRegistryData Method

Definition

Initializes a new instance of ConnectedRegistryData.

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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

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.

activationStatus
Nullable<ConnectedRegistryActivationStatus>

The activation properties 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.

Returns

A new ConnectedRegistryData instance for mocking.

Applies to