IMigrationOperations.MigrationImportDataContainerAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.MigrationJobStatus> MigrationImportDataContainerAsync (string configId, Microsoft.WindowsAzure.Management.StorSimple.Models.MigrationImportDataContainerRequest importDCRequest, Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders customRequestHeaders, System.Threading.CancellationToken cancellationToken);
abstract member MigrationImportDataContainerAsync : string * Microsoft.WindowsAzure.Management.StorSimple.Models.MigrationImportDataContainerRequest * Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.MigrationJobStatus>
Public Function MigrationImportDataContainerAsync (configId As String, importDCRequest As MigrationImportDataContainerRequest, customRequestHeaders As CustomRequestHeaders, cancellationToken As CancellationToken) As Task(Of MigrationJobStatus)
Parameters
- configId
- String
Unique identifier for config specified while importing the config to service
- importDCRequest
- MigrationImportDataContainerRequest
Import data container request which specifies the list of data containers to be migrated
- customRequestHeaders
- CustomRequestHeaders
The Custom Request Headers which client must use.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The response model for migration job status.
Applies to
Azure SDK for .NET