Udostępnij za pośrednictwem


ArmRecoveryServicesSiteRecoveryModelFactory.HyperVReplicaBasePolicyDetails Method

Definition

Initializes a new instance of HyperVReplicaBasePolicyDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVReplicaBasePolicyDetails HyperVReplicaBasePolicyDetails (int? recoveryPoints = default, int? applicationConsistentSnapshotFrequencyInHours = default, string compression = default, string initialReplicationMethod = default, string onlineReplicationStartTime = default, string offlineReplicationImportPath = default, string offlineReplicationExportPath = default, int? replicationPort = default, int? allowedAuthenticationType = default, string replicaDeletionOption = default);
static member HyperVReplicaBasePolicyDetails : Nullable<int> * Nullable<int> * string * string * string * string * string * Nullable<int> * Nullable<int> * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVReplicaBasePolicyDetails
Public Shared Function HyperVReplicaBasePolicyDetails (Optional recoveryPoints As Nullable(Of Integer) = Nothing, Optional applicationConsistentSnapshotFrequencyInHours As Nullable(Of Integer) = Nothing, Optional compression As String = Nothing, Optional initialReplicationMethod As String = Nothing, Optional onlineReplicationStartTime As String = Nothing, Optional offlineReplicationImportPath As String = Nothing, Optional offlineReplicationExportPath As String = Nothing, Optional replicationPort As Nullable(Of Integer) = Nothing, Optional allowedAuthenticationType As Nullable(Of Integer) = Nothing, Optional replicaDeletionOption As String = Nothing) As HyperVReplicaBasePolicyDetails

Parameters

recoveryPoints
Nullable<Int32>

A value indicating the number of recovery points.

applicationConsistentSnapshotFrequencyInHours
Nullable<Int32>

A value indicating the application consistent frequency.

compression
String

A value indicating whether compression has to be enabled.

initialReplicationMethod
String

A value indicating whether IR is online.

onlineReplicationStartTime
String

A value indicating the online IR start time.

offlineReplicationImportPath
String

A value indicating the offline IR import path.

offlineReplicationExportPath
String

A value indicating the offline IR export path.

replicationPort
Nullable<Int32>

A value indicating the recovery HTTPS port.

allowedAuthenticationType
Nullable<Int32>

A value indicating the authentication type.

replicaDeletionOption
String

A value indicating whether the VM has to be auto deleted. Supported Values: String.Empty, None, OnRecoveryCloud.

Returns

A new HyperVReplicaBasePolicyDetails instance for mocking.

Applies to