Queries the changes to the parameters of a PolarDB-X instance.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | Yes | DescribeModifyParameterLog |
The operation that you want to perform. Set the value to DescribeModifyParameterLog. |
| RegionId | String | Yes | cn-hangzhou |
The region ID of the instance. |
| DBInstanceId | String | Yes | pxc-uf6f012812v3a**** |
The ID of the instance. |
| ParamLevel | String | No | compute |
The parameter level. Valid values:
|
| StartTime | String | Yes | 2021-11-03T16:00Z |
The beginning of the time range to query. |
| EndTime | String | Yes | 2021-11-04T15:59 |
The end of the time range to query. |
| PageSize | String | No | 20 |
The number of entries to return on each page. |
| PageNumber | String | No | 1 |
The number of the page to return. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | 90075C5C-55B6-52A7-B821-DBD59C7CAF77 |
The ID of the request. |
| PageNumber | Integer | 1 |
The page number of the returned page. |
| PageSize | Integer | 20 |
The number of entries returned per page. |
| ChangeLogs | Array of ChangeLog | ||
| OldParameterValue | String | 50 |
The parameter value before the change. |
| ParameterName | String | CONN_POOL_IDLE_TIMEOUT |
The name of the parameter. |
| Synced | Integer | 1 |
Indicates whether the change is synchronized to nodes. |
| NewParameterValue | String | 30 |
The new value of the parameter. |
| ChangeTime | String | 2021-11-04T15:45 |
The time when the value was changed. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeModifyParameterLog
&RegionId=cn-hangzhou
&DBInstanceId=pxc-uf6f012812v3a2z77
&ParamLevel=compute
&StartTime=2021-11-03T16:00Z
&EndTime=2021-11-04T15:59
&PageSize=20
&PageNumber=1
&<Common request parameters>
Sample success responses
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeModifyParameterLogResponse>
<RequestId>90075C5C-55B6-52A7-B821-DBD59C7CAF77</RequestId>
<PageNumber>1</PageNumber>
<PageSize>20</PageSize>
<ChangeLogs>
<OldParameterValue>50</OldParameterValue>
<ParameterName>CONN_POOL_IDLE_TIMEOUT</ParameterName>
<Synced>1</Synced>
<NewParameterValue>30</NewParameterValue>
<ChangeTime>2021-11-04T15:45</ChangeTime>
</ChangeLogs>
</DescribeModifyParameterLogResponse>
JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "90075C5C-55B6-52A7-B821-DBD59C7CAF77",
"PageNumber" : 1,
"PageSize" : 20,
"ChangeLogs" : [ {
"OldParameterValue" : "50",
"ParameterName" : "CONN_POOL_IDLE_TIMEOUT",
"Synced" : 1,
"NewParameterValue" : "30",
"ChangeTime" : "2021-11-04T15:45"
} ]
}
Error codes
| HttpCode | Error code | Error message | Description |
|---|---|---|---|
| 404 | InvalidDBInstance.NotFound | The specified DB instance does not exist. | The error message returned because the specified PolarDB-X instance does not exist. |
For a list of error codes, visit the API Error Center.