Disables steady-state Serverless.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DisableDBClusterServerless |
update |
*DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The cluster ID. |
pc-*************** |
| PlannedStartTime |
string |
No |
The earliest time to start running the scheduled task (that is, the task is run within the specified time range). Specify the time in the YYYY-MM-DDThh:mm:ssZ format (UTC). |
2022-04-28T14:00:00Z |
| PlannedEndTime |
string |
No |
The latest time to start running the scheduled task. Specify the time in the YYYY-MM-DDThh:mm:ssZ format (UTC). |
2022-04-28T14:30:00Z |
| FromTimeService |
boolean |
No |
Specifies whether to immediately run the task or run it during a scheduled time window. Valid values:
|
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
CD3FA5F3-FAF3-44CA-AFFF-BAF869****** |
| DBClusterId |
string |
The serverless cluster ID. |
pc-**************** |
Examples
Success response
JSON format
{
"RequestId": "CD3FA5F3-FAF3-44CA-AFFF-BAF869******",
"DBClusterId": "pc-****************"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidDBInstanceClass.NotFound | rw class code must be equal with hot replica | The specification of the secondary node must be the same as that of the primary node. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.