查询设备型号

最近更新时间:2018-12-27 21:14:29

1. 接口描述

接口请求域名: bm.tencentcloudapi.com 。

获取获取设备类型

默认接口请求频率限制:10次/秒。

2. 输入参数

以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见公共请求参数

参数名称 必选 类型 描述
Action String 公共参数,本接口取值:DescribeDeviceClass
Version String 公共参数,本接口取值:2018-04-23
Region String 公共参数,本接口不需要传递此参数。

3. 输出参数

参数名称 类型 描述
DeviceClassSet Array of DeviceClass 物理机设备类型列表
RequestId String 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。

4. 示例

示例1 查询设备型号

输入示例

https://bm.tencentcloudapi.com/?Action=DescribeDeviceClass
&<公共请求参数>

输出示例

{
    "Response": {
        "DeviceClassSet": [
            {
                "DeviceClassCode": "PS100v3",
                "CpuDescription": "6133(20核)*2",
                "MemDescription": "256GB",
                "DiskDescription": "480G(SSD)*6",
                "HaveRaidCard": 1,
                "NicDescription": "10G * 2",
                "GpuDescription": "",
                "Discount": 0,
                "UnitPrice": 0,
                "RealPrice": 0,
                "NormalPrice": 0,
                "DeviceType": "standard",
                "Series": 3
            },
            {
                "DeviceClassCode": "PS000v1",
                "CpuDescription": "E5-2620v3(6核)*2",
                "MemDescription": "128GB",
                "DiskDescription": "6*300G(SAS)",
                "HaveRaidCard": 1,
                "NicDescription": "1G * 2",
                "GpuDescription": "",
                "Discount": 0,
                "UnitPrice": 0,
                "RealPrice": 0,
                "NormalPrice": 0,
                "DeviceType": "standard",
                "Series": 1
            },
            {
                "DeviceClassCode": "PS001v1",
                "CpuDescription": "E5-2620v3(6核)*2",
                "MemDescription": "64GB",
                "DiskDescription": "6*300G(SAS)",
                "HaveRaidCard": 1,
                "NicDescription": "1G * 2",
                "GpuDescription": "",
                "Discount": 0,
                "UnitPrice": 0,
                "RealPrice": 0,
                "NormalPrice": 0,
                "DeviceType": "standard",
                "Series": 1
            },
            {
                "DeviceClassCode": "PI110v1",
                "CpuDescription": "E5-2620v3(6核)*2",
                "MemDescription": "64GB",
                "DiskDescription": "4*1.8T(NVME SSD) + 1*80G(SSD)",
                "HaveRaidCard": 0,
                "NicDescription": "10G * 2",
                "GpuDescription": "",
                "Discount": 0,
                "UnitPrice": 0,
                "RealPrice": 0,
                "NormalPrice": 0,
                "DeviceType": "storage",
                "Series": 1
            },
            {
                "DeviceClassCode": "PI100v2",
                "CpuDescription": "E5-2680v4(14核)*2",
                "MemDescription": "256GB",
                "DiskDescription": "800G(SSD)*12",
                "HaveRaidCard": 1,
                "NicDescription": "10G * 2",
                "GpuDescription": "",
                "Discount": 0,
                "UnitPrice": 0,
                "RealPrice": 0,
                "NormalPrice": 0,
                "DeviceType": "storage",
                "Series": 2
            },
            {
                "DeviceClassCode": "PA100v2",
                "CpuDescription": "Hi1616(32核)*2",
                "MemDescription": "128GB",
                "DiskDescription": "480G(SSD)*2",
                "HaveRaidCard": 1,
                "NicDescription": "10G * 2",
                "GpuDescription": "",
                "Discount": 0,
                "UnitPrice": 0,
                "RealPrice": 0,
                "NormalPrice": 0,
                "DeviceType": "arm",
                "Series": 2
            }
        ],
        "RequestId": "b9a8a807-5b05-40df-864e-115a801662ad"
    }
}

5. 开发者资源

API Explorer

该工具提供了在线调用、签名验证、SDK 代码生成和快速检索接口等能力,能显著降低使用云 API 的难度,推荐使用。

SDK

云 API 3.0 提供了配套的开发工具集(SDK),支持多种编程语言,能更方便的调用 API。

命令行工具

6. 错误码

该接口暂无业务逻辑相关的错误码,其他错误码详见公共错误码

如果有其他疑问,您也可以在问答社区中寻求帮助。前往问答社区 >