Scaling up Storage of a Yearly/Monthly DB Instance
Function
This API is used to scale up storage space of a yearly/monthly DB instance. Before calling this API:
This API will be unavailable on March 31, 2025. You are advised to switch workloads to the new API (Scaling up Storage of a Yearly/Monthly DB Instance) before then.
- Learn how to authorize and authenticate it.
- Obtain the required region and endpoint.
URI
- URI format
POST https://{endpoint}/mysql/v3/{project_id}/instances/{instance_id}/volume/extend
- Example
POST https://{endpoint}/mysql/v3/0483b6b16e954cb88930a360d2c4e663/instances/dsfae23fsfdsae3435in01/volume/extend
- Parameter description
Table 1 Parameter description Name
Mandatory
Description
project_id
Yes
Project ID of a tenant in a region.
To obtain this value, see Obtaining a Project ID.
instance_id
Yes
Instance ID, which is compliant with the UUID format.
Request
Name |
Mandatory |
Type |
Description |
---|---|---|---|
size |
Yes |
Integer |
Storage space after expansion. The value ranges from 40 GB to 128,000 GB. The minimum increment for each scaling is 10 GB. |
is_auto_pay |
No |
String |
Whether the order will be automatically paid.
|
- Request example
{ "size":50, "is_auto_pay":"true" }
Response
- Normal response
Table 3 Parameter description Name
Type
Description
size
Integer
Storage space after expansion.
order_id
String
Order ID.
- Example normal response
{ "size":50, "order_id": "CS2006231950I8NQA" }
Status Code
For details, see Status Codes.
Error Code
For details, see Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot