Sdílet prostřednictvím


ArmContainerRegistryModelFactory.ContainerRegistryReplicationData Method

Definition

Initializes a new instance of ContainerRegistryReplicationData.

public static Azure.ResourceManager.ContainerRegistry.ContainerRegistryReplicationData ContainerRegistryReplicationData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryProvisioningState? provisioningState = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryResourceStatus status = default, bool? isRegionEndpointEnabled = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryZoneRedundancy? zoneRedundancy = default);
static member ContainerRegistryReplicationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryProvisioningState> * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryResourceStatus * Nullable<bool> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryZoneRedundancy> -> Azure.ResourceManager.ContainerRegistry.ContainerRegistryReplicationData
Public Shared Function ContainerRegistryReplicationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional provisioningState As Nullable(Of ContainerRegistryProvisioningState) = Nothing, Optional status As ContainerRegistryResourceStatus = Nothing, Optional isRegionEndpointEnabled As Nullable(Of Boolean) = Nothing, Optional zoneRedundancy As Nullable(Of ContainerRegistryZoneRedundancy) = Nothing) As ContainerRegistryReplicationData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

provisioningState
Nullable<ContainerRegistryProvisioningState>

The provisioning state of the replication at the time the operation was called.

status
ContainerRegistryResourceStatus

The status of the replication at the time the operation was called.

isRegionEndpointEnabled
Nullable<Boolean>

Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications.

zoneRedundancy
Nullable<ContainerRegistryZoneRedundancy>

Whether or not zone redundancy is enabled for this container registry replication.

Returns

A new ContainerRegistryReplicationData instance for mocking.

Applies to