model

package
v0.1.39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionProgress

type ActionProgress struct {

	// 创建文件系统的进度。
	Creating *string `json:"CREATING,omitempty"`
}

func (ActionProgress) String

func (o ActionProgress) String() string

type BatchAddSharedTagsRequest

type BatchAddSharedTagsRequest struct {

	// MIME类型
	ContentType string `json:"Content-Type"`

	// 共享ID
	ShareId string `json:"share_id"`

	Body *BatchAddSharedTagsRequestBody `json:"body,omitempty"`
}

Request Object

func (BatchAddSharedTagsRequest) String

func (o BatchAddSharedTagsRequest) String() string

type BatchAddSharedTagsRequestBody

type BatchAddSharedTagsRequestBody struct {

	// 操作标识,取值范围为:create。 为指定共享批量添加标签时使用create。
	Action BatchAddSharedTagsRequestBodyAction `json:"action"`

	// 标签列表。 用户权限时该字段必选,op_service权限时和sys_tags二选一。
	Tags *[]ResourceTag `json:"tags,omitempty"`

	// 系统标签列表。 op_service权限可以访问,和tags二选一。目前TMS调用时只包含一个resource_tag结构体,key固定为:_sys_enterprise_project_id。
	SysTags *[]ResourceTag `json:"sys_tags,omitempty"`
}

func (BatchAddSharedTagsRequestBody) String

type BatchAddSharedTagsRequestBodyAction

type BatchAddSharedTagsRequestBodyAction struct {
	// contains filtered or unexported fields
}

func (BatchAddSharedTagsRequestBodyAction) MarshalJSON

func (c BatchAddSharedTagsRequestBodyAction) MarshalJSON() ([]byte, error)

func (*BatchAddSharedTagsRequestBodyAction) UnmarshalJSON

func (c *BatchAddSharedTagsRequestBodyAction) UnmarshalJSON(b []byte) error

func (BatchAddSharedTagsRequestBodyAction) Value added in v0.0.90

type BatchAddSharedTagsRequestBodyActionEnum

type BatchAddSharedTagsRequestBodyActionEnum struct {
	CREATE BatchAddSharedTagsRequestBodyAction
}

func GetBatchAddSharedTagsRequestBodyActionEnum

func GetBatchAddSharedTagsRequestBodyActionEnum() BatchAddSharedTagsRequestBodyActionEnum

type BatchAddSharedTagsResponse

type BatchAddSharedTagsResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (BatchAddSharedTagsResponse) String

type BssInfo added in v0.1.18

type BssInfo struct {

	// 是否自动续费
	IsAutoRenew *BssInfoIsAutoRenew `json:"is_auto_renew,omitempty"`

	// 包周期订购的周期数
	PeriodNum int64 `json:"period_num"`

	// 包周期的类型,可选包年或包月,2 表示包月,3 表示包年
	PeriodType BssInfoPeriodType `json:"period_type"`

	// 是否生成订单后自动扣款
	IsAutoPay *BssInfoIsAutoPay `json:"is_auto_pay,omitempty"`
}

计费参数详情

func (BssInfo) String added in v0.1.18

func (o BssInfo) String() string

type BssInfoExtend added in v0.1.18

type BssInfoExtend struct {

	// 是否自动付款
	IsAutoPay *BssInfoExtendIsAutoPay `json:"is_auto_pay,omitempty"`
}

扩容计费参数详情

func (BssInfoExtend) String added in v0.1.18

func (o BssInfoExtend) String() string

type BssInfoExtendIsAutoPay added in v0.1.18

type BssInfoExtendIsAutoPay struct {
	// contains filtered or unexported fields
}

func (BssInfoExtendIsAutoPay) MarshalJSON added in v0.1.18

func (c BssInfoExtendIsAutoPay) MarshalJSON() ([]byte, error)

func (*BssInfoExtendIsAutoPay) UnmarshalJSON added in v0.1.18

func (c *BssInfoExtendIsAutoPay) UnmarshalJSON(b []byte) error

func (BssInfoExtendIsAutoPay) Value added in v0.1.18

func (c BssInfoExtendIsAutoPay) Value() int64

type BssInfoExtendIsAutoPayEnum added in v0.1.18

type BssInfoExtendIsAutoPayEnum struct {
	E_0 BssInfoExtendIsAutoPay
	E_1 BssInfoExtendIsAutoPay
}

func GetBssInfoExtendIsAutoPayEnum added in v0.1.18

func GetBssInfoExtendIsAutoPayEnum() BssInfoExtendIsAutoPayEnum

type BssInfoIsAutoPay added in v0.1.18

type BssInfoIsAutoPay struct {
	// contains filtered or unexported fields
}

func (BssInfoIsAutoPay) MarshalJSON added in v0.1.18

func (c BssInfoIsAutoPay) MarshalJSON() ([]byte, error)

func (*BssInfoIsAutoPay) UnmarshalJSON added in v0.1.18

func (c *BssInfoIsAutoPay) UnmarshalJSON(b []byte) error

func (BssInfoIsAutoPay) Value added in v0.1.18

func (c BssInfoIsAutoPay) Value() int64

type BssInfoIsAutoPayEnum added in v0.1.18

type BssInfoIsAutoPayEnum struct {
	E_0 BssInfoIsAutoPay
	E_1 BssInfoIsAutoPay
}

func GetBssInfoIsAutoPayEnum added in v0.1.18

func GetBssInfoIsAutoPayEnum() BssInfoIsAutoPayEnum

type BssInfoIsAutoRenew added in v0.1.18

type BssInfoIsAutoRenew struct {
	// contains filtered or unexported fields
}

func (BssInfoIsAutoRenew) MarshalJSON added in v0.1.18

func (c BssInfoIsAutoRenew) MarshalJSON() ([]byte, error)

func (*BssInfoIsAutoRenew) UnmarshalJSON added in v0.1.18

func (c *BssInfoIsAutoRenew) UnmarshalJSON(b []byte) error

func (BssInfoIsAutoRenew) Value added in v0.1.18

func (c BssInfoIsAutoRenew) Value() int64

type BssInfoIsAutoRenewEnum added in v0.1.18

type BssInfoIsAutoRenewEnum struct {
	E_0 BssInfoIsAutoRenew
	E_1 BssInfoIsAutoRenew
}

func GetBssInfoIsAutoRenewEnum added in v0.1.18

func GetBssInfoIsAutoRenewEnum() BssInfoIsAutoRenewEnum

type BssInfoPeriodType added in v0.1.18

type BssInfoPeriodType struct {
	// contains filtered or unexported fields
}

func (BssInfoPeriodType) MarshalJSON added in v0.1.18

func (c BssInfoPeriodType) MarshalJSON() ([]byte, error)

func (*BssInfoPeriodType) UnmarshalJSON added in v0.1.18

func (c *BssInfoPeriodType) UnmarshalJSON(b []byte) error

func (BssInfoPeriodType) Value added in v0.1.18

func (c BssInfoPeriodType) Value() int64

type BssInfoPeriodTypeEnum added in v0.1.18

type BssInfoPeriodTypeEnum struct {
	E_2 BssInfoPeriodType
	E_3 BssInfoPeriodType
}

func GetBssInfoPeriodTypeEnum added in v0.1.18

func GetBssInfoPeriodTypeEnum() BssInfoPeriodTypeEnum

type ChangeSecurityGroup

type ChangeSecurityGroup struct {

	// 需要修改的目标安全组ID。
	SecurityGroupId string `json:"security_group_id"`
}

需要修改的目标安全组ID

func (ChangeSecurityGroup) String

func (o ChangeSecurityGroup) String() string

type ChangeSecurityGroupRequest

type ChangeSecurityGroupRequest struct {

	// MIME类型
	ContentType string `json:"Content-Type"`

	// 文件系统ID
	ShareId string `json:"share_id"`

	Body *ChangeSecurityGroupRequestBody `json:"body,omitempty"`
}

Request Object

func (ChangeSecurityGroupRequest) String

type ChangeSecurityGroupRequestBody

type ChangeSecurityGroupRequestBody struct {
	ChangeSecurityGroup *ChangeSecurityGroup `json:"change_security_group"`
}

change_security_group对象

func (ChangeSecurityGroupRequestBody) String

type ChangeSecurityGroupResponse

type ChangeSecurityGroupResponse struct {

	// SFS Turbo文件系统ID。
	Id             *string `json:"id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ChangeSecurityGroupResponse) String

type ChangeShareNameReq added in v0.1.6

type ChangeShareNameReq struct {
	ChangeName *ShareName `json:"change_name"`
}

change_name对象

func (ChangeShareNameReq) String added in v0.1.6

func (o ChangeShareNameReq) String() string

type ChangeShareNameRequest added in v0.1.6

type ChangeShareNameRequest struct {

	// MIME类型
	ContentType string `json:"Content-Type"`

	// 文件系统ID
	ShareId string `json:"share_id"`

	Body *ChangeShareNameReq `json:"body,omitempty"`
}

Request Object

func (ChangeShareNameRequest) String added in v0.1.6

func (o ChangeShareNameRequest) String() string

type ChangeShareNameResponse added in v0.1.6

type ChangeShareNameResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (ChangeShareNameResponse) String added in v0.1.6

func (o ChangeShareNameResponse) String() string

type CreateFsDirQuotaRequest added in v0.1.39

type CreateFsDirQuotaRequest struct {

	// MIME类型
	ContentType string `json:"Content-Type"`

	// 文件系统id
	ShareId string `json:"share_id"`

	Body *CreateFsDirQuotaRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateFsDirQuotaRequest) String added in v0.1.39

func (o CreateFsDirQuotaRequest) String() string

type CreateFsDirQuotaRequestBody added in v0.1.39

type CreateFsDirQuotaRequestBody struct {

	// 合法的已存在的目录的全路径
	Path string `json:"path"`

	// 目录的容量大小,单位:MB
	Capacity *int32 `json:"capacity,omitempty"`

	// 目录的inode数量限制
	Inode *int32 `json:"inode,omitempty"`
}

目录配额信息

func (CreateFsDirQuotaRequestBody) String added in v0.1.39

type CreateFsDirQuotaResponse added in v0.1.39

type CreateFsDirQuotaResponse struct {

	// 合法的已存在的目录的全路径
	Path *string `json:"path,omitempty"`

	// 目录的容量大小,单位:MB
	Capacity *int32 `json:"capacity,omitempty"`

	// 目录的inode数量限制
	Inode *int32 `json:"inode,omitempty"`

	// 目录已使用的容量大小,单位:MB。仅SFSTurbo HPC型返回该字段
	UsedCapacity *int32 `json:"used_capacity,omitempty"`

	// 目录的已使用的inode数量。仅SFSTurbo HPC型返回该字段
	UsedInode      *int32 `json:"used_inode,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (CreateFsDirQuotaResponse) String added in v0.1.39

func (o CreateFsDirQuotaResponse) String() string

type CreateFsDirRequest added in v0.1.39

type CreateFsDirRequest struct {

	// MIME类型
	ContentType string `json:"Content-Type"`

	// 文件系统id
	ShareId string `json:"share_id"`

	Body *CreateFsDirRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateFsDirRequest) String added in v0.1.39

func (o CreateFsDirRequest) String() string

type CreateFsDirRequestBody added in v0.1.39

type CreateFsDirRequestBody struct {

	// 合法的的目录全路径
	Path string `json:"path"`

	// 目录权限
	Mode *int64 `json:"mode,omitempty"`

	// 用户id
	Uid *int64 `json:"uid,omitempty"`

	// 用户组id
	Gid *int64 `json:"gid,omitempty"`
}

创建目录请求

func (CreateFsDirRequestBody) String added in v0.1.39

func (o CreateFsDirRequestBody) String() string

type CreateFsDirResponse added in v0.1.39

type CreateFsDirResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (CreateFsDirResponse) String added in v0.1.39

func (o CreateFsDirResponse) String() string

type CreateShareRequest

type CreateShareRequest struct {

	// MIME类型
	ContentType string `json:"Content-Type"`

	Body *CreateShareRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateShareRequest) String

func (o CreateShareRequest) String() string

type CreateShareRequestBody

type CreateShareRequestBody struct {
	Share *Share `json:"share"`

	BssParam *BssInfo `json:"bss_param,omitempty"`
}

创建文件系统参数body

func (CreateShareRequestBody) String

func (o CreateShareRequestBody) String() string

type CreateShareResponse

type CreateShareResponse struct {

	// 创建的SFS Turbo文件系统ID。
	Id *string `json:"id,omitempty"`

	// 创建的SFS Turbo文件系统名称。
	Name *string `json:"name,omitempty"`

	// SFS Turbo文件系统的状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateShareResponse) String

func (o CreateShareResponse) String() string

type CreateSharedTagRequest

type CreateSharedTagRequest struct {

	// MIME类型
	ContentType string `json:"Content-Type"`

	// 共享ID
	ShareId string `json:"share_id"`

	Body *CreateSharedTagRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateSharedTagRequest) String

func (o CreateSharedTagRequest) String() string

type CreateSharedTagRequestBody

type CreateSharedTagRequestBody struct {
	Tag *ResourceTag `json:"tag"`
}

标签

func (CreateSharedTagRequestBody) String

type CreateSharedTagResponse

type CreateSharedTagResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (CreateSharedTagResponse) String

func (o CreateSharedTagResponse) String() string

type DeleteFsDirQuotaRequest added in v0.1.39

type DeleteFsDirQuotaRequest struct {

	// MIME类型
	ContentType string `json:"Content-Type"`

	// 文件系统id
	ShareId string `json:"share_id"`

	Body *DeleteFsDirQuotaRequestBody `json:"body,omitempty"`
}

Request Object

func (DeleteFsDirQuotaRequest) String added in v0.1.39

func (o DeleteFsDirQuotaRequest) String() string

type DeleteFsDirQuotaRequestBody added in v0.1.39

type DeleteFsDirQuotaRequestBody struct {

	// 合法的已存在的目录的全路径
	Path string `json:"path"`
}

需要删除quota的目录

func (DeleteFsDirQuotaRequestBody) String added in v0.1.39

type DeleteFsDirQuotaResponse added in v0.1.39

type DeleteFsDirQuotaResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteFsDirQuotaResponse) String added in v0.1.39

func (o DeleteFsDirQuotaResponse) String() string

type DeleteFsDirRequest added in v0.1.39

type DeleteFsDirRequest struct {

	// MIME类型
	ContentType string `json:"Content-Type"`

	// 文件系统id
	ShareId string `json:"share_id"`

	Body *DeleteFsDirRequestBody `json:"body,omitempty"`
}

Request Object

func (DeleteFsDirRequest) String added in v0.1.39

func (o DeleteFsDirRequest) String() string

type DeleteFsDirRequestBody added in v0.1.39

type DeleteFsDirRequestBody struct {

	// 合法的的目录全路径
	Path string `json:"path"`
}

删除目录请求

func (DeleteFsDirRequestBody) String added in v0.1.39

func (o DeleteFsDirRequestBody) String() string

type DeleteFsDirResponse added in v0.1.39

type DeleteFsDirResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteFsDirResponse) String added in v0.1.39

func (o DeleteFsDirResponse) String() string

type DeleteShareRequest

type DeleteShareRequest struct {

	// MIME类型
	ContentType string `json:"Content-Type"`

	// 文件系统ID
	ShareId string `json:"share_id"`
}

Request Object

func (DeleteShareRequest) String

func (o DeleteShareRequest) String() string

type DeleteShareResponse

type DeleteShareResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteShareResponse) String

func (o DeleteShareResponse) String() string

type DeleteSharedTagRequest

type DeleteSharedTagRequest struct {

	// MIME类型
	ContentType string `json:"Content-Type"`

	// 共享ID
	ShareId string `json:"share_id"`

	// 标签的键,最大长度36个字符。  key不能为空,不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。  说明:调用删除共享标签接口删除标签时,如果标签的键中存在不被URL直接解析的特殊字符,需要对标签的键进行URL转义处理。
	Key string `json:"key"`
}

Request Object

func (DeleteSharedTagRequest) String

func (o DeleteSharedTagRequest) String() string

type DeleteSharedTagResponse

type DeleteSharedTagResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteSharedTagResponse) String

func (o DeleteSharedTagResponse) String() string

type ExpandShareRequest

type ExpandShareRequest struct {

	// MIME类型
	ContentType string `json:"Content-Type"`

	// 文件系统ID
	ShareId string `json:"share_id"`

	Body *ExpandShareRequestBody `json:"body,omitempty"`
}

Request Object

func (ExpandShareRequest) String

func (o ExpandShareRequest) String() string

type ExpandShareRequestBody

type ExpandShareRequestBody struct {
	Extend *Extend `json:"extend"`
}

func (ExpandShareRequestBody) String

func (o ExpandShareRequestBody) String() string

type ExpandShareResponse

type ExpandShareResponse struct {

	// SFS Turbo文件系统ID。
	Id *string `json:"id,omitempty"`

	// SFS Turbo文件系统名称。
	Name           *string `json:"name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ExpandShareResponse) String

func (o ExpandShareResponse) String() string

type Extend

type Extend struct {

	// 扩容后文件系统的新容量,以GB为单位。扩容步长大于等于100GB。  普通文件系统容量,取值范围500~32768。  带宽型文件系统,容量范围是10240~327680
	NewSize int32 `json:"new_size"`

	// 扩缩带宽后文件系统的新带宽,以 GB 为单位。仅支持 hpc cache 型文件系统
	NewBandwidth *int64 `json:"new_bandwidth,omitempty"`

	BssParam *BssInfoExtend `json:"bss_param,omitempty"`
}

extend对象

func (Extend) String

func (o Extend) String() string

type ListSharedTagsRequest

type ListSharedTagsRequest struct {

	// MIME类型
	ContentType string `json:"Content-Type"`
}

Request Object

func (ListSharedTagsRequest) String

func (o ListSharedTagsRequest) String() string

type ListSharedTagsResponse

type ListSharedTagsResponse struct {

	// tag标签的列表
	Tags           *[]Tag `json:"tags,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListSharedTagsResponse) String

func (o ListSharedTagsResponse) String() string

type ListSharesRequest

type ListSharesRequest struct {

	// MIME类型
	ContentType string `json:"Content-Type"`

	// 返回的文件系统个数,最大值为200。
	Limit *int64 `json:"limit,omitempty"`

	// 文件系统查询个数的偏移量。
	Offset *int64 `json:"offset,omitempty"`
}

Request Object

func (ListSharesRequest) String

func (o ListSharesRequest) String() string

type ListSharesResponse

type ListSharesResponse struct {

	// SFS Turbo文件系统的列表。
	Shares *[]Shares `json:"shares,omitempty"`

	// SFS Turbo文件系统的数量。
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListSharesResponse) String

func (o ListSharesResponse) String() string

type Metadata

type Metadata struct {

	// 要创加密文件系统,该字段传KMS服务专业版密钥的ID。
	CryptKeyId *string `json:"crypt_key_id,omitempty"`

	// 创专属文件系统,要创建的虚拟机的规格。
	DedicatedFlavor *string `json:"dedicated_flavor,omitempty"`

	// 创专属文件系统,要指定一个专属分布式存储的ID。
	DedicatedStorageId *string `json:"dedicated_storage_id,omitempty"`

	// 扩展类型。当前有效值为bandwidth,即创建增强型的文件系统。
	ExpandType *string `json:"expand_type,omitempty"`

	// hpc型带宽,仅创建hpc型需要
	HpcBw *string `json:"hpc_bw,omitempty"`
}

metadata参数详情

func (Metadata) String

func (o Metadata) String() string

type ResourceTag

type ResourceTag struct {

	// 标签的键。  最大长度36个字符。   key不能为空,不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。
	Key string `json:"key"`

	// 标签的值。  每个值最大长度43个字符,可以为空字符串。  不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。
	Value string `json:"value"`
}

resource_tag字段说明

func (ResourceTag) String

func (o ResourceTag) String() string

type Share

type Share struct {

	// 文件系统所在可用区(az)的编码
	AvailabilityZone string `json:"availability_zone"`

	// 文件系统描述信息,长度为0~255。当前不支持。
	Description *string `json:"description,omitempty"`

	// 创建文件系统时,给文件系统绑定的企业项目ID。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Metadata *Metadata `json:"metadata,omitempty"`

	// SFS Turbo文件系统的名称。长度为4~64位,必须以字母开头,可以包含字母、数字、中划线、下划线,不能包含其他的特殊字符,不区分大小写。
	Name string `json:"name"`

	// 用户在某一区域下的安全组ID。
	SecurityGroupId string `json:"security_group_id"`

	// 文件系统共享协议,有效值为NFS。NFS(Network File System),即网络文件系统。一种使用于分散式文件系统的协议,通过网络让不同的机器、不同的操作系统能够彼此分享数据。
	ShareProto string `json:"share_proto"`

	// 文件系统类型,有效值为STANDARD或者PERFORMANCE。
	ShareType string `json:"share_type"`

	// 普通文件系统容量,单位GB,取值范围500~32768。 增强型文件系统,即在“metadata”字段中设置了expand_type字段,则容量范围是10240~327680
	Size int32 `json:"size"`

	// 用户在VPC下面的子网的网络ID。
	SubnetId string `json:"subnet_id"`

	// 用户在某一区域下的VPC ID。
	VpcId string `json:"vpc_id"`

	// 备份ID,从备份创建文件系统时为必选。
	BackupId *string `json:"backup_id,omitempty"`
}

创建文件系统参数body

func (Share) String

func (o Share) String() string

type ShareName added in v0.1.6

type ShareName struct {

	// 需要修改的SFS Turbo文件系统的名字
	Name string `json:"name"`
}

需要修改的SFS Turbo文件系统

func (ShareName) String added in v0.1.6

func (o ShareName) String() string

type Shares

type Shares struct {
	ActionProgress *ActionProgress `json:"action_progress,omitempty"`

	// SFS Turbo文件系统的版本号。
	Version *string `json:"version,omitempty"`

	// SFS Turbo文件系统剩余容量,单位GB。
	AvailCapacity *string `json:"avail_capacity,omitempty"`

	// SFS Turbo文件系统所在可用区编码。
	AvailabilityZone *string `json:"availability_zone,omitempty"`

	// SFS Turbo文件系统所在可用区名称。
	AzName *string `json:"az_name,omitempty"`

	// 创建时间。UTC时间,例如:2018-11-19T04:02:03
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 用户指定的加密密钥ID,非加密盘时不返回。
	CryptKeyId *string `json:"crypt_key_id,omitempty"`

	// 如果是增强型文件系统,该字段返回bandwidth,否则不返回。
	ExpandType *string `json:"expand_type,omitempty"`

	// SFS Turbo文件系统的挂载端点。
	ExportLocation *string `json:"export_location,omitempty"`

	// SFS Turbo的文件系统ID。
	Id *string `json:"id,omitempty"`

	// 创建时指定的SFS Turbo文件系统名称。
	Name *string `json:"name,omitempty"`

	// SFS Turbo文件系统的计费模式。'0'代表按需付费,'1'代表包周期计费。
	PayModel *SharesPayModel `json:"pay_model,omitempty"`

	// SFS Turbo文件系统所在区域。
	Region *string `json:"region,omitempty"`

	// 用户指定的安全组ID。
	SecurityGroupId *string `json:"security_group_id,omitempty"`

	// SFS Turbo文件系统的协议类型,当前为NFS
	ShareProto *string `json:"share_proto,omitempty"`

	// SFS Turbo文件系统性能类型,包括“STANDARD”标准型和“PERFORMANCE”性能型。
	ShareType *string `json:"share_type,omitempty"`

	// SFS Turbo文件系统总容量,单位GB。
	Size *string `json:"size,omitempty"`

	// SFS Turbo文件系统的状态。'100'表示创建中,'200'表示可用,'303'表示创建失败。
	Status *string `json:"status,omitempty"`

	// SFS Turbo文件系统的子状态。'121'表示扩容中,'221'表示扩容成功,'321'表示扩容失败。
	SubStatus *string `json:"sub_status,omitempty"`

	// 用户指定的子网的网络ID。
	SubnetId *string `json:"subnet_id,omitempty"`

	// 用户指定的VPC ID。
	VpcId *string `json:"vpc_id,omitempty"`
}

func (Shares) String

func (o Shares) String() string

type SharesPayModel

type SharesPayModel struct {
	// contains filtered or unexported fields
}

func (SharesPayModel) MarshalJSON

func (c SharesPayModel) MarshalJSON() ([]byte, error)

func (*SharesPayModel) UnmarshalJSON

func (c *SharesPayModel) UnmarshalJSON(b []byte) error

func (SharesPayModel) Value added in v0.0.90

func (c SharesPayModel) Value() string

type SharesPayModelEnum

type SharesPayModelEnum struct {
	E_0 SharesPayModel
	E_1 SharesPayModel
}

func GetSharesPayModelEnum

func GetSharesPayModelEnum() SharesPayModelEnum

type ShowFsDirQuotaRequest added in v0.1.39

type ShowFsDirQuotaRequest struct {

	// MIME类型
	ContentType string `json:"Content-Type"`

	// 文件系统id
	ShareId string `json:"share_id"`

	// 合法的已存在的目录的全路径
	Path string `json:"path"`
}

Request Object

func (ShowFsDirQuotaRequest) String added in v0.1.39

func (o ShowFsDirQuotaRequest) String() string

type ShowFsDirQuotaResponse added in v0.1.39

type ShowFsDirQuotaResponse struct {

	// 合法的已存在的目录的全路径
	Path *string `json:"path,omitempty"`

	// 目录的容量大小,单位:MB
	Capacity *int32 `json:"capacity,omitempty"`

	// 目录的inode数量限制
	Inode *int32 `json:"inode,omitempty"`

	// 目录已使用的容量大小,单位:MB。仅SFSTurbo HPC型返回该字段
	UsedCapacity *int32 `json:"used_capacity,omitempty"`

	// 目录的已使用的inode数量。仅SFSTurbo HPC型返回该字段
	UsedInode      *int32 `json:"used_inode,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowFsDirQuotaResponse) String added in v0.1.39

func (o ShowFsDirQuotaResponse) String() string

type ShowFsDirRequest added in v0.1.39

type ShowFsDirRequest struct {

	// MIME类型
	ContentType string `json:"Content-Type"`

	// 文件系统id
	ShareId string `json:"share_id"`

	// 需要查询的目录的全路径
	Path string `json:"path"`
}

Request Object

func (ShowFsDirRequest) String added in v0.1.39

func (o ShowFsDirRequest) String() string

type ShowFsDirResponse added in v0.1.39

type ShowFsDirResponse struct {

	// 目录全路径
	Path *string `json:"path,omitempty"`

	// 目录权限
	Mode *int64 `json:"mode,omitempty"`

	// 用户id
	Uid *int64 `json:"uid,omitempty"`

	// 用户组id
	Gid            *int64 `json:"gid,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowFsDirResponse) String added in v0.1.39

func (o ShowFsDirResponse) String() string

type ShowShareRequest

type ShowShareRequest struct {

	// MIME类型
	ContentType string `json:"Content-Type"`

	// 文件系统ID
	ShareId string `json:"share_id"`
}

Request Object

func (ShowShareRequest) String

func (o ShowShareRequest) String() string

type ShowShareResponse

type ShowShareResponse struct {
	ActionProgress *ActionProgress `json:"action_progress,omitempty"`

	// SFS Turbo文件系统的版本号。
	Version *string `json:"version,omitempty"`

	// SFS Turbo文件系统剩余容量,单位GB。
	AvailCapacity *string `json:"avail_capacity,omitempty"`

	// SFS Turbo文件系统所在可用区编码。
	AvailabilityZone *string `json:"availability_zone,omitempty"`

	// SFS Turbo文件系统所在可用区名称。
	AzName *string `json:"az_name,omitempty"`

	// 创建时间。UTC时间,例如:2018-11-19T04:02:03
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 用户指定的加密密钥ID,非加密盘时不返回。
	CryptKeyId *string `json:"crypt_key_id,omitempty"`

	// 如果是增强型文件系统,该字段返回bandwidth,否则不返回。
	ExpandType *string `json:"expand_type,omitempty"`

	// SFS Turbo文件系统的挂载端点。
	ExportLocation *string `json:"export_location,omitempty"`

	// SFS Turbo的文件系统ID。
	Id *string `json:"id,omitempty"`

	// 创建时指定的SFS Turbo文件系统名称。
	Name *string `json:"name,omitempty"`

	// SFS Turbo文件系统的计费模式。'0'代表按需付费,'1'代表包周期计费。
	PayModel *ShowShareResponsePayModel `json:"pay_model,omitempty"`

	// SFS Turbo文件系统所在区域。
	Region *string `json:"region,omitempty"`

	// 用户指定的安全组ID。
	SecurityGroupId *string `json:"security_group_id,omitempty"`

	// SFS Turbo文件系统的协议类型,当前为NFS
	ShareProto *string `json:"share_proto,omitempty"`

	// SFS Turbo文件系统性能类型,包括“STANDARD”标准型和“PERFORMANCE”性能型。
	ShareType *string `json:"share_type,omitempty"`

	// SFS Turbo文件系统总容量,单位GB。
	Size *string `json:"size,omitempty"`

	// SFS Turbo文件系统的状态。'100'表示创建中,'200'表示可用,'303'表示创建失败。
	Status *string `json:"status,omitempty"`

	// SFS Turbo文件系统的子状态。'121'表示扩容中,'221'表示扩容成功,'321'表示扩容失败。
	SubStatus *string `json:"sub_status,omitempty"`

	// 用户指定的子网的网络ID。
	SubnetId *string `json:"subnet_id,omitempty"`

	// 用户指定的VPC ID。
	VpcId          *string `json:"vpc_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowShareResponse) String

func (o ShowShareResponse) String() string

type ShowShareResponsePayModel

type ShowShareResponsePayModel struct {
	// contains filtered or unexported fields
}

func (ShowShareResponsePayModel) MarshalJSON

func (c ShowShareResponsePayModel) MarshalJSON() ([]byte, error)

func (*ShowShareResponsePayModel) UnmarshalJSON

func (c *ShowShareResponsePayModel) UnmarshalJSON(b []byte) error

func (ShowShareResponsePayModel) Value added in v0.0.90

type ShowShareResponsePayModelEnum

type ShowShareResponsePayModelEnum struct {
	E_0 ShowShareResponsePayModel
	E_1 ShowShareResponsePayModel
}

func GetShowShareResponsePayModelEnum

func GetShowShareResponsePayModelEnum() ShowShareResponsePayModelEnum

type ShowSharedTagsRequest

type ShowSharedTagsRequest struct {

	// MIME类型
	ContentType string `json:"Content-Type"`

	// 共享ID
	ShareId string `json:"share_id"`
}

Request Object

func (ShowSharedTagsRequest) String

func (o ShowSharedTagsRequest) String() string

type ShowSharedTagsResponse

type ShowSharedTagsResponse struct {

	// tag标签的列表。
	Tags *[]ResourceTag `json:"tags,omitempty"`

	// 仅op_service权限才可以获取此字段。  1.  目前只包含一个resource_tag结构体 key:_sys_enterprise_project_id  2.  目前key下面只包含一个value,0表示默认企业项目。  非op_service场景不能返回此字段。
	SysTags        *[]ResourceTag `json:"sys_tags,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ShowSharedTagsResponse) String

func (o ShowSharedTagsResponse) String() string

type Tag

type Tag struct {

	// 标签的键。  最大长度127个字符。 key不能为空。
	Key string `json:"key"`

	// 值列表。每个值最大长度255个字符,如果values为空列表,则表示匹配任意值value。value之间为或的关系。
	Values []string `json:"values"`
}

tag字段说明

func (Tag) String

func (o Tag) String() string

type UpdateFsDirQuotaRequest added in v0.1.39

type UpdateFsDirQuotaRequest struct {

	// MIME类型
	ContentType string `json:"Content-Type"`

	// 文件系统id
	ShareId string `json:"share_id"`

	Body *UpdateFsDirQuotaRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateFsDirQuotaRequest) String added in v0.1.39

func (o UpdateFsDirQuotaRequest) String() string

type UpdateFsDirQuotaRequestBody added in v0.1.39

type UpdateFsDirQuotaRequestBody struct {

	// 合法的已存在的目录的全路径
	Path string `json:"path"`

	// 目录的容量大小,单位:MB
	Capacity *int32 `json:"capacity,omitempty"`

	// 目录的inode数量限制
	Inode *int32 `json:"inode,omitempty"`
}

目录配额信息

func (UpdateFsDirQuotaRequestBody) String added in v0.1.39

type UpdateFsDirQuotaResponse added in v0.1.39

type UpdateFsDirQuotaResponse struct {

	// 合法的已存在的目录的全路径
	Path *string `json:"path,omitempty"`

	// 目录的容量大小,单位:MB
	Capacity *int32 `json:"capacity,omitempty"`

	// 目录的inode数量限制
	Inode *int32 `json:"inode,omitempty"`

	// 目录已使用的容量大小,单位:MB。仅SFSTurbo HPC型返回该字段
	UsedCapacity *int32 `json:"used_capacity,omitempty"`

	// 目录的已使用的inode数量。仅SFSTurbo HPC型返回该字段
	UsedInode      *int32 `json:"used_inode,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (UpdateFsDirQuotaResponse) String added in v0.1.39

func (o UpdateFsDirQuotaResponse) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL