Sdílet prostřednictvím


NewProtectionProfile(String, SetMultiVmSyncStatus) Constructor

Definition

Initializes a new instance of NewProtectionProfile.

public NewProtectionProfile (string policyName, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SetMultiVmSyncStatus multiVmSyncStatus);
new Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.NewProtectionProfile : string * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SetMultiVmSyncStatus -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.NewProtectionProfile
Public Sub New (policyName As String, multiVmSyncStatus As SetMultiVmSyncStatus)

Parameters

policyName
String

The protection profile input.

multiVmSyncStatus
SetMultiVmSyncStatus

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

Exceptions

policyName is null.

Applies to