Restarts a node of a PolarDB cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:RestartDBNode |
update |
*DBNode
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBNodeId |
string |
Yes |
The ID of the cluster node. Note
Call the DescribeDBClusters operation to query the details of all clusters under your account, including node IDs. |
pi-************* |
| PlannedStartTime |
string |
No |
The earliest time to start the scheduled node restart. The task is executed within a specified time window. The time must be in the Note
|
2021-01-14T09:00:00Z |
| PlannedEndTime |
string |
No |
The latest time to start the scheduled task. The time must be in the Note
|
2021-01-14T09:30:00Z |
| FromTimeService |
string |
No |
Specifies whether to restart the node immediately or at a scheduled time. Valid values:
|
false |
| RegionId |
string |
No |
The region ID. Note
Call the DescribeRegions operation to query the available regions. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
D0CEC6AC-7760-409A-A0D5-E6CD86****** |
Examples
Success response
JSON format
{
"RequestId": "D0CEC6AC-7760-409A-A0D5-E6CD86******"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidDBNodeId.Malformed | The specified parameter DBNodeId is not valid. | The specified DBNodeId parameter is invalid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.