查询资源隔离配置组
最近更新时间: 2026-09-17 00:05:51
1. 接口描述
接口请求域名: tbdsnew.api3.fincloud.tencent.cn。
查询资源隔离配置组
默认接口请求频率限制:20次/秒。
接口更新时间:2025-09-12 15:20:49。
接口既验签名又鉴权。
2. 输入参数
以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见公共请求参数。
| 参数名称 | 必选 | 允许NULL | 类型 | 描述 |
|---|---|---|---|---|
| Action | 是 | 否 | String | 公共参数,本接口取值:DescribeServiceResourceConfig |
| Version | 是 | 否 | String | 公共参数,本接口取值:2019-01-03 |
| Region | 是 | 否 | String | 公共参数,地域信息可通过DescribeRegions接口查看产品支持的地域列表 |
| InstanceId | 是 | 否 | String | 集群ID 示例值: tbds-664nmwbe |
| Offset | 否 | 否 | Int64 | 页编号,默认值为0,表示第一页 示例值: 0 |
| Limit | 否 | 否 | Int64 | 每页返回数量,默认值为10,最大值为100 示例值: 11 |
3. 输出参数
| 参数名称 | 类型 | 描述 |
|---|---|---|
| ServiceResourceConfigList | Array of ServiceResourceConfig | 服务资源配置组列表 注意:此字段可能返回 null,表示取不到有效值。 示例值:查看 |
| RequestId | String | 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 |
4. 错误码
以下仅列出了接口业务逻辑相关的错误码,其他错误码详见公共错误码。
| 错误码 | 描述 |
|---|---|
| FailedOperation | 操作失败。 |
| MissingParameter | 缺少参数错误。 |
| InvalidParameter | 参数错误。 |
| ResourceNotFound | 资源不存在。 |
| InternalError | 内部错误。 |
| ResourceNotFound.InstanceNotFound | 无法找到该实例。 |
5. 示例
示例1 查询资源隔离配置组
输入示例
POST / HTTP/1.1
Host: tbdsnew.api3.{conf.main_domain}
Content-Type: application/json
X-TC-Action: DescribeServiceResourceConfig
<公共请求参数>
{
"OrderFields": [],
"InstanceId": "tbds-664nmwbe",
"Limit": 11,
"Offset": 0,
"Filters": []
}
输出示例
{
"Response": {
"RequestId": "97d85594-1fea-4d9c-96d8-66959dc998df",
"ServiceResourceConfigList": [
{
"ConfigName": "22test",
"Description": "11",
"Id": 9,
"InstanceId": "tbds-664nmwbe",
"ScheduleDays": "",
"ScheduleEndtime": "20:13",
"ScheduleStarttime": "00:00",
"ScheduleType": 1,
"WeightConfigs": [
{
"BlkIO": 20,
"CPULimit": 4,
"CPUShare": 10,
"Service": "YARN",
"ServiceComponents": [
"NodeManager"
]
},
{
"BlkIO": 0,
"CPULimit": 0,
"CPUShare": 0,
"Service": "HDFS",
"ServiceComponents": [
"DataNode"
]
},
{
"BlkIO": 0,
"CPULimit": 0,
"CPUShare": 0,
"Service": "TRINO",
"ServiceComponents": null
},
{
"BlkIO": 0,
"CPULimit": 0,
"CPUShare": 0,
"Service": "IMPALA",
"ServiceComponents": null
},
{
"BlkIO": 0,
"CPULimit": 0,
"CPUShare": 0,
"Service": "HBASE",
"ServiceComponents": null
}
]
},
{
"ConfigName": "default",
"Description": "",
"Id": 2,
"InstanceId": "tbds-664nmwbe",
"ScheduleDays": "",
"ScheduleEndtime": "00:00",
"ScheduleStarttime": "00:00",
"ScheduleType": 0,
"WeightConfigs": [
{
"BlkIO": 0,
"CPULimit": 0,
"CPUShare": 0,
"Service": "HDFS",
"ServiceComponents": [
"DataNode"
]
},
{
"BlkIO": 0,
"CPULimit": 0,
"CPUShare": 0,
"Service": "YARN",
"ServiceComponents": [
"NodeManager"
]
},
{
"BlkIO": 0,
"CPULimit": 0,
"CPUShare": 0,
"Service": "TRINO",
"ServiceComponents": null
},
{
"BlkIO": 0,
"CPULimit": 0,
"CPUShare": 0,
"Service": "HBASE",
"ServiceComponents": null
},
{
"BlkIO": 0,
"CPULimit": 0,
"CPUShare": 0,
"Service": "IMPALA",
"ServiceComponents": null
}
]
}
]
}
}