你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DeploymentOperationsExtensions.ValidateMigrationAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
验证部署操作验证 IaaS 经典到 ARM 迁移的部署。
public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.XrpMigrationValidateDeploymentResponse> ValidateMigrationAsync (this Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations operations, string serviceName, string deploymentName, Microsoft.WindowsAzure.Management.Compute.Models.PrepareDeploymentMigrationParameters parameters);
static member ValidateMigrationAsync : Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations * string * string * Microsoft.WindowsAzure.Management.Compute.Models.PrepareDeploymentMigrationParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.XrpMigrationValidateDeploymentResponse>
<Extension()>
Public Function ValidateMigrationAsync (operations As IDeploymentOperations, serviceName As String, deploymentName As String, parameters As PrepareDeploymentMigrationParameters) As Task(Of XrpMigrationValidateDeploymentResponse)
参数
- operations
- IDeploymentOperations
对 Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations 的引用。
- serviceName
- String
必需。 云服务的名称。
- deploymentName
- String
必需。 要迁移的部署的名称。
- parameters
- PrepareDeploymentMigrationParameters
必需。 用于迁移的部署网络资源参数。
返回
验证部署迁移操作响应。