Modifying Instance Specifications
Function
This API is used to modify instance specifications.
Debugging
You can use API Explorer to debug this API.
URI
POST /v2/{project_id}/instances/{instance_id}/extend
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | Project ID. |
| instance_id | Yes | String | Instance ID. |
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| new_spec_code | Yes | String | Specification ID after the change. |
| new_storage_space | Yes | Integer | Message storage space in GB after the change. |
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| job_id | String | ID of the specification modification task. |
Example Requests
POST https://{endpoint}/v2/{project_id}/instances/{instance_id}/extend
{
"new_spec_code" : "dms.instance.rabbitmq.cluster.c3.4u8g.5",
"new_storage_space" : 500
} Example Responses
Status code: 200
Instance specifications are modified successfully.
{
"job_id" : "93b94287-728d-4bb1-a158-cb66cb0854e7"
} Status Codes
| Status Code | Description |
|---|---|
| 200 | Instance specifications are modified successfully. |
Error Codes
See Error Codes.
Last Article: Querying Product Information for Instance Specification Modification
Next Article: Background Task Management
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.