更新时间:2024-12-20 GMT+08:00
查询迁移
功能介绍
查询迁移结果
URI
GET /v3/migrates
参数 |
是否必选 |
参数类型 |
描述 |
---|---|---|---|
all_regions |
否 |
Boolean |
是否查询其他区域结果 |
请求参数
无
响应参数
状态码: 200
参数 |
参数类型 |
描述 |
---|---|---|
status |
String |
租户迁移状态
|
project_status |
Array of DomainMigrateProjectStatus objects |
项目迁移状态 |
请求示例
GET https://{endpoint}/v3/migrates
响应示例
状态码: 200
OK
{ "status" : "failed", "project_status" : [ { "status" : "failed", "progress" : 1, "project_id" : "fe1431a61f4242dd87e548f8f42ec0b4", "project_name" : "cn-north-7", "region_id" : "cn-north-7", "fail_code" : 4002, "fail_reason" : "An error occurred when converting models: dictionary keys changed during iteration." }, { "status" : "success", "progress" : 100, "project_id" : "bccd81411c254e6890fe88d2f2ce406b", "project_name" : "cn-north-7-virtual", "region_id" : "cn-north-7" } ] }
状态码
状态码 |
描述 |
---|---|
200 |
OK |
错误码
请参见错误码。
父主题: 项目