你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IMigrationOperations.StartMigrationPlanAsync 方法

定义

用于启动迁移计划的 Hydra 规范 rest API rest api 开始估计在给定配置中迁移所有/特定卷容器 () 所花费的时间

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)

参数

startPlanRequest
MigrationPlanStartRequest

启动迁移计划请求模型。 对象传递卷容器列表 (需要计算其迁移 ETA 的)

customRequestHeaders
CustomRequestHeaders

客户端必须使用的自定义请求标头。

cancellationToken
CancellationToken

取消标记。

返回

迁移作业状态的响应模型。

适用于