更新时间:2024-03-05 GMT+08:00

SFS授权项分类

查询API版本

权限

对应API接口

授权项

IAM项目

(Project)

企业项目

(Enterprise Project)

查询API版本(OpenStack原生)

GET /

-

×

×

查询API版本(OpenStack原生)

GET /{api_version}/

-

×

×

文件共享

权限

对应API接口

授权项

IAM项目

(Project)

企业项目

(Enterprise Project)

创建共享

(OpenStack原生)

POST /v2/{project_id}/shares

sfs:shares:createShare

查询所有共享

(OpenStack原生)

GET /v2/{project_id}/shares

sfs:shares:getShare

查询所有共享详细信息

(OpenStack原生)

GET /v2/{project_id}/shares/detail

sfs:shares:getAllSharesDetail

查询单个共享详细信息

(OpenStack原生)

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

sfs:shares:getShareDetail

查询共享挂载路径

(OpenStack原生)

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

sfs:shares:getShareExportLocations

修改共享

(OpenStack原生)

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

sfs:shares:updateShare

删除共享

(OpenStack原生)

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

sfs:shares:deleteShare

共享访问规则

权限

对应API接口

授权项

IAM项目

(Project)

企业项目

(Enterprise Project)

添加共享访问规则

(OpenStack原生)

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

sfs:shares:ShareAction

删除共享访问规则

(OpenStack原生)

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

sfs:shares:ShareAction

查询共享访问规则

(OpenStack原生)

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

sfs:shares:ShareAction

配额管理

权限

对应API接口

授权项

IAM项目

(Project)

企业项目

(Enterprise Project)

查询租户配额

(OpenStack原生)

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

sfs:quotas:getOSQuotaSets

×

扩容缩容

权限

对应API接口

授权项

IAM项目

(Project)

企业项目

(Enterprise Project)

扩容共享

(OpenStack原生)

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

sfs:shares:ShareAction

缩容共享

(OpenStack原生)

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

sfs:shares:ShareAction

共享标签

权限

对应API接口

授权项

IAM项目

(Project)

企业项目

(Enterprise Project)

添加共享标签

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

sfs:tags:addShareTags

×

删除共享标签

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

sfs:tags:deleteShareTags

×

查询共享标签

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

sfs:tags:getShareTags

×

查询租户所有共享标签

GET /v2/{project_id}/sfs/tags

sfs:tags:getAllTags

×

批量添加共享标签

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

sfs:tags:batchShareTags

×

批量删除共享标签

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

sfs:tags:batchShareTags

×

根据标签查询共享详情

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

sfs:tags:getShareByTags

×

根据标签查询共享个数

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

sfs:tags:getShareByTags

×

可用区

权限

对应API接口

授权项

IAM项目

(Project)

企业项目

(Enterprise Project)

查询可用区

(OpenStack原生)

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

sfs:availabilityZones:getAvailabilityZones

×