Delen via


NewProtectionProfile Constructors

Definition

Overloads

NewProtectionProfile()

Initializes a new instance of the NewProtectionProfile class.

NewProtectionProfile(String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the NewProtectionProfile class.

NewProtectionProfile()

Initializes a new instance of the NewProtectionProfile class.

public NewProtectionProfile ();
Public Sub New ()

Applies to

NewProtectionProfile(String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the NewProtectionProfile class.

public NewProtectionProfile (string policyName, string multiVMSyncStatus, int? recoveryPointHistory = default, int? crashConsistentFrequencyInMinutes = default, int? appConsistentFrequencyInMinutes = default);
new Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.NewProtectionProfile : string * string * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.NewProtectionProfile
Public Sub New (policyName As String, multiVMSyncStatus As String, Optional recoveryPointHistory As Nullable(Of Integer) = Nothing, Optional crashConsistentFrequencyInMinutes As Nullable(Of Integer) = Nothing, Optional appConsistentFrequencyInMinutes As Nullable(Of Integer) = Nothing)

Parameters

policyName
String

The protection profile input.

multiVMSyncStatus
String

A value indicating whether multi-VM sync has to be enabled. Value should be 'Enabled' or 'Disabled'. Possible values include: 'Enable', 'Disable'

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).

Applies to