查询节点详情

接口说明

根据尊享版节点ID查询节点实例的详细信息。


推荐使用API Explorer调试

API Explorer支持接口在线可视化调用,同时自动生成动态代码示例,搭配OpenAPI SDK无需计算签名实现接口快速集成。

URL

POST https://ecloud.10086.cn/api/openapi-cloudphone/api/v1/zycloudphone/resource/zh/host/detail

请求参数

Header

参数名称
类型
必填
描述
pool
string
是

资源池ID

Body

参数名称
类型
必填
描述
req
OpenapiQueryHostDetailReq
是

req

hostIds
<string> array
是

节点ID列表

请求示例

POST https://ecloud.10086.cn/api/openapi-cloudphone/api/v1/zycloudphone/resource/zh/host/detail
{
	"hostIds":[
		"1811707545332031490"
	]
}

返回参数

返回码:200
OK
参数名称
类型
描述
body
<HostQueryInfoDto> array

响应体

bandWidth
integer(int32)

带宽

clusterId
string

集群Id

clusterName
string

集群名称

clusterPid
string

集群表主键Id

exclusiveTenantBid
string

独享租户ID

exclusiveTenantName
string

独享租户账号名称

hostId
string

主机Id

hostIp
string

主机IP

hostName
string

主机名称

phoneSpecs
string

云机规格

poolId
string

资源池ID

prepareTypeList
<integer(int32)> array

预制版本

preparedNum
integer(int32)

已置备的云手机数量

publicIpv4
string

公网IPV4

remainCpu
integer(int32)

剩余CPU

remainMemory
integer(int32)

剩余内存

remainNum
integer(int32)

可置备实例数量

totalCpu
integer(int32)

节点cpu总量

totalCpuInHardware
integer(int32)

服务器cpu配置

totalMemory
integer(int32)

节点内存总量

totalMemoryInHardware
integer(int32)

服务器内存配置,单位GB

usedCpu
integer(int32)

已用CPU

usedMemory
integer(int32)

已用内存

errorCode
string

错误编码

errorMessage
string

错误信息

requestId
string

请求id

state
string

状态值

返回示例

返回码:200
OK
{
	"errorCode":"00000000",
	"errorMessage":"请求成功",
	"requestId":"fd928283-38ab-44e5-bb0b-76ff2f5c6a8b",
	"state":"OK",
	"body":[
		{
			"clusterPid":"1811680279814262786",
			"clusterId":"46d1940c-987c-4002-be34-12119b8e65ad",
			"clusterName":"cloudphone-beijing3-test",
			"poolId":"CIDC-RP-45",
			"hostId":"1811707545332031490",
			"hostIp":"192.168.0.3",
			"phoneSpecs":null,
			"hostName":"bms-44964731-000",
			"totalCpuInHardware":100,
			"totalMemoryInHardware":400,
			"prepareTypeList":[
				4,
				5
			],
			"exclusiveTenantBid":"CIDC-U-61dccb6f4f0147d89337b8ae9f254964",
			"exclusiveTenantName":"csy_yyb_cpgh1_lvlei_001",
			"publicIpv4":"10.251.137.225",
			"bandWidth":0,
			"totalCpu":1200,
			"totalMemory":6400,
			"usedCpu":0,
			"usedMemory":0,
			"remainCpu":1200,
			"remainMemory":6400,
			"preparedNum":0,
			"remainNum":180
		}
	]
}
本文档内容整理自移动云官方帮助中心(查看原文),仅供参考。