Modifies the storage space of pay-as-you-go Enterprise Edition and Standard Edition clusters.
Operation description
You cannot scale in the storage space of a PolarDB for PostgreSQL cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyDBClusterStorageSpace |
update |
*DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The ID of the cluster. |
pc-************* |
| StorageSpace |
integer |
Yes |
The new storage space. Unit: GB. Note
The storage space of a PolarDB for MySQL Standard Edition cluster ranges from 20 GB to 32,000 GB. |
50 |
| ClientToken |
string |
No |
A token that ensures the idempotence of the request. The token is generated by the client and must be unique among different requests. The token is case-sensitive and cannot exceed 64 ASCII characters in length. |
6000170000591aed949d0f54a343f1a4233c1e7d1c5c****** |
| PlannedStartTime |
string |
No |
The earliest time to start the scheduled task. The task runs within a specified time window. Specify the time in the Note
|
2021-01-14T09:00:00Z |
| PlannedEndTime |
string |
No |
The latest time to start the scheduled task. Specify the time in the Note
|
2021-01-14T09:30:00Z |
| SubCategory |
string |
No |
The subcategory of the cluster. Valid values:
|
normal_general |
| CloudProvider |
string |
No |
ENS |
|
| AutoUseCoupon |
boolean |
No |
||
| PromotionCode |
string |
No |
727xxxxxx934 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
685F028C-4FCD-407D-A559-072D63****** |
| DBClusterId |
string |
The ID of the database cluster. |
pc-************* |
| OrderId |
string |
The ID of the order. |
2035629****** |
Examples
Success response
JSON format
{
"RequestId": "685F028C-4FCD-407D-A559-072D63******",
"DBClusterId": "pc-*************",
"OrderId": "2035629******"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameters.Malformed | The Specified parameters is not valid. | The specified parameter is invalid. |
| 403 | OperationDenied.ModifyStorageSpace | This cluster edition does not support extension of storage capacity. | This cluster edition does not support extension of storage capacity. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.