Modifies the disk type of an ApsaraDB for MongoDB instance.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
dds:ModifyDBInstanceDiskType | update |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DbInstanceStorageType | string | No | The new disk type. Valid values:
| cloud_auto |
ProvisionedIops | long | 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. Default value: | youhuiquan_promotion_option_id_for_blank |
ExtraParam | string | No | An additional parameter. | async |
AutoRenew | string | No | Specifies whether to enable auto-renewal. Valid values:
Default value: false. | false |
OrderType | string | No | The type of configuration changes. Valid values:
Note
This parameter is valid only when the billing method of the instance is subscription.
| UPGRADE |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "D8F1D721-6439-4257-A89C-F1E8E9C9****",
"OrderId": "21012719476****"
}
Error codes
For a list of error codes, visit the Service error codes.