Documentation ¶
Index ¶
- func GenReqDefForBatchAddSharedTags() *def.HttpRequestDef
- func GenReqDefForChangeSecurityGroup() *def.HttpRequestDef
- func GenReqDefForCreateShare() *def.HttpRequestDef
- func GenReqDefForCreateSharedTag() *def.HttpRequestDef
- func GenReqDefForDeleteShare() *def.HttpRequestDef
- func GenReqDefForDeleteSharedTag() *def.HttpRequestDef
- func GenReqDefForExpandShare() *def.HttpRequestDef
- func GenReqDefForListSharedTags() *def.HttpRequestDef
- func GenReqDefForListShares() *def.HttpRequestDef
- func GenReqDefForShowShare() *def.HttpRequestDef
- func GenReqDefForShowSharedTags() *def.HttpRequestDef
- func SFSTurboClientBuilder() *http_client.HcHttpClientBuilder
- type SFSTurboClient
- func (c *SFSTurboClient) BatchAddSharedTags(request *model.BatchAddSharedTagsRequest) (*model.BatchAddSharedTagsResponse, error)
- func (c *SFSTurboClient) ChangeSecurityGroup(request *model.ChangeSecurityGroupRequest) (*model.ChangeSecurityGroupResponse, error)
- func (c *SFSTurboClient) CreateShare(request *model.CreateShareRequest) (*model.CreateShareResponse, error)
- func (c *SFSTurboClient) CreateSharedTag(request *model.CreateSharedTagRequest) (*model.CreateSharedTagResponse, error)
- func (c *SFSTurboClient) DeleteShare(request *model.DeleteShareRequest) (*model.DeleteShareResponse, error)
- func (c *SFSTurboClient) DeleteSharedTag(request *model.DeleteSharedTagRequest) (*model.DeleteSharedTagResponse, error)
- func (c *SFSTurboClient) ExpandShare(request *model.ExpandShareRequest) (*model.ExpandShareResponse, error)
- func (c *SFSTurboClient) ListSharedTags(request *model.ListSharedTagsRequest) (*model.ListSharedTagsResponse, error)
- func (c *SFSTurboClient) ListShares(request *model.ListSharesRequest) (*model.ListSharesResponse, error)
- func (c *SFSTurboClient) ShowShare(request *model.ShowShareRequest) (*model.ShowShareResponse, error)
- func (c *SFSTurboClient) ShowSharedTags(request *model.ShowSharedTagsRequest) (*model.ShowSharedTagsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForBatchAddSharedTags ¶
func GenReqDefForBatchAddSharedTags() *def.HttpRequestDef
func GenReqDefForChangeSecurityGroup ¶
func GenReqDefForChangeSecurityGroup() *def.HttpRequestDef
func GenReqDefForCreateShare ¶
func GenReqDefForCreateShare() *def.HttpRequestDef
func GenReqDefForCreateSharedTag ¶
func GenReqDefForCreateSharedTag() *def.HttpRequestDef
func GenReqDefForDeleteShare ¶
func GenReqDefForDeleteShare() *def.HttpRequestDef
func GenReqDefForDeleteSharedTag ¶
func GenReqDefForDeleteSharedTag() *def.HttpRequestDef
func GenReqDefForExpandShare ¶
func GenReqDefForExpandShare() *def.HttpRequestDef
func GenReqDefForListSharedTags ¶
func GenReqDefForListSharedTags() *def.HttpRequestDef
func GenReqDefForListShares ¶
func GenReqDefForListShares() *def.HttpRequestDef
func GenReqDefForShowShare ¶
func GenReqDefForShowShare() *def.HttpRequestDef
func GenReqDefForShowSharedTags ¶
func GenReqDefForShowSharedTags() *def.HttpRequestDef
func SFSTurboClientBuilder ¶
func SFSTurboClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type SFSTurboClient ¶
type SFSTurboClient struct {
HcClient *http_client.HcHttpClient
}
func NewSFSTurboClient ¶
func NewSFSTurboClient(hcClient *http_client.HcHttpClient) *SFSTurboClient
func (*SFSTurboClient) BatchAddSharedTags ¶
func (c *SFSTurboClient) BatchAddSharedTags(request *model.BatchAddSharedTagsRequest) (*model.BatchAddSharedTagsResponse, error)
批量添加共享标签
指定共享批量添加标签。
一个共享上最多有10个标签。 一个共享上的多个标签的key不允许重复。 此接口为幂等接口:如果要添加的key在共享上已存在,则覆盖更新标签。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SFSTurboClient) ChangeSecurityGroup ¶
func (c *SFSTurboClient) ChangeSecurityGroup(request *model.ChangeSecurityGroupRequest) (*model.ChangeSecurityGroupResponse, error)
修改文件系统绑定的安全组
修改SFS Turbo文件系统绑定的安全组。修改安全组为异步任务,可以通过“查询单个文件系统”返回的子状态字段“sub_status”来判断是否修改安全组状态,子状态为“232”即为修改安全组成功。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SFSTurboClient) CreateShare ¶
func (c *SFSTurboClient) CreateShare(request *model.CreateShareRequest) (*model.CreateShareResponse, error)
创建文件系统
创建文件系统。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SFSTurboClient) CreateSharedTag ¶
func (c *SFSTurboClient) CreateSharedTag(request *model.CreateSharedTagRequest) (*model.CreateSharedTagResponse, error)
创建共享标签
指定共享添加一个标签。 一个共享上最多有10个标签。 一个共享上的多个标签的key不允许重复。 此接口为幂等接口:如果要添加的key在共享上已存在,则覆盖更新标签。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SFSTurboClient) DeleteShare ¶
func (c *SFSTurboClient) DeleteShare(request *model.DeleteShareRequest) (*model.DeleteShareResponse, error)
删除文件系统
删除文件系统。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SFSTurboClient) DeleteSharedTag ¶
func (c *SFSTurboClient) DeleteSharedTag(request *model.DeleteSharedTagRequest) (*model.DeleteSharedTagResponse, error)
删除共享标签
指定共享删除一个标签。当共享中不存在指定要删除的key时,接口调用将会返回404错误。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SFSTurboClient) ExpandShare ¶
func (c *SFSTurboClient) ExpandShare(request *model.ExpandShareRequest) (*model.ExpandShareResponse, error)
扩容文件系统
扩容文件系统。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SFSTurboClient) ListSharedTags ¶
func (c *SFSTurboClient) ListSharedTags(request *model.ListSharedTagsRequest) (*model.ListSharedTagsResponse, error)
查询租户所有共享的标签
查询租户所有共享的标签集合。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SFSTurboClient) ListShares ¶
func (c *SFSTurboClient) ListShares(request *model.ListSharesRequest) (*model.ListSharesResponse, error)
获取文件系统列表
获取文件系统列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SFSTurboClient) ShowShare ¶
func (c *SFSTurboClient) ShowShare(request *model.ShowShareRequest) (*model.ShowShareResponse, error)
查询文件系统详细信息
查询SFS Turbo文件系统详细信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*SFSTurboClient) ShowSharedTags ¶
func (c *SFSTurboClient) ShowSharedTags(request *model.ShowSharedTagsRequest) (*model.ShowSharedTagsResponse, error)
查询共享标签
查询指定共享的所有标签信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.