ArmRecoveryServicesSiteRecoveryModelFactory.HyperVReplicaBasePolicyDetails 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 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
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 HyperVReplicaBasePolicyDetails instance for mocking.
Applies to
Azure SDK for .NET