共用方式為


MigrationOperationsExtensions.MigrationImportDataContainerAsync Method

Definition

Hydra spec for import data container rest apiThe rest api initiates the migration of volume containers for all/specific data container(s) in the given config

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.MigrationJobStatus> MigrationImportDataContainerAsync (this Microsoft.WindowsAzure.Management.StorSimple.IMigrationOperations operations, string configId, Microsoft.WindowsAzure.Management.StorSimple.Models.MigrationImportDataContainerRequest importDCRequest, Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders customRequestHeaders);
static member MigrationImportDataContainerAsync : Microsoft.WindowsAzure.Management.StorSimple.IMigrationOperations * string * Microsoft.WindowsAzure.Management.StorSimple.Models.MigrationImportDataContainerRequest * Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.MigrationJobStatus>
<Extension()>
Public Function MigrationImportDataContainerAsync (operations As IMigrationOperations, configId As String, importDCRequest As MigrationImportDataContainerRequest, customRequestHeaders As CustomRequestHeaders) As Task(Of MigrationJobStatus)

Parameters

operations
IMigrationOperations

Reference to the Microsoft.WindowsAzure.Management.StorSimple.IMigrationOperations.

configId
String

Required. Unique identifier for config specified while importing the config to service

importDCRequest
MigrationImportDataContainerRequest

Required. Import data container request which specifies the list of data containers to be migrated

customRequestHeaders
CustomRequestHeaders

Required. The Custom Request Headers which client must use.

Returns

The response model for migration job status.

Applies to