接口请求域名: cdc.intl.tencentcloudapi.com 。
查询专有集群配置列表
默认接口请求频率限制:20次/秒。
以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见 公共请求参数。
| 参数名称 | 必选 | 类型 | 描述 |
|---|---|---|---|
| Action | 是 | String | 公共参数,本接口取值:DescribeDedicatedClusterTypes。 |
| Version | 是 | String | 公共参数,本接口取值:2020-12-14。 |
| Region | 是 | String | 公共参数,详见产品支持的 地域列表。 |
| Name | 否 | String | 模糊匹配专用集群配置名称 |
| DedicatedClusterTypeIds.N | 否 | Array of String | 待查询的专用集群配置id列表 |
| Offset | 否 | Integer | 偏移量,默认为0。关于 |
| Limit | 否 | Integer | 返回数量,默认为20,最大值为100。关于 |
| IsCompute | 否 | Boolean | 是否只查询计算规格类型 |
| 参数名称 | 类型 | 描述 |
|---|---|---|
| DedicatedClusterTypeSet | Array of DedicatedClusterType | 专用集群配置列表 |
| TotalCount | Integer | 符合条件的个数 |
| RequestId | String | 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 |
查询专用集群订单配置列表。
POST / HTTP/1.1
Host: cdc.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeDedicatedClusterTypes
<公共请求参数>
{
"Name": "yuan dedicated",
"DedicatedClusterTypeIds": [
"dctype-lkm17jbu",
"dctype-1yo16f1a",
"dctype-b38d7sl6",
"dctype-z387eu8j"
],
"Offset": 0,
"Limit": 10,
"IsCompute": true
}
{
"Response": {
"DedicatedClusterTypeSet": [
{
"DedicatedClusterTypeId": "dctype-lkm17jbu",
"Description": "first type",
"Name": "yuan dedicated",
"CreateTime": "2020-12-16T06:21:41Z",
"SupportedStorageType": [],
"SupportedUplinkGiB": [
40,
100
],
"SupportedInstanceFamily": [
"S5"
],
"Weight": 3000,
"PowerDrawKva": 2000.8,
"ComputeFormatDesc": "M5.21XLARGE700 4、S5.21XLARGE320 2"
},
{
"DedicatedClusterTypeId": "dctype-1yo16f1a",
"Description": "seco type",
"Name": "abc dedicated",
"CreateTime": "2020-12-16T06:33:49Z",
"SupportedStorageType": [],
"SupportedUplinkGiB": [
13,
100
],
"SupportedInstanceFamily": [
"S1",
"S5"
],
"Weight": 3273,
"PowerDrawKva": 4156.7,
"ComputeFormatDesc": "M5.21XLARGE700 4、S5.21XLARGE320 2"
},
{
"DedicatedClusterTypeId": "dctype-b38d7sl6",
"Description": "heynew",
"Name": "type und",
"CreateTime": "2020-12-16T06:33:49Z",
"SupportedStorageType": [],
"SupportedUplinkGiB": [
10,
40
],
"SupportedInstanceFamily": [
"S3"
],
"Weight": 3724,
"PowerDrawKva": 3829.1,
"ComputeFormatDesc": "M5.21XLARGE700 4、S5.21XLARGE320 2"
},
{
"DedicatedClusterTypeId": "dctype-z387eu8j",
"Description": "third one",
"Name": "unknow",
"CreateTime": "2020-12-16T06:33:49Z",
"SupportedStorageType": [],
"SupportedUplinkGiB": [
10,
40
],
"SupportedInstanceFamily": [],
"Weight": 3724,
"PowerDrawKva": 3829.1,
"ComputeFormatDesc": "M5.21XLARGE700 4、S5.21XLARGE320 2"
}
],
"TotalCount": 4,
"RequestId": "66221c03-1429-4b8b-b66a-dffa2771536e"
}
}
云 API 3.0 提供了配套的开发工具集(SDK),支持多种编程语言,能更方便的调用 API。
以下仅列出了接口业务逻辑相关的错误码,其他错误码详见 公共错误码。
| 错误码 | 描述 |
|---|---|
| InvalidParameterValue | 参数取值错误。 |
| InvalidParameterValue.InvalidAppIdFormat | 无效的AppId |
文档反馈