接口说明
查询资源池及可用区信息。
URL
POST https://ecloud.10086.cn/api/openapi-cloudphone/api/v1/zycloudphone/order/zh/ordermgr/getPoolAndZone
请求参数
Body
|
参数名称
|
类型
|
必填
|
描述
|
|
req
|
OpenApiGetPoolAndZoneReq
|
是
|
req |
|
poolId
|
string
|
是
|
资源池编码,例如:CIDC-RP-45 |
请求示例
POST https://ecloud.10086.cn/api/openapi-cloudphone/api/v1/zycloudphone/order/zh/ordermgr/getPoolAndZone
{
"poolId":"CIDC-RP-27"
}
返回参数
返回码:200
OK
|
参数名称
|
类型
|
描述
|
|
body
|
<PoolZone对象> array
|
响应体 |
|
charId
|
string
|
规格ID |
|
createTime
|
string(date-time)
|
创建时间 |
|
creator
|
string
|
创建人 |
|
description
|
string
|
描述 |
|
id
|
integer(int64)
|
主键 |
|
isDelete
|
integer(int32)
|
0:正常1:删除 |
|
poolId
|
string
|
资源池id |
|
poolName
|
string
|
资源池名称 |
|
updateTime
|
string(date-time)
|
更新时间 |
|
updator
|
string
|
更新人 |
|
zoneCode
|
string
|
可用区编码 |
|
zoneDesc
|
string
|
可用区描述 |
|
zoneId
|
string
|
可用区id |
|
zoneName
|
string
|
可用区名称 |
|
errorCode
|
string
|
错误编码 |
|
errorMessage
|
string
|
错误信息 |
|
requestId
|
string
|
请求id |
|
state
|
string
|
状态值 |
返回示例
返回码:200
OK
{
"errorCode":"00000000",
"errorMessage":"请求成功",
"requestId":"6d4ee2b4-3197-41c6-8178-1cdd860d907d",
"state":"OK",
"body":[
{
"id":null,
"charId":null,
"poolId":"CIDC-RP-27",
"poolName":"西南-成都",
"zoneCode":"N028-SC-CDNQ02",
"zoneName":"可用区五",
"zoneId":"2406251618230343",
"zoneDesc":null,
"isDelete":0,
"description":null,
"creator":null,
"updator":null,
"createTime":null,
"updateTime":null
}
]
}