Call the DescribeConfigVersionDifference operation to compare the parameter values of an ApsaraDB for ClickHouse community-compatible cluster before and after a configuration change.
Operation description
This operation applies only to community-compatible clusters that were created after December 1, 2021.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
clickhouse:DescribeConfigVersionDifference |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The cluster ID. Call the DescribeDBClusters operation to query the IDs of all clusters in the destination region. |
cc-bp1tm8zf130ew**** |
| ChangeId |
string |
Yes |
The ID of the change record. Call the DescribeConfigHistory operation to query the IDs of change records. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
D0CEC6AC-7760-409A-A0D5-E6CD8660E9CC |
| OldConfigXML |
string |
The configuration parameters before the change. |
"
|
| NewConfigXML |
string |
The configuration parameters after the change. |
"
|
Examples
Success response
JSON format
{
"RequestId": "D0CEC6AC-7760-409A-A0D5-E6CD8660E9CC",
"OldConfigXML": "\"\n\n 300\n 4096\n \n debug\n 1000M\n \n 5368709120\n 150\n 4096\n 0\n 0\n \n 256\n auto\n 100\n 1\n \n 1717986918\n\"",
"NewConfigXML": "\"\n\n 400\n 4096\n \n debug\n 1000M\n \n 5368709120\n 201\n 4096\n 0\n 0\n \n 256\n auto\n 100\n 1\n \n 1717986918\n\""
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IdempotentParameterMismatch | The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.