Updated on 2022-09-21 GMT+08:00

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

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID

share_id

Yes

String

File system ID

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Account token

Content-Type

Yes

String

MIME type

Table 3 Request body parameters

Parameter

Mandatory

Type

Description

extend

Yes

Extend object

Object of extend

Table 4 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

Table 5 Response body parameters

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.