参数名称 | 类型 | 必填 | 描述 |
---|
Action | String | 是 | 公共参数,本接口取值:InstanceMigrate。 |
Version | String | 是 | 公共参数,本接口取值:2016-03-04。 |
DedicatedHostId | String | 是 | 专属宿主机id |
InstanceId | String | 是 | 虚拟机ID |
InstanceType | String | 否 | 套餐类型 |
DataDisk.N | String | 否 | 数据盘id |
参数名称 | 类型 | 描述 |
---|
RequestId | String | 示例值:5034a8a2-4eb0-4161-8ff1-0a9b71b63000009 |
Return | Boolean | 示例值:true |
JSON格式
以下仅列出了接口业务逻辑相关的错误码,其他错误码详见公共错误码
错误码 | 错误信息 | Http状态码 | 描述 |
---|
CrossInstanceMigrateQueueNoSetting | cross instance migrate queue no setting. | 400 | 变更实例类型队列未进行配置. |
ProductSellOutInvalid | product already sell out. | 400 | 此商品在该机房已售罄. |
InstanceIdInvalid | Instance Resource id is invalid | 400 | 实例资源ID无效 |
ChargeTypeInvalidParameterValue | An invalid or out-of-range value was supplied for the "ChargeType" parameter. | 400 | “计费类型”参数的取值无效或者超出有效范围 |
InstanceTypeNoneInvalid | Create or upgrade does not support non-standard instancetype. | 400 | 创建、升配不支持非标套餐. |
InstanceTypeInvalidParameterValue | An invalid or out-of-range value was supplied for the "InstanceType" parameter. | 400 | “实例套餐类型”参数的取值无效或者超出有效范围 |
DedicatedHostIdInvalid | DedicatedHostId is invalid | 400 | 专属宿主机ID无效 |
VmNotSupportMigrate | The Instance Not Support Migration. | 400 | 该主机不支持迁移。 |
CrossInstanceMigrateQueueExceed | Cross Instance Migrate Queue Exceed. | 400 | 跨实例迁移队列已满 |
DataDiskGbInvalidParameterValue | An invalid or out-of-range value was supplied for the "DataDiskGb" parameter. | 400 | “数据卷容量”参数的取值无效或者超出有效范围 |
InstanceStateNotSupportedMigrate | The current status of the resource does not support this operation. | 400 | 本操作执行时“实例状态”不支持 |
NoFoundOrder | The order information was not found. | 400 | 未找到订单信息. |
ParameterNotMatch | parameter not match | 400 | 参数不匹配 |
InstanceIdRequired | InstanceId is required | 400 | InstanceId必传 |
InstanceOpLockNotObtain | InstanceOpLockNotObtain | 400 | 当前实例在操作处理中,请稍后重试 |
NoFoundOrderInProcess | No order in process was found. | 400 | 未找到正在处理中的订单. |
InstanceOrderMustInUse | The "InstanceOrder" parameter must be used when calling directly from console. | 400 | 使用控制台调用必须传递“实例订单”参数 |
MigrateNotSupportBillType | This BillType does not support migration. | 400 | 该计费方式不支持迁移. |
InstanceOrderNotInUse | The "InstanceOrder" parameter should not be used when calling directly from SDK or OpCenter. | 400 | 使用SDK或者运营平台调用不应该传递“实例订单”参数 |
纯净模式