Sdílet prostřednictvím


ArmRecoveryServicesSiteRecoveryModelFactory.InMageEnableProtectionContent Method

Definition

Initializes a new instance of InMageEnableProtectionContent.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageEnableProtectionContent InMageEnableProtectionContent (string vmFriendlyName = default, string masterTargetId = default, Guid processServerId = default, string retentionDrive = default, string runAsAccountId = default, string multiVmGroupId = default, string multiVmGroupName = default, string datastoreName = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageDiskExclusionContent diskExclusionContent = default, System.Collections.Generic.IEnumerable<string> disksToInclude = default);
static member InMageEnableProtectionContent : string * string * Guid * string * string * string * string * string * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageDiskExclusionContent * seq<string> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageEnableProtectionContent
Public Shared Function InMageEnableProtectionContent (Optional vmFriendlyName As String = Nothing, Optional masterTargetId As String = Nothing, Optional processServerId As Guid = Nothing, Optional retentionDrive As String = Nothing, Optional runAsAccountId As String = Nothing, Optional multiVmGroupId As String = Nothing, Optional multiVmGroupName As String = Nothing, Optional datastoreName As String = Nothing, Optional diskExclusionContent As InMageDiskExclusionContent = Nothing, Optional disksToInclude As IEnumerable(Of String) = Nothing) As InMageEnableProtectionContent

Parameters

vmFriendlyName
String

The VM Name.

masterTargetId
String

The Master Target Id.

processServerId
Guid

The Process Server Id.

retentionDrive
String

The retention drive to use on the MT.

runAsAccountId
String

The CS account Id.

multiVmGroupId
String

The multi VM group Id.

multiVmGroupName
String

The multi VM group name.

datastoreName
String

The target datastore name.

diskExclusionContent
InMageDiskExclusionContent

The enable disk exclusion input.

disksToInclude
IEnumerable<String>

The disks to include list.

Returns

A new InMageEnableProtectionContent instance for mocking.

Applies to