Udostępnij za pośrednictwem


VMwareCbtEnableMigrationContent Constructor

Definition

Initializes a new instance of VMwareCbtEnableMigrationContent.

public VMwareCbtEnableMigrationContent (Azure.Core.ResourceIdentifier vmwareMachineId, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VMwareCbtDiskContent> disksToInclude, Azure.Core.ResourceIdentifier dataMoverRunAsAccountId, Azure.Core.ResourceIdentifier snapshotRunAsAccountId, Azure.Core.ResourceIdentifier targetResourceGroupId, Azure.Core.ResourceIdentifier targetNetworkId);
new Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VMwareCbtEnableMigrationContent : Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VMwareCbtDiskContent> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VMwareCbtEnableMigrationContent
Public Sub New (vmwareMachineId As ResourceIdentifier, disksToInclude As IEnumerable(Of VMwareCbtDiskContent), dataMoverRunAsAccountId As ResourceIdentifier, snapshotRunAsAccountId As ResourceIdentifier, targetResourceGroupId As ResourceIdentifier, targetNetworkId As ResourceIdentifier)

Parameters

vmwareMachineId
ResourceIdentifier

The ARM Id of the VM discovered in VMware.

disksToInclude
IEnumerable<VMwareCbtDiskContent>

The disks to include list.

dataMoverRunAsAccountId
ResourceIdentifier

The data mover run as account Id.

snapshotRunAsAccountId
ResourceIdentifier

The snapshot run as account Id.

targetResourceGroupId
ResourceIdentifier

The target resource group ARM Id.

targetNetworkId
ResourceIdentifier

The target network ARM Id.

Exceptions

vmwareMachineId, disksToInclude, dataMoverRunAsAccountId, snapshotRunAsAccountId, targetResourceGroupId or targetNetworkId is null.

Applies to