Help Center > > API Reference> Permissions Policies and Supported Actions> API Permissions> SFS API Actions

SFS API Actions

Updated at: Oct 26, 2019 GMT+08:00

Querying API Versions

API

Permissions

Actions

Authorization Scope

GET /

Querying the API version (Native OpenStack API)

-

  • Not supported:

Projects

  • Not supported:

Enterprise projects

GET /{api_version}/

Querying the API version (Native OpenStack API)

-

  • Not supported:

Projects

  • Not supported:

Enterprise projects

Shared File Systems

API

Permissions

Actions

Authorization Scope

POST /v2/{project_id}/shares

Creating a shared file system

(Native OpenStack API)

  • sfs:shares:createShare
  • Supported:

Projects

Enterprise projects

GET /v2/{project_id}/shares

Querying all shared file systems

(Native OpenStack API)

  • sfs:shares:getShare
  • Supported:

Projects

Enterprise projects

GET /v2/{project_id}/shares/detail

Querying details about all shared file systems

(Native OpenStack API)

  • sfs:shares:getAllSharesDetail
  • Supported:

Projects

Enterprise projects

GET /v2/{project_id}/shares/{share_id}

Querying details about a shared file system

(Native OpenStack API)

  • sfs:shares:getShareDetail
  • Supported:

Projects

Enterprise projects

GET /v2/{project_id}/shares/{share_id}/export_locations

Querying mount locations of a shared file system

(Native OpenStack API)

  • sfs:shares:getShareExportLocations
  • Supported:

Projects

Enterprise projects

PUT /v2/{project_id}/shares/{share_id}

Modifying a shared file system

(Native OpenStack API)

  • sfs:shares:updateShare
  • Supported:

Projects

Enterprise projects

DELETE /v2/{project_id}/shares/{share_id}

Deleting a shared file system

(Native OpenStack API)

  • sfs:shares:deleteShare
  • Supported:

Projects

Enterprise projects

Share Access Rules

API

Permissions

Actions

Authorization Scope

POST /v2/{project_id}/shares/{share_id}/action

Adding share access rules

(Native OpenStack API)

  • sfs:shares:ShareAction
  • Supported:

Projects

Enterprise projects

POST /v2/{project_id}/shares/{share_id}/action

Deleting share access rules

(Native OpenStack API)

  • sfs:shares:ShareAction
  • Supported:

Projects

Enterprise projects

POST /v2/{project_id}/shares/{share_id}/action

Querying share access rules

(Native OpenStack API)

  • sfs:shares:ShareAction
  • Supported:

Projects

Enterprise projects

Quota Management

API

Permissions

Actions

Authorization Scope

GET /v2/{project_id}/os-quota-sets/{project_id}

Querying the tenant quota

(Native OpenStack API)

  • sfs:quotas:getOSQuotaSets
  • Supported:

Projects

  • Not supported:

Enterprise projects

Capacity Expansion or Reduction

API

Permissions

Actions

Authorization Scope

POST /v2/{project_id}/shares/{share_id}/action

Expanding a shared file system

(Native OpenStack API)

  • sfs:shares:ShareAction
  • Supported:

Projects

Enterprise projects

POST /v2/{project_id}/shares/{share_id}/action

Shrinking a shared file system

(Native OpenStack API)

  • sfs:shares:ShareAction
  • Supported:

Projects

Enterprise projects

Tags for a Shared File System

API

Permissions

Actions

Authorization Scope

POST /v2/{project_id}/sfs/{share_id}/tags

Adding a tag to a shared file system

  • sfs:tags:addShareTags
  • Supported:

Projects

  • Not supported:

Enterprise projects

DELETE /v2/{project_id}/sfs/{share_id}/tags/{key}

Deleting a tag from a shared file system

  • sfs:tags:deleteShareTags
  • Supported:

Projects

  • Not supported:

Enterprise projects

GET /v2/{project_id}/sfs/{share_id}/tags

Querying a tag for a shared file system

  • sfs:tags:getShareTags
  • Supported:

Projects

  • Not supported:

Enterprise projects

GET /v2/{project_id}/sfs/tags

Querying all share tags of a tenant

  • sfs:tags:getAllTags
  • Supported:

Projects

  • Not supported:

Enterprise projects

POST /v2/{project_id}/sfs/{share_id}/tags/action

Batch adding tags to a shared file system

  • sfs:tags:batchShareTags
  • Supported:

Projects

  • Not supported:

Enterprise projects

POST /v2/{project_id}/sfs/{share_id}/tags/action

Batch deleting tags from a shared file system

  • sfs:tags:batchShareTags
  • Supported:

Projects

  • Not supported:

Enterprise projects

POST /v2/{project_id}/sfs/resource_instances/action

Querying details about a shared file system based on tags

  • sfs:tags:getShareByTags
  • Supported:

Projects

  • Not supported:

Enterprise projects

POST /v2/{project_id}/sfs/resource_instances/action

Querying the number of shared file systems based on tags

  • sfs:tags:getShareByTags
  • Supported:

Projects

  • Not supported:

Enterprise projects

AZ

API

Permissions

Actions

Authorization Scope

  • GET /v2/{project_id}/availability-zones?share_az={share_az}

Querying AZ

(Native OpenStack API)

  • sfs:availabilityZones:getAvailabilityZones
  • Supported:

Projects

  • Not supported:

Enterprise projects

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel