All Products
Search
Document Center

ApsaraDB for OceanBase:DescribeParametersHistory

Last Updated:Oct 23, 2024

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

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
oceanbase:DescribeParametersHistoryget
  • All Resources
    *
    none
none

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
Respondarray<object>

The list of parameter modification records.

Dataobject

The return result of the request.

TotalCountinteger

The number of parameter modification records.

2
PageNumberinteger

The number of returned entries on each page.

Default value: 10.
Parametersarray<object>

The parameter modification history.

Parametersobject

The return result of the request.

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