Freigeben über


ArmNetAppModelFactory.NetAppReplicationObject Method

Definition

Initializes a new instance of NetAppReplicationObject.

public static Azure.ResourceManager.NetApp.Models.NetAppReplicationObject NetAppReplicationObject(string replicationId = default, Azure.ResourceManager.NetApp.Models.NetAppEndpointType? endpointType = default, Azure.ResourceManager.NetApp.Models.NetAppReplicationSchedule? replicationSchedule = default, Azure.Core.ResourceIdentifier remoteVolumeResourceId = default, Azure.ResourceManager.NetApp.Models.RemotePath remotePath = default, string remoteVolumeRegion = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetApp.Models.NetAppDestinationReplication> destinationReplications = default, Azure.ResourceManager.NetApp.Models.ExternalReplicationSetupStatus? externalReplicationSetupStatus = default, string externalReplicationSetupInfo = default, Azure.ResourceManager.NetApp.Models.NetAppMirrorState? mirrorState = default, Azure.ResourceManager.NetApp.Models.VolumeReplicationRelationshipStatus? relationshipStatus = default);
static member NetAppReplicationObject : string * Nullable<Azure.ResourceManager.NetApp.Models.NetAppEndpointType> * Nullable<Azure.ResourceManager.NetApp.Models.NetAppReplicationSchedule> * Azure.Core.ResourceIdentifier * Azure.ResourceManager.NetApp.Models.RemotePath * string * seq<Azure.ResourceManager.NetApp.Models.NetAppDestinationReplication> * Nullable<Azure.ResourceManager.NetApp.Models.ExternalReplicationSetupStatus> * string * Nullable<Azure.ResourceManager.NetApp.Models.NetAppMirrorState> * Nullable<Azure.ResourceManager.NetApp.Models.VolumeReplicationRelationshipStatus> -> Azure.ResourceManager.NetApp.Models.NetAppReplicationObject
Public Shared Function NetAppReplicationObject (Optional replicationId As String = Nothing, Optional endpointType As Nullable(Of NetAppEndpointType) = Nothing, Optional replicationSchedule As Nullable(Of NetAppReplicationSchedule) = Nothing, Optional remoteVolumeResourceId As ResourceIdentifier = Nothing, Optional remotePath As RemotePath = Nothing, Optional remoteVolumeRegion As String = Nothing, Optional destinationReplications As IEnumerable(Of NetAppDestinationReplication) = Nothing, Optional externalReplicationSetupStatus As Nullable(Of ExternalReplicationSetupStatus) = Nothing, Optional externalReplicationSetupInfo As String = Nothing, Optional mirrorState As Nullable(Of NetAppMirrorState) = Nothing, Optional relationshipStatus As Nullable(Of VolumeReplicationRelationshipStatus) = Nothing) As NetAppReplicationObject

Parameters

replicationId
String

Id.

endpointType
Nullable<NetAppEndpointType>

Indicates whether the local volume is the source or destination for the Volume Replication.

replicationSchedule
Nullable<NetAppReplicationSchedule>

Schedule.

remoteVolumeResourceId
ResourceIdentifier

The resource ID of the remote volume. Required for cross region and cross zone replication.

remotePath
RemotePath

The full path to a volume that is to be migrated into ANF. Required for Migration volumes.

remoteVolumeRegion
String

The remote region for the other end of the Volume Replication.

destinationReplications
IEnumerable<NetAppDestinationReplication>

A list of destination replications.

externalReplicationSetupStatus
Nullable<ExternalReplicationSetupStatus>

Property that only applies to external replications. Provides a machine-readable value for the status of the external replication setup.

externalReplicationSetupInfo
String

Contains human-readable instructions on what the next step is to finish the external replication setup.

mirrorState
Nullable<NetAppMirrorState>

The mirror state property describes the current status of data replication for a replication. It provides insight into whether the data is actively being mirrored, if the replication process has been paused, or if it has yet to be initialized.

relationshipStatus
Nullable<VolumeReplicationRelationshipStatus>

The status of the Volume Replication.

Returns

A new NetAppReplicationObject instance for mocking.

Applies to