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 ConfigNasTarget
- type ConfigObsTarget
- type CreateBackendTargetRequest
- type CreateBackendTargetRequestBody
- type CreateBackendTargetResponse
- type CreateBackendTargetResponseLifecycle
- type CreateBackendTargetResponseLifecycleEnum
- type CreateFsDirQuotaRequest
- type CreateFsDirQuotaRequestBody
- type CreateFsDirQuotaResponse
- type CreateFsDirRequest
- type CreateFsDirRequestBody
- type CreateFsDirResponse
- type CreateFsTaskRequest
- type CreateFsTaskResponse
- type CreateHpcCacheTaskReq
- type CreateHpcCacheTaskReqType
- type CreateHpcCacheTaskReqTypeEnum
- type CreateHpcCacheTaskRequest
- type CreateHpcCacheTaskResponse
- type CreateLdapConfigRequest
- type CreateLdapConfigRequestBody
- type CreateLdapConfigResponse
- type CreatePermRuleRequest
- type CreatePermRuleResponse
- type CreatePermRulesRequestBody
- type CreateShareRequest
- type CreateShareRequestBody
- type CreateShareResponse
- type CreateSharedTagRequest
- type CreateSharedTagRequestBody
- type CreateSharedTagResponse
- type DeleteBackendTargetRequest
- type DeleteBackendTargetResponse
- type DeleteBackendTargetResponseLifecycle
- type DeleteBackendTargetResponseLifecycleEnum
- type DeleteFsDirQuotaRequest
- type DeleteFsDirQuotaRequestBody
- type DeleteFsDirQuotaResponse
- type DeleteFsDirRequest
- type DeleteFsDirRequestBody
- type DeleteFsDirResponse
- type DeleteFsTaskRequest
- type DeleteFsTaskResponse
- type DeleteLdapConfigRequest
- type DeleteLdapConfigResponse
- type DeletePermRuleRequest
- type DeletePermRuleResponse
- type DeleteShareRequest
- type DeleteShareResponse
- type DeleteSharedTagRequest
- type DeleteSharedTagResponse
- type ExpandShareRequest
- type ExpandShareRequestBody
- type ExpandShareResponse
- type Extend
- type FailureDetailsMessage
- type FsDirReq
- type FsDirUasge
- type FsDuInfo
- type FsFileCount
- type GetSubJobDetail
- type ListBackendTargetsRequest
- type ListBackendTargetsResponse
- type ListFsTasksRequest
- type ListFsTasksResponse
- type ListHpcCacheTasksRequest
- type ListHpcCacheTasksResponse
- type ListPermRulesRequest
- type ListPermRulesResponse
- type ListSharedTagsRequest
- type ListSharedTagsResponse
- type ListSharesRequest
- type ListSharesResponse
- type Metadata
- type ObsDataRepository
- type OneFsTaskResp
- type OneFsTaskRespStatus
- type OneFsTaskRespStatusEnum
- type OneHpcCacheTaskInfoResp
- type OnePermRuleRequestInfo
- type OnePermRuleResponseInfo
- type ReqConfigHpcCacheBackend
- type ReqUpdateHpcCacheData
- type ReqUpdateHpcCacheInfo
- type ResourceTag
- type SetHpcCacheBackendRequest
- type SetHpcCacheBackendResponse
- type Share
- type ShareInfo
- type ShareInfoPayModel
- type ShareInfoPayModelEnum
- type ShareName
- type ShowBackendTargetInfoRequest
- type ShowBackendTargetInfoResponse
- type ShowBackendTargetInfoResponseBody
- type ShowBackendTargetInfoResponseBodyLifecycle
- type ShowBackendTargetInfoResponseBodyLifecycleEnum
- type ShowBackendTargetInfoResponseLifecycle
- type ShowBackendTargetInfoResponseLifecycleEnum
- type ShowFsDirQuotaRequest
- type ShowFsDirQuotaResponse
- type ShowFsDirRequest
- type ShowFsDirResponse
- type ShowFsDirUsageRequest
- type ShowFsDirUsageResponse
- type ShowFsTaskRequest
- type ShowFsTaskResponse
- type ShowFsTaskResponseStatus
- type ShowFsTaskResponseStatusEnum
- type ShowHpcCacheTaskRequest
- type ShowHpcCacheTaskResponse
- type ShowJobDetailRequest
- type ShowJobDetailResponse
- type ShowLdapConfigRequest
- type ShowLdapConfigResponse
- type ShowPermRuleRequest
- type ShowPermRuleResponse
- type ShowShareRequest
- type ShowShareResponse
- type ShowShareResponsePayModel
- type ShowShareResponsePayModelEnum
- type ShowSharedTagsRequest
- type ShowSharedTagsResponse
- type Tag
- type UpdateFsDirQuotaRequest
- type UpdateFsDirQuotaRequestBody
- type UpdateFsDirQuotaResponse
- type UpdateHpcShareRequest
- type UpdateHpcShareRequestBody
- type UpdateHpcShareResponse
- type UpdateLdapConfigRequest
- type UpdateLdapConfigRequestBody
- type UpdateLdapConfigResponse
- type UpdatePermRuleRequest
- type UpdatePermRuleResponse
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
BatchAddSharedTagsRequest 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 {
}BatchAddSharedTagsResponse 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"` }
BssInfo 计费参数详情
type BssInfoExtend ¶ added in v0.1.18
type BssInfoExtend struct { // 是否自动付款 IsAutoPay *BssInfoExtendIsAutoPay `json:"is_auto_pay,omitempty"` }
BssInfoExtend 扩容计费参数详情
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"` }
ChangeSecurityGroup 需要修改的目标安全组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"` }
ChangeSecurityGroupRequest Request Object
func (ChangeSecurityGroupRequest) String ¶
func (o ChangeSecurityGroupRequest) String() string
type ChangeSecurityGroupRequestBody ¶
type ChangeSecurityGroupRequestBody struct {
ChangeSecurityGroup *ChangeSecurityGroup `json:"change_security_group"`
}
ChangeSecurityGroupRequestBody 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:"-"` }
ChangeSecurityGroupResponse Response Object
func (ChangeSecurityGroupResponse) String ¶
func (o ChangeSecurityGroupResponse) String() string
type ChangeShareNameReq ¶ added in v0.1.6
type ChangeShareNameReq struct {
}ChangeShareNameReq 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
ChangeShareNameRequest 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 {
}ChangeShareNameResponse Response Object
func (ChangeShareNameResponse) String ¶ added in v0.1.6
func (o ChangeShareNameResponse) String() string
type ConfigNasTarget ¶ added in v0.1.63
type ConfigNasTarget struct { // nas 配置名 Name string `json:"name"` // nas 配置协议类型 Type string `json:"type"` // nas 配置 ip Url string `json:"url"` }
ConfigNasTarget 配置 nas 后端信息
func (ConfigNasTarget) String ¶ added in v0.1.63
func (o ConfigNasTarget) String() string
type ConfigObsTarget ¶ added in v0.1.63
type ConfigObsTarget struct { // obs 配置名 Name string `json:"name"` // obs 配置协议类型 Type string `json:"type"` // obs 桶 endpoint Url string `json:"url"` // obs 桶名 Bucket string `json:"bucket"` }
ConfigObsTarget 配置 obs 后端信息
func (ConfigObsTarget) String ¶ added in v0.1.63
func (o ConfigObsTarget) String() string
type CreateBackendTargetRequest ¶ added in v0.1.63
type CreateBackendTargetRequest struct { // MIME类型 ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` Body *CreateBackendTargetRequestBody `json:"body,omitempty"` }
CreateBackendTargetRequest Request Object
func (CreateBackendTargetRequest) String ¶ added in v0.1.63
func (o CreateBackendTargetRequest) String() string
type CreateBackendTargetRequestBody ¶ added in v0.1.63
type CreateBackendTargetRequestBody struct { // 联动目录名称,SFS Turbo会在文件系统根目录下以该名称创建一个子目录,该目录用于绑定后端存储。子目录名称不能重复,长度不能超过255个字符,子目录名称不能是“.”或“..”。不支持多层目录,不能包含字符'/'。 FileSystemPath string `json:"file_system_path"` Obs *ObsDataRepository `json:"obs"` }
CreateBackendTargetRequestBody 创建文件系统后端存储库请求体
func (CreateBackendTargetRequestBody) String ¶ added in v0.1.63
func (o CreateBackendTargetRequestBody) String() string
type CreateBackendTargetResponse ¶ added in v0.1.63
type CreateBackendTargetResponse struct { // 绑定关系id TargetId *string `json:"target_id,omitempty"` // 绑定关系创建时间 CreationTime *string `json:"creation_time,omitempty"` FailureDetails *FailureDetailsMessage `json:"failure_details,omitempty"` // 联动目录名称 FileSystemPath *string `json:"file_system_path,omitempty"` // 绑定状态。如果返回状态为CREATING,您需要通过获取后端存储详细信息接口去轮询绑定完成状态。 如果返回状态为AVAILABLE,代表绑定后端存储成功。如果返回状态MISCONFIGURED,代表绑定后端存储失败。DELETING 状态暂不支持。 Lifecycle *CreateBackendTargetResponseLifecycle `json:"lifecycle,omitempty"` Obs *ObsDataRepository `json:"obs,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
CreateBackendTargetResponse Response Object
func (CreateBackendTargetResponse) String ¶ added in v0.1.63
func (o CreateBackendTargetResponse) String() string
type CreateBackendTargetResponseLifecycle ¶ added in v0.1.63
type CreateBackendTargetResponseLifecycle struct {
// contains filtered or unexported fields
}
func (CreateBackendTargetResponseLifecycle) MarshalJSON ¶ added in v0.1.63
func (c CreateBackendTargetResponseLifecycle) MarshalJSON() ([]byte, error)
func (*CreateBackendTargetResponseLifecycle) UnmarshalJSON ¶ added in v0.1.63
func (c *CreateBackendTargetResponseLifecycle) UnmarshalJSON(b []byte) error
func (CreateBackendTargetResponseLifecycle) Value ¶ added in v0.1.63
func (c CreateBackendTargetResponseLifecycle) Value() string
type CreateBackendTargetResponseLifecycleEnum ¶ added in v0.1.63
type CreateBackendTargetResponseLifecycleEnum struct { CREATING CreateBackendTargetResponseLifecycle AVAILABLE CreateBackendTargetResponseLifecycle MISCONFIGURED CreateBackendTargetResponseLifecycle DELETING CreateBackendTargetResponseLifecycle }
func GetCreateBackendTargetResponseLifecycleEnum ¶ added in v0.1.63
func GetCreateBackendTargetResponseLifecycleEnum() CreateBackendTargetResponseLifecycleEnum
type CreateFsDirQuotaRequest ¶ added in v0.1.39
type CreateFsDirQuotaRequest struct { // MIME类型 ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` Body *CreateFsDirQuotaRequestBody `json:"body,omitempty"` }
CreateFsDirQuotaRequest 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"` }
CreateFsDirQuotaRequestBody 目录配额信息
func (CreateFsDirQuotaRequestBody) String ¶ added in v0.1.39
func (o CreateFsDirQuotaRequestBody) String() string
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:"-"` }
CreateFsDirQuotaResponse 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"` ShareId string `json:"share_id"` Body *CreateFsDirRequestBody `json:"body,omitempty"` }
CreateFsDirRequest 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"` // 目录权限,默认值是755,取值范围是0到777。第一位表示目录所有者的权限,第二位表示目录所属用户组的权限,第三位表示其他用户的权限。目录所有者由uid指定,目录所属用户组由gid指定,不是目录所有者且不在目录所属用户组的用户为其他用户。例如:755中第一位7代表该目录所有者对该目录具有读、写、执行权限;第二位5代表该目录所属用户组对该目录具有读、执行权限;第三位5代表其他用户对该目录具有读、执行权限。 Mode *int64 `json:"mode,omitempty"` // 目录所有者的用户id,默认值是0,取值范围是0到4,294,967,294(即2^32-2)。 Uid *int64 `json:"uid,omitempty"` // 目录所属用户组id,默认值是0,取值范围是0到4,294,967,294(即2^32-2)。 Gid *int64 `json:"gid,omitempty"` }
CreateFsDirRequestBody 创建目录请求
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:"-"`
}
CreateFsDirResponse Response Object
func (CreateFsDirResponse) String ¶ added in v0.1.39
func (o CreateFsDirResponse) String() string
type CreateFsTaskRequest ¶ added in v0.1.63
type CreateFsTaskRequest struct { // MIME类型, application/json ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` // 任务类型。例,DU任务取值为dir-usage Feature string `json:"feature"` Body *FsDirReq `json:"body,omitempty"` }
CreateFsTaskRequest Request Object
func (CreateFsTaskRequest) String ¶ added in v0.1.63
func (o CreateFsTaskRequest) String() string
type CreateFsTaskResponse ¶ added in v0.1.63
type CreateFsTaskResponse struct { // 任务ID TaskId *string `json:"task_id,omitempty"` HttpStatusCode int `json:"-"` }
CreateFsTaskResponse Response Object
func (CreateFsTaskResponse) String ¶ added in v0.1.63
func (o CreateFsTaskResponse) String() string
type CreateHpcCacheTaskReq ¶ added in v0.1.63
type CreateHpcCacheTaskReq struct { // 任务类型,当前支持import(附加元数据导入),import_metadata(快速导入),preload(数据预热),export(导出)。 附加元数据导入方式会导入OBS对象的元数据(名称、大小、最后修改时间)以及来源于SFS Turbo HPC型导出时的附加元数据(如uid、gid、mode)。 快速导入方式仅会导入OBS对象的元数据(名称、大小、最后修改时间),不会导入其它附加元数据(如uid、gid、mode),SFS Turbo会生成默认的附加元数据(uid:0、gid:0、目录权限:755、文件权限:644)。 数据预热功能会同时导入元数据和数据内容,数据预热中的元数据导入采用快速导入方式,不会导入其它附加元数据(如uid、gid、mode)。 数据导出功能会将您在联动目录里创建的文件,以及对从OBS导入后又做过修改的文件导出存储到OBS桶里。 Type CreateHpcCacheTaskReqType `json:"type"` // 联动目录名称 SrcTarget string `json:"src_target"` // 导入导出任务的源端路径前缀,导入时不需要包含OBS桶名,导出时不需要包含联动目录名称。 对于数据预热导入,携带源端路径前缀时必须是以“/”结尾的目录或具体到某个对象。 如果不带该字段,导入时会导入绑定OBS桶内的所有对象,导出时会导出联动目录下的所有文件。 SrcPrefix *string `json:"src_prefix,omitempty"` // 目前只支持和src_target保持一致 DestTarget string `json:"dest_target"` // 目前只支持和src_prefix保持一致 DestPrefix *string `json:"dest_prefix,omitempty"` }
CreateHpcCacheTaskReq hpc cache 联动任务请求
func (CreateHpcCacheTaskReq) String ¶ added in v0.1.63
func (o CreateHpcCacheTaskReq) String() string
type CreateHpcCacheTaskReqType ¶ added in v0.1.63
type CreateHpcCacheTaskReqType struct {
// contains filtered or unexported fields
}
func (CreateHpcCacheTaskReqType) MarshalJSON ¶ added in v0.1.63
func (c CreateHpcCacheTaskReqType) MarshalJSON() ([]byte, error)
func (*CreateHpcCacheTaskReqType) UnmarshalJSON ¶ added in v0.1.63
func (c *CreateHpcCacheTaskReqType) UnmarshalJSON(b []byte) error
func (CreateHpcCacheTaskReqType) Value ¶ added in v0.1.63
func (c CreateHpcCacheTaskReqType) Value() string
type CreateHpcCacheTaskReqTypeEnum ¶ added in v0.1.63
type CreateHpcCacheTaskReqTypeEnum struct { IMPORT CreateHpcCacheTaskReqType EXPORT CreateHpcCacheTaskReqType IMPORT_METADATA CreateHpcCacheTaskReqType PRELOAD CreateHpcCacheTaskReqType }
func GetCreateHpcCacheTaskReqTypeEnum ¶ added in v0.1.63
func GetCreateHpcCacheTaskReqTypeEnum() CreateHpcCacheTaskReqTypeEnum
type CreateHpcCacheTaskRequest ¶ added in v0.1.63
type CreateHpcCacheTaskRequest struct { // MIME类型 ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` Body *CreateHpcCacheTaskReq `json:"body,omitempty"` }
CreateHpcCacheTaskRequest Request Object
func (CreateHpcCacheTaskRequest) String ¶ added in v0.1.63
func (o CreateHpcCacheTaskRequest) String() string
type CreateHpcCacheTaskResponse ¶ added in v0.1.63
type CreateHpcCacheTaskResponse struct { // 任务ID TaskId *string `json:"task_id,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
CreateHpcCacheTaskResponse Response Object
func (CreateHpcCacheTaskResponse) String ¶ added in v0.1.63
func (o CreateHpcCacheTaskResponse) String() string
type CreateLdapConfigRequest ¶ added in v0.1.76
type CreateLdapConfigRequest struct { // MIME类型 ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` Body *CreateLdapConfigRequestBody `json:"body,omitempty"` }
CreateLdapConfigRequest Request Object
func (CreateLdapConfigRequest) String ¶ added in v0.1.76
func (o CreateLdapConfigRequest) String() string
type CreateLdapConfigRequestBody ¶ added in v0.1.76
type CreateLdapConfigRequestBody struct { // ldap服务器的url Url string `json:"url"` // 数据库中的域 BaseDn string `json:"base_dn"` // 用户区别名 UserDn *string `json:"user_dn,omitempty"` // ldap认证密码 Password *string `json:"password,omitempty"` // 一般不涉及。仅在SFSTurbo支持多VPC的场景下,需要指定LDAP服务器可连通的VPC的id。 VpcId *string `json:"vpc_id,omitempty"` // 过滤条件。保留字段,暂不支持 FilterCondition *string `json:"filter_condition,omitempty"` }
CreateLdapConfigRequestBody ldap配置信息
func (CreateLdapConfigRequestBody) String ¶ added in v0.1.76
func (o CreateLdapConfigRequestBody) String() string
type CreateLdapConfigResponse ¶ added in v0.1.76
type CreateLdapConfigResponse struct { // 创建ldap异步任务的id JobId *string `json:"jobId,omitempty"` HttpStatusCode int `json:"-"` }
CreateLdapConfigResponse Response Object
func (CreateLdapConfigResponse) String ¶ added in v0.1.76
func (o CreateLdapConfigResponse) String() string
type CreatePermRuleRequest ¶ added in v0.1.63
type CreatePermRuleRequest struct { // MIME类型 ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` Body *CreatePermRulesRequestBody `json:"body,omitempty"` }
CreatePermRuleRequest Request Object
func (CreatePermRuleRequest) String ¶ added in v0.1.63
func (o CreatePermRuleRequest) String() string
type CreatePermRuleResponse ¶ added in v0.1.63
type CreatePermRuleResponse struct { // 权限规格信息 Rules *[]OnePermRuleResponseInfo `json:"rules,omitempty"` HttpStatusCode int `json:"-"` }
CreatePermRuleResponse Response Object
func (CreatePermRuleResponse) String ¶ added in v0.1.63
func (o CreatePermRuleResponse) String() string
type CreatePermRulesRequestBody ¶ added in v0.1.63
type CreatePermRulesRequestBody struct { // 权限信息,一次最多允许添加5条规则 Rules []OnePermRuleRequestInfo `json:"rules"` }
CreatePermRulesRequestBody 创建权限请求体
func (CreatePermRulesRequestBody) String ¶ added in v0.1.63
func (o CreatePermRulesRequestBody) String() string
type CreateShareRequest ¶
type CreateShareRequest struct { string `json:"Content-Type"` }ContentType
CreateShareRequest Request Object
func (CreateShareRequest) String ¶
func (o CreateShareRequest) String() string
type CreateShareRequestBody ¶
type CreateShareRequestBody struct {}
CreateShareRequestBody 创建文件系统参数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 *
CreateShareResponse 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
CreateSharedTagRequest Request Object
func (CreateSharedTagRequest) String ¶
func (o CreateSharedTagRequest) String() string
type CreateSharedTagRequestBody ¶
type CreateSharedTagRequestBody struct {
}CreateSharedTagRequestBody 标签
func (CreateSharedTagRequestBody) String ¶
func (o CreateSharedTagRequestBody) String() string
type CreateSharedTagResponse ¶
type CreateSharedTagResponse struct {
}CreateSharedTagResponse Response Object
func (CreateSharedTagResponse) String ¶
func (o CreateSharedTagResponse) String() string
type DeleteBackendTargetRequest ¶ added in v0.1.63
type DeleteBackendTargetRequest struct { // MIME类型 ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` // 绑定关系id TargetId string `json:"target_id"` // 删除后端存储时是否同时删除文件系统内的联动目录及其数据文件,默认为 false。数据删除后无法恢复,请谨慎操作。 DeleteDataInFileSystem *bool `json:"delete_data_in_file_system,omitempty"` }
DeleteBackendTargetRequest Request Object
func (DeleteBackendTargetRequest) String ¶ added in v0.1.63
func (o DeleteBackendTargetRequest) String() string
type DeleteBackendTargetResponse ¶ added in v0.1.63
type DeleteBackendTargetResponse struct { // 绑定关系id TargetId *string `json:"target_id,omitempty"` // 删除后端存储时是否同时删除文件系统内的联动目录及其数据文件 DeleteDataInFileSystem *bool `json:"delete_data_in_file_system,omitempty"` // 绑定状态。只支持DELETING和FAILED Lifecycle *DeleteBackendTargetResponseLifecycle `json:"lifecycle,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
DeleteBackendTargetResponse Response Object
func (DeleteBackendTargetResponse) String ¶ added in v0.1.63
func (o DeleteBackendTargetResponse) String() string
type DeleteBackendTargetResponseLifecycle ¶ added in v0.1.63
type DeleteBackendTargetResponseLifecycle struct {
// contains filtered or unexported fields
}
func (DeleteBackendTargetResponseLifecycle) MarshalJSON ¶ added in v0.1.63
func (c DeleteBackendTargetResponseLifecycle) MarshalJSON() ([]byte, error)
func (*DeleteBackendTargetResponseLifecycle) UnmarshalJSON ¶ added in v0.1.63
func (c *DeleteBackendTargetResponseLifecycle) UnmarshalJSON(b []byte) error
func (DeleteBackendTargetResponseLifecycle) Value ¶ added in v0.1.63
func (c DeleteBackendTargetResponseLifecycle) Value() string
type DeleteBackendTargetResponseLifecycleEnum ¶ added in v0.1.63
type DeleteBackendTargetResponseLifecycleEnum struct { DELETING DeleteBackendTargetResponseLifecycle AVAILABLE DeleteBackendTargetResponseLifecycle MISCONFIGURED DeleteBackendTargetResponseLifecycle CREATING DeleteBackendTargetResponseLifecycle FAILED DeleteBackendTargetResponseLifecycle }
func GetDeleteBackendTargetResponseLifecycleEnum ¶ added in v0.1.63
func GetDeleteBackendTargetResponseLifecycleEnum() DeleteBackendTargetResponseLifecycleEnum
type DeleteFsDirQuotaRequest ¶ added in v0.1.39
type DeleteFsDirQuotaRequest struct { // MIME类型 ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` Body *DeleteFsDirQuotaRequestBody `json:"body,omitempty"` }
DeleteFsDirQuotaRequest 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"` }
DeleteFsDirQuotaRequestBody 需要删除quota的目录
func (DeleteFsDirQuotaRequestBody) String ¶ added in v0.1.39
func (o DeleteFsDirQuotaRequestBody) String() string
type DeleteFsDirQuotaResponse ¶ added in v0.1.39
type DeleteFsDirQuotaResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteFsDirQuotaResponse 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"` ShareId string `json:"share_id"` Body *DeleteFsDirRequestBody `json:"body,omitempty"` }
DeleteFsDirRequest 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"` }
DeleteFsDirRequestBody 删除目录请求
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:"-"`
}
DeleteFsDirResponse Response Object
func (DeleteFsDirResponse) String ¶ added in v0.1.39
func (o DeleteFsDirResponse) String() string
type DeleteFsTaskRequest ¶ added in v0.1.63
type DeleteFsTaskRequest struct { // MIME类型, application/json ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` // 任务类型。例,DU任务取值为dir-usage Feature string `json:"feature"` // 任务ID TaskId string `json:"task_id"` }
DeleteFsTaskRequest Request Object
func (DeleteFsTaskRequest) String ¶ added in v0.1.63
func (o DeleteFsTaskRequest) String() string
type DeleteFsTaskResponse ¶ added in v0.1.63
type DeleteFsTaskResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteFsTaskResponse Response Object
func (DeleteFsTaskResponse) String ¶ added in v0.1.63
func (o DeleteFsTaskResponse) String() string
type DeleteLdapConfigRequest ¶ added in v0.1.76
type DeleteLdapConfigRequest struct { // MIME类型 ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` }
DeleteLdapConfigRequest Request Object
func (DeleteLdapConfigRequest) String ¶ added in v0.1.76
func (o DeleteLdapConfigRequest) String() string
type DeleteLdapConfigResponse ¶ added in v0.1.76
type DeleteLdapConfigResponse struct { // 创建ldap异步任务的id JobId *string `json:"jobId,omitempty"` HttpStatusCode int `json:"-"` }
DeleteLdapConfigResponse Response Object
func (DeleteLdapConfigResponse) String ¶ added in v0.1.76
func (o DeleteLdapConfigResponse) String() string
type DeletePermRuleRequest ¶ added in v0.1.63
type DeletePermRuleRequest struct { // MIME类型 ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` // 权限规则id RuleId string `json:"rule_id"` }
DeletePermRuleRequest Request Object
func (DeletePermRuleRequest) String ¶ added in v0.1.63
func (o DeletePermRuleRequest) String() string
type DeletePermRuleResponse ¶ added in v0.1.63
type DeletePermRuleResponse struct {
HttpStatusCode int `json:"-"`
}
DeletePermRuleResponse Response Object
func (DeletePermRuleResponse) String ¶ added in v0.1.63
func (o DeletePermRuleResponse) String() string
type DeleteShareRequest ¶
type DeleteShareRequest struct { string `json:"Content-Type"` ShareId string `json:"share_id"` }ContentType
DeleteShareRequest Request Object
func (DeleteShareRequest) String ¶
func (o DeleteShareRequest) String() string
type DeleteShareResponse ¶
type DeleteShareResponse struct {
}DeleteShareResponse 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
DeleteSharedTagRequest Request Object
func (DeleteSharedTagRequest) String ¶
func (o DeleteSharedTagRequest) String() string
type DeleteSharedTagResponse ¶
type DeleteSharedTagResponse struct {
}DeleteSharedTagResponse 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
ExpandShareRequest 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 *
ExpandShareResponse Response Object
func (ExpandShareResponse) String ¶
func (o ExpandShareResponse) String() string
type Extend ¶
type Extend struct { // 扩容后文件系统的新容量,以GiB为单位。 通用型-标准型和性能型,取值范围500~32768 GiB,扩容步长大于等于100 GiB。 通用型-标准型增强版和性能型增强版。容量范围是10240~327680 GiB。扩容步长大于等于100 GiB。 HPC型文件系统,容量范围是3686~1048576 GiB。HPC型文件系统的容量必须为1.2TiB的倍数,扩容步长需要大于等于1.2TiB,需要将目标容量换算为GiB后需要向下取整。如4.8TiB->4915GiB,8.4TiB->8601GiB。 HPC缓存型文件系统,容量范围是4096~1048576 GiB。扩容步长均为1TiB。需要将目标容量换算为GiB。 NewSize int32 `json:"new_size"` // 带宽的目标值,单位:GB。仅HPC缓存型支持带宽扩缩。 支持的带宽值为:\"2G\"、\"4G\"、\"8G\"、\"16G\"、\"24G\"、\"32G\"、\"48G\"。 NewBandwidth *int64 `json:"new_bandwidth,omitempty"` BssParam *BssInfoExtend `json:"bss_param,omitempty"` }
Extend extend对象
type FailureDetailsMessage ¶ added in v0.1.63
type FailureDetailsMessage struct { // 错误信息 Message string `json:"message"` }
FailureDetailsMessage 数据存储库生命周期中出现的错误信息
func (FailureDetailsMessage) String ¶ added in v0.1.63
func (o FailureDetailsMessage) String() string
type FsDirReq ¶ added in v0.1.63
type FsDirReq struct { // 文件系统内合法的目录全路径。单层目录长度不允许超过255,全路径长度不允许超过4096。 Path string `json:"path"` }
FsDirReq 文件系统内合法的目录全路径
type FsDirUasge ¶ added in v0.1.63
type FsDirUasge struct { // 占用容量,单位:byte UsedCapacity int64 `json:"used_capacity"` }
FsDirUasge 目录资源使用情况(包含子目录)
func (FsDirUasge) String ¶ added in v0.1.63
func (o FsDirUasge) String() string
type FsDuInfo ¶ added in v0.1.63
type FsDuInfo struct { // 文件系统内合法的目录全路径 Path *string `json:"path,omitempty"` // 占用容量,单位:byte UsedCapacity *int64 `json:"used_capacity,omitempty"` FileCount *FsFileCount `json:"file_count,omitempty"` // 错误信息 Message *string `json:"message,omitempty"` }
FsDuInfo 目录资源使用情况(包含子目录)
type FsFileCount ¶ added in v0.1.63
type FsFileCount struct { // 目录数目 Dir *int64 `json:"dir,omitempty"` // 普通文件数目 Regular *int64 `json:"regular,omitempty"` // 管道文件数目 Pipe *int64 `json:"pipe,omitempty"` // 字符设备数目 Char *int64 `json:"char,omitempty"` // 块设备数目 Block *int64 `json:"block,omitempty"` // 套接字数目 Socket *int64 `json:"socket,omitempty"` // 符号链接数目 Symlink *int64 `json:"symlink,omitempty"` }
FsFileCount 所有文件数目
func (FsFileCount) String ¶ added in v0.1.63
func (o FsFileCount) String() string
type GetSubJobDetail ¶ added in v0.1.76
type GetSubJobDetail struct { // 子job的状态。success:成功。running:运行中。failed:失败。waiting:等待执行。 Status *string `json:"status,omitempty"` // job的ID。 JobId *string `json:"job_id,omitempty"` // 子job的类型。 JobType *string `json:"job_type,omitempty"` // job开始时间。UTC时间,格式:'2016-01-02 15:04:05' BeginTime *string `json:"begin_time,omitempty"` // job结束时间。UTC时间,格式:'2016-01-02 15:04:05' EndTime *string `json:"end_time,omitempty"` // job执行失败时的错误码 ErrorCode *string `json:"error_code,omitempty"` // job执行失败时的错误原因 FailReason *string `json:"fail_reason,omitempty"` }
GetSubJobDetail 子任务详情
func (GetSubJobDetail) String ¶ added in v0.1.76
func (o GetSubJobDetail) String() string
type ListBackendTargetsRequest ¶ added in v0.1.63
type ListBackendTargetsRequest struct { // MIME类型 ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` // 查询列表返回元素个数 Limit *int32 `json:"limit,omitempty"` // 查询列表偏移量 Marker *string `json:"marker,omitempty"` }
ListBackendTargetsRequest Request Object
func (ListBackendTargetsRequest) String ¶ added in v0.1.63
func (o ListBackendTargetsRequest) String() string
type ListBackendTargetsResponse ¶ added in v0.1.63
type ListBackendTargetsResponse struct { // 后端存储列表个数 Count *int32 `json:"count,omitempty"` // 后端存储列表 Targets *[]ShowBackendTargetInfoResponseBody `json:"targets,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListBackendTargetsResponse Response Object
func (ListBackendTargetsResponse) String ¶ added in v0.1.63
func (o ListBackendTargetsResponse) String() string
type ListFsTasksRequest ¶ added in v0.1.63
type ListFsTasksRequest struct { // MIME类型, application/json ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` // 任务类型。例,DU任务取值为dir-usage Feature string `json:"feature"` // marker,取值为task_id Marker *string `json:"marker,omitempty"` // limit, 取值为正整数. 默认为20,最大值为100 Limit *int32 `json:"limit,omitempty"` }
ListFsTasksRequest Request Object
func (ListFsTasksRequest) String ¶ added in v0.1.63
func (o ListFsTasksRequest) String() string
type ListFsTasksResponse ¶ added in v0.1.63
type ListFsTasksResponse struct { // 任务列表 Tasks *[]OneFsTaskResp `json:"tasks,omitempty"` HttpStatusCode int `json:"-"` }
ListFsTasksResponse Response Object
func (ListFsTasksResponse) String ¶ added in v0.1.63
func (o ListFsTasksResponse) String() string
type ListHpcCacheTasksRequest ¶ added in v0.1.63
type ListHpcCacheTasksRequest struct { // MIME类型 ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` // 任务类型 Type *string `json:"type,omitempty"` // 任务状态 Status *string `json:"status,omitempty"` // offset,默认值为 0 Offset *int64 `json:"offset,omitempty"` // limit,默认值为 20 Limit *int64 `json:"limit,omitempty"` }
ListHpcCacheTasksRequest Request Object
func (ListHpcCacheTasksRequest) String ¶ added in v0.1.63
func (o ListHpcCacheTasksRequest) String() string
type ListHpcCacheTasksResponse ¶ added in v0.1.63
type ListHpcCacheTasksResponse struct { // 任务详情 Tasks *[]OneHpcCacheTaskInfoResp `json:"tasks,omitempty"` // 任务数量 Count *int64 `json:"count,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListHpcCacheTasksResponse Response Object
func (ListHpcCacheTasksResponse) String ¶ added in v0.1.63
func (o ListHpcCacheTasksResponse) String() string
type ListPermRulesRequest ¶ added in v0.1.63
type ListPermRulesRequest struct { // MIME类型 ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` }
ListPermRulesRequest Request Object
func (ListPermRulesRequest) String ¶ added in v0.1.63
func (o ListPermRulesRequest) String() string
type ListPermRulesResponse ¶ added in v0.1.63
type ListPermRulesResponse struct { // 权限信息 Rules *[]OnePermRuleResponseInfo `json:"rules,omitempty"` HttpStatusCode int `json:"-"` }
ListPermRulesResponse Response Object
func (ListPermRulesResponse) String ¶ added in v0.1.63
func (o ListPermRulesResponse) String() string
type ListSharedTagsRequest ¶
type ListSharedTagsRequest struct { string `json:"Content-Type"` }ContentType
ListSharedTagsRequest Request Object
func (ListSharedTagsRequest) String ¶
func (o ListSharedTagsRequest) String() string
type ListSharedTagsResponse ¶
type ListSharedTagsResponse struct { // tag标签的列表 }
ListSharedTagsResponse 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
ListSharesRequest Request Object
func (ListSharesRequest) String ¶
func (o ListSharesRequest) String() string
type ListSharesResponse ¶
type ListSharesResponse struct { ShareInfo `json:"shares,omitempty"` // SFS Turbo文件系统的数量。 }Shares *[]
ListSharesResponse 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"` // 扩展类型。创建增强型/HPC型/HPC缓存型文件系统时,该参数必填。 创建增强型的文件系统,包括标准型-增强版和性能型-增强版,需要填写\"bandwidth\"。 创建HPC型文件系统,需要填写\"hpc\"。 创建HPC缓存型,需要填写\"hpc_cache\"。 ExpandType *string `json:"expand_type,omitempty"` // 文件系统的带宽规格。创建HPC型/HPC缓存型文件系统时,该参数必填。 HPC型,可以填写\"20M\"、\"40M\"、\"125M\"、\"250M\"、\"500M\"、\"1000M\"。 HPC缓存型,可以填写\"2G\"、\"4G\"、\"8G\"、\"16G\"、\"24G\"、\"32G\"、\"48G\"。 HpcBw *string `json:"hpc_bw,omitempty"` }
Metadata metadata参数详情
type ObsDataRepository ¶ added in v0.1.63
type ObsDataRepository struct { // OBS桶名称 Bucket string `json:"bucket"` // OBS桶所在的区域域名 Endpoint string `json:"endpoint"` }
ObsDataRepository OBS类型后端存储
func (ObsDataRepository) String ¶ added in v0.1.63
func (o ObsDataRepository) String() string
type OneFsTaskResp ¶ added in v0.1.63
type OneFsTaskResp struct { // 任务ID TaskId string `json:"task_id"` // 任务状态, SUCCESS表示成功,DOING表示正在执行,FAIL表示失败 Status OneFsTaskRespStatus `json:"status"` DirUsage *FsDuInfo `json:"dir_usage,omitempty"` // 任务开始时间,UTC时间,例如:2006-01-02 15:04:05' BeginTime string `json:"begin_time"` // 任务结束时间,UTC时间,例如:2006-01-02 15:04:06' EndTime string `json:"end_time"` }
OneFsTaskResp 查询任务详情
func (OneFsTaskResp) String ¶ added in v0.1.63
func (o OneFsTaskResp) String() string
type OneFsTaskRespStatus ¶ added in v0.1.63
type OneFsTaskRespStatus struct {
// contains filtered or unexported fields
}
func (OneFsTaskRespStatus) MarshalJSON ¶ added in v0.1.63
func (c OneFsTaskRespStatus) MarshalJSON() ([]byte, error)
func (*OneFsTaskRespStatus) UnmarshalJSON ¶ added in v0.1.63
func (c *OneFsTaskRespStatus) UnmarshalJSON(b []byte) error
func (OneFsTaskRespStatus) Value ¶ added in v0.1.63
func (c OneFsTaskRespStatus) Value() string
type OneFsTaskRespStatusEnum ¶ added in v0.1.63
type OneFsTaskRespStatusEnum struct { SUCCESS OneFsTaskRespStatus DOING OneFsTaskRespStatus FAIL OneFsTaskRespStatus }
func GetOneFsTaskRespStatusEnum ¶ added in v0.1.63
func GetOneFsTaskRespStatusEnum() OneFsTaskRespStatusEnum
type OneHpcCacheTaskInfoResp ¶ added in v0.1.63
type OneHpcCacheTaskInfoResp struct { // 任务ID TaskId string `json:"task_id"` // 任务类型 Type string `json:"type"` // 任务状态 Status string `json:"status"` // 联动目录名称 SrcTarget string `json:"src_target"` // 导入导出任务的源端路径前缀 SrcPrefix string `json:"src_prefix"` // 和src_target保持一致 DestTarget string `json:"dest_target"` // 和src_prefix保持一致 DestPrefix string `json:"dest_prefix"` // 任务开始时间 StartTime string `json:"start_time"` // 任务结束时间 EndTime string `json:"end_time"` // 任务执行结果信息 Message string `json:"message"` }
OneHpcCacheTaskInfoResp 每个任务信息
func (OneHpcCacheTaskInfoResp) String ¶ added in v0.1.63
func (o OneHpcCacheTaskInfoResp) String() string
type OnePermRuleRequestInfo ¶ added in v0.1.63
type OnePermRuleRequestInfo struct { // 授权对象的IP地址或网段,设置后不支持修改 IpCidr *string `json:"ip_cidr,omitempty"` // -| 授权对象的读写权限 rw:默认选项,以读写的方式共享 ro:以只读的方式共享 RwType *string `json:"rw_type,omitempty"` // -| 授权对象的系统用户对文件系统的访问权限。取值如下: no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。 UserType *string `json:"user_type,omitempty"` }
OnePermRuleRequestInfo 权限规格信息
func (OnePermRuleRequestInfo) String ¶ added in v0.1.63
func (o OnePermRuleRequestInfo) String() string
type OnePermRuleResponseInfo ¶ added in v0.1.63
type OnePermRuleResponseInfo struct { // 权限规格的id Id string `json:"id"` // 授权对象的IP地址或网段 IpCidr string `json:"ip_cidr"` // -| 授权对象的读写权限 rw:默认选项,以读写的方式共享 ro:以只读的方式共享 RwType string `json:"rw_type"` // -| 授权对象的系统用户对文件系统的访问权限。取值如下: no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。 UserType string `json:"user_type"` }
OnePermRuleResponseInfo 权限规格信息
func (OnePermRuleResponseInfo) String ¶ added in v0.1.63
func (o OnePermRuleResponseInfo) String() string
type ReqConfigHpcCacheBackend ¶ added in v0.1.63
type ReqConfigHpcCacheBackend struct {
UpdateHpcCache *ReqUpdateHpcCacheInfo `json:"update_hpc_cache"`
}
ReqConfigHpcCacheBackend hpc缓存型配置信息请求
func (ReqConfigHpcCacheBackend) String ¶ added in v0.1.63
func (o ReqConfigHpcCacheBackend) String() string
type ReqUpdateHpcCacheData ¶ added in v0.1.63
type ReqUpdateHpcCacheData struct { // 冷数据淘汰时间。单位:小时。指定时间内线上缓存的数据如果没有被访问则会自动从缓存中删除。0表示数据不会因为时间原因自动从缓存中删除。 GcTime int64 `json:"gc_time"` // 后端校验时间。单位:秒。指定时间间隔进行线上缓存文件与后端存储文件比较,存在变化则自动更新。0表示文件进行实时校验。 CkTime int64 `json:"ck_time"` // 配置 nas 后端的信息, 和 obs 字段为二选一的关系 Nas *[]ConfigNasTarget `json:"nas,omitempty"` // 配置 obs 后端的信息, 和 nas 字段为二选一的关系 Obs *[]ConfigObsTarget `json:"obs,omitempty"` }
ReqUpdateHpcCacheData 后端挂载地址信息
func (ReqUpdateHpcCacheData) String ¶ added in v0.1.63
func (o ReqUpdateHpcCacheData) String() string
type ReqUpdateHpcCacheInfo ¶ added in v0.1.63
type ReqUpdateHpcCacheInfo struct { // 配置hpc缓存型的动作,如initialize_overlay Action string `json:"action"` Data *ReqUpdateHpcCacheData `json:"data"` }
ReqUpdateHpcCacheInfo 后端挂载信息
func (ReqUpdateHpcCacheInfo) String ¶ added in v0.1.63
func (o ReqUpdateHpcCacheInfo) String() string
type ResourceTag ¶
type ResourceTag struct { // 标签的键。 最大长度36个字符。 key不能为空,不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。 Key string `json:"key"` // 标签的值。 每个值最大长度43个字符,可以为空字符串。 不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。只能包含大写字母、小写字母、数字,特殊字符\"-\"和\"_\"。 Value string `json:"value"` }
ResourceTag resource_tag字段说明
func (ResourceTag) String ¶
func (o ResourceTag) String() string
type SetHpcCacheBackendRequest ¶ added in v0.1.63
type SetHpcCacheBackendRequest struct { // MIME类型 ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` Body *ReqConfigHpcCacheBackend `json:"body,omitempty"` }
SetHpcCacheBackendRequest Request Object
func (SetHpcCacheBackendRequest) String ¶ added in v0.1.63
func (o SetHpcCacheBackendRequest) String() string
type SetHpcCacheBackendResponse ¶ added in v0.1.63
type SetHpcCacheBackendResponse struct { XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
SetHpcCacheBackendResponse Response Object
func (SetHpcCacheBackendResponse) String ¶ added in v0.1.63
func (o SetHpcCacheBackendResponse) 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"` Tags *[]ResourceTag `json:"tags,omitempty"` }AvailabilityZone
Share 创建文件系统参数body
type ShareInfo ¶ added in v0.1.63
type ShareInfo 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 *ShareInfoPayModel `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"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` Tags *[]ResourceTag `json:"tags,omitempty"` }Version *
ShareInfo 文件系统详情
type ShareInfoPayModel ¶ added in v0.1.63
type ShareInfoPayModel struct {
// contains filtered or unexported fields
}
func (ShareInfoPayModel) MarshalJSON ¶ added in v0.1.63
func (c ShareInfoPayModel) MarshalJSON() ([]byte, error)
func (*ShareInfoPayModel) UnmarshalJSON ¶ added in v0.1.63
func (c *ShareInfoPayModel) UnmarshalJSON(b []byte) error
func (ShareInfoPayModel) Value ¶ added in v0.1.63
func (c ShareInfoPayModel) Value() string
type ShareInfoPayModelEnum ¶ added in v0.1.63
type ShareInfoPayModelEnum struct {}
func GetShareInfoPayModelEnum ¶ added in v0.1.63
func GetShareInfoPayModelEnum() ShareInfoPayModelEnum
type ShareName ¶ added in v0.1.6
type ShareName struct { string `json:"name"` }Name
ShareName 需要修改的SFS Turbo文件系统
type ShowBackendTargetInfoRequest ¶ added in v0.1.63
type ShowBackendTargetInfoRequest struct { // MIME类型 ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` // 绑定关系id TargetId string `json:"target_id"` }
ShowBackendTargetInfoRequest Request Object
func (ShowBackendTargetInfoRequest) String ¶ added in v0.1.63
func (o ShowBackendTargetInfoRequest) String() string
type ShowBackendTargetInfoResponse ¶ added in v0.1.63
type ShowBackendTargetInfoResponse struct { // 绑定关系id TargetId *string `json:"target_id,omitempty"` // 绑定关系创建时间 CreationTime *string `json:"creation_time,omitempty"` // 联动目录名称 FileSystemPath *string `json:"file_system_path,omitempty"` FailureDetails *FailureDetailsMessage `json:"failure_details,omitempty"` // 绑定状态 Lifecycle *ShowBackendTargetInfoResponseLifecycle `json:"lifecycle,omitempty"` Obs *ObsDataRepository `json:"obs,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ShowBackendTargetInfoResponse Response Object
func (ShowBackendTargetInfoResponse) String ¶ added in v0.1.63
func (o ShowBackendTargetInfoResponse) String() string
type ShowBackendTargetInfoResponseBody ¶ added in v0.1.63
type ShowBackendTargetInfoResponseBody struct { // 绑定关系id TargetId *string `json:"target_id,omitempty"` // 绑定关系创建时间 CreationTime *string `json:"creation_time,omitempty"` // 联动目录名称 FileSystemPath *string `json:"file_system_path,omitempty"` FailureDetails *FailureDetailsMessage `json:"failure_details,omitempty"` // 绑定状态 Lifecycle *ShowBackendTargetInfoResponseBodyLifecycle `json:"lifecycle,omitempty"` Obs *ObsDataRepository `json:"obs,omitempty"` }
ShowBackendTargetInfoResponseBody 查询文件系统后端存储库详情返回体
func (ShowBackendTargetInfoResponseBody) String ¶ added in v0.1.63
func (o ShowBackendTargetInfoResponseBody) String() string
type ShowBackendTargetInfoResponseBodyLifecycle ¶ added in v0.1.63
type ShowBackendTargetInfoResponseBodyLifecycle struct {
// contains filtered or unexported fields
}
func (ShowBackendTargetInfoResponseBodyLifecycle) MarshalJSON ¶ added in v0.1.63
func (c ShowBackendTargetInfoResponseBodyLifecycle) MarshalJSON() ([]byte, error)
func (*ShowBackendTargetInfoResponseBodyLifecycle) UnmarshalJSON ¶ added in v0.1.63
func (c *ShowBackendTargetInfoResponseBodyLifecycle) UnmarshalJSON(b []byte) error
func (ShowBackendTargetInfoResponseBodyLifecycle) Value ¶ added in v0.1.63
func (c ShowBackendTargetInfoResponseBodyLifecycle) Value() string
type ShowBackendTargetInfoResponseBodyLifecycleEnum ¶ added in v0.1.63
type ShowBackendTargetInfoResponseBodyLifecycleEnum struct { CREATING ShowBackendTargetInfoResponseBodyLifecycle AVAILABLE ShowBackendTargetInfoResponseBodyLifecycle MISCONFIGURED ShowBackendTargetInfoResponseBodyLifecycle DELETING ShowBackendTargetInfoResponseBodyLifecycle FAILED ShowBackendTargetInfoResponseBodyLifecycle }
func GetShowBackendTargetInfoResponseBodyLifecycleEnum ¶ added in v0.1.63
func GetShowBackendTargetInfoResponseBodyLifecycleEnum() ShowBackendTargetInfoResponseBodyLifecycleEnum
type ShowBackendTargetInfoResponseLifecycle ¶ added in v0.1.63
type ShowBackendTargetInfoResponseLifecycle struct {
// contains filtered or unexported fields
}
func (ShowBackendTargetInfoResponseLifecycle) MarshalJSON ¶ added in v0.1.63
func (c ShowBackendTargetInfoResponseLifecycle) MarshalJSON() ([]byte, error)
func (*ShowBackendTargetInfoResponseLifecycle) UnmarshalJSON ¶ added in v0.1.63
func (c *ShowBackendTargetInfoResponseLifecycle) UnmarshalJSON(b []byte) error
func (ShowBackendTargetInfoResponseLifecycle) Value ¶ added in v0.1.63
func (c ShowBackendTargetInfoResponseLifecycle) Value() string
type ShowBackendTargetInfoResponseLifecycleEnum ¶ added in v0.1.63
type ShowBackendTargetInfoResponseLifecycleEnum struct { CREATING ShowBackendTargetInfoResponseLifecycle AVAILABLE ShowBackendTargetInfoResponseLifecycle MISCONFIGURED ShowBackendTargetInfoResponseLifecycle DELETING ShowBackendTargetInfoResponseLifecycle FAILED ShowBackendTargetInfoResponseLifecycle }
func GetShowBackendTargetInfoResponseLifecycleEnum ¶ added in v0.1.63
func GetShowBackendTargetInfoResponseLifecycleEnum() ShowBackendTargetInfoResponseLifecycleEnum
type ShowFsDirQuotaRequest ¶ added in v0.1.39
type ShowFsDirQuotaRequest struct { // MIME类型 ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` // 合法的已存在的目录的全路径 Path string `json:"path"` }
ShowFsDirQuotaRequest 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:"-"` }
ShowFsDirQuotaResponse 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"` ShareId string `json:"share_id"` // 需要查询的目录的全路径 Path string `json:"path"` }
ShowFsDirRequest 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"` // 目录权限,仅HPC型、缓存型文件系统返回该字段。第三位表示目录所有者的权限,第四位表示目录所属用户组的权限,第五位表示其他用户的权限。目录所有者由uid指定,目录所属用户组由gid指定,不是目录所有者且不在目录所属用户组的用户为其他用户。例如:40755中第三位7代表目录所有者对该目录具有读、写、执行权限;第四位5代表目录所属用户组对该目录具有读、执行权限;第五位5代表其他用户对该目录具有读、执行权限。 Mode *int64 `json:"mode,omitempty"` // 目录所有者的用户id,仅HPC型、缓存型文件系统返回该字段。 Uid *int64 `json:"uid,omitempty"` // 目录所属用户组id,仅HPC型、缓存型文件系统返回该字段。 Gid *int64 `json:"gid,omitempty"` HttpStatusCode int `json:"-"` }
ShowFsDirResponse Response Object
func (ShowFsDirResponse) String ¶ added in v0.1.39
func (o ShowFsDirResponse) String() string
type ShowFsDirUsageRequest ¶ added in v0.1.63
type ShowFsDirUsageRequest struct { // MIME类型, application/json ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` // 文件系统内合法的目录全路径 Path string `json:"path"` }
ShowFsDirUsageRequest Request Object
func (ShowFsDirUsageRequest) String ¶ added in v0.1.63
func (o ShowFsDirUsageRequest) String() string
type ShowFsDirUsageResponse ¶ added in v0.1.63
type ShowFsDirUsageResponse struct { DirUsage *FsDirUasge `json:"dir_usage,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ShowFsDirUsageResponse Response Object
func (ShowFsDirUsageResponse) String ¶ added in v0.1.63
func (o ShowFsDirUsageResponse) String() string
type ShowFsTaskRequest ¶ added in v0.1.63
type ShowFsTaskRequest struct { // MIME类型, application/json ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` // 任务类型。例,DU任务取值为dir-usage Feature string `json:"feature"` // 任务ID TaskId string `json:"task_id"` }
ShowFsTaskRequest Request Object
func (ShowFsTaskRequest) String ¶ added in v0.1.63
func (o ShowFsTaskRequest) String() string
type ShowFsTaskResponse ¶ added in v0.1.63
type ShowFsTaskResponse struct { // 任务ID TaskId *string `json:"task_id,omitempty"` // 任务状态, SUCCESS表示成功,DOING表示正在执行,FAIL表示失败 Status *ShowFsTaskResponseStatus `json:"status,omitempty"` DirUsage *FsDuInfo `json:"dir_usage,omitempty"` // 任务开始时间,UTC时间,例如:2006-01-02 15:04:05' BeginTime *string `json:"begin_time,omitempty"` // 任务结束时间,UTC时间,例如:2006-01-02 15:04:06' EndTime *string `json:"end_time,omitempty"` HttpStatusCode int `json:"-"` }
ShowFsTaskResponse Response Object
func (ShowFsTaskResponse) String ¶ added in v0.1.63
func (o ShowFsTaskResponse) String() string
type ShowFsTaskResponseStatus ¶ added in v0.1.63
type ShowFsTaskResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowFsTaskResponseStatus) MarshalJSON ¶ added in v0.1.63
func (c ShowFsTaskResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowFsTaskResponseStatus) UnmarshalJSON ¶ added in v0.1.63
func (c *ShowFsTaskResponseStatus) UnmarshalJSON(b []byte) error
func (ShowFsTaskResponseStatus) Value ¶ added in v0.1.63
func (c ShowFsTaskResponseStatus) Value() string
type ShowFsTaskResponseStatusEnum ¶ added in v0.1.63
type ShowFsTaskResponseStatusEnum struct { SUCCESS ShowFsTaskResponseStatus DOING ShowFsTaskResponseStatus FAIL ShowFsTaskResponseStatus }
func GetShowFsTaskResponseStatusEnum ¶ added in v0.1.63
func GetShowFsTaskResponseStatusEnum() ShowFsTaskResponseStatusEnum
type ShowHpcCacheTaskRequest ¶ added in v0.1.63
type ShowHpcCacheTaskRequest struct { // MIME类型 ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` // 任务ID TaskId string `json:"task_id"` }
ShowHpcCacheTaskRequest Request Object
func (ShowHpcCacheTaskRequest) String ¶ added in v0.1.63
func (o ShowHpcCacheTaskRequest) String() string
type ShowHpcCacheTaskResponse ¶ added in v0.1.63
type ShowHpcCacheTaskResponse struct { // 任务ID TaskId *string `json:"task_id,omitempty"` // 任务类型 Type *string `json:"type,omitempty"` // 任务状态 Status *string `json:"status,omitempty"` // 联动目录名称 SrcTarget *string `json:"src_target,omitempty"` // 导入导出任务的源端路径前缀 SrcPrefix *string `json:"src_prefix,omitempty"` // 和src_target保持一致 DestTarget *string `json:"dest_target,omitempty"` // 和src_prefix保持一致 DestPrefix *string `json:"dest_prefix,omitempty"` // 任务开始时间 StartTime *string `json:"start_time,omitempty"` // 任务结束时间 EndTime *string `json:"end_time,omitempty"` // 任务执行结果信息 Message *string `json:"message,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ShowHpcCacheTaskResponse Response Object
func (ShowHpcCacheTaskResponse) String ¶ added in v0.1.63
func (o ShowHpcCacheTaskResponse) String() string
type ShowJobDetailRequest ¶ added in v0.1.76
type ShowJobDetailRequest struct { // MIME类型 ContentType string `json:"Content-Type"` // job ID JobId string `json:"job_id"` }
ShowJobDetailRequest Request Object
func (ShowJobDetailRequest) String ¶ added in v0.1.76
func (o ShowJobDetailRequest) String() string
type ShowJobDetailResponse ¶ added in v0.1.76
type ShowJobDetailResponse struct { // job的状态。success:成功。running:运行中。failed:失败。waiting:等待执行 Status *string `json:"status,omitempty"` // job的ID。 JobId *string `json:"job_id,omitempty"` // job的类型。 JobType *string `json:"job_type,omitempty"` // job开始时间。UTC时间,格式:'2016-01-02 15:04:05' BeginTime *string `json:"begin_time,omitempty"` // job结束时间。UTC时间,格式:'2016-01-02 15:04:05' EndTime *string `json:"end_time,omitempty"` // job执行失败时的错误码 ErrorCode *string `json:"error_code,omitempty"` // job执行失败时的错误原因 FailReason *string `json:"fail_reason,omitempty"` // 子任务列表 SubJobs *[]GetSubJobDetail `json:"sub_jobs,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ShowJobDetailResponse Response Object
func (ShowJobDetailResponse) String ¶ added in v0.1.76
func (o ShowJobDetailResponse) String() string
type ShowLdapConfigRequest ¶ added in v0.1.76
type ShowLdapConfigRequest struct { // MIME类型 ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` }
ShowLdapConfigRequest Request Object
func (ShowLdapConfigRequest) String ¶ added in v0.1.76
func (o ShowLdapConfigRequest) String() string
type ShowLdapConfigResponse ¶ added in v0.1.76
type ShowLdapConfigResponse struct { // ldap服务器的url Url *string `json:"url,omitempty"` // 数据库中的域 BaseDn *string `json:"base_dn,omitempty"` // 用户区别名 UserDn *string `json:"user_dn,omitempty"` // 过滤条件。保留字段,暂不支持 FilterCondition *string `json:"filter_condition,omitempty"` HttpStatusCode int `json:"-"` }
ShowLdapConfigResponse Response Object
func (ShowLdapConfigResponse) String ¶ added in v0.1.76
func (o ShowLdapConfigResponse) String() string
type ShowPermRuleRequest ¶ added in v0.1.63
type ShowPermRuleRequest struct { // MIME类型 ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` // 权限规则id RuleId string `json:"rule_id"` }
ShowPermRuleRequest Request Object
func (ShowPermRuleRequest) String ¶ added in v0.1.63
func (o ShowPermRuleRequest) String() string
type ShowPermRuleResponse ¶ added in v0.1.63
type ShowPermRuleResponse struct { // 权限规格的id Id *string `json:"id,omitempty"` // 授权对象的IP地址或网段 IpCidr *string `json:"ip_cidr,omitempty"` // -| 授权对象的读写权限 rw:默认选项,以读写的方式共享 ro:以只读的方式共享 RwType *string `json:"rw_type,omitempty"` // -| 授权对象的系统用户对文件系统的访问权限。取值如下: no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。 UserType *string `json:"user_type,omitempty"` HttpStatusCode int `json:"-"` }
ShowPermRuleResponse Response Object
func (ShowPermRuleResponse) String ¶ added in v0.1.63
func (o ShowPermRuleResponse) String() string
type ShowShareRequest ¶
type ShowShareRequest struct { string `json:"Content-Type"` ShareId string `json:"share_id"` }ContentType
ShowShareRequest 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"` VpcId *string `json:"vpc_id,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // tag标签的列表。 }Version *
ShowShareResponse 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
ShowSharedTagsRequest 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 *[]
ShowSharedTagsResponse 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 tag字段说明
type UpdateFsDirQuotaRequest ¶ added in v0.1.39
type UpdateFsDirQuotaRequest struct { // MIME类型 ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` Body *UpdateFsDirQuotaRequestBody `json:"body,omitempty"` }
UpdateFsDirQuotaRequest 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"` }
UpdateFsDirQuotaRequestBody 目录配额信息
func (UpdateFsDirQuotaRequestBody) String ¶ added in v0.1.39
func (o UpdateFsDirQuotaRequestBody) String() string
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:"-"` }
UpdateFsDirQuotaResponse Response Object
func (UpdateFsDirQuotaResponse) String ¶ added in v0.1.39
func (o UpdateFsDirQuotaResponse) String() string
type UpdateHpcShareRequest ¶ added in v0.1.63
type UpdateHpcShareRequest struct { string `json:"Content-Type"` ShareId string `json:"share_id"` }ContentType
UpdateHpcShareRequest Request Object
func (UpdateHpcShareRequest) String ¶ added in v0.1.63
func (o UpdateHpcShareRequest) String() string
type UpdateHpcShareRequestBody ¶ added in v0.1.63
type UpdateHpcShareRequestBody struct { string `json:"action"` GcTime int32 `json:"gc_time"` }Action
UpdateHpcShareRequestBody 更新 HPC 型文件系统请求体
func (UpdateHpcShareRequestBody) String ¶ added in v0.1.63
func (o UpdateHpcShareRequestBody) String() string
type UpdateHpcShareResponse ¶ added in v0.1.63
type UpdateHpcShareResponse struct { int32 `json:"gc_time,omitempty"` }GcTime *
UpdateHpcShareResponse Response Object
func (UpdateHpcShareResponse) String ¶ added in v0.1.63
func (o UpdateHpcShareResponse) String() string
type UpdateLdapConfigRequest ¶ added in v0.1.76
type UpdateLdapConfigRequest struct { // MIME类型 ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` Body *UpdateLdapConfigRequestBody `json:"body,omitempty"` }
UpdateLdapConfigRequest Request Object
func (UpdateLdapConfigRequest) String ¶ added in v0.1.76
func (o UpdateLdapConfigRequest) String() string
type UpdateLdapConfigRequestBody ¶ added in v0.1.76
type UpdateLdapConfigRequestBody struct { // ldap服务器的url Url *string `json:"url,omitempty"` // 数据库中的域 BaseDn *string `json:"base_dn,omitempty"` // 用户区别名 UserDn *string `json:"user_dn,omitempty"` // ldap认证密码 Password *string `json:"password,omitempty"` // vpc的id VpcId *string `json:"vpc_id,omitempty"` // 过滤条件。保留字段,暂不支持 FilterCondition *string `json:"filter_condition,omitempty"` }
UpdateLdapConfigRequestBody ldap配置信息
func (UpdateLdapConfigRequestBody) String ¶ added in v0.1.76
func (o UpdateLdapConfigRequestBody) String() string
type UpdateLdapConfigResponse ¶ added in v0.1.76
type UpdateLdapConfigResponse struct { // 创建ldap异步任务的id JobId *string `json:"jobId,omitempty"` HttpStatusCode int `json:"-"` }
UpdateLdapConfigResponse Response Object
func (UpdateLdapConfigResponse) String ¶ added in v0.1.76
func (o UpdateLdapConfigResponse) String() string
type UpdatePermRuleRequest ¶ added in v0.1.63
type UpdatePermRuleRequest struct { // MIME类型 ContentType string `json:"Content-Type"` ShareId string `json:"share_id"` // 权限规则id RuleId string `json:"rule_id"` Body *OnePermRuleRequestInfo `json:"body,omitempty"` }
UpdatePermRuleRequest Request Object
func (UpdatePermRuleRequest) String ¶ added in v0.1.63
func (o UpdatePermRuleRequest) String() string
type UpdatePermRuleResponse ¶ added in v0.1.63
type UpdatePermRuleResponse struct { // 权限规格的id Id *string `json:"id,omitempty"` // 授权对象的IP地址或网段 IpCidr *string `json:"ip_cidr,omitempty"` // -| 授权对象的读写权限 rw:默认选项,以读写的方式共享 ro:以只读的方式共享 RwType *string `json:"rw_type,omitempty"` // -| 授权对象的系统用户对文件系统的访问权限。取值如下: no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。 UserType *string `json:"user_type,omitempty"` HttpStatusCode int `json:"-"` }
UpdatePermRuleResponse Response Object
func (UpdatePermRuleResponse) String ¶ added in v0.1.63
func (o UpdatePermRuleResponse) 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_config_nas_target.go
- model_config_obs_target.go
- model_create_backend_target_request.go
- model_create_backend_target_request_body.go
- model_create_backend_target_response.go
- model_create_fs_dir_quota_request.go
- model_create_fs_dir_quota_request_body.go
- model_create_fs_dir_quota_response.go
- model_create_fs_dir_request.go
- model_create_fs_dir_request_body.go
- model_create_fs_dir_response.go
- model_create_fs_task_request.go
- model_create_fs_task_response.go
- model_create_hpc_cache_task_req.go
- model_create_hpc_cache_task_request.go
- model_create_hpc_cache_task_response.go
- model_create_ldap_config_request.go
- model_create_ldap_config_request_body.go
- model_create_ldap_config_response.go
- model_create_perm_rule_request.go
- model_create_perm_rule_response.go
- model_create_perm_rules_request_body.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_backend_target_request.go
- model_delete_backend_target_response.go
- model_delete_fs_dir_quota_request.go
- model_delete_fs_dir_quota_request_body.go
- model_delete_fs_dir_quota_response.go
- model_delete_fs_dir_request.go
- model_delete_fs_dir_request_body.go
- model_delete_fs_dir_response.go
- model_delete_fs_task_request.go
- model_delete_fs_task_response.go
- model_delete_ldap_config_request.go
- model_delete_ldap_config_response.go
- model_delete_perm_rule_request.go
- model_delete_perm_rule_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_failure_details_message.go
- model_fs_dir_req.go
- model_fs_dir_uasge.go
- model_fs_du_info.go
- model_fs_file_count.go
- model_get_sub_job_detail.go
- model_list_backend_targets_request.go
- model_list_backend_targets_response.go
- model_list_fs_tasks_request.go
- model_list_fs_tasks_response.go
- model_list_hpc_cache_tasks_request.go
- model_list_hpc_cache_tasks_response.go
- model_list_perm_rules_request.go
- model_list_perm_rules_response.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_obs_data_repository.go
- model_one_fs_task_resp.go
- model_one_hpc_cache_task_info_resp.go
- model_one_perm_rule_request_info.go
- model_one_perm_rule_response_info.go
- model_req_config_hpc_cache_backend.go
- model_req_update_hpc_cache_data.go
- model_req_update_hpc_cache_info.go
- model_resource_tag.go
- model_set_hpc_cache_backend_request.go
- model_set_hpc_cache_backend_response.go
- model_share.go
- model_share_info.go
- model_share_name.go
- model_show_backend_target_info_request.go
- model_show_backend_target_info_response.go
- model_show_backend_target_info_response_body.go
- model_show_fs_dir_quota_request.go
- model_show_fs_dir_quota_response.go
- model_show_fs_dir_request.go
- model_show_fs_dir_response.go
- model_show_fs_dir_usage_request.go
- model_show_fs_dir_usage_response.go
- model_show_fs_task_request.go
- model_show_fs_task_response.go
- model_show_hpc_cache_task_request.go
- model_show_hpc_cache_task_response.go
- model_show_job_detail_request.go
- model_show_job_detail_response.go
- model_show_ldap_config_request.go
- model_show_ldap_config_response.go
- model_show_perm_rule_request.go
- model_show_perm_rule_response.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
- model_update_fs_dir_quota_request.go
- model_update_fs_dir_quota_request_body.go
- model_update_fs_dir_quota_response.go
- model_update_hpc_share_request.go
- model_update_hpc_share_request_body.go
- model_update_hpc_share_response.go
- model_update_ldap_config_request.go
- model_update_ldap_config_request_body.go
- model_update_ldap_config_response.go
- model_update_perm_rule_request.go
- model_update_perm_rule_response.go