ArmRecoveryServicesSiteRecoveryModelFactory.HyperVReplicaAzurePolicyDetails 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 HyperVReplicaAzurePolicyDetails.
public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVReplicaAzurePolicyDetails HyperVReplicaAzurePolicyDetails(int? recoveryPointHistoryDurationInHours = default, int? applicationConsistentSnapshotFrequencyInHours = default, int? replicationInterval = default, string onlineReplicationStartTime = default, string encryption = default, Azure.Core.ResourceIdentifier activeStorageAccountId = default);
static member HyperVReplicaAzurePolicyDetails : Nullable<int> * Nullable<int> * Nullable<int> * string * string * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVReplicaAzurePolicyDetails
Public Shared Function HyperVReplicaAzurePolicyDetails (Optional recoveryPointHistoryDurationInHours As Nullable(Of Integer) = Nothing, Optional applicationConsistentSnapshotFrequencyInHours As Nullable(Of Integer) = Nothing, Optional replicationInterval As Nullable(Of Integer) = Nothing, Optional onlineReplicationStartTime As String = Nothing, Optional encryption As String = Nothing, Optional activeStorageAccountId As ResourceIdentifier = Nothing) As HyperVReplicaAzurePolicyDetails
Parameters
The duration (in hours) to which point the recovery history needs to be maintained.
The interval (in hours) at which Hyper-V Replica should create an application consistent snapshot within the VM.
- onlineReplicationStartTime
- String
The scheduled start time for the initial replication. If this parameter is Null, the initial replication starts immediately.
- encryption
- String
A value indicating whether encryption is enabled for virtual machines in this cloud.
- activeStorageAccountId
- ResourceIdentifier
The active storage account Id.
Returns
A new HyperVReplicaAzurePolicyDetails instance for mocking.
Applies to
Azure SDK for .NET