更新时间:2024-02-29 GMT+08:00
查询专属主机详情
功能介绍
查询某一台专属主机的详情。
请求消息
无
响应消息
参数 |
位置 |
参数类型 |
描述 |
---|---|---|---|
dedicated_host |
body |
Object |
专属主机对象。 具体请参见表1。 |
请求示例
查询ID为ab910cf0daebca90c4001的专属主机详情。
GET https://{Endpoint}/v1.0/9c53a566cb3443ab910cf0daebca90c4/dedicated-hosts/ab910cf0daebca90c4001
响应示例
{ "dedicated_host": { "dedicated_host_id": "ab910cf0daebca90c4001", "name": "win_2008 servers", "auto_placement": "off", "availability_zone": "az1", "host_properties": { "vcpus": 36, "cores": 12, "sockets": 2, "memory": 1073741824, "host_type": "h1", "host_type_name": "High performance", "available_instance_capacities": [ { "flavor": "h1.large" }, { "flavor": "h1.2large" }, { "flavor": "h1.4large" }, { "flavor": "h1.8large" } ] }, "state": "available", "project_id": "9c53a566cb3443ab910cf0daebca90c4", "available_vcpus": 20, "available_memory": 1073201821, "instance_total": 2, "allocated_at": "2016-10-10T14:35:47Z", "released_at": "", "instance_uuids": [ "erf5th66cb3443ab912ff0daebca3456", "23457h66cb3443ab912ff0daebcaer45" ] } }
返回值
请参见状态码。
父主题: API