You are not logged in.
ChangeGaussMySqlInstanceSpecification
This API is used to change DB instance specifications.
Name | Type | IN | Mandatory | Description |
---|---|---|---|---|
X-Language | string | header | No | Language. |
X-Auth-Token | string | header | No | User token. |
instance_id | string | path | Yes | Instance ID, which is compliant with the UUID format. |
project_id | string | path | Yes | Project ID of a tenant in a region. |
Name | Type | Mandatory | Description |
---|---|---|---|
resize_flavor | MysqlResizeFlavor object | Yes | Specification change information. |
is_auto_pay | string | No | Whether the order will be automatically paid after the specifications of a yearly/monthly instance are changed. true: Default value. It indicates the order will be automatically paid from your account. false: indicates the order will be manually paid. |
Name | Type | Mandatory | Description |
---|---|---|---|
spec_code | string | Yes | Specification code |
Success.
Name | Type | Description |
---|---|---|
job_id | string | Task ID of specification change. This parameter is returned only when DB instances are billed at a pay-per-use basis. |
order_id | string | Order ID. This parameter is returned only when DB instances are billed at a yearly/monthly basis. |
Client error.
Name | Type | Description |
---|---|---|
error_code | string | Error code. |
error_msg | string | Error message. |
Server error.
Name | Type | Description |
---|---|---|
error_code | string | Error code. |
error_msg | string | Error message. |
Changing instance specifications
"POST https://{endpoint}/v3/054e292c9880d4992f02c0196d3ea468/instances/ba62a0b83a1b42bfab275829d86ac0fdin07/action"
{
"resize_flavor": {
"spec_code": "taurus.large.4"
}
}
Success.
{
"job_id": "dff1d289-4d03-4942-8b9f-463ea07c000d"
}