NFS access using the ECS Management REST API
You can use the following APIs to configure and manage NFS access.
Method | Description |
---|---|
POST /object/nfs/exports |
Creates an export. The payload specifies the export path, the hosts that can access the export, and a string that defines the security settings for the export. |
PUT/GET/DELETE /object/nfs/exports/{id} |
Performs the selected operation on the specified export. |
GET /object/nfs/exports |
Retrieves all user exports that are defined for the current namespace. |
POST /object/nfs/users |
Creates a mapping between an ECS object user name or group name and a Unix user or group ID. |
PUT/GET/DELETE /object/nfs/users/{mappingid} |
Performs the selected operation on the specified user or group mapping. |
GET /object/nfs/users |
Retrieves all user mappings that are defined for the current namespace. |
The ECS Management REST API documentation provides full details of the API and the documentation for the NFS export methods can be accessed in the ECS API Reference.