共用方式為


ArmRecoveryServicesSiteRecoveryModelFactory.HyperVReplicaPolicyDetails Method

Definition

Initializes a new instance of HyperVReplicaPolicyDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVReplicaPolicyDetails HyperVReplicaPolicyDetails (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 HyperVReplicaPolicyDetails : Nullable<int> * Nullable<int> * string * string * string * string * string * Nullable<int> * Nullable<int> * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVReplicaPolicyDetails
Public Shared Function HyperVReplicaPolicyDetails (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 HyperVReplicaPolicyDetails

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 HyperVReplicaPolicyDetails instance for mocking.

Applies to