Sdílet prostřednictvím


ArmRecoveryServicesSiteRecoveryModelFactory.HyperVReplicaAzurePolicyDetails Method

Definition

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

recoveryPointHistoryDurationInHours
Nullable<Int32>

The duration (in hours) to which point the recovery history needs to be maintained.

applicationConsistentSnapshotFrequencyInHours
Nullable<Int32>

The interval (in hours) at which Hyper-V Replica should create an application consistent snapshot within the VM.

replicationInterval
Nullable<Int32>

The replication interval.

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