Modifies the storage performance of a PolarDB for MySQL cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyDBClusterStoragePerformance |
update |
*DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The cluster ID. |
pc-************* |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. The value is generated by the client and must be unique among different requests. The token is case-sensitive and can be up to 64 ASCII characters in length. |
6000170000591aed949d0f****************** |
| ProvisionedIops |
integer |
No |
|
2500 |
| StorageType |
string |
No |
The target storage type. Valid values for Enterprise Edition:
Valid values for Standard Edition:
|
ESSDAUTOPL |
| BurstingEnabled |
string |
No |
Specifies whether to enable the I/O performance burst feature for the ESSD AutoPL cloud disk. Valid values:
Note
This parameter is supported only when StorageType is set to ESSDAUTOPL. Valid values:
|
false |
| ModifyType |
string |
No |
The modification type. Valid values:
|
Upgrade |
| AutoUseCoupon |
boolean |
No |
Specifies whether to automatically use a coupon. Valid values:
|
|
| PromotionCode |
string |
No |
The coupon code. If you do not specify this parameter, the default coupon is used. |
727xxxxxx934 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| DBClusterId |
string |
The cluster ID. |
pc-************ |
| OrderId |
string |
The ID of the generated order. |
2035629****** |
| RequestId |
string |
The request ID. |
E56531A4-E552-40BA-9C58-137B80****** |
Examples
Success response
JSON format
{
"DBClusterId": "pc-************\t\n",
"OrderId": "2035629******",
"RequestId": "E56531A4-E552-40BA-9C58-137B80******"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidTaskOperation | There is a cooling period after the storage performance is successfully modified. | |
| 403 | OperationDenied.ClusterCategory | The operation is not permitted due to cluster category. | This series is not supported by the cluster. |
| 404 | InvalidParameterValue.Limit | Provisioned IOPS must less than %s, current is %s. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.