Udostępnij za pośrednictwem


MigrationOperationsExtensions.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 static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.MigrationJobStatus> StartMigrationPlanAsync (this Microsoft.WindowsAzure.Management.StorSimple.IMigrationOperations operations, Microsoft.WindowsAzure.Management.StorSimple.Models.MigrationPlanStartRequest startPlanRequest, Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders customRequestHeaders);
static member StartMigrationPlanAsync : Microsoft.WindowsAzure.Management.StorSimple.IMigrationOperations * Microsoft.WindowsAzure.Management.StorSimple.Models.MigrationPlanStartRequest * Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.MigrationJobStatus>
<Extension()>
Public Function StartMigrationPlanAsync (operations As IMigrationOperations, startPlanRequest As MigrationPlanStartRequest, customRequestHeaders As CustomRequestHeaders) As Task(Of MigrationJobStatus)

Parameters

operations
IMigrationOperations

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

startPlanRequest
MigrationPlanStartRequest

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

customRequestHeaders
CustomRequestHeaders

Required. The Custom Request Headers which client must use.

Returns

The response model for migration job status.

Applies to