Documentation ¶
Index ¶
- type ActionProgress
- type BatchAddSharedTagsRequest
- type BatchAddSharedTagsRequestBody
- type BatchAddSharedTagsRequestBodyAction
- type BatchAddSharedTagsRequestBodyActionEnum
- type BatchAddSharedTagsResponse
- type ChangeSecurityGroup
- type ChangeSecurityGroupRequest
- type ChangeSecurityGroupRequestBody
- type ChangeSecurityGroupResponse
- 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 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 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 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"` }
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 *int32 `json:"limit,omitempty"` Offset *int32 `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"` }
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 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_change_security_group.go
- model_change_security_group_request.go
- model_change_security_group_request_body.go
- model_change_security_group_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_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.