Documentation
¶
Index ¶
- Constants
- type AccessGroup
- type AccessRule
- type AssociateAccessGroupsRequest
- type AssociateAccessGroupsResponse
- type Client
- func (c *Client) AssociateAccessGroups(request *AssociateAccessGroupsRequest) (response *AssociateAccessGroupsResponse, err error)
- func (c *Client) CreateAccessGroup(request *CreateAccessGroupRequest) (response *CreateAccessGroupResponse, err error)
- func (c *Client) CreateAccessRules(request *CreateAccessRulesRequest) (response *CreateAccessRulesResponse, err error)
- func (c *Client) CreateFileSystem(request *CreateFileSystemRequest) (response *CreateFileSystemResponse, err error)
- func (c *Client) CreateLifeCycleRules(request *CreateLifeCycleRulesRequest) (response *CreateLifeCycleRulesResponse, err error)
- func (c *Client) CreateMountPoint(request *CreateMountPointRequest) (response *CreateMountPointResponse, err error)
- func (c *Client) CreateRestoreTasks(request *CreateRestoreTasksRequest) (response *CreateRestoreTasksResponse, err error)
- func (c *Client) DeleteAccessGroup(request *DeleteAccessGroupRequest) (response *DeleteAccessGroupResponse, err error)
- func (c *Client) DeleteAccessRules(request *DeleteAccessRulesRequest) (response *DeleteAccessRulesResponse, err error)
- func (c *Client) DeleteFileSystem(request *DeleteFileSystemRequest) (response *DeleteFileSystemResponse, err error)
- func (c *Client) DeleteLifeCycleRules(request *DeleteLifeCycleRulesRequest) (response *DeleteLifeCycleRulesResponse, err error)
- func (c *Client) DeleteMountPoint(request *DeleteMountPointRequest) (response *DeleteMountPointResponse, err error)
- func (c *Client) DescribeAccessGroup(request *DescribeAccessGroupRequest) (response *DescribeAccessGroupResponse, err error)
- func (c *Client) DescribeAccessGroups(request *DescribeAccessGroupsRequest) (response *DescribeAccessGroupsResponse, err error)
- func (c *Client) DescribeAccessRules(request *DescribeAccessRulesRequest) (response *DescribeAccessRulesResponse, err error)
- func (c *Client) DescribeFileSystem(request *DescribeFileSystemRequest) (response *DescribeFileSystemResponse, err error)
- func (c *Client) DescribeFileSystems(request *DescribeFileSystemsRequest) (response *DescribeFileSystemsResponse, err error)
- func (c *Client) DescribeLifeCycleRules(request *DescribeLifeCycleRulesRequest) (response *DescribeLifeCycleRulesResponse, err error)
- func (c *Client) DescribeMountPoint(request *DescribeMountPointRequest) (response *DescribeMountPointResponse, err error)
- func (c *Client) DescribeMountPoints(request *DescribeMountPointsRequest) (response *DescribeMountPointsResponse, err error)
- func (c *Client) DescribeResourceTags(request *DescribeResourceTagsRequest) (response *DescribeResourceTagsResponse, err error)
- func (c *Client) DescribeRestoreTasks(request *DescribeRestoreTasksRequest) (response *DescribeRestoreTasksResponse, err error)
- func (c *Client) DisassociateAccessGroups(request *DisassociateAccessGroupsRequest) (response *DisassociateAccessGroupsResponse, err error)
- func (c *Client) ModifyAccessGroup(request *ModifyAccessGroupRequest) (response *ModifyAccessGroupResponse, err error)
- func (c *Client) ModifyAccessRules(request *ModifyAccessRulesRequest) (response *ModifyAccessRulesResponse, err error)
- func (c *Client) ModifyFileSystem(request *ModifyFileSystemRequest) (response *ModifyFileSystemResponse, err error)
- func (c *Client) ModifyLifeCycleRules(request *ModifyLifeCycleRulesRequest) (response *ModifyLifeCycleRulesResponse, err error)
- func (c *Client) ModifyMountPoint(request *ModifyMountPointRequest) (response *ModifyMountPointResponse, err error)
- func (c *Client) ModifyResourceTags(request *ModifyResourceTagsRequest) (response *ModifyResourceTagsResponse, err error)
- type CreateAccessGroupRequest
- type CreateAccessGroupResponse
- type CreateAccessRulesRequest
- type CreateAccessRulesResponse
- type CreateFileSystemRequest
- type CreateFileSystemResponse
- type CreateLifeCycleRulesRequest
- type CreateLifeCycleRulesResponse
- type CreateMountPointRequest
- type CreateMountPointResponse
- type CreateRestoreTasksRequest
- type CreateRestoreTasksResponse
- type DeleteAccessGroupRequest
- type DeleteAccessGroupResponse
- type DeleteAccessRulesRequest
- type DeleteAccessRulesResponse
- type DeleteFileSystemRequest
- type DeleteFileSystemResponse
- type DeleteLifeCycleRulesRequest
- type DeleteLifeCycleRulesResponse
- type DeleteMountPointRequest
- type DeleteMountPointResponse
- type DescribeAccessGroupRequest
- type DescribeAccessGroupResponse
- type DescribeAccessGroupsRequest
- type DescribeAccessGroupsResponse
- type DescribeAccessRulesRequest
- type DescribeAccessRulesResponse
- type DescribeFileSystemRequest
- type DescribeFileSystemResponse
- type DescribeFileSystemsRequest
- type DescribeFileSystemsResponse
- type DescribeLifeCycleRulesRequest
- type DescribeLifeCycleRulesResponse
- type DescribeMountPointRequest
- type DescribeMountPointResponse
- type DescribeMountPointsRequest
- type DescribeMountPointsResponse
- type DescribeResourceTagsRequest
- type DescribeResourceTagsResponse
- type DescribeRestoreTasksRequest
- type DescribeRestoreTasksResponse
- type DisassociateAccessGroupsRequest
- type DisassociateAccessGroupsResponse
- type FileSystem
- type LifeCycleRule
- type ModifyAccessGroupRequest
- type ModifyAccessGroupResponse
- type ModifyAccessRulesRequest
- type ModifyAccessRulesResponse
- type ModifyFileSystemRequest
- type ModifyFileSystemResponse
- type ModifyLifeCycleRulesRequest
- type ModifyLifeCycleRulesResponse
- type ModifyMountPointRequest
- type ModifyMountPointResponse
- type ModifyResourceTagsRequest
- type ModifyResourceTagsResponse
- type MountPoint
- type RestoreTask
- type Tag
- type Transition
Constants ¶
View Source
const APIVersion = "2020-11-12"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessGroup ¶
type AccessGroup struct { // 权限组ID AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"` // 权限组名称 AccessGroupName *string `json:"AccessGroupName,omitempty" name:"AccessGroupName"` // 权限组描述 Description *string `json:"Description,omitempty" name:"Description"` // 创建时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // VPC网络类型(1:CVM;2:黑石1.0) VpcType *uint64 `json:"VpcType,omitempty" name:"VpcType"` // VPC网络ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` }
type AccessRule ¶
type AccessRule struct { // 权限规则ID AccessRuleId *uint64 `json:"AccessRuleId,omitempty" name:"AccessRuleId"` // 权限规则地址(网段或IP) Address *string `json:"Address,omitempty" name:"Address"` // 权限规则访问模式(1:只读;2:读写) AccessMode *uint64 `json:"AccessMode,omitempty" name:"AccessMode"` // 优先级(取值范围1~100,值越小优先级越高) Priority *uint64 `json:"Priority,omitempty" name:"Priority"` // 创建时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` }
type AssociateAccessGroupsRequest ¶
type AssociateAccessGroupsRequest struct { *tchttp.BaseRequest // 挂载点ID MountPointId *string `json:"MountPointId,omitempty" name:"MountPointId"` // 权限组ID列表 AccessGroupIds []*string `json:"AccessGroupIds,omitempty" name:"AccessGroupIds" list` }
func NewAssociateAccessGroupsRequest ¶
func NewAssociateAccessGroupsRequest() (request *AssociateAccessGroupsRequest)
func (*AssociateAccessGroupsRequest) FromJsonString ¶
func (r *AssociateAccessGroupsRequest) FromJsonString(s string) error
func (*AssociateAccessGroupsRequest) ToJsonString ¶
func (r *AssociateAccessGroupsRequest) ToJsonString() string
type AssociateAccessGroupsResponse ¶
type AssociateAccessGroupsResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewAssociateAccessGroupsResponse ¶
func NewAssociateAccessGroupsResponse() (response *AssociateAccessGroupsResponse)
func (*AssociateAccessGroupsResponse) FromJsonString ¶
func (r *AssociateAccessGroupsResponse) FromJsonString(s string) error
func (*AssociateAccessGroupsResponse) ToJsonString ¶
func (r *AssociateAccessGroupsResponse) ToJsonString() string
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AssociateAccessGroups ¶
func (c *Client) AssociateAccessGroups(request *AssociateAccessGroupsRequest) (response *AssociateAccessGroupsResponse, err error)
给挂载点绑定多个权限组。
func (*Client) CreateAccessGroup ¶
func (c *Client) CreateAccessGroup(request *CreateAccessGroupRequest) (response *CreateAccessGroupResponse, err error)
创建权限组。
func (*Client) CreateAccessRules ¶ added in v1.0.91
func (c *Client) CreateAccessRules(request *CreateAccessRulesRequest) (response *CreateAccessRulesResponse, err error)
批量创建权限规则,权限规则ID和创建时间无需填写。
func (*Client) CreateFileSystem ¶
func (c *Client) CreateFileSystem(request *CreateFileSystemRequest) (response *CreateFileSystemResponse, err error)
创建文件系统(异步)。
func (*Client) CreateLifeCycleRules ¶ added in v1.0.91
func (c *Client) CreateLifeCycleRules(request *CreateLifeCycleRulesRequest) (response *CreateLifeCycleRulesResponse, err error)
批量创建生命周期规则,生命周期规则ID和创建时间无需填写。
func (*Client) CreateMountPoint ¶
func (c *Client) CreateMountPoint(request *CreateMountPointRequest) (response *CreateMountPointResponse, err error)
创建文件系统挂载点,仅限于创建成功的文件系统。
func (*Client) CreateRestoreTasks ¶ added in v1.0.91
func (c *Client) CreateRestoreTasks(request *CreateRestoreTasksRequest) (response *CreateRestoreTasksResponse, err error)
批量创建回热任务,回热任务ID、状态和创建时间无需填写。
func (*Client) DeleteAccessGroup ¶ added in v1.0.91
func (c *Client) DeleteAccessGroup(request *DeleteAccessGroupRequest) (response *DeleteAccessGroupResponse, err error)
删除权限组。
func (*Client) DeleteAccessRules ¶ added in v1.0.91
func (c *Client) DeleteAccessRules(request *DeleteAccessRulesRequest) (response *DeleteAccessRulesResponse, err error)
批量删除权限规则。
func (*Client) DeleteFileSystem ¶ added in v1.0.91
func (c *Client) DeleteFileSystem(request *DeleteFileSystemRequest) (response *DeleteFileSystemResponse, err error)
删除文件系统,不允许删除非空文件系统。
func (*Client) DeleteLifeCycleRules ¶ added in v1.0.91
func (c *Client) DeleteLifeCycleRules(request *DeleteLifeCycleRulesRequest) (response *DeleteLifeCycleRulesResponse, err error)
批量删除生命周期规则。
func (*Client) DeleteMountPoint ¶ added in v1.0.91
func (c *Client) DeleteMountPoint(request *DeleteMountPointRequest) (response *DeleteMountPointResponse, err error)
删除挂载点。
func (*Client) DescribeAccessGroup ¶
func (c *Client) DescribeAccessGroup(request *DescribeAccessGroupRequest) (response *DescribeAccessGroupResponse, err error)
查看权限组详细信息。
func (*Client) DescribeAccessGroups ¶
func (c *Client) DescribeAccessGroups(request *DescribeAccessGroupsRequest) (response *DescribeAccessGroupsResponse, err error)
查看权限组列表。
func (*Client) DescribeAccessRules ¶
func (c *Client) DescribeAccessRules(request *DescribeAccessRulesRequest) (response *DescribeAccessRulesResponse, err error)
通过权限组ID查看权限规则列表。
func (*Client) DescribeFileSystem ¶
func (c *Client) DescribeFileSystem(request *DescribeFileSystemRequest) (response *DescribeFileSystemResponse, err error)
查看文件系统详细信息。
func (*Client) DescribeFileSystems ¶
func (c *Client) DescribeFileSystems(request *DescribeFileSystemsRequest) (response *DescribeFileSystemsResponse, err error)
查看文件系统列表。
func (*Client) DescribeLifeCycleRules ¶ added in v1.0.91
func (c *Client) DescribeLifeCycleRules(request *DescribeLifeCycleRulesRequest) (response *DescribeLifeCycleRulesResponse, err error)
通过文件系统ID查看生命周期规则列表。
func (*Client) DescribeMountPoint ¶
func (c *Client) DescribeMountPoint(request *DescribeMountPointRequest) (response *DescribeMountPointResponse, err error)
查看挂载点详细信息。
func (*Client) DescribeMountPoints ¶
func (c *Client) DescribeMountPoints(request *DescribeMountPointsRequest) (response *DescribeMountPointsResponse, err error)
查看挂载点列表。
func (*Client) DescribeResourceTags ¶ added in v1.0.91
func (c *Client) DescribeResourceTags(request *DescribeResourceTagsRequest) (response *DescribeResourceTagsResponse, err error)
通过文件系统ID查看资源标签列表。
func (*Client) DescribeRestoreTasks ¶ added in v1.0.91
func (c *Client) DescribeRestoreTasks(request *DescribeRestoreTasksRequest) (response *DescribeRestoreTasksResponse, err error)
通过文件系统ID查看回热任务列表。
func (*Client) DisassociateAccessGroups ¶
func (c *Client) DisassociateAccessGroups(request *DisassociateAccessGroupsRequest) (response *DisassociateAccessGroupsResponse, err error)
给挂载点解绑多个权限组。
func (*Client) ModifyAccessGroup ¶
func (c *Client) ModifyAccessGroup(request *ModifyAccessGroupRequest) (response *ModifyAccessGroupResponse, err error)
修改权限组属性。
func (*Client) ModifyAccessRules ¶ added in v1.0.91
func (c *Client) ModifyAccessRules(request *ModifyAccessRulesRequest) (response *ModifyAccessRulesResponse, err error)
批量修改权限规则属性,需要指定权限规则ID,支持修改权限规则地址、访问模式和优先级。
func (*Client) ModifyFileSystem ¶
func (c *Client) ModifyFileSystem(request *ModifyFileSystemRequest) (response *ModifyFileSystemResponse, err error)
修改文件系统属性,仅限于创建成功的文件系统。
func (*Client) ModifyLifeCycleRules ¶ added in v1.0.91
func (c *Client) ModifyLifeCycleRules(request *ModifyLifeCycleRulesRequest) (response *ModifyLifeCycleRulesResponse, err error)
批量修改生命周期规则属性,需要指定生命周期规则ID,支持修改生命周期规则名称、路径、转换列表和状态。
func (*Client) ModifyMountPoint ¶
func (c *Client) ModifyMountPoint(request *ModifyMountPointRequest) (response *ModifyMountPointResponse, err error)
修改挂载点属性。
func (*Client) ModifyResourceTags ¶
func (c *Client) ModifyResourceTags(request *ModifyResourceTagsRequest) (response *ModifyResourceTagsResponse, err error)
修改资源标签列表,全量覆盖。
type CreateAccessGroupRequest ¶
type CreateAccessGroupRequest struct { *tchttp.BaseRequest // 权限组名称 AccessGroupName *string `json:"AccessGroupName,omitempty" name:"AccessGroupName"` // VPC网络类型(1:CVM;2:黑石1.0) VpcType *uint64 `json:"VpcType,omitempty" name:"VpcType"` // VPC网络ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 权限组描述,默认为空字符串 Description *string `json:"Description,omitempty" name:"Description"` }
func NewCreateAccessGroupRequest ¶
func NewCreateAccessGroupRequest() (request *CreateAccessGroupRequest)
func (*CreateAccessGroupRequest) FromJsonString ¶
func (r *CreateAccessGroupRequest) FromJsonString(s string) error
func (*CreateAccessGroupRequest) ToJsonString ¶
func (r *CreateAccessGroupRequest) ToJsonString() string
type CreateAccessGroupResponse ¶
type CreateAccessGroupResponse struct { *tchttp.BaseResponse Response *struct { // 权限组 AccessGroup *AccessGroup `json:"AccessGroup,omitempty" name:"AccessGroup"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateAccessGroupResponse ¶
func NewCreateAccessGroupResponse() (response *CreateAccessGroupResponse)
func (*CreateAccessGroupResponse) FromJsonString ¶
func (r *CreateAccessGroupResponse) FromJsonString(s string) error
func (*CreateAccessGroupResponse) ToJsonString ¶
func (r *CreateAccessGroupResponse) ToJsonString() string
type CreateAccessRulesRequest ¶ added in v1.0.91
type CreateAccessRulesRequest struct { *tchttp.BaseRequest // 多个权限规则,上限为10 AccessRules []*AccessRule `json:"AccessRules,omitempty" name:"AccessRules" list` // 权限组ID AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"` }
func NewCreateAccessRulesRequest ¶ added in v1.0.91
func NewCreateAccessRulesRequest() (request *CreateAccessRulesRequest)
func (*CreateAccessRulesRequest) FromJsonString ¶ added in v1.0.91
func (r *CreateAccessRulesRequest) FromJsonString(s string) error
func (*CreateAccessRulesRequest) ToJsonString ¶ added in v1.0.91
func (r *CreateAccessRulesRequest) ToJsonString() string
type CreateAccessRulesResponse ¶ added in v1.0.91
type CreateAccessRulesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateAccessRulesResponse ¶ added in v1.0.91
func NewCreateAccessRulesResponse() (response *CreateAccessRulesResponse)
func (*CreateAccessRulesResponse) FromJsonString ¶ added in v1.0.91
func (r *CreateAccessRulesResponse) FromJsonString(s string) error
func (*CreateAccessRulesResponse) ToJsonString ¶ added in v1.0.91
func (r *CreateAccessRulesResponse) ToJsonString() string
type CreateFileSystemRequest ¶
type CreateFileSystemRequest struct { *tchttp.BaseRequest // 文件系统名称 FileSystemName *string `json:"FileSystemName,omitempty" name:"FileSystemName"` // 文件系统容量(byte),下限为1G,上限为1P,且必须是1G的整数倍 CapacityQuota *uint64 `json:"CapacityQuota,omitempty" name:"CapacityQuota"` // 是否校验POSIX ACL PosixAcl *bool `json:"PosixAcl,omitempty" name:"PosixAcl"` // 文件系统描述,默认为空字符串 Description *string `json:"Description,omitempty" name:"Description"` // 超级用户名列表,默认为空数组 SuperUsers []*string `json:"SuperUsers,omitempty" name:"SuperUsers" list` // 根目录Inode用户名,默认为hadoop RootInodeUser *string `json:"RootInodeUser,omitempty" name:"RootInodeUser"` // 根目录Inode组名,默认为supergroup RootInodeGroup *string `json:"RootInodeGroup,omitempty" name:"RootInodeGroup"` }
func NewCreateFileSystemRequest ¶
func NewCreateFileSystemRequest() (request *CreateFileSystemRequest)
func (*CreateFileSystemRequest) FromJsonString ¶
func (r *CreateFileSystemRequest) FromJsonString(s string) error
func (*CreateFileSystemRequest) ToJsonString ¶
func (r *CreateFileSystemRequest) ToJsonString() string
type CreateFileSystemResponse ¶
type CreateFileSystemResponse struct { *tchttp.BaseResponse Response *struct { // 文件系统 FileSystem *FileSystem `json:"FileSystem,omitempty" name:"FileSystem"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateFileSystemResponse ¶
func NewCreateFileSystemResponse() (response *CreateFileSystemResponse)
func (*CreateFileSystemResponse) FromJsonString ¶
func (r *CreateFileSystemResponse) FromJsonString(s string) error
func (*CreateFileSystemResponse) ToJsonString ¶
func (r *CreateFileSystemResponse) ToJsonString() string
type CreateLifeCycleRulesRequest ¶ added in v1.0.91
type CreateLifeCycleRulesRequest struct { *tchttp.BaseRequest // 文件系统ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // 多个生命周期规则,上限为10 LifeCycleRules []*LifeCycleRule `json:"LifeCycleRules,omitempty" name:"LifeCycleRules" list` }
func NewCreateLifeCycleRulesRequest ¶ added in v1.0.91
func NewCreateLifeCycleRulesRequest() (request *CreateLifeCycleRulesRequest)
func (*CreateLifeCycleRulesRequest) FromJsonString ¶ added in v1.0.91
func (r *CreateLifeCycleRulesRequest) FromJsonString(s string) error
func (*CreateLifeCycleRulesRequest) ToJsonString ¶ added in v1.0.91
func (r *CreateLifeCycleRulesRequest) ToJsonString() string
type CreateLifeCycleRulesResponse ¶ added in v1.0.91
type CreateLifeCycleRulesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateLifeCycleRulesResponse ¶ added in v1.0.91
func NewCreateLifeCycleRulesResponse() (response *CreateLifeCycleRulesResponse)
func (*CreateLifeCycleRulesResponse) FromJsonString ¶ added in v1.0.91
func (r *CreateLifeCycleRulesResponse) FromJsonString(s string) error
func (*CreateLifeCycleRulesResponse) ToJsonString ¶ added in v1.0.91
func (r *CreateLifeCycleRulesResponse) ToJsonString() string
type CreateMountPointRequest ¶
type CreateMountPointRequest struct { *tchttp.BaseRequest // 挂载点名称 MountPointName *string `json:"MountPointName,omitempty" name:"MountPointName"` // 文件系统ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // 挂载点状态(1:打开;2:关闭) MountPointStatus *uint64 `json:"MountPointStatus,omitempty" name:"MountPointStatus"` }
func NewCreateMountPointRequest ¶
func NewCreateMountPointRequest() (request *CreateMountPointRequest)
func (*CreateMountPointRequest) FromJsonString ¶
func (r *CreateMountPointRequest) FromJsonString(s string) error
func (*CreateMountPointRequest) ToJsonString ¶
func (r *CreateMountPointRequest) ToJsonString() string
type CreateMountPointResponse ¶
type CreateMountPointResponse struct { *tchttp.BaseResponse Response *struct { // 挂载点 MountPoint *MountPoint `json:"MountPoint,omitempty" name:"MountPoint"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateMountPointResponse ¶
func NewCreateMountPointResponse() (response *CreateMountPointResponse)
func (*CreateMountPointResponse) FromJsonString ¶
func (r *CreateMountPointResponse) FromJsonString(s string) error
func (*CreateMountPointResponse) ToJsonString ¶
func (r *CreateMountPointResponse) ToJsonString() string
type CreateRestoreTasksRequest ¶ added in v1.0.91
type CreateRestoreTasksRequest struct { *tchttp.BaseRequest // 文件系统ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // 多个回热任务,上限为10 RestoreTasks []*RestoreTask `json:"RestoreTasks,omitempty" name:"RestoreTasks" list` }
func NewCreateRestoreTasksRequest ¶ added in v1.0.91
func NewCreateRestoreTasksRequest() (request *CreateRestoreTasksRequest)
func (*CreateRestoreTasksRequest) FromJsonString ¶ added in v1.0.91
func (r *CreateRestoreTasksRequest) FromJsonString(s string) error
func (*CreateRestoreTasksRequest) ToJsonString ¶ added in v1.0.91
func (r *CreateRestoreTasksRequest) ToJsonString() string
type CreateRestoreTasksResponse ¶ added in v1.0.91
type CreateRestoreTasksResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateRestoreTasksResponse ¶ added in v1.0.91
func NewCreateRestoreTasksResponse() (response *CreateRestoreTasksResponse)
func (*CreateRestoreTasksResponse) FromJsonString ¶ added in v1.0.91
func (r *CreateRestoreTasksResponse) FromJsonString(s string) error
func (*CreateRestoreTasksResponse) ToJsonString ¶ added in v1.0.91
func (r *CreateRestoreTasksResponse) ToJsonString() string
type DeleteAccessGroupRequest ¶ added in v1.0.91
type DeleteAccessGroupRequest struct { *tchttp.BaseRequest // 权限组ID AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"` }
func NewDeleteAccessGroupRequest ¶ added in v1.0.91
func NewDeleteAccessGroupRequest() (request *DeleteAccessGroupRequest)
func (*DeleteAccessGroupRequest) FromJsonString ¶ added in v1.0.91
func (r *DeleteAccessGroupRequest) FromJsonString(s string) error
func (*DeleteAccessGroupRequest) ToJsonString ¶ added in v1.0.91
func (r *DeleteAccessGroupRequest) ToJsonString() string
type DeleteAccessGroupResponse ¶ added in v1.0.91
type DeleteAccessGroupResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteAccessGroupResponse ¶ added in v1.0.91
func NewDeleteAccessGroupResponse() (response *DeleteAccessGroupResponse)
func (*DeleteAccessGroupResponse) FromJsonString ¶ added in v1.0.91
func (r *DeleteAccessGroupResponse) FromJsonString(s string) error
func (*DeleteAccessGroupResponse) ToJsonString ¶ added in v1.0.91
func (r *DeleteAccessGroupResponse) ToJsonString() string
type DeleteAccessRulesRequest ¶ added in v1.0.91
type DeleteAccessRulesRequest struct { *tchttp.BaseRequest // 多个权限规则ID,上限为10 AccessRuleIds []*uint64 `json:"AccessRuleIds,omitempty" name:"AccessRuleIds" list` }
func NewDeleteAccessRulesRequest ¶ added in v1.0.91
func NewDeleteAccessRulesRequest() (request *DeleteAccessRulesRequest)
func (*DeleteAccessRulesRequest) FromJsonString ¶ added in v1.0.91
func (r *DeleteAccessRulesRequest) FromJsonString(s string) error
func (*DeleteAccessRulesRequest) ToJsonString ¶ added in v1.0.91
func (r *DeleteAccessRulesRequest) ToJsonString() string
type DeleteAccessRulesResponse ¶ added in v1.0.91
type DeleteAccessRulesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteAccessRulesResponse ¶ added in v1.0.91
func NewDeleteAccessRulesResponse() (response *DeleteAccessRulesResponse)
func (*DeleteAccessRulesResponse) FromJsonString ¶ added in v1.0.91
func (r *DeleteAccessRulesResponse) FromJsonString(s string) error
func (*DeleteAccessRulesResponse) ToJsonString ¶ added in v1.0.91
func (r *DeleteAccessRulesResponse) ToJsonString() string
type DeleteFileSystemRequest ¶ added in v1.0.91
type DeleteFileSystemRequest struct { *tchttp.BaseRequest // 文件系统ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` }
func NewDeleteFileSystemRequest ¶ added in v1.0.91
func NewDeleteFileSystemRequest() (request *DeleteFileSystemRequest)
func (*DeleteFileSystemRequest) FromJsonString ¶ added in v1.0.91
func (r *DeleteFileSystemRequest) FromJsonString(s string) error
func (*DeleteFileSystemRequest) ToJsonString ¶ added in v1.0.91
func (r *DeleteFileSystemRequest) ToJsonString() string
type DeleteFileSystemResponse ¶ added in v1.0.91
type DeleteFileSystemResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteFileSystemResponse ¶ added in v1.0.91
func NewDeleteFileSystemResponse() (response *DeleteFileSystemResponse)
func (*DeleteFileSystemResponse) FromJsonString ¶ added in v1.0.91
func (r *DeleteFileSystemResponse) FromJsonString(s string) error
func (*DeleteFileSystemResponse) ToJsonString ¶ added in v1.0.91
func (r *DeleteFileSystemResponse) ToJsonString() string
type DeleteLifeCycleRulesRequest ¶ added in v1.0.91
type DeleteLifeCycleRulesRequest struct { *tchttp.BaseRequest // 多个生命周期规则ID,上限为10 LifeCycleRuleIds []*uint64 `json:"LifeCycleRuleIds,omitempty" name:"LifeCycleRuleIds" list` }
func NewDeleteLifeCycleRulesRequest ¶ added in v1.0.91
func NewDeleteLifeCycleRulesRequest() (request *DeleteLifeCycleRulesRequest)
func (*DeleteLifeCycleRulesRequest) FromJsonString ¶ added in v1.0.91
func (r *DeleteLifeCycleRulesRequest) FromJsonString(s string) error
func (*DeleteLifeCycleRulesRequest) ToJsonString ¶ added in v1.0.91
func (r *DeleteLifeCycleRulesRequest) ToJsonString() string
type DeleteLifeCycleRulesResponse ¶ added in v1.0.91
type DeleteLifeCycleRulesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteLifeCycleRulesResponse ¶ added in v1.0.91
func NewDeleteLifeCycleRulesResponse() (response *DeleteLifeCycleRulesResponse)
func (*DeleteLifeCycleRulesResponse) FromJsonString ¶ added in v1.0.91
func (r *DeleteLifeCycleRulesResponse) FromJsonString(s string) error
func (*DeleteLifeCycleRulesResponse) ToJsonString ¶ added in v1.0.91
func (r *DeleteLifeCycleRulesResponse) ToJsonString() string
type DeleteMountPointRequest ¶ added in v1.0.91
type DeleteMountPointRequest struct { *tchttp.BaseRequest // 挂载点ID MountPointId *string `json:"MountPointId,omitempty" name:"MountPointId"` }
func NewDeleteMountPointRequest ¶ added in v1.0.91
func NewDeleteMountPointRequest() (request *DeleteMountPointRequest)
func (*DeleteMountPointRequest) FromJsonString ¶ added in v1.0.91
func (r *DeleteMountPointRequest) FromJsonString(s string) error
func (*DeleteMountPointRequest) ToJsonString ¶ added in v1.0.91
func (r *DeleteMountPointRequest) ToJsonString() string
type DeleteMountPointResponse ¶ added in v1.0.91
type DeleteMountPointResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteMountPointResponse ¶ added in v1.0.91
func NewDeleteMountPointResponse() (response *DeleteMountPointResponse)
func (*DeleteMountPointResponse) FromJsonString ¶ added in v1.0.91
func (r *DeleteMountPointResponse) FromJsonString(s string) error
func (*DeleteMountPointResponse) ToJsonString ¶ added in v1.0.91
func (r *DeleteMountPointResponse) ToJsonString() string
type DescribeAccessGroupRequest ¶
type DescribeAccessGroupRequest struct { *tchttp.BaseRequest // 权限组ID AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"` }
func NewDescribeAccessGroupRequest ¶
func NewDescribeAccessGroupRequest() (request *DescribeAccessGroupRequest)
func (*DescribeAccessGroupRequest) FromJsonString ¶
func (r *DescribeAccessGroupRequest) FromJsonString(s string) error
func (*DescribeAccessGroupRequest) ToJsonString ¶
func (r *DescribeAccessGroupRequest) ToJsonString() string
type DescribeAccessGroupResponse ¶
type DescribeAccessGroupResponse struct { *tchttp.BaseResponse Response *struct { // 权限组 AccessGroup *AccessGroup `json:"AccessGroup,omitempty" name:"AccessGroup"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAccessGroupResponse ¶
func NewDescribeAccessGroupResponse() (response *DescribeAccessGroupResponse)
func (*DescribeAccessGroupResponse) FromJsonString ¶
func (r *DescribeAccessGroupResponse) FromJsonString(s string) error
func (*DescribeAccessGroupResponse) ToJsonString ¶
func (r *DescribeAccessGroupResponse) ToJsonString() string
type DescribeAccessGroupsRequest ¶
type DescribeAccessGroupsRequest struct { *tchttp.BaseRequest // VPC网络ID // 备注:入参只能指定VpcId和OwnerUin的其中一个 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 资源所属者Uin OwnerUin *uint64 `json:"OwnerUin,omitempty" name:"OwnerUin"` }
func NewDescribeAccessGroupsRequest ¶
func NewDescribeAccessGroupsRequest() (request *DescribeAccessGroupsRequest)
func (*DescribeAccessGroupsRequest) FromJsonString ¶
func (r *DescribeAccessGroupsRequest) FromJsonString(s string) error
func (*DescribeAccessGroupsRequest) ToJsonString ¶
func (r *DescribeAccessGroupsRequest) ToJsonString() string
type DescribeAccessGroupsResponse ¶
type DescribeAccessGroupsResponse struct { *tchttp.BaseResponse Response *struct { // 权限组列表 AccessGroups []*AccessGroup `json:"AccessGroups,omitempty" name:"AccessGroups" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAccessGroupsResponse ¶
func NewDescribeAccessGroupsResponse() (response *DescribeAccessGroupsResponse)
func (*DescribeAccessGroupsResponse) FromJsonString ¶
func (r *DescribeAccessGroupsResponse) FromJsonString(s string) error
func (*DescribeAccessGroupsResponse) ToJsonString ¶
func (r *DescribeAccessGroupsResponse) ToJsonString() string
type DescribeAccessRulesRequest ¶
type DescribeAccessRulesRequest struct { *tchttp.BaseRequest // 权限组ID AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"` }
func NewDescribeAccessRulesRequest ¶
func NewDescribeAccessRulesRequest() (request *DescribeAccessRulesRequest)
func (*DescribeAccessRulesRequest) FromJsonString ¶
func (r *DescribeAccessRulesRequest) FromJsonString(s string) error
func (*DescribeAccessRulesRequest) ToJsonString ¶
func (r *DescribeAccessRulesRequest) ToJsonString() string
type DescribeAccessRulesResponse ¶
type DescribeAccessRulesResponse struct { *tchttp.BaseResponse Response *struct { // 权限规则列表 AccessRules []*AccessRule `json:"AccessRules,omitempty" name:"AccessRules" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAccessRulesResponse ¶
func NewDescribeAccessRulesResponse() (response *DescribeAccessRulesResponse)
func (*DescribeAccessRulesResponse) FromJsonString ¶
func (r *DescribeAccessRulesResponse) FromJsonString(s string) error
func (*DescribeAccessRulesResponse) ToJsonString ¶
func (r *DescribeAccessRulesResponse) ToJsonString() string
type DescribeFileSystemRequest ¶
type DescribeFileSystemRequest struct { *tchttp.BaseRequest // 文件系统ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` }
func NewDescribeFileSystemRequest ¶
func NewDescribeFileSystemRequest() (request *DescribeFileSystemRequest)
func (*DescribeFileSystemRequest) FromJsonString ¶
func (r *DescribeFileSystemRequest) FromJsonString(s string) error
func (*DescribeFileSystemRequest) ToJsonString ¶
func (r *DescribeFileSystemRequest) ToJsonString() string
type DescribeFileSystemResponse ¶
type DescribeFileSystemResponse struct { *tchttp.BaseResponse Response *struct { // 文件系统 FileSystem *FileSystem `json:"FileSystem,omitempty" name:"FileSystem"` // 已使用容量(byte),包括标准和归档存储 // 注意:此字段可能返回 null,表示取不到有效值。 CapacityUsed *uint64 `json:"CapacityUsed,omitempty" name:"CapacityUsed"` // 已使用归档存储容量(byte) // 注意:此字段可能返回 null,表示取不到有效值。 ArchiveCapacityUsed *uint64 `json:"ArchiveCapacityUsed,omitempty" name:"ArchiveCapacityUsed"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeFileSystemResponse ¶
func NewDescribeFileSystemResponse() (response *DescribeFileSystemResponse)
func (*DescribeFileSystemResponse) FromJsonString ¶
func (r *DescribeFileSystemResponse) FromJsonString(s string) error
func (*DescribeFileSystemResponse) ToJsonString ¶
func (r *DescribeFileSystemResponse) ToJsonString() string
type DescribeFileSystemsRequest ¶
type DescribeFileSystemsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeFileSystemsRequest ¶
func NewDescribeFileSystemsRequest() (request *DescribeFileSystemsRequest)
func (*DescribeFileSystemsRequest) FromJsonString ¶
func (r *DescribeFileSystemsRequest) FromJsonString(s string) error
func (*DescribeFileSystemsRequest) ToJsonString ¶
func (r *DescribeFileSystemsRequest) ToJsonString() string
type DescribeFileSystemsResponse ¶
type DescribeFileSystemsResponse struct { *tchttp.BaseResponse Response *struct { // 文件系统列表 FileSystems []*FileSystem `json:"FileSystems,omitempty" name:"FileSystems" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeFileSystemsResponse ¶
func NewDescribeFileSystemsResponse() (response *DescribeFileSystemsResponse)
func (*DescribeFileSystemsResponse) FromJsonString ¶
func (r *DescribeFileSystemsResponse) FromJsonString(s string) error
func (*DescribeFileSystemsResponse) ToJsonString ¶
func (r *DescribeFileSystemsResponse) ToJsonString() string
type DescribeLifeCycleRulesRequest ¶ added in v1.0.91
type DescribeLifeCycleRulesRequest struct { *tchttp.BaseRequest // 文件系统ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` }
func NewDescribeLifeCycleRulesRequest ¶ added in v1.0.91
func NewDescribeLifeCycleRulesRequest() (request *DescribeLifeCycleRulesRequest)
func (*DescribeLifeCycleRulesRequest) FromJsonString ¶ added in v1.0.91
func (r *DescribeLifeCycleRulesRequest) FromJsonString(s string) error
func (*DescribeLifeCycleRulesRequest) ToJsonString ¶ added in v1.0.91
func (r *DescribeLifeCycleRulesRequest) ToJsonString() string
type DescribeLifeCycleRulesResponse ¶ added in v1.0.91
type DescribeLifeCycleRulesResponse struct { *tchttp.BaseResponse Response *struct { // 生命周期规则列表 LifeCycleRules []*LifeCycleRule `json:"LifeCycleRules,omitempty" name:"LifeCycleRules" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeLifeCycleRulesResponse ¶ added in v1.0.91
func NewDescribeLifeCycleRulesResponse() (response *DescribeLifeCycleRulesResponse)
func (*DescribeLifeCycleRulesResponse) FromJsonString ¶ added in v1.0.91
func (r *DescribeLifeCycleRulesResponse) FromJsonString(s string) error
func (*DescribeLifeCycleRulesResponse) ToJsonString ¶ added in v1.0.91
func (r *DescribeLifeCycleRulesResponse) ToJsonString() string
type DescribeMountPointRequest ¶
type DescribeMountPointRequest struct { *tchttp.BaseRequest // 挂载点ID MountPointId *string `json:"MountPointId,omitempty" name:"MountPointId"` }
func NewDescribeMountPointRequest ¶
func NewDescribeMountPointRequest() (request *DescribeMountPointRequest)
func (*DescribeMountPointRequest) FromJsonString ¶
func (r *DescribeMountPointRequest) FromJsonString(s string) error
func (*DescribeMountPointRequest) ToJsonString ¶
func (r *DescribeMountPointRequest) ToJsonString() string
type DescribeMountPointResponse ¶
type DescribeMountPointResponse struct { *tchttp.BaseResponse Response *struct { // 挂载点 MountPoint *MountPoint `json:"MountPoint,omitempty" name:"MountPoint"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeMountPointResponse ¶
func NewDescribeMountPointResponse() (response *DescribeMountPointResponse)
func (*DescribeMountPointResponse) FromJsonString ¶
func (r *DescribeMountPointResponse) FromJsonString(s string) error
func (*DescribeMountPointResponse) ToJsonString ¶
func (r *DescribeMountPointResponse) ToJsonString() string
type DescribeMountPointsRequest ¶
type DescribeMountPointsRequest struct { *tchttp.BaseRequest // 文件系统ID // 备注:入参只能指定AccessGroupId、FileSystemId和OwnerUin的其中一个 FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // 权限组ID AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"` // 资源所属者Uin OwnerUin *uint64 `json:"OwnerUin,omitempty" name:"OwnerUin"` }
func NewDescribeMountPointsRequest ¶
func NewDescribeMountPointsRequest() (request *DescribeMountPointsRequest)
func (*DescribeMountPointsRequest) FromJsonString ¶
func (r *DescribeMountPointsRequest) FromJsonString(s string) error
func (*DescribeMountPointsRequest) ToJsonString ¶
func (r *DescribeMountPointsRequest) ToJsonString() string
type DescribeMountPointsResponse ¶
type DescribeMountPointsResponse struct { *tchttp.BaseResponse Response *struct { // 挂载点列表 MountPoints []*MountPoint `json:"MountPoints,omitempty" name:"MountPoints" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeMountPointsResponse ¶
func NewDescribeMountPointsResponse() (response *DescribeMountPointsResponse)
func (*DescribeMountPointsResponse) FromJsonString ¶
func (r *DescribeMountPointsResponse) FromJsonString(s string) error
func (*DescribeMountPointsResponse) ToJsonString ¶
func (r *DescribeMountPointsResponse) ToJsonString() string
type DescribeResourceTagsRequest ¶ added in v1.0.91
type DescribeResourceTagsRequest struct { *tchttp.BaseRequest // 文件系统ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` }
func NewDescribeResourceTagsRequest ¶ added in v1.0.91
func NewDescribeResourceTagsRequest() (request *DescribeResourceTagsRequest)
func (*DescribeResourceTagsRequest) FromJsonString ¶ added in v1.0.91
func (r *DescribeResourceTagsRequest) FromJsonString(s string) error
func (*DescribeResourceTagsRequest) ToJsonString ¶ added in v1.0.91
func (r *DescribeResourceTagsRequest) ToJsonString() string
type DescribeResourceTagsResponse ¶ added in v1.0.91
type DescribeResourceTagsResponse struct { *tchttp.BaseResponse Response *struct { // 资源标签列表 Tags []*Tag `json:"Tags,omitempty" name:"Tags" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeResourceTagsResponse ¶ added in v1.0.91
func NewDescribeResourceTagsResponse() (response *DescribeResourceTagsResponse)
func (*DescribeResourceTagsResponse) FromJsonString ¶ added in v1.0.91
func (r *DescribeResourceTagsResponse) FromJsonString(s string) error
func (*DescribeResourceTagsResponse) ToJsonString ¶ added in v1.0.91
func (r *DescribeResourceTagsResponse) ToJsonString() string
type DescribeRestoreTasksRequest ¶ added in v1.0.91
type DescribeRestoreTasksRequest struct { *tchttp.BaseRequest // 文件系统ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` }
func NewDescribeRestoreTasksRequest ¶ added in v1.0.91
func NewDescribeRestoreTasksRequest() (request *DescribeRestoreTasksRequest)
func (*DescribeRestoreTasksRequest) FromJsonString ¶ added in v1.0.91
func (r *DescribeRestoreTasksRequest) FromJsonString(s string) error
func (*DescribeRestoreTasksRequest) ToJsonString ¶ added in v1.0.91
func (r *DescribeRestoreTasksRequest) ToJsonString() string
type DescribeRestoreTasksResponse ¶ added in v1.0.91
type DescribeRestoreTasksResponse struct { *tchttp.BaseResponse Response *struct { // 回热任务列表 RestoreTasks []*RestoreTask `json:"RestoreTasks,omitempty" name:"RestoreTasks" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeRestoreTasksResponse ¶ added in v1.0.91
func NewDescribeRestoreTasksResponse() (response *DescribeRestoreTasksResponse)
func (*DescribeRestoreTasksResponse) FromJsonString ¶ added in v1.0.91
func (r *DescribeRestoreTasksResponse) FromJsonString(s string) error
func (*DescribeRestoreTasksResponse) ToJsonString ¶ added in v1.0.91
func (r *DescribeRestoreTasksResponse) ToJsonString() string
type DisassociateAccessGroupsRequest ¶
type DisassociateAccessGroupsRequest struct { *tchttp.BaseRequest // 挂载点ID MountPointId *string `json:"MountPointId,omitempty" name:"MountPointId"` // 权限组ID列表 AccessGroupIds []*string `json:"AccessGroupIds,omitempty" name:"AccessGroupIds" list` }
func NewDisassociateAccessGroupsRequest ¶
func NewDisassociateAccessGroupsRequest() (request *DisassociateAccessGroupsRequest)
func (*DisassociateAccessGroupsRequest) FromJsonString ¶
func (r *DisassociateAccessGroupsRequest) FromJsonString(s string) error
func (*DisassociateAccessGroupsRequest) ToJsonString ¶
func (r *DisassociateAccessGroupsRequest) ToJsonString() string
type DisassociateAccessGroupsResponse ¶
type DisassociateAccessGroupsResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDisassociateAccessGroupsResponse ¶
func NewDisassociateAccessGroupsResponse() (response *DisassociateAccessGroupsResponse)
func (*DisassociateAccessGroupsResponse) FromJsonString ¶
func (r *DisassociateAccessGroupsResponse) FromJsonString(s string) error
func (*DisassociateAccessGroupsResponse) ToJsonString ¶
func (r *DisassociateAccessGroupsResponse) ToJsonString() string
type FileSystem ¶
type FileSystem struct { // 资源所属用户AppId AppId *uint64 `json:"AppId,omitempty" name:"AppId"` // 文件系统名称 FileSystemName *string `json:"FileSystemName,omitempty" name:"FileSystemName"` // 文件系统描述 Description *string `json:"Description,omitempty" name:"Description"` // 地域 Region *string `json:"Region,omitempty" name:"Region"` // 文件系统ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // 创建时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 文件系统块大小(byte) BlockSize *uint64 `json:"BlockSize,omitempty" name:"BlockSize"` // 文件系统容量(byte) CapacityQuota *uint64 `json:"CapacityQuota,omitempty" name:"CapacityQuota"` // 文件系统状态(1:创建中;2:创建成功;3:创建失败) Status *uint64 `json:"Status,omitempty" name:"Status"` // 超级用户名列表 SuperUsers []*string `json:"SuperUsers,omitempty" name:"SuperUsers" list` // POSIX权限控制 PosixAcl *bool `json:"PosixAcl,omitempty" name:"PosixAcl"` }
type LifeCycleRule ¶ added in v1.0.91
type LifeCycleRule struct { // 生命周期规则ID LifeCycleRuleId *uint64 `json:"LifeCycleRuleId,omitempty" name:"LifeCycleRuleId"` // 生命周期规则名称 LifeCycleRuleName *string `json:"LifeCycleRuleName,omitempty" name:"LifeCycleRuleName"` // 生命周期规则路径(目录或文件) Path *string `json:"Path,omitempty" name:"Path"` // 生命周期规则转换列表 Transitions []*Transition `json:"Transitions,omitempty" name:"Transitions" list` // 生命周期规则状态(1:打开;2:关闭) Status *uint64 `json:"Status,omitempty" name:"Status"` // 创建时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` }
type ModifyAccessGroupRequest ¶
type ModifyAccessGroupRequest struct { *tchttp.BaseRequest // 权限组ID AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"` // 权限组名称 AccessGroupName *string `json:"AccessGroupName,omitempty" name:"AccessGroupName"` // 权限组描述 Description *string `json:"Description,omitempty" name:"Description"` }
func NewModifyAccessGroupRequest ¶
func NewModifyAccessGroupRequest() (request *ModifyAccessGroupRequest)
func (*ModifyAccessGroupRequest) FromJsonString ¶
func (r *ModifyAccessGroupRequest) FromJsonString(s string) error
func (*ModifyAccessGroupRequest) ToJsonString ¶
func (r *ModifyAccessGroupRequest) ToJsonString() string
type ModifyAccessGroupResponse ¶
type ModifyAccessGroupResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyAccessGroupResponse ¶
func NewModifyAccessGroupResponse() (response *ModifyAccessGroupResponse)
func (*ModifyAccessGroupResponse) FromJsonString ¶
func (r *ModifyAccessGroupResponse) FromJsonString(s string) error
func (*ModifyAccessGroupResponse) ToJsonString ¶
func (r *ModifyAccessGroupResponse) ToJsonString() string
type ModifyAccessRulesRequest ¶ added in v1.0.91
type ModifyAccessRulesRequest struct { *tchttp.BaseRequest // 多个权限规则,上限为10 AccessRules []*AccessRule `json:"AccessRules,omitempty" name:"AccessRules" list` }
func NewModifyAccessRulesRequest ¶ added in v1.0.91
func NewModifyAccessRulesRequest() (request *ModifyAccessRulesRequest)
func (*ModifyAccessRulesRequest) FromJsonString ¶ added in v1.0.91
func (r *ModifyAccessRulesRequest) FromJsonString(s string) error
func (*ModifyAccessRulesRequest) ToJsonString ¶ added in v1.0.91
func (r *ModifyAccessRulesRequest) ToJsonString() string
type ModifyAccessRulesResponse ¶ added in v1.0.91
type ModifyAccessRulesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyAccessRulesResponse ¶ added in v1.0.91
func NewModifyAccessRulesResponse() (response *ModifyAccessRulesResponse)
func (*ModifyAccessRulesResponse) FromJsonString ¶ added in v1.0.91
func (r *ModifyAccessRulesResponse) FromJsonString(s string) error
func (*ModifyAccessRulesResponse) ToJsonString ¶ added in v1.0.91
func (r *ModifyAccessRulesResponse) ToJsonString() string
type ModifyFileSystemRequest ¶
type ModifyFileSystemRequest struct { *tchttp.BaseRequest // 文件系统ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // 文件系统名称 FileSystemName *string `json:"FileSystemName,omitempty" name:"FileSystemName"` // 文件系统描述 Description *string `json:"Description,omitempty" name:"Description"` // 文件系统容量(byte),下限为1G,上限为1P,且必须是1G的整数倍 // 注意:修改的文件系统容量不能小于当前使用量 CapacityQuota *uint64 `json:"CapacityQuota,omitempty" name:"CapacityQuota"` // 超级用户名列表,可以为空数组 SuperUsers []*string `json:"SuperUsers,omitempty" name:"SuperUsers" list` // 是否校验POSIX ACL PosixAcl *bool `json:"PosixAcl,omitempty" name:"PosixAcl"` }
func NewModifyFileSystemRequest ¶
func NewModifyFileSystemRequest() (request *ModifyFileSystemRequest)
func (*ModifyFileSystemRequest) FromJsonString ¶
func (r *ModifyFileSystemRequest) FromJsonString(s string) error
func (*ModifyFileSystemRequest) ToJsonString ¶
func (r *ModifyFileSystemRequest) ToJsonString() string
type ModifyFileSystemResponse ¶
type ModifyFileSystemResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyFileSystemResponse ¶
func NewModifyFileSystemResponse() (response *ModifyFileSystemResponse)
func (*ModifyFileSystemResponse) FromJsonString ¶
func (r *ModifyFileSystemResponse) FromJsonString(s string) error
func (*ModifyFileSystemResponse) ToJsonString ¶
func (r *ModifyFileSystemResponse) ToJsonString() string
type ModifyLifeCycleRulesRequest ¶ added in v1.0.91
type ModifyLifeCycleRulesRequest struct { *tchttp.BaseRequest // 多个生命周期规则,上限为10 LifeCycleRules []*LifeCycleRule `json:"LifeCycleRules,omitempty" name:"LifeCycleRules" list` }
func NewModifyLifeCycleRulesRequest ¶ added in v1.0.91
func NewModifyLifeCycleRulesRequest() (request *ModifyLifeCycleRulesRequest)
func (*ModifyLifeCycleRulesRequest) FromJsonString ¶ added in v1.0.91
func (r *ModifyLifeCycleRulesRequest) FromJsonString(s string) error
func (*ModifyLifeCycleRulesRequest) ToJsonString ¶ added in v1.0.91
func (r *ModifyLifeCycleRulesRequest) ToJsonString() string
type ModifyLifeCycleRulesResponse ¶ added in v1.0.91
type ModifyLifeCycleRulesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyLifeCycleRulesResponse ¶ added in v1.0.91
func NewModifyLifeCycleRulesResponse() (response *ModifyLifeCycleRulesResponse)
func (*ModifyLifeCycleRulesResponse) FromJsonString ¶ added in v1.0.91
func (r *ModifyLifeCycleRulesResponse) FromJsonString(s string) error
func (*ModifyLifeCycleRulesResponse) ToJsonString ¶ added in v1.0.91
func (r *ModifyLifeCycleRulesResponse) ToJsonString() string
type ModifyMountPointRequest ¶
type ModifyMountPointRequest struct { *tchttp.BaseRequest // 挂载点ID MountPointId *string `json:"MountPointId,omitempty" name:"MountPointId"` // 挂载点名称 MountPointName *string `json:"MountPointName,omitempty" name:"MountPointName"` // 挂载点状态 MountPointStatus *uint64 `json:"MountPointStatus,omitempty" name:"MountPointStatus"` }
func NewModifyMountPointRequest ¶
func NewModifyMountPointRequest() (request *ModifyMountPointRequest)
func (*ModifyMountPointRequest) FromJsonString ¶
func (r *ModifyMountPointRequest) FromJsonString(s string) error
func (*ModifyMountPointRequest) ToJsonString ¶
func (r *ModifyMountPointRequest) ToJsonString() string
type ModifyMountPointResponse ¶
type ModifyMountPointResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyMountPointResponse ¶
func NewModifyMountPointResponse() (response *ModifyMountPointResponse)
func (*ModifyMountPointResponse) FromJsonString ¶
func (r *ModifyMountPointResponse) FromJsonString(s string) error
func (*ModifyMountPointResponse) ToJsonString ¶
func (r *ModifyMountPointResponse) ToJsonString() string
type ModifyResourceTagsRequest ¶
type ModifyResourceTagsRequest struct { *tchttp.BaseRequest // 文件系统ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // 多个资源标签,可以为空数组 Tags []*Tag `json:"Tags,omitempty" name:"Tags" list` }
func NewModifyResourceTagsRequest ¶
func NewModifyResourceTagsRequest() (request *ModifyResourceTagsRequest)
func (*ModifyResourceTagsRequest) FromJsonString ¶
func (r *ModifyResourceTagsRequest) FromJsonString(s string) error
func (*ModifyResourceTagsRequest) ToJsonString ¶
func (r *ModifyResourceTagsRequest) ToJsonString() string
type ModifyResourceTagsResponse ¶
type ModifyResourceTagsResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyResourceTagsResponse ¶
func NewModifyResourceTagsResponse() (response *ModifyResourceTagsResponse)
func (*ModifyResourceTagsResponse) FromJsonString ¶
func (r *ModifyResourceTagsResponse) FromJsonString(s string) error
func (*ModifyResourceTagsResponse) ToJsonString ¶
func (r *ModifyResourceTagsResponse) ToJsonString() string
type MountPoint ¶
type MountPoint struct { // 挂载点ID MountPointId *string `json:"MountPointId,omitempty" name:"MountPointId"` // 挂载点名称 MountPointName *string `json:"MountPointName,omitempty" name:"MountPointName"` // 文件系统ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // 挂载点状态(1:打开;2:关闭) Status *uint64 `json:"Status,omitempty" name:"Status"` // 创建时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 绑定的权限组ID列表 AccessGroupIds []*string `json:"AccessGroupIds,omitempty" name:"AccessGroupIds" list` }
type RestoreTask ¶ added in v1.0.91
type RestoreTask struct { // 回热任务ID RestoreTaskId *uint64 `json:"RestoreTaskId,omitempty" name:"RestoreTaskId"` // 回热任务文件路径 FilePath *string `json:"FilePath,omitempty" name:"FilePath"` // 回热任务类型(1:标准;2:极速;3:批量) Type *uint64 `json:"Type,omitempty" name:"Type"` // 指定恢复出的临时副本的有效时长(单位天) Days *uint64 `json:"Days,omitempty" name:"Days"` // 回热任务状态(1:绑定文件中;2:绑定文件完成;3:文件回热中;4:文件回热完成) Status *uint64 `json:"Status,omitempty" name:"Status"` // 创建时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` }
type Transition ¶ added in v1.0.91
Click to show internal directories.
Click to hide internal directories.