Domain name for API request: cdwdoris.tencentcloudapi.com.
This API is used to obtain the modification history of cluster configuration files.
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: DescribeClusterConfigsHistory. |
Version | Yes | String | Common Params. The value used for this API: 2021-12-28. |
Region | No | String | Common Params. This parameter is not required for this API. |
InstanceId | Yes | String | Cluster ID |
Offset | Yes | Integer | Pagination parameters. The first page is 0, and the second page is 10. |
Limit | Yes | Integer | Pagination parameters. The pagination step length is 10 by default. |
StartTime | Yes | String | Start of the time range for configuration modification history |
EndTime | Yes | String | End of the time range for configuration modification history |
ConfigFileNames.N | No | Array of String | Configuration file name array to be queried. If it is empty, all historical records will be queried. Currently supported configuration file names are as follows: apache_hdfs_broker.conf; be.conf; fe.conf; core-site.xml; hdfs-site.xml; odbcinst.ini |
Parameter Name | Type | Description |
---|---|---|
TotalCount | Integer | Total number of instances |
ClusterConfHistory | Array of ClusterConfigsHistory | Modification history of the configuration file |
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. |
POST / HTTP/1.1
Host: cdwdoris.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeClusterConfigsHistory
<Common request parameters>
{
"InstanceId": "abc",
"ConfigFileNames": [
"abc"
],
"Offset": 0,
"Limit": 0,
"StartTime": "abc",
"EndTime": "abc"
}
{
"Response": {
"TotalCount": 0,
"ClusterConfHistory": [
{
"FileName": "abc",
"NewConfValue": "abc",
"OldConfValue": "abc",
"Remark": "abc",
"ModifyTime": "abc",
"UserUin": "abc"
}
],
"RequestId": "abc"
}
}
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 |
---|---|
InternalError | Internal error. |
本页内容是否解决了您的问题?