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. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token is case-sensitive and can contain only ASCII characters. The token can be up to 64 characters in length. |
6000170000591aed949d0f****************** |
| ProvisionedIops |
integer |
No |
|
2500 |
| StorageType |
string |
No |
The target storage type. Valid values for PolarDB Enterprise Edition:
Valid values for PolarDB for MySQL Standard Edition:
|
ESSDAUTOPL |
| BurstingEnabled |
string |
No |
Specifies whether to enable I/O performance burst for the ESSD AutoPL cloud disk. Valid values:
Note
This parameter is supported only when StorageType is set to ESSDAUTOPL. |
false |
| ModifyType |
string |
No |
The type of the specification change. Valid values:
|
Upgrade |
| AutoUseCoupon |
boolean |
No |
Specifies whether to automatically use coupons. Valid values:
|
|
| PromotionCode |
string |
No |
The coupon code. If this parameter is not specified, the default coupon is used. |
727xxxxxx934 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| DBClusterId |
string |
The cluster ID. |
pc-************ |
| OrderId |
string |
The order ID. |
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.