Udostępnij za pośrednictwem


IMigrationOperations.StartMigrationPlanAsync Method

Definition

Hydra spec for start migration plan rest APIThe rest api starts the estimation of time taken by migration for all/specific volume container(s) in the given config

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.MigrationJobStatus> StartMigrationPlanAsync (Microsoft.WindowsAzure.Management.StorSimple.Models.MigrationPlanStartRequest startPlanRequest, Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders customRequestHeaders, System.Threading.CancellationToken cancellationToken);
abstract member StartMigrationPlanAsync : Microsoft.WindowsAzure.Management.StorSimple.Models.MigrationPlanStartRequest * Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.MigrationJobStatus>
Public Function StartMigrationPlanAsync (startPlanRequest As MigrationPlanStartRequest, customRequestHeaders As CustomRequestHeaders, cancellationToken As CancellationToken) As Task(Of MigrationJobStatus)

Parameters

startPlanRequest
MigrationPlanStartRequest

Start migration plan request model. The object passes the list of volume container(s) whose migration ETA needs to calculated

customRequestHeaders
CustomRequestHeaders

The Custom Request Headers which client must use.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response model for migration job status.

Applies to