Modifies the disk type of an ApsaraDB for MongoDB instance.
Operation description
This feature is not supported for instances with less than 40 GB of disk space.
You can change the disk type only to an ESSD AutoPL disk (cloud_auto).
The interval between two consecutive modifications to the provisioned input/output operations per second (IOPS) of an instance must be longer than one hour. For more information, see Modify the performance of an ESSD AutoPL 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 disk type after the modification. Valid value:
| cloud_auto |
ProvisionedIops | integer | No | The provisioned IOPS. Valid values: 0 to 50000. | 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 business information. This is an additional parameter. | {“ActivityId":"000000000"} |
CouponNo | string | No | The coupon code. The default value is | youhuiquan_promotion_option_id_for_blank |
ExtraParam | string | No | An additional parameter. | async |
AutoRenew | string | No | Specifies whether to enable auto-renewal for the instance. Valid values:
Default value: false | false |
OrderType | string | No | The order type. Valid values:
Note This parameter is available only when the instance uses the subscription billing method. | UPGRADE |
Response elements
Parameter | Type | Description | Example |
object | |||
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.