共用方式為


InMageEnableProtectionContent(String, Guid, String, String, String) Constructor

Definition

Initializes a new instance of InMageEnableProtectionContent.

public InMageEnableProtectionContent (string masterTargetId, Guid processServerId, string retentionDrive, string multiVmGroupId, string multiVmGroupName);
new Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageEnableProtectionContent : string * Guid * string * string * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageEnableProtectionContent
Public Sub New (masterTargetId As String, processServerId As Guid, retentionDrive As String, multiVmGroupId As String, multiVmGroupName As String)

Parameters

masterTargetId
String

The Master Target Id.

processServerId
Guid

The Process Server Id.

retentionDrive
String

The retention drive to use on the MT.

multiVmGroupId
String

The multi VM group Id.

multiVmGroupName
String

The multi VM group name.

Exceptions

masterTargetId, retentionDrive, multiVmGroupId or multiVmGroupName is null.

Applies to