ModifyDBInstanceDiskType
Modifies the disk type of an ApsaraDB for MongoDB instance.
Operation description
This feature is not supported if the disk space is less than 40 GB.
Only Upgrade/Downgrade to the cloud_auto cloud disk type is supported.
The interval between two modifications of the IOPS provisioned performance for a single instance must be more than one hour. For more information, see Modify the performance configuration of an ESSD AutoPL cloud disk.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:ModifyDBInstanceDiskType |
update |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DbInstanceStorageType |
string |
No |
The new disk type. Valid values:
Note
Prerequisites: The disk space of the instance must be no less than 40 GB before you call this operation. If the disk space is insufficient, call ModifyDBInstanceSpec to expand the disk first. |
cloud_auto |
| ProvisionedIops |
integer |
No |
The provisioned performance (IOPS). Valid values: 0 to 50,000. Note
If DbInstanceStorageType is set to cloud_auto, this parameter is conditionally required and can be set to 0. If this parameter is not provided, the API returns InvalidParameter. |
1960 |
| DBInstanceId |
string |
Yes |
The instance ID. |
dds-bp1fa5efaa93**** |
| AutoPay |
boolean |
No |
Specifies whether to enable automatic payment. Valid values:
Default value: true. |
true |
| BusinessInfo |
string |
No |
The additional parameter for business information. |
{“ActivityId":"000000000"} |
| CouponNo |
string |
No |
The coupon code. Default value: |
youhuiquan_promotion_option_id_for_blank |
| ExtraParam |
string |
No |
The additional parameter. |
async |
| AutoRenew |
string |
No |
Specifies whether to enable auto-renewal. Valid values:
Default value: false. |
false |
| OrderType |
string |
No |
The configuration change type. Valid values:
Note
This parameter is available only when the billing method of the instance is subscription. |
UPGRADE |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
D8F1D721-6439-4257-A89C-F1E8E9C9**** |
| OrderId |
string |
The order ID. |
21012719476**** |
Examples
Success response
JSON format
{
"RequestId": "D8F1D721-6439-4257-A89C-F1E8E9C9****",
"OrderId": "21012719476****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.