Sdílet prostřednictvím


ArmRecoveryServicesSiteRecoveryModelFactory.InMageAzureV2PolicyContent Method

Definition

Initializes a new instance of InMageAzureV2PolicyContent.

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

Parameters

recoveryPointThresholdInMinutes
Nullable<Int32>

The recovery point threshold in minutes.

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 InMageAzureV2PolicyContent instance for mocking.

Applies to