Partilhar via


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);
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 -> 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) 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.

Returns

A new NetAppReplicationObject instance for mocking.

Applies to