Sdílet prostřednictvím


ArmRecoveryServicesSiteRecoveryModelFactory.A2APolicyCreationContent Method

Definition

Initializes a new instance of A2APolicyCreationContent.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2APolicyCreationContent A2APolicyCreationContent (int? recoveryPointHistory = default, int? crashConsistentFrequencyInMinutes = default, int? appConsistentFrequencyInMinutes = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SetMultiVmSyncStatus multiVmSyncStatus = default);
static member A2APolicyCreationContent : Nullable<int> * Nullable<int> * Nullable<int> * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SetMultiVmSyncStatus -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2APolicyCreationContent
Public Shared Function A2APolicyCreationContent (Optional recoveryPointHistory As Nullable(Of Integer) = Nothing, Optional crashConsistentFrequencyInMinutes As Nullable(Of Integer) = Nothing, Optional appConsistentFrequencyInMinutes As Nullable(Of Integer) = Nothing, Optional multiVmSyncStatus As SetMultiVmSyncStatus = Nothing) As A2APolicyCreationContent

Parameters

recoveryPointHistory
Nullable<Int32>

The duration in minutes until which the recovery points need to be stored.

crashConsistentFrequencyInMinutes
Nullable<Int32>

The crash consistent snapshot frequency (in minutes).

appConsistentFrequencyInMinutes
Nullable<Int32>

The app consistent snapshot frequency (in minutes).

multiVmSyncStatus
SetMultiVmSyncStatus

A value indicating whether multi-VM sync has to be enabled. Value should be 'Enabled' or 'Disabled'.

Returns

A new A2APolicyCreationContent instance for mocking.

Applies to