Updated on 2024-03-21 GMT+08:00

API Overview

APIs provided by SFS include SFS APIs, SFS Turbo APIs, and native OpenStack APIs.

The call frequency limit of SFS Capacity-Oriented APIs is 400 calls/minute. If you call a large number of APIs at a time, some APIs may fail to be called. You are advised to evenly arrange API calls.

Some SFS Capacity-Oriented APIs are the same as those provided by OpenStack Manila of the Mitaka version. For details about how to use them, visit the community:

https://docs.openstack.org/api-ref/shared-file-system/

If the description about an API in this document differs from that in the community, the description in this document is used.

SFS Capacity-Oriented APIs

Table 1 API overview

File System Type

Type

Subtype

Description

SFS

Native OpenStack API

API version queries

You can use APIs in this category to query the versions and details of all APIs.

File systems

You can use APIs in this category to create shared file systems and obtain detailed information about them, such as the shared paths.

File system access rules

You can use APIs in this category to add, modify, and delete file system access rules, such as configuring VPC.

Quota management

If the number of created shared file systems reaches the upper limit, you can increase quota by using APIs in this category.

Capacity expansion and reduction

If you want to change the capacity of a created shared file system, you can use APIs in this category to expand or reduce the capacity.

SFS Turbo APIs

By using the SFS Turbo APIs, you can create, delete, query SFS Turbo file systems as well as expanding the capacity of an SFS Turbo file system.

Table 2 API overview

Type

Subtype

Description

SFS Turbo API

Lifecycle management

Include creating file systems, deleting file systems, querying file system lists, and querying file system details.

SFS Turbo API

Storage capacity management

Expand the capacity of a specified file system.

SFS Turbo API

Connection management

Change the security group bound to an SFS Turbo file system.