This API is used to change DB instance specifications.
Services will be interrupted for 5 to 10 minutes when you change DB instance specifications. Exercise caution when performing this operation.
PATH: /rds/v1/{project_id}/instances/{instanceId}/action
Method: POST
Name |
Mandatory |
Description |
---|---|---|
project_id |
Yes |
Specifies the project ID of a tenant in a region. |
instanceId |
Yes |
Specifies the primary node ID of the DB instance. NOTE:
This field is not the DB instance ID. You are advised to use API v3 and the DB instance ID to perform related operations. |
Name |
Type |
Description |
---|---|---|
resize |
Dictionary data structure. For details, see Table 3. |
Specifies the information about the returned parameter flavorRef. |
Name |
Type |
Description |
---|---|---|
flavorRef |
String |
Specifies the specification ID (flavors.id in the response message in section Obtaining All DB Instance Specifications). |
{ "resize":{ "flavorRef":"0d922098-553c-4123-80df-e627a1d41a0d" } }
Name |
Type |
Description |
---|---|---|
jobId |
List data structure |
Indicates the jobId information. |
{ "jobId": [ "ff8080815703e6de015703e98504001a" ] }
For details, see Abnormal Request Results.