Documentation
¶
Index ¶
- Constants
- type AccessGroup
- type AccessRule
- type Client
- 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) 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) 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 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 FileSystem
- type Filter
- 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 ¶
const APIVersion = "2019-07-18"
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"`
}
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 Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CreateAccessGroup ¶
func (c *Client) CreateAccessGroup(request *CreateAccessGroupRequest) (response *CreateAccessGroupResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
创建权限组。
func (*Client) CreateAccessRules ¶
func (c *Client) CreateAccessRules(request *CreateAccessRulesRequest) (response *CreateAccessRulesResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
批量创建权限规则,权限规则ID和创建时间无需填写。
func (*Client) CreateFileSystem ¶
func (c *Client) CreateFileSystem(request *CreateFileSystemRequest) (response *CreateFileSystemResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
创建文件系统(异步)。
func (*Client) CreateLifeCycleRules ¶
func (c *Client) CreateLifeCycleRules(request *CreateLifeCycleRulesRequest) (response *CreateLifeCycleRulesResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
批量创建生命周期规则,生命周期规则ID和创建时间无需填写。
func (*Client) CreateMountPoint ¶
func (c *Client) CreateMountPoint(request *CreateMountPointRequest) (response *CreateMountPointResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
创建文件系统挂载点,仅限于创建成功的文件系统。
func (*Client) CreateRestoreTasks ¶
func (c *Client) CreateRestoreTasks(request *CreateRestoreTasksRequest) (response *CreateRestoreTasksResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
批量创建回热任务,回热任务ID、状态和创建时间无需填写。
func (*Client) DeleteAccessGroup ¶
func (c *Client) DeleteAccessGroup(request *DeleteAccessGroupRequest) (response *DeleteAccessGroupResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
删除权限组。
func (*Client) DeleteAccessRules ¶
func (c *Client) DeleteAccessRules(request *DeleteAccessRulesRequest) (response *DeleteAccessRulesResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
批量删除权限规则。
func (*Client) DeleteFileSystem ¶
func (c *Client) DeleteFileSystem(request *DeleteFileSystemRequest) (response *DeleteFileSystemResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
删除文件系统,不允许删除非空文件系统。
func (*Client) DeleteLifeCycleRules ¶
func (c *Client) DeleteLifeCycleRules(request *DeleteLifeCycleRulesRequest) (response *DeleteLifeCycleRulesResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
批量删除生命周期规则。
func (*Client) DeleteMountPoint ¶
func (c *Client) DeleteMountPoint(request *DeleteMountPointRequest) (response *DeleteMountPointResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
删除挂载点。
func (*Client) DescribeAccessGroups ¶
func (c *Client) DescribeAccessGroups(request *DescribeAccessGroupsRequest) (response *DescribeAccessGroupsResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
查看权限组列表。
func (*Client) DescribeAccessRules ¶
func (c *Client) DescribeAccessRules(request *DescribeAccessRulesRequest) (response *DescribeAccessRulesResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
通过权限组ID查看权限规则列表。
func (*Client) DescribeFileSystem ¶
func (c *Client) DescribeFileSystem(request *DescribeFileSystemRequest) (response *DescribeFileSystemResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
查看文件系统详细信息。
func (*Client) DescribeFileSystems ¶
func (c *Client) DescribeFileSystems(request *DescribeFileSystemsRequest) (response *DescribeFileSystemsResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
查看文件系统列表。
func (*Client) DescribeLifeCycleRules ¶
func (c *Client) DescribeLifeCycleRules(request *DescribeLifeCycleRulesRequest) (response *DescribeLifeCycleRulesResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
通过文件系统ID查看生命周期规则列表。
func (*Client) DescribeMountPoint ¶
func (c *Client) DescribeMountPoint(request *DescribeMountPointRequest) (response *DescribeMountPointResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
查看挂载点详细信息。
func (*Client) DescribeMountPoints ¶
func (c *Client) DescribeMountPoints(request *DescribeMountPointsRequest) (response *DescribeMountPointsResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
通过文件系统ID或者权限组ID查看挂载点列表。
func (*Client) DescribeResourceTags ¶
func (c *Client) DescribeResourceTags(request *DescribeResourceTagsRequest) (response *DescribeResourceTagsResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
通过文件系统ID查看资源标签列表。
func (*Client) DescribeRestoreTasks ¶
func (c *Client) DescribeRestoreTasks(request *DescribeRestoreTasksRequest) (response *DescribeRestoreTasksResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
通过文件系统ID查看回热任务列表。
func (*Client) ModifyAccessGroup ¶
func (c *Client) ModifyAccessGroup(request *ModifyAccessGroupRequest) (response *ModifyAccessGroupResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
修改权限组属性。
func (*Client) ModifyAccessRules ¶
func (c *Client) ModifyAccessRules(request *ModifyAccessRulesRequest) (response *ModifyAccessRulesResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
批量修改权限规则属性,需要指定权限规则ID,支持修改权限规则地址、访问模式和优先级。
func (*Client) ModifyFileSystem ¶
func (c *Client) ModifyFileSystem(request *ModifyFileSystemRequest) (response *ModifyFileSystemResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
修改文件系统属性,仅限于创建成功的文件系统。
func (*Client) ModifyLifeCycleRules ¶
func (c *Client) ModifyLifeCycleRules(request *ModifyLifeCycleRulesRequest) (response *ModifyLifeCycleRulesResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
批量修改生命周期规则属性,需要指定生命周期规则ID,支持修改生命周期规则名称、路径、转换列表和状态。
func (*Client) ModifyMountPoint ¶
func (c *Client) ModifyMountPoint(request *ModifyMountPointRequest) (response *ModifyMountPointResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
修改挂载点属性。
func (*Client) ModifyResourceTags ¶
func (c *Client) ModifyResourceTags(request *ModifyResourceTagsRequest) (response *ModifyResourceTagsResponse, err error)
云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
修改资源标签列表,全量覆盖。
type CreateAccessGroupRequest ¶
type CreateAccessGroupRequest struct {
*tchttp.BaseRequest
// 权限组名称
AccessGroupName *string `json:"AccessGroupName,omitempty" name:"AccessGroupName"`
// 权限组描述
Description *string `json:"Description,omitempty" name:"Description"`
}
func NewCreateAccessGroupRequest ¶
func NewCreateAccessGroupRequest() (request *CreateAccessGroupRequest)
func (*CreateAccessGroupRequest) FromJsonString ¶
func (r *CreateAccessGroupRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
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
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAccessGroupResponse) ToJsonString ¶
func (r *CreateAccessGroupResponse) ToJsonString() string
type CreateAccessRulesRequest ¶
type CreateAccessRulesRequest struct {
*tchttp.BaseRequest
// 多个权限规则,上限为10
AccessRules []*AccessRule `json:"AccessRules,omitempty" name:"AccessRules" list`
// 权限组ID
AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`
}
func NewCreateAccessRulesRequest ¶
func NewCreateAccessRulesRequest() (request *CreateAccessRulesRequest)
func (*CreateAccessRulesRequest) FromJsonString ¶
func (r *CreateAccessRulesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAccessRulesRequest) ToJsonString ¶
func (r *CreateAccessRulesRequest) ToJsonString() string
type CreateAccessRulesResponse ¶
type CreateAccessRulesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateAccessRulesResponse ¶
func NewCreateAccessRulesResponse() (response *CreateAccessRulesResponse)
func (*CreateAccessRulesResponse) FromJsonString ¶
func (r *CreateAccessRulesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAccessRulesResponse) ToJsonString ¶
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"`
// 文件系统描述
Description *string `json:"Description,omitempty" name:"Description"`
}
func NewCreateFileSystemRequest ¶
func NewCreateFileSystemRequest() (request *CreateFileSystemRequest)
func (*CreateFileSystemRequest) FromJsonString ¶
func (r *CreateFileSystemRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
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
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateFileSystemResponse) ToJsonString ¶
func (r *CreateFileSystemResponse) ToJsonString() string
type CreateLifeCycleRulesRequest ¶
type CreateLifeCycleRulesRequest struct {
*tchttp.BaseRequest
// 文件系统ID
FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
// 多个生命周期规则,上限为10
LifeCycleRules []*LifeCycleRule `json:"LifeCycleRules,omitempty" name:"LifeCycleRules" list`
}
func NewCreateLifeCycleRulesRequest ¶
func NewCreateLifeCycleRulesRequest() (request *CreateLifeCycleRulesRequest)
func (*CreateLifeCycleRulesRequest) FromJsonString ¶
func (r *CreateLifeCycleRulesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLifeCycleRulesRequest) ToJsonString ¶
func (r *CreateLifeCycleRulesRequest) ToJsonString() string
type CreateLifeCycleRulesResponse ¶
type CreateLifeCycleRulesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateLifeCycleRulesResponse ¶
func NewCreateLifeCycleRulesResponse() (response *CreateLifeCycleRulesResponse)
func (*CreateLifeCycleRulesResponse) FromJsonString ¶
func (r *CreateLifeCycleRulesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLifeCycleRulesResponse) ToJsonString ¶
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"`
// 权限组ID
AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`
// VPC网络ID
VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
// 挂载点状态(1:打开;2:关闭)
MountPointStatus *uint64 `json:"MountPointStatus,omitempty" name:"MountPointStatus"`
// VPC网络类型(1:CVM;2:黑石1.0;3:黑石2.0)
VpcType *uint64 `json:"VpcType,omitempty" name:"VpcType"`
}
func NewCreateMountPointRequest ¶
func NewCreateMountPointRequest() (request *CreateMountPointRequest)
func (*CreateMountPointRequest) FromJsonString ¶
func (r *CreateMountPointRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
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
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateMountPointResponse) ToJsonString ¶
func (r *CreateMountPointResponse) ToJsonString() string
type CreateRestoreTasksRequest ¶
type CreateRestoreTasksRequest struct {
*tchttp.BaseRequest
// 文件系统ID
FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
// 多个回热任务,上限为10
RestoreTasks []*RestoreTask `json:"RestoreTasks,omitempty" name:"RestoreTasks" list`
}
func NewCreateRestoreTasksRequest ¶
func NewCreateRestoreTasksRequest() (request *CreateRestoreTasksRequest)
func (*CreateRestoreTasksRequest) FromJsonString ¶
func (r *CreateRestoreTasksRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRestoreTasksRequest) ToJsonString ¶
func (r *CreateRestoreTasksRequest) ToJsonString() string
type CreateRestoreTasksResponse ¶
type CreateRestoreTasksResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateRestoreTasksResponse ¶
func NewCreateRestoreTasksResponse() (response *CreateRestoreTasksResponse)
func (*CreateRestoreTasksResponse) FromJsonString ¶
func (r *CreateRestoreTasksResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRestoreTasksResponse) ToJsonString ¶
func (r *CreateRestoreTasksResponse) ToJsonString() string
type DeleteAccessGroupRequest ¶
type DeleteAccessGroupRequest struct {
*tchttp.BaseRequest
// 权限组ID
AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`
}
func NewDeleteAccessGroupRequest ¶
func NewDeleteAccessGroupRequest() (request *DeleteAccessGroupRequest)
func (*DeleteAccessGroupRequest) FromJsonString ¶
func (r *DeleteAccessGroupRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAccessGroupRequest) ToJsonString ¶
func (r *DeleteAccessGroupRequest) ToJsonString() string
type DeleteAccessGroupResponse ¶
type DeleteAccessGroupResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteAccessGroupResponse ¶
func NewDeleteAccessGroupResponse() (response *DeleteAccessGroupResponse)
func (*DeleteAccessGroupResponse) FromJsonString ¶
func (r *DeleteAccessGroupResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAccessGroupResponse) ToJsonString ¶
func (r *DeleteAccessGroupResponse) ToJsonString() string
type DeleteAccessRulesRequest ¶
type DeleteAccessRulesRequest struct {
*tchttp.BaseRequest
// 多个权限规则ID,上限为10
AccessRuleIds []*uint64 `json:"AccessRuleIds,omitempty" name:"AccessRuleIds" list`
}
func NewDeleteAccessRulesRequest ¶
func NewDeleteAccessRulesRequest() (request *DeleteAccessRulesRequest)
func (*DeleteAccessRulesRequest) FromJsonString ¶
func (r *DeleteAccessRulesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAccessRulesRequest) ToJsonString ¶
func (r *DeleteAccessRulesRequest) ToJsonString() string
type DeleteAccessRulesResponse ¶
type DeleteAccessRulesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteAccessRulesResponse ¶
func NewDeleteAccessRulesResponse() (response *DeleteAccessRulesResponse)
func (*DeleteAccessRulesResponse) FromJsonString ¶
func (r *DeleteAccessRulesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAccessRulesResponse) ToJsonString ¶
func (r *DeleteAccessRulesResponse) ToJsonString() string
type DeleteFileSystemRequest ¶
type DeleteFileSystemRequest struct {
*tchttp.BaseRequest
// 文件系统ID
FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
}
func NewDeleteFileSystemRequest ¶
func NewDeleteFileSystemRequest() (request *DeleteFileSystemRequest)
func (*DeleteFileSystemRequest) FromJsonString ¶
func (r *DeleteFileSystemRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteFileSystemRequest) ToJsonString ¶
func (r *DeleteFileSystemRequest) ToJsonString() string
type DeleteFileSystemResponse ¶
type DeleteFileSystemResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteFileSystemResponse ¶
func NewDeleteFileSystemResponse() (response *DeleteFileSystemResponse)
func (*DeleteFileSystemResponse) FromJsonString ¶
func (r *DeleteFileSystemResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteFileSystemResponse) ToJsonString ¶
func (r *DeleteFileSystemResponse) ToJsonString() string
type DeleteLifeCycleRulesRequest ¶
type DeleteLifeCycleRulesRequest struct {
*tchttp.BaseRequest
// 多个生命周期规则ID,上限为10
LifeCycleRuleIds []*uint64 `json:"LifeCycleRuleIds,omitempty" name:"LifeCycleRuleIds" list`
}
func NewDeleteLifeCycleRulesRequest ¶
func NewDeleteLifeCycleRulesRequest() (request *DeleteLifeCycleRulesRequest)
func (*DeleteLifeCycleRulesRequest) FromJsonString ¶
func (r *DeleteLifeCycleRulesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLifeCycleRulesRequest) ToJsonString ¶
func (r *DeleteLifeCycleRulesRequest) ToJsonString() string
type DeleteLifeCycleRulesResponse ¶
type DeleteLifeCycleRulesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteLifeCycleRulesResponse ¶
func NewDeleteLifeCycleRulesResponse() (response *DeleteLifeCycleRulesResponse)
func (*DeleteLifeCycleRulesResponse) FromJsonString ¶
func (r *DeleteLifeCycleRulesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLifeCycleRulesResponse) ToJsonString ¶
func (r *DeleteLifeCycleRulesResponse) ToJsonString() string
type DeleteMountPointRequest ¶
type DeleteMountPointRequest struct {
*tchttp.BaseRequest
// 挂载点ID
MountPointId *string `json:"MountPointId,omitempty" name:"MountPointId"`
}
func NewDeleteMountPointRequest ¶
func NewDeleteMountPointRequest() (request *DeleteMountPointRequest)
func (*DeleteMountPointRequest) FromJsonString ¶
func (r *DeleteMountPointRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteMountPointRequest) ToJsonString ¶
func (r *DeleteMountPointRequest) ToJsonString() string
type DeleteMountPointResponse ¶
type DeleteMountPointResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteMountPointResponse ¶
func NewDeleteMountPointResponse() (response *DeleteMountPointResponse)
func (*DeleteMountPointResponse) FromJsonString ¶
func (r *DeleteMountPointResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteMountPointResponse) ToJsonString ¶
func (r *DeleteMountPointResponse) ToJsonString() string
type DescribeAccessGroupsRequest ¶
type DescribeAccessGroupsRequest struct {
*tchttp.BaseRequest
// 过滤条件,Name可选“AccessGroupId“和“AccessGroupName”,Values上限为10
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
// 偏移量,默认为0
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 返回数量,默认为所有
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeAccessGroupsRequest ¶
func NewDescribeAccessGroupsRequest() (request *DescribeAccessGroupsRequest)
func (*DescribeAccessGroupsRequest) FromJsonString ¶
func (r *DescribeAccessGroupsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
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
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAccessGroupsResponse) ToJsonString ¶
func (r *DescribeAccessGroupsResponse) ToJsonString() string
type DescribeAccessRulesRequest ¶
type DescribeAccessRulesRequest struct {
*tchttp.BaseRequest
// 权限组ID
AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`
// 偏移量,默认为0
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 返回数量,默认为所有
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeAccessRulesRequest ¶
func NewDescribeAccessRulesRequest() (request *DescribeAccessRulesRequest)
func (*DescribeAccessRulesRequest) FromJsonString ¶
func (r *DescribeAccessRulesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
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
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
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
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFileSystemRequest) ToJsonString ¶
func (r *DescribeFileSystemRequest) ToJsonString() string
type DescribeFileSystemResponse ¶
type DescribeFileSystemResponse struct {
*tchttp.BaseResponse
Response *struct {
// 文件系统
FileSystem *FileSystem `json:"FileSystem,omitempty" name:"FileSystem"`
// 文件系统已使用容量(已弃用)
// 注意:此字段可能返回 null,表示取不到有效值。
FileSystemCapacityUsed *uint64 `json:"FileSystemCapacityUsed,omitempty" name:"FileSystemCapacityUsed"`
// 已使用容量(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
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFileSystemResponse) ToJsonString ¶
func (r *DescribeFileSystemResponse) ToJsonString() string
type DescribeFileSystemsRequest ¶
type DescribeFileSystemsRequest struct {
*tchttp.BaseRequest
// 偏移量,默认为0
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 返回数量,默认为所有
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeFileSystemsRequest ¶
func NewDescribeFileSystemsRequest() (request *DescribeFileSystemsRequest)
func (*DescribeFileSystemsRequest) FromJsonString ¶
func (r *DescribeFileSystemsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
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
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFileSystemsResponse) ToJsonString ¶
func (r *DescribeFileSystemsResponse) ToJsonString() string
type DescribeLifeCycleRulesRequest ¶
type DescribeLifeCycleRulesRequest struct {
*tchttp.BaseRequest
// 文件系统ID
FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
}
func NewDescribeLifeCycleRulesRequest ¶
func NewDescribeLifeCycleRulesRequest() (request *DescribeLifeCycleRulesRequest)
func (*DescribeLifeCycleRulesRequest) FromJsonString ¶
func (r *DescribeLifeCycleRulesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLifeCycleRulesRequest) ToJsonString ¶
func (r *DescribeLifeCycleRulesRequest) ToJsonString() string
type DescribeLifeCycleRulesResponse ¶
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 ¶
func NewDescribeLifeCycleRulesResponse() (response *DescribeLifeCycleRulesResponse)
func (*DescribeLifeCycleRulesResponse) FromJsonString ¶
func (r *DescribeLifeCycleRulesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLifeCycleRulesResponse) ToJsonString ¶
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
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
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
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMountPointResponse) ToJsonString ¶
func (r *DescribeMountPointResponse) ToJsonString() string
type DescribeMountPointsRequest ¶
type DescribeMountPointsRequest struct {
*tchttp.BaseRequest
// 文件系统ID
// 注意:若根据AccessGroupId查看挂载点列表,则无需设置FileSystemId
FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
// 权限组ID
// 注意:若根据FileSystemId查看挂载点列表,则无需设置AccessGroupId
AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`
// 偏移量,默认为0
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 返回数量,默认为所有
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeMountPointsRequest ¶
func NewDescribeMountPointsRequest() (request *DescribeMountPointsRequest)
func (*DescribeMountPointsRequest) FromJsonString ¶
func (r *DescribeMountPointsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
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
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMountPointsResponse) ToJsonString ¶
func (r *DescribeMountPointsResponse) ToJsonString() string
type DescribeResourceTagsRequest ¶
type DescribeResourceTagsRequest struct {
*tchttp.BaseRequest
// 文件系统ID
FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
}
func NewDescribeResourceTagsRequest ¶
func NewDescribeResourceTagsRequest() (request *DescribeResourceTagsRequest)
func (*DescribeResourceTagsRequest) FromJsonString ¶
func (r *DescribeResourceTagsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceTagsRequest) ToJsonString ¶
func (r *DescribeResourceTagsRequest) ToJsonString() string
type DescribeResourceTagsResponse ¶
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 ¶
func NewDescribeResourceTagsResponse() (response *DescribeResourceTagsResponse)
func (*DescribeResourceTagsResponse) FromJsonString ¶
func (r *DescribeResourceTagsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceTagsResponse) ToJsonString ¶
func (r *DescribeResourceTagsResponse) ToJsonString() string
type DescribeRestoreTasksRequest ¶
type DescribeRestoreTasksRequest struct {
*tchttp.BaseRequest
// 文件系统ID
FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"`
}
func NewDescribeRestoreTasksRequest ¶
func NewDescribeRestoreTasksRequest() (request *DescribeRestoreTasksRequest)
func (*DescribeRestoreTasksRequest) FromJsonString ¶
func (r *DescribeRestoreTasksRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRestoreTasksRequest) ToJsonString ¶
func (r *DescribeRestoreTasksRequest) ToJsonString() string
type DescribeRestoreTasksResponse ¶
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 ¶
func NewDescribeRestoreTasksResponse() (response *DescribeRestoreTasksResponse)
func (*DescribeRestoreTasksResponse) FromJsonString ¶
func (r *DescribeRestoreTasksResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRestoreTasksResponse) ToJsonString ¶
func (r *DescribeRestoreTasksResponse) 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"`
}
type LifeCycleRule ¶
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
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
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
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAccessGroupResponse) ToJsonString ¶
func (r *ModifyAccessGroupResponse) ToJsonString() string
type ModifyAccessRulesRequest ¶
type ModifyAccessRulesRequest struct {
*tchttp.BaseRequest
// 多个权限规则,上限为10
AccessRules []*AccessRule `json:"AccessRules,omitempty" name:"AccessRules" list`
}
func NewModifyAccessRulesRequest ¶
func NewModifyAccessRulesRequest() (request *ModifyAccessRulesRequest)
func (*ModifyAccessRulesRequest) FromJsonString ¶
func (r *ModifyAccessRulesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAccessRulesRequest) ToJsonString ¶
func (r *ModifyAccessRulesRequest) ToJsonString() string
type ModifyAccessRulesResponse ¶
type ModifyAccessRulesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifyAccessRulesResponse ¶
func NewModifyAccessRulesResponse() (response *ModifyAccessRulesResponse)
func (*ModifyAccessRulesResponse) FromJsonString ¶
func (r *ModifyAccessRulesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAccessRulesResponse) ToJsonString ¶
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"`
}
func NewModifyFileSystemRequest ¶
func NewModifyFileSystemRequest() (request *ModifyFileSystemRequest)
func (*ModifyFileSystemRequest) FromJsonString ¶
func (r *ModifyFileSystemRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
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
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyFileSystemResponse) ToJsonString ¶
func (r *ModifyFileSystemResponse) ToJsonString() string
type ModifyLifeCycleRulesRequest ¶
type ModifyLifeCycleRulesRequest struct {
*tchttp.BaseRequest
// 多个生命周期规则,上限为10
LifeCycleRules []*LifeCycleRule `json:"LifeCycleRules,omitempty" name:"LifeCycleRules" list`
}
func NewModifyLifeCycleRulesRequest ¶
func NewModifyLifeCycleRulesRequest() (request *ModifyLifeCycleRulesRequest)
func (*ModifyLifeCycleRulesRequest) FromJsonString ¶
func (r *ModifyLifeCycleRulesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLifeCycleRulesRequest) ToJsonString ¶
func (r *ModifyLifeCycleRulesRequest) ToJsonString() string
type ModifyLifeCycleRulesResponse ¶
type ModifyLifeCycleRulesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifyLifeCycleRulesResponse ¶
func NewModifyLifeCycleRulesResponse() (response *ModifyLifeCycleRulesResponse)
func (*ModifyLifeCycleRulesResponse) FromJsonString ¶
func (r *ModifyLifeCycleRulesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLifeCycleRulesResponse) ToJsonString ¶
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"`
// 权限组ID
AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`
}
func NewModifyMountPointRequest ¶
func NewModifyMountPointRequest() (request *ModifyMountPointRequest)
func (*ModifyMountPointRequest) FromJsonString ¶
func (r *ModifyMountPointRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
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
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
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
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
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
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
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"`
// 权限组ID
AccessGroupId *string `json:"AccessGroupId,omitempty" name:"AccessGroupId"`
// VPC网络ID
VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
// 挂载点状态(1:打开;2:关闭)
Status *uint64 `json:"Status,omitempty" name:"Status"`
// 创建时间
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// VPC网络类型
VpcType *uint64 `json:"VpcType,omitempty" name:"VpcType"`
}
type RestoreTask ¶
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"`
}