All Products
Search
Document Center

PolarDB:ModifyDBNodesParameters

Last Updated:Jun 17, 2024

Modifies the parameter settings of a node and applies the new settings to another specified node.

Debugging

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

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
polardb:ModifyDBNodesParametersWrite
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
DBClusterIdstringYes

The cluster ID.

pc-**************
DBNodeIdsstringYes

The ID of the node. You can specify multiple node IDs. Separate multiple node IDs with commas (,).

pi-****************, pi-****************
ParametersstringNo

The JSON string that specifies the parameter and its value.

{"wait_timeout":"86","innodb_old_blocks_time":"10"}
ParameterGroupIdstringNo

The ID of the parameter template that is used for the cluster.

pcpg-**************
PlannedStartTimestringNo

The earliest start time to run the task to upgrade the kernel version of the cluster. The task runs within a specified period of time. Specify the time in the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time must be in UTC.

2022-04-28T14:00:00Z
PlannedEndTimestringNo

The latest start time to run the task. Specify the time in the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time must be in UTC.

2022-04-28T14:30:00Z
FromTimeServicebooleanNo

Specifies whether to immediately run the task to modify parameters and restart the cluster. Valid values: false: runs the task on schedule. true: runs the task immediately. Default value: false.

false

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

EBEAA83D-1734-42E3-85E3-E25F6E******

Examples

Sample success responses

JSONformat

{
  "RequestId": "EBEAA83D-1734-42E3-85E3-E25F6E******"
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidParameters.FormatSpecified parameters is not valid.The specified parameters are invalid.
400InvalidDBType.MalformedThe Specified DBType is not valid.The specified database type is invalid.
404InvalidDBCluster.NotFoundThe specified DBClusterId is not found.The specified cluster ID does not exist.

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

Change history

Change timeSummary of changesOperation
2023-09-12The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    Error Codes 400 change
    Error Codes 404 change
2022-02-24The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 404
    Added Error Codes: 400
2022-02-24Add Operationsee changesets
2022-02-24The Error code has changed. The request parameters of the API has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 400
    delete Error Codes: 404
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: PlannedStartTime
    Added Input Parameters: PlannedEndTime
    Added Input Parameters: FromTimeService