ArmRecoveryServicesSiteRecoveryModelFactory.HyperVReplicaPolicyDetails Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.
- 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.