This API is used to scale up the storage space of a DB instance.
POST https://{Endpoint}/v3/{project_id}/instances/{instance_id}/enlarge-volume
Name |
Mandatory |
Description |
---|---|---|
project_id |
Yes |
Specifies the project ID of a tenant in a region. |
instance_id |
Yes |
Specifies the instance ID, which can be obtained by calling the API for querying instances. If you do not have an instance, you can call the API used for creating an instance. |
Name |
Mandatory |
Type |
Description |
---|---|---|---|
volume |
Yes |
Object |
Specifies detailed information about the volume request. For more information, see Table 3. |
Name |
Mandatory |
Type |
Description |
---|---|---|---|
group_id |
No |
String |
Specifies the role ID.
|
size |
Yes |
String |
Specifies the requested disk capacity. The value must be an integer multiple of 10 and greater than the current storage space.
|
POST https://dds.eu-de.otc.t-systems.com/v3/0549b4a43100d4f32f51c01c2fe4acdb/instances/9136fd2a9fcd405ea4674276ce36dae8in02/enlarge-volume
{ "volume": { "group_id":"1b0c008adbcb495c81a3d5762a02a2abgr02", "size":20 } }
{ "volume": { "size":20 } }
{ "volume": { "size":20 } }
Name |
Type |
Description |
---|---|---|
job_id |
String |
Indicates the task ID. |
{ "job_id": "3711e2ad-5787-49bc-a47f-3f0b066af9f5" }
For more information, see Error Code.