Expanding the Capacity of a File System
Function
This API is used to expand the capacity of a file system.
URI
POST /v1/{project_id}/sfs-turbo/shares/{share_id}/action
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID |
share_id |
Yes |
String |
File system ID |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
Account token |
Content-Type |
Yes |
String |
MIME type |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
extend |
Yes |
Extend object |
Object of extend |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
new_size |
Yes |
Integer |
New capacity of the file system, in GB The expansion increment is greater than or equal to 100 GB. For a standard file system, the value ranges from 500 to 32768, in GB. For an enhanced file system, the value ranges from 10240 to 327680, in GB. Minimum: 500 Maximum: 327680 |
Response Parameters
Status code: 202
Parameter |
Type |
Description |
---|---|---|
id |
String |
ID of the SFS Turbo file system |
name |
String |
Name of the SFS Turbo file system |
Example Requests
{ "extend" : { "new_size" : 500 } }
Example Responses
Status code: 202
Response body for expanding the capacity of a file system
{ "id" : "67d4bd5e-7b2f-4c24-9a0b-c0038940c6f8", "name" : "sfs-turbo-test" }
Status Codes
Status Code |
Description |
---|---|
202 |
Response body for expanding the capacity of a file system |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.