All Products
Search
Document Center

ApsaraDB for OceanBase:DescribeParametersHistory

Last Updated:Apr 29, 2024

You can call this operation to query the modification history of cluster or tenant parameters.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
InstanceIdstringYes

The ID of the OceanBase cluster.

ob317v4uif****
DimensionstringYes

The type of the parameter.
Valid values: CLUSTER and TENANT.

TENANT
DimensionValuestringNo

The resource ID of the parameter type.
You can leave this parameter unspecified when you call this operation to query the modification history of cluster parameters. In the case of tenant parameters, pass the tenant ID.

ob2mr3oae0****
StartTimestringYes

The start time of the time range for querying the parameter modification history.

2021-06-13 15:40:43
EndTimestringYes

The end time for the query of parameter modification history.

2021-09-13 15:40:43
PageSizeintegerYes

The number of rows to return on each page.

  • Maximum value: 100
  • Default value: 10
10
PageNumberintegerYes

The number of the page to return.

  • Start value: 1
  • Default value: 1
1

Response parameters

ParameterTypeDescriptionExample
object

The return result of the request.

RequestIdstring

The request ID.

EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C
Respondobject []

The list of parameter modification records.

TotalCountinteger

The number of parameter modification records.

2
PageNumberinteger

The number of returned entries on each page.

Default value: 10.
Parametersobject []

The parameter modification history.

Statusstring

The modification status. Valid values:

  • APPLIED: The modification was successful.
  • SCHEDULING: The modification was to be made.
APPLIED
OldValuestring

The parameter value before modification.

300
UpdateTimestring

The time when the parameter modification took effect.

2021-09-14 10:57:44
CreateTimestring

The time when the parameter modification was initiated.

2021-09-14 10:57:44
DimensionValuestring

The resource ID of the parameter type.

  • When you called this operation to query the modification history of cluster parameters, the value is DEFAULT_DIMENSION_VALUE.
  • When you called this operation to query the modification history of tenant parameters, the value is the tenant ID.
DEFAULT_DIMENSION_VALUE
Namestring

The name of the parameter.

connect_timeout
NewValuestring

The value of the parameter after the modification.

200

Examples

Sample success responses

JSONformat

{
  "RequestId": "EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C",
  "Respond": [
    {
      "TotalCount": 2,
      "PageNumber": 0,
      "Parameters": [
        {
          "Status": "APPLIED",
          "OldValue": "300",
          "UpdateTime": "2021-09-14 10:57:44",
          "CreateTime": "2021-09-14 10:57:44",
          "DimensionValue": "DEFAULT_DIMENSION_VALUE",
          "Name": "connect_timeout",
          "NewValue": "200"
        }
      ]
    }
  ]
}

Error codes

HTTP status codeError codeError message
500InternalErrorThe request processing has failed due to some unknown error.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history