维修任务配置获取

最近更新时间:2018-12-06 21:49:32

1. 接口描述

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

维修任务配置获取

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

2. 输入参数

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

参数名称 必选 类型 描述
Action String 公共参数,本接口取值:DescribeRepairTaskConstant
Version String 公共参数,本接口取值:2018-04-23
Region String 公共参数,详见产品支持的地域列表

3. 输出参数

参数名称 类型 描述
TaskTypeSet Array of TaskType 故障类型ID与对应中文名列表
RequestId String 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。

4. 示例

示例1 维修任务配置获取

输入示例

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

输出示例

{
  "Response": {
    "RequestId": "3b14a9b3-82c5-45fa-906d-0aa07fc07fd7",
    "TaskTypeSet": [
      {
        "TaskSubType": "redundancy",
        "TypeId": 30,
        "TypeName": "硬盘故障(有冗余)"
      },
      {
        "TaskSubType": "nonredundancy",
        "TypeId": 31,
        "TypeName": "RAID卡电池故障"
      },
      {
        "TaskSubType": "nonredundancy",
        "TypeId": 32,
        "TypeName": "RAID卡缓存故障"
      },
      {
        "TaskSubType": "nonredundancy",
        "TypeId": 34,
        "TypeName": "硬盘故障(无冗余)"
      },
      {
        "TaskSubType": "nonredundancy",
        "TypeId": 36,
        "TypeName": "逻辑盘只读"
      },
      {
        "TaskSubType": "redundancy",
        "TypeId": 37,
        "TypeName": "硬盘即将故障(有冗余)"
      },
      {
        "TaskSubType": "nonredundancy",
        "TypeId": 38,
        "TypeName": "操作系统硬盘故障(无冗余)"
      },
      {
        "TaskSubType": "redundancy",
        "TypeId": 40,
        "TypeName": "硬盘故障(有冗余,槽位未知)"
      },
      {
        "TaskSubType": "redundancy",
        "TypeId": 41,
        "TypeName": "电源故障(有冗余)"
      },
      {
        "TaskSubType": "nonredundancy",
        "TypeId": 42,
        "TypeName": "风扇故障"
      },
      {
        "TaskSubType": "nonredundancy",
        "TypeId": 43,
        "TypeName": "硬盘故障(无冗余,在线换盘)"
      },
      {
        "TaskSubType": "unconfirmed",
        "TypeId": 44,
        "TypeName": "Ping不可达"
      },
      {
        "TaskSubType": "nonredundancy",
        "TypeId": 47,
        "TypeName": "SSD硬盘故障(无冗余)"
      },
      {
        "TaskSubType": "nonredundancy",
        "TypeId": 48,
        "TypeName": "网卡故障"
      },
      {
        "TaskSubType": "nonredundancy",
        "TypeId": 49,
        "TypeName": "内存故障"
      },
      {
        "TaskSubType": "nonredundancy",
        "TypeId": 53,
        "TypeName": "主板故障"
      },
      {
        "TaskSubType": "nonredundancy",
        "TypeId": 55,
        "TypeName": "CPU故障"
      },
      {
        "TaskSubType": "nonredundancy",
        "TypeId": 60,
        "TypeName": "SSD硬盘寿命耗尽"
      },
      {
        "TaskSubType": "nonredundancy",
        "TypeId": 61,
        "TypeName": "SSD硬盘温度过高(关机换盘)"
      },
      {
        "TaskSubType": "nonredundancy",
        "TypeId": 62,
        "TypeName": "SSD硬盘坏块率过高(关机换盘)"
      },
      {
        "TaskSubType": "nonredundancy",
        "TypeId": 63,
        "TypeName": "电源故障(无冗余)"
      },
      {
        "TaskSubType": "nonredundancy",
        "TypeId": 94,
        "TypeName": "GPU故障"
      },
      {
        "TaskSubType": "nonredundancy",
        "TypeId": 124,
        "TypeName": "硬盘掉线"
      },
      {
        "TaskSubType": "unconfirmed",
        "TypeId": 58,
        "TypeName": "自助重启失败"
      }
    ]
  }
}

5. 开发者资源

API Explorer

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

SDK

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

命令行工具

6. 错误码

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

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