Documentation ¶
Index ¶
- type ActionProgress
- type BatchAddSharedTagsRequest
- type BatchAddSharedTagsRequestBody
- type BatchAddSharedTagsRequestBodyAction
- type BatchAddSharedTagsRequestBodyActionEnum
- type BatchAddSharedTagsResponse
- type BssInfo
- type BssInfoExtend
- type BssInfoExtendIsAutoPay
- type BssInfoExtendIsAutoPayEnum
- type BssInfoIsAutoPay
- type BssInfoIsAutoPayEnum
- type BssInfoIsAutoRenew
- type BssInfoIsAutoRenewEnum
- type BssInfoPeriodType
- type BssInfoPeriodTypeEnum
- type ChangeSecurityGroup
- type ChangeSecurityGroupRequest
- type ChangeSecurityGroupRequestBody
- type ChangeSecurityGroupResponse
- type ChangeShareNameReq
- type ChangeShareNameRequest
- type ChangeShareNameResponse
- type CreateShareRequest
- type CreateShareRequestBody
- type CreateShareResponse
- type CreateSharedTagRequest
- type CreateSharedTagRequestBody
- type CreateSharedTagResponse
- type DeleteShareRequest
- type DeleteShareResponse
- type DeleteSharedTagRequest
- type DeleteSharedTagResponse
- type ExpandShareRequest
- type ExpandShareRequestBody
- type ExpandShareResponse
- type Extend
- type ListSharedTagsRequest
- type ListSharedTagsResponse
- type ListSharesRequest
- type ListSharesResponse
- type Metadata
- type ResourceTag
- type Share
- type ShareName
- type Shares
- type SharesPayModel
- type SharesPayModelEnum
- type ShowShareRequest
- type ShowShareResponse
- type ShowShareResponsePayModel
- type ShowShareResponsePayModelEnum
- type ShowSharedTagsRequest
- type ShowSharedTagsResponse
- type Tag
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 { string `json:"Content-Type"` ShareId string `json:"share_id"` }ContentType
Request Object
func (BatchAddSharedTagsRequest) String ¶
func (o BatchAddSharedTagsRequest) String() string
type BatchAddSharedTagsRequestBody ¶
type BatchAddSharedTagsRequestBody struct { BatchAddSharedTagsRequestBodyAction `json:"action"` Tags *[]ResourceTag `json:"tags,omitempty"` SysTags *[]ResourceTag `json:"sys_tags,omitempty"` }Action
func (BatchAddSharedTagsRequestBody) String ¶
func (o BatchAddSharedTagsRequestBody) String() 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
func (c BatchAddSharedTagsRequestBodyAction) Value() string
type BatchAddSharedTagsRequestBodyActionEnum ¶
type BatchAddSharedTagsRequestBodyActionEnum struct {
}func GetBatchAddSharedTagsRequestBodyActionEnum ¶
func GetBatchAddSharedTagsRequestBodyActionEnum() BatchAddSharedTagsRequestBodyActionEnum
type BatchAddSharedTagsResponse ¶
type BatchAddSharedTagsResponse struct {
}Response Object
func (BatchAddSharedTagsResponse) String ¶
func (o BatchAddSharedTagsResponse) String() 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"` }
计费参数详情
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"` ShareId string `json:"share_id"` Body *ChangeSecurityGroupRequestBody `json:"body,omitempty"` }
Request Object
func (ChangeSecurityGroupRequest) String ¶
func (o ChangeSecurityGroupRequest) String() string
type ChangeSecurityGroupRequestBody ¶
type ChangeSecurityGroupRequestBody struct {
ChangeSecurityGroup *ChangeSecurityGroup `json:"change_security_group"`
}
change_security_group对象
func (ChangeSecurityGroupRequestBody) String ¶
func (o ChangeSecurityGroupRequestBody) String() string
type ChangeSecurityGroupResponse ¶
type ChangeSecurityGroupResponse struct { // SFS Turbo文件系统ID。 Id *string `json:"id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ChangeSecurityGroupResponse) String ¶
func (o ChangeSecurityGroupResponse) String() string
type ChangeShareNameReq ¶ added in v0.1.6
type ChangeShareNameReq struct {
}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 { string `json:"Content-Type"` ShareId string `json:"share_id"` }ContentType
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 {
}Response Object
func (ChangeShareNameResponse) String ¶ added in v0.1.6
func (o ChangeShareNameResponse) String() string
type CreateShareRequest ¶
type CreateShareRequest struct { string `json:"Content-Type"` }ContentType
Request Object
func (CreateShareRequest) String ¶
func (o CreateShareRequest) String() string
type CreateShareRequestBody ¶
type CreateShareRequestBody struct {}
创建文件系统参数body
func (CreateShareRequestBody) String ¶
func (o CreateShareRequestBody) String() string
type CreateShareResponse ¶
type CreateShareResponse struct { string `json:"id,omitempty"` Name *string `json:"name,omitempty"` // SFS Turbo文件系统的状态 }Id *
Response Object
func (CreateShareResponse) String ¶
func (o CreateShareResponse) String() string
type CreateSharedTagRequest ¶
type CreateSharedTagRequest struct { string `json:"Content-Type"` ShareId string `json:"share_id"` }ContentType
Request Object
func (CreateSharedTagRequest) String ¶
func (o CreateSharedTagRequest) String() string
type CreateSharedTagRequestBody ¶
type CreateSharedTagRequestBody struct {
}标签
func (CreateSharedTagRequestBody) String ¶
func (o CreateSharedTagRequestBody) String() string
type CreateSharedTagResponse ¶
type CreateSharedTagResponse struct {
}Response Object
func (CreateSharedTagResponse) String ¶
func (o CreateSharedTagResponse) String() string
type DeleteShareRequest ¶
type DeleteShareRequest struct { string `json:"Content-Type"` ShareId string `json:"share_id"` }ContentType
Request Object
func (DeleteShareRequest) String ¶
func (o DeleteShareRequest) String() string
type DeleteShareResponse ¶
type DeleteShareResponse struct {
}Response Object
func (DeleteShareResponse) String ¶
func (o DeleteShareResponse) String() string
type DeleteSharedTagRequest ¶
type DeleteSharedTagRequest struct { string `json:"Content-Type"` ShareId string `json:"share_id"` Key string `json:"key"` }ContentType
Request Object
func (DeleteSharedTagRequest) String ¶
func (o DeleteSharedTagRequest) String() string
type DeleteSharedTagResponse ¶
type DeleteSharedTagResponse struct {
}Response Object
func (DeleteSharedTagResponse) String ¶
func (o DeleteSharedTagResponse) String() string
type ExpandShareRequest ¶
type ExpandShareRequest struct { string `json:"Content-Type"` ShareId string `json:"share_id"` }ContentType
Request Object
func (ExpandShareRequest) String ¶
func (o ExpandShareRequest) String() string
type ExpandShareRequestBody ¶
type ExpandShareRequestBody struct {
}func (ExpandShareRequestBody) String ¶
func (o ExpandShareRequestBody) String() string
type ExpandShareResponse ¶
type ExpandShareResponse struct { string `json:"id,omitempty"` // SFS Turbo文件系统名称。 }Id *
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对象
type ListSharedTagsRequest ¶
type ListSharedTagsRequest struct { string `json:"Content-Type"` }ContentType
Request Object
func (ListSharedTagsRequest) String ¶
func (o ListSharedTagsRequest) String() string
type ListSharedTagsResponse ¶
type ListSharedTagsResponse struct { // tag标签的列表 }
Response Object
func (ListSharedTagsResponse) String ¶
func (o ListSharedTagsResponse) String() string
type ListSharesRequest ¶
type ListSharesRequest struct { string `json:"Content-Type"` Limit *int64 `json:"limit,omitempty"` Offset *int64 `json:"offset,omitempty"` }ContentType
Request Object
func (ListSharesRequest) String ¶
func (o ListSharesRequest) String() string
type ListSharesResponse ¶
type ListSharesResponse struct { Shares `json:"shares,omitempty"` // SFS Turbo文件系统的数量。 }Shares *[]
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参数详情
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 { string `json:"availability_zone"` Description *string `json:"description,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` Name string `json:"name"` SecurityGroupId string `json:"security_group_id"` ShareProto string `json:"share_proto"` ShareType string `json:"share_type"` Size int32 `json:"size"` SubnetId string `json:"subnet_id"` VpcId string `json:"vpc_id"` BackupId *string `json:"backup_id,omitempty"` }AvailabilityZone
创建文件系统参数body
type ShareName ¶ added in v0.1.6
type ShareName struct { string `json:"name"` }Name
需要修改的SFS Turbo文件系统
type Shares ¶
type Shares struct { string `json:"version,omitempty"` AvailCapacity *string `json:"avail_capacity,omitempty"` AvailabilityZone *string `json:"availability_zone,omitempty"` AzName *string `json:"az_name,omitempty"` CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"` CryptKeyId *string `json:"crypt_key_id,omitempty"` ExpandType *string `json:"expand_type,omitempty"` ExportLocation *string `json:"export_location,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` PayModel *SharesPayModel `json:"pay_model,omitempty"` Region *string `json:"region,omitempty"` SecurityGroupId *string `json:"security_group_id,omitempty"` ShareProto *string `json:"share_proto,omitempty"` ShareType *string `json:"share_type,omitempty"` Size *string `json:"size,omitempty"` Status *string `json:"status,omitempty"` SubStatus *string `json:"sub_status,omitempty"` SubnetId *string `json:"subnet_id,omitempty"` VpcId *string `json:"vpc_id,omitempty"` }Version *
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 {}
func GetSharesPayModelEnum ¶
func GetSharesPayModelEnum() SharesPayModelEnum
type ShowShareRequest ¶
type ShowShareRequest struct { string `json:"Content-Type"` ShareId string `json:"share_id"` }ContentType
Request Object
func (ShowShareRequest) String ¶
func (o ShowShareRequest) String() string
type ShowShareResponse ¶
type ShowShareResponse struct { string `json:"version,omitempty"` AvailCapacity *string `json:"avail_capacity,omitempty"` AvailabilityZone *string `json:"availability_zone,omitempty"` AzName *string `json:"az_name,omitempty"` CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"` CryptKeyId *string `json:"crypt_key_id,omitempty"` ExpandType *string `json:"expand_type,omitempty"` ExportLocation *string `json:"export_location,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` PayModel *ShowShareResponsePayModel `json:"pay_model,omitempty"` Region *string `json:"region,omitempty"` SecurityGroupId *string `json:"security_group_id,omitempty"` ShareProto *string `json:"share_proto,omitempty"` ShareType *string `json:"share_type,omitempty"` Size *string `json:"size,omitempty"` Status *string `json:"status,omitempty"` SubStatus *string `json:"sub_status,omitempty"` SubnetId *string `json:"subnet_id,omitempty"` // 用户指定的VPC ID。 }Version *
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
func (c ShowShareResponsePayModel) Value() string
type ShowShareResponsePayModelEnum ¶
type ShowShareResponsePayModelEnum struct {}
func GetShowShareResponsePayModelEnum ¶
func GetShowShareResponsePayModelEnum() ShowShareResponsePayModelEnum
type ShowSharedTagsRequest ¶
type ShowSharedTagsRequest struct { string `json:"Content-Type"` ShareId string `json:"share_id"` }ContentType
Request Object
func (ShowSharedTagsRequest) String ¶
func (o ShowSharedTagsRequest) String() string
type ShowSharedTagsResponse ¶
type ShowSharedTagsResponse struct { ResourceTag `json:"tags,omitempty"` // 仅op_service权限才可以获取此字段。 1. 目前只包含一个resource_tag结构体 key:_sys_enterprise_project_id 2. 目前key下面只包含一个value,0表示默认企业项目。 非op_service场景不能返回此字段。 }Tags *[]
Response Object
func (ShowSharedTagsResponse) String ¶
func (o ShowSharedTagsResponse) String() string
Source Files ¶
- model_action_progress.go
- model_batch_add_shared_tags_request.go
- model_batch_add_shared_tags_request_body.go
- model_batch_add_shared_tags_response.go
- model_bss_info.go
- model_bss_info_extend.go
- model_change_security_group.go
- model_change_security_group_request.go
- model_change_security_group_request_body.go
- model_change_security_group_response.go
- model_change_share_name_req.go
- model_change_share_name_request.go
- model_change_share_name_response.go
- model_create_share_request.go
- model_create_share_request_body.go
- model_create_share_response.go
- model_create_shared_tag_request.go
- model_create_shared_tag_request_body.go
- model_create_shared_tag_response.go
- model_delete_share_request.go
- model_delete_share_response.go
- model_delete_shared_tag_request.go
- model_delete_shared_tag_response.go
- model_expand_share_request.go
- model_expand_share_request_body.go
- model_expand_share_response.go
- model_extend.go
- model_list_shared_tags_request.go
- model_list_shared_tags_response.go
- model_list_shares_request.go
- model_list_shares_response.go
- model_metadata.go
- model_resource_tag.go
- model_share.go
- model_share_name.go
- model_shares.go
- model_show_share_request.go
- model_show_share_response.go
- model_show_shared_tags_request.go
- model_show_shared_tags_response.go
- model_tag.go
Click to show internal directories.
Click to hide internal directories.