Domain name for API request: cdc.intl.tencentcloudapi.com.
This API is used to query the configuration list of the CDC.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeDedicatedClusterTypes. |
Version | Yes | String | Common Params. The value used for this API: 2020-12-14. |
Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
Name | No | String | Name of fuzzy matching CDC configuration |
DedicatedClusterTypeIds.N | No | Array of String | List of CDC configuration ids to be queried |
Offset | No | Integer | Offset, 0 by default For further information on Offset, please refer to relevant sections in API [Overview] (https://www.tencentcloud.com/document/api/213/15688?from_cn_redirect=1). |
Limit | No | Integer | Number of returned pieces, 20 by default and can be up to 100. For further information on Limit, please refer to relevant sections in API [Overview] (https://www.tencentcloud.com/document/api/213/15688?from_cn_redirect=1). |
IsCompute | No | Boolean | Whether to query only the computing type? |
Parameter Name | Type | Description |
---|---|---|
DedicatedClusterTypeSet | Array of DedicatedClusterType | List of CDC configurations |
TotalCount | Integer | Number of records that meet the conditions |
RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
This example shows you how to query the CDC order configuration list.
POST / HTTP/1.1
Host: cdc.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeDedicatedClusterTypes
<Common request parameters>
{
"Name": "abc",
"DedicatedClusterTypeIds": [
"abc"
],
"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.800000",
"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.700000",
"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.100000",
"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.100000",
"ComputeFormatDesc": "M5.21XLARGE700 4, S5.21XLARGE320 2"
}
],
"TotalCount": 4,
"RequestId": "66221c03-1429-4b8b-b66a-dffa2771536e"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InvalidParameterValue | The parameter value is invalid. |
InvalidParameterValue.InvalidAppIdFormat | The returned value of ccdb is not 0. |
Was this page helpful?