Modifies the parameters of a node and applies them to specified nodes.
Debugging
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.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
polardb:ModifyDBNodesParameters | update | *DBCluster acs:polardb:{#regionId}:{#accountId}:{#resource-type}/{#resource-id} |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DBClusterId | string | Yes | The cluster ID. | pc-************** |
DBNodeIds | string | Yes | The ID of the node. You can specify multiple node IDs. Separate multiple node IDs with commas (,). | pi-****************, pi-**************** |
Parameters | string | No | The JSON string that specifies the parameter and its value. | {"wait_timeout":"86","innodb_old_blocks_time":"10"} |
ParameterGroupId | string | No | The ID of the parameter template that is used for the cluster. | pcpg-************** |
PlannedStartTime | string | No | 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 |
PlannedEndTime | string | No | 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 |
FromTimeService | boolean | No | 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
Examples
Sample success responses
JSON
format
{
"RequestId": "EBEAA83D-1734-42E3-85E3-E25F6E******"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidParameters.Format | Specified parameters is not valid. | The specified parameters are invalid. |
400 | InvalidDBType.Malformed | The Specified DBType is not valid. | The specified database type is invalid. |
400 | InvalidDBNodeId.Malformed | The specified parameter DBNodeId is not valid. | The specified DBNodeId parameter is invalid. |
400 | InvalidParameterGroupId.Malformed | The Specified parameter ParameterGroupId is not valid. | The specified ParameterGroupId parameter is invalid. |
400 | InvalidParameters.Malformed | The Specified parameters is not valid. | The specified parameter is invalid. |
400 | InvalidParameter.Malformed | Choose one of parameters and ParamGroupId. | You must select a ParamGroupId from parameters. |
404 | InvalidDBCluster.NotFound | The specified DBClusterId is not found. | The specified cluster ID does not exist. |
404 | InvalidDBClusterId.Malformed | The 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 time | Summary of changes | Operation |
---|---|---|
2023-09-12 | The Error code has changed | View Change Details |
2022-02-24 | The Error code has changed | View Change Details |
2022-02-24 | Add Operation | View Change Details |
2022-02-24 | The Error code has changed. The request parameters of the API has changed | View Change Details |