Share via


Replication Constructors

Definition

Overloads

Replication()

Initializes a new instance of the Replication class.

Replication(String, String, String, String, IDictionary<String,String>, SystemData, String, Status, Nullable<Boolean>, String)

Initializes a new instance of the Replication class.

Replication()

Initializes a new instance of the Replication class.

public Replication ();
Public Sub New ()

Applies to

Replication(String, String, String, String, IDictionary<String,String>, SystemData, String, Status, Nullable<Boolean>, String)

Initializes a new instance of the Replication class.

public Replication (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.ContainerRegistry.Models.SystemData systemData = default, string provisioningState = default, Microsoft.Azure.Management.ContainerRegistry.Models.Status status = default, bool? regionEndpointEnabled = default, string zoneRedundancy = default);
new Microsoft.Azure.Management.ContainerRegistry.Models.Replication : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.ContainerRegistry.Models.SystemData * string * Microsoft.Azure.Management.ContainerRegistry.Models.Status * Nullable<bool> * string -> Microsoft.Azure.Management.ContainerRegistry.Models.Replication
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional systemData As SystemData = Nothing, Optional provisioningState As String = Nothing, Optional status As Status = Nothing, Optional regionEndpointEnabled As Nullable(Of Boolean) = Nothing, Optional zoneRedundancy As String = Nothing)

Parameters

location
String

The location of the resource. This cannot be changed after the resource is created.

id
String

The resource ID.

name
String

The name of the resource.

type
String

The type of the resource.

tags
IDictionary<String,String>

The tags of the resource.

systemData
SystemData

Metadata pertaining to creation and last modification of the resource.

provisioningState
String

The provisioning state of the replication at the time the operation was called. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'

status
Status

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

regionEndpointEnabled
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
String

Whether or not zone redundancy is enabled for this container registry replication. Possible values include: 'Enabled', 'Disabled'

Applies to