All Products
Search
Document Center

PolarDB:ModifyDBNodesParameters

Last Updated:Jan 22, 2025

Modifies the parameters of a node and applies them to specified nodes.

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:
    • For mandatory resource types, indicate with a prefix of * .
    • 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:ModifyDBNodesParametersupdate
*DBCluster
acs:polardb:{#regionId}:{#accountId}:{#resource-type}/{#resource-id}
    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.
400InvalidDBNodeId.MalformedThe specified parameter DBNodeId is not valid.The specified DBNodeId parameter is invalid.
400InvalidParameterGroupId.MalformedThe Specified parameter ParameterGroupId is not valid.The specified ParameterGroupId parameter is invalid.
400InvalidParameters.MalformedThe Specified parameters is not valid.The specified parameter is invalid.
400InvalidParameter.MalformedChoose one of parameters and ParamGroupId.You must select a ParamGroupId from parameters.
404InvalidDBCluster.NotFoundThe specified DBClusterId is not found.The specified cluster ID does not exist.
404InvalidDBClusterId.MalformedThe specified parameter DBClusterId is not valid.The specified DBClusterId parameter is invalid.

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

Change history

Change timeSummary of changesOperation
2023-09-12The Error code has changedView Change Details
2022-02-24The Error code has changedView Change Details
2022-02-24Add OperationView Change Details
2022-02-24The Error code has changed. The request parameters of the API has changedView Change Details