Documentation
¶
Index ¶
- Constants
- type AccessGroup
- type AccessRule
- type Client
- func (c *Client) CreateAccessGroup(request *CreateAccessGroupRequest) (response *CreateAccessGroupResponse, err error)
- func (c *Client) CreateAccessGroupWithContext(ctx context.Context, request *CreateAccessGroupRequest) (response *CreateAccessGroupResponse, err error)
- func (c *Client) CreateAccessRules(request *CreateAccessRulesRequest) (response *CreateAccessRulesResponse, err error)
- func (c *Client) CreateAccessRulesWithContext(ctx context.Context, request *CreateAccessRulesRequest) (response *CreateAccessRulesResponse, err error)
- func (c *Client) CreateFileSystem(request *CreateFileSystemRequest) (response *CreateFileSystemResponse, err error)
- func (c *Client) CreateFileSystemWithContext(ctx context.Context, request *CreateFileSystemRequest) (response *CreateFileSystemResponse, err error)
- func (c *Client) CreateLifeCycleRules(request *CreateLifeCycleRulesRequest) (response *CreateLifeCycleRulesResponse, err error)
- func (c *Client) CreateLifeCycleRulesWithContext(ctx context.Context, request *CreateLifeCycleRulesRequest) (response *CreateLifeCycleRulesResponse, err error)
- func (c *Client) CreateMountPoint(request *CreateMountPointRequest) (response *CreateMountPointResponse, err error)
- func (c *Client) CreateMountPointWithContext(ctx context.Context, request *CreateMountPointRequest) (response *CreateMountPointResponse, err error)
- func (c *Client) CreateRestoreTasks(request *CreateRestoreTasksRequest) (response *CreateRestoreTasksResponse, err error)
- func (c *Client) CreateRestoreTasksWithContext(ctx context.Context, request *CreateRestoreTasksRequest) (response *CreateRestoreTasksResponse, err error)
- func (c *Client) DeleteAccessGroup(request *DeleteAccessGroupRequest) (response *DeleteAccessGroupResponse, err error)
- func (c *Client) DeleteAccessGroupWithContext(ctx context.Context, request *DeleteAccessGroupRequest) (response *DeleteAccessGroupResponse, err error)
- func (c *Client) DeleteAccessRules(request *DeleteAccessRulesRequest) (response *DeleteAccessRulesResponse, err error)
- func (c *Client) DeleteAccessRulesWithContext(ctx context.Context, request *DeleteAccessRulesRequest) (response *DeleteAccessRulesResponse, err error)
- func (c *Client) DeleteFileSystem(request *DeleteFileSystemRequest) (response *DeleteFileSystemResponse, err error)
- func (c *Client) DeleteFileSystemWithContext(ctx context.Context, request *DeleteFileSystemRequest) (response *DeleteFileSystemResponse, err error)
- func (c *Client) DeleteLifeCycleRules(request *DeleteLifeCycleRulesRequest) (response *DeleteLifeCycleRulesResponse, err error)
- func (c *Client) DeleteLifeCycleRulesWithContext(ctx context.Context, request *DeleteLifeCycleRulesRequest) (response *DeleteLifeCycleRulesResponse, err error)
- func (c *Client) DeleteMountPoint(request *DeleteMountPointRequest) (response *DeleteMountPointResponse, err error)
- func (c *Client) DeleteMountPointWithContext(ctx context.Context, request *DeleteMountPointRequest) (response *DeleteMountPointResponse, err error)
- func (c *Client) DescribeAccessGroups(request *DescribeAccessGroupsRequest) (response *DescribeAccessGroupsResponse, err error)
- func (c *Client) DescribeAccessGroupsWithContext(ctx context.Context, request *DescribeAccessGroupsRequest) (response *DescribeAccessGroupsResponse, err error)
- func (c *Client) DescribeAccessRules(request *DescribeAccessRulesRequest) (response *DescribeAccessRulesResponse, err error)
- func (c *Client) DescribeAccessRulesWithContext(ctx context.Context, request *DescribeAccessRulesRequest) (response *DescribeAccessRulesResponse, err error)
- func (c *Client) DescribeFileSystem(request *DescribeFileSystemRequest) (response *DescribeFileSystemResponse, err error)
- func (c *Client) DescribeFileSystemWithContext(ctx context.Context, request *DescribeFileSystemRequest) (response *DescribeFileSystemResponse, err error)
- func (c *Client) DescribeFileSystems(request *DescribeFileSystemsRequest) (response *DescribeFileSystemsResponse, err error)
- func (c *Client) DescribeFileSystemsWithContext(ctx context.Context, request *DescribeFileSystemsRequest) (response *DescribeFileSystemsResponse, err error)
- func (c *Client) DescribeLifeCycleRules(request *DescribeLifeCycleRulesRequest) (response *DescribeLifeCycleRulesResponse, err error)
- func (c *Client) DescribeLifeCycleRulesWithContext(ctx context.Context, request *DescribeLifeCycleRulesRequest) (response *DescribeLifeCycleRulesResponse, err error)
- func (c *Client) DescribeMountPoint(request *DescribeMountPointRequest) (response *DescribeMountPointResponse, err error)
- func (c *Client) DescribeMountPointWithContext(ctx context.Context, request *DescribeMountPointRequest) (response *DescribeMountPointResponse, err error)
- func (c *Client) DescribeMountPoints(request *DescribeMountPointsRequest) (response *DescribeMountPointsResponse, err error)
- func (c *Client) DescribeMountPointsWithContext(ctx context.Context, request *DescribeMountPointsRequest) (response *DescribeMountPointsResponse, err error)
- func (c *Client) DescribeResourceTags(request *DescribeResourceTagsRequest) (response *DescribeResourceTagsResponse, err error)
- func (c *Client) DescribeResourceTagsWithContext(ctx context.Context, request *DescribeResourceTagsRequest) (response *DescribeResourceTagsResponse, err error)
- func (c *Client) DescribeRestoreTasks(request *DescribeRestoreTasksRequest) (response *DescribeRestoreTasksResponse, err error)
- func (c *Client) DescribeRestoreTasksWithContext(ctx context.Context, request *DescribeRestoreTasksRequest) (response *DescribeRestoreTasksResponse, err error)
- func (c *Client) ModifyAccessGroup(request *ModifyAccessGroupRequest) (response *ModifyAccessGroupResponse, err error)
- func (c *Client) ModifyAccessGroupWithContext(ctx context.Context, request *ModifyAccessGroupRequest) (response *ModifyAccessGroupResponse, err error)
- func (c *Client) ModifyAccessRules(request *ModifyAccessRulesRequest) (response *ModifyAccessRulesResponse, err error)
- func (c *Client) ModifyAccessRulesWithContext(ctx context.Context, request *ModifyAccessRulesRequest) (response *ModifyAccessRulesResponse, err error)
- func (c *Client) ModifyFileSystem(request *ModifyFileSystemRequest) (response *ModifyFileSystemResponse, err error)
- func (c *Client) ModifyFileSystemWithContext(ctx context.Context, request *ModifyFileSystemRequest) (response *ModifyFileSystemResponse, err error)
- func (c *Client) ModifyLifeCycleRules(request *ModifyLifeCycleRulesRequest) (response *ModifyLifeCycleRulesResponse, err error)
- func (c *Client) ModifyLifeCycleRulesWithContext(ctx context.Context, request *ModifyLifeCycleRulesRequest) (response *ModifyLifeCycleRulesResponse, err error)
- func (c *Client) ModifyMountPoint(request *ModifyMountPointRequest) (response *ModifyMountPointResponse, err error)
- func (c *Client) ModifyMountPointWithContext(ctx context.Context, request *ModifyMountPointRequest) (response *ModifyMountPointResponse, err error)
- func (c *Client) ModifyResourceTags(request *ModifyResourceTagsRequest) (response *ModifyResourceTagsResponse, err error)
- func (c *Client) ModifyResourceTagsWithContext(ctx context.Context, request *ModifyResourceTagsRequest) (response *ModifyResourceTagsResponse, err error)
- type CreateAccessGroupRequest
- type CreateAccessGroupRequestParams
- type CreateAccessGroupResponse
- type CreateAccessGroupResponseParams
- type CreateAccessRulesRequest
- type CreateAccessRulesRequestParams
- type CreateAccessRulesResponse
- type CreateAccessRulesResponseParams
- type CreateFileSystemRequest
- type CreateFileSystemRequestParams
- type CreateFileSystemResponse
- type CreateFileSystemResponseParams
- type CreateLifeCycleRulesRequest
- type CreateLifeCycleRulesRequestParams
- type CreateLifeCycleRulesResponse
- type CreateLifeCycleRulesResponseParams
- type CreateMountPointRequest
- type CreateMountPointRequestParams
- type CreateMountPointResponse
- type CreateMountPointResponseParams
- type CreateRestoreTasksRequest
- type CreateRestoreTasksRequestParams
- type CreateRestoreTasksResponse
- type CreateRestoreTasksResponseParams
- type DeleteAccessGroupRequest
- type DeleteAccessGroupRequestParams
- type DeleteAccessGroupResponse
- type DeleteAccessGroupResponseParams
- type DeleteAccessRulesRequest
- type DeleteAccessRulesRequestParams
- type DeleteAccessRulesResponse
- type DeleteAccessRulesResponseParams
- type DeleteFileSystemRequest
- type DeleteFileSystemRequestParams
- type DeleteFileSystemResponse
- type DeleteFileSystemResponseParams
- type DeleteLifeCycleRulesRequest
- type DeleteLifeCycleRulesRequestParams
- type DeleteLifeCycleRulesResponse
- type DeleteLifeCycleRulesResponseParams
- type DeleteMountPointRequest
- type DeleteMountPointRequestParams
- type DeleteMountPointResponse
- type DeleteMountPointResponseParams
- type DescribeAccessGroupsRequest
- type DescribeAccessGroupsRequestParams
- type DescribeAccessGroupsResponse
- type DescribeAccessGroupsResponseParams
- type DescribeAccessRulesRequest
- type DescribeAccessRulesRequestParams
- type DescribeAccessRulesResponse
- type DescribeAccessRulesResponseParams
- type DescribeFileSystemRequest
- type DescribeFileSystemRequestParams
- type DescribeFileSystemResponse
- type DescribeFileSystemResponseParams
- type DescribeFileSystemsRequest
- type DescribeFileSystemsRequestParams
- type DescribeFileSystemsResponse
- type DescribeFileSystemsResponseParams
- type DescribeLifeCycleRulesRequest
- type DescribeLifeCycleRulesRequestParams
- type DescribeLifeCycleRulesResponse
- type DescribeLifeCycleRulesResponseParams
- type DescribeMountPointRequest
- type DescribeMountPointRequestParams
- type DescribeMountPointResponse
- type DescribeMountPointResponseParams
- type DescribeMountPointsRequest
- type DescribeMountPointsRequestParams
- type DescribeMountPointsResponse
- type DescribeMountPointsResponseParams
- type DescribeResourceTagsRequest
- type DescribeResourceTagsRequestParams
- type DescribeResourceTagsResponse
- type DescribeResourceTagsResponseParams
- type DescribeRestoreTasksRequest
- type DescribeRestoreTasksRequestParams
- type DescribeRestoreTasksResponse
- type DescribeRestoreTasksResponseParams
- type FileSystem
- type Filter
- type LifeCycleRule
- type ModifyAccessGroupRequest
- type ModifyAccessGroupRequestParams
- type ModifyAccessGroupResponse
- type ModifyAccessGroupResponseParams
- type ModifyAccessRulesRequest
- type ModifyAccessRulesRequestParams
- type ModifyAccessRulesResponse
- type ModifyAccessRulesResponseParams
- type ModifyFileSystemRequest
- type ModifyFileSystemRequestParams
- type ModifyFileSystemResponse
- type ModifyFileSystemResponseParams
- type ModifyLifeCycleRulesRequest
- type ModifyLifeCycleRulesRequestParams
- type ModifyLifeCycleRulesResponse
- type ModifyLifeCycleRulesResponseParams
- type ModifyMountPointRequest
- type ModifyMountPointRequestParams
- type ModifyMountPointResponse
- type ModifyMountPointResponseParams
- type ModifyResourceTagsRequest
- type ModifyResourceTagsRequestParams
- type ModifyResourceTagsResponse
- type ModifyResourceTagsResponseParams
- type MountPoint
- type RestoreTask
- type Tag
- type Transition
Constants ¶
const ( // 操作失败。 FAILEDOPERATION = "FailedOperation" // 文件系统非空。 FAILEDOPERATION_FILESYSTEMNOTEMPTY = "FailedOperation.FileSystemNotEmpty" // 修改的文件系统容量小于当前使用量。 FAILEDOPERATION_QUOTALESSTHANCURRENTUSED = "FailedOperation.QuotaLessThanCurrentUsed" // 内部错误。 INTERNALERROR = "InternalError" // 参数错误。 INVALIDPARAMETER = "InvalidParameter" // 参数取值错误。 INVALIDPARAMETERVALUE = "InvalidParameterValue" // AccessGroupId参数取值错误。 INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId" // AccessGroupName参数取值错误。 INVALIDPARAMETERVALUE_INVALIDACCESSGROUPNAME = "InvalidParameterValue.InvalidAccessGroupName" // 权限规则的Address参数取值错误。 INVALIDPARAMETERVALUE_INVALIDACCESSRULEADDRESS = "InvalidParameterValue.InvalidAccessRuleAddress" // CapacityQuota参数取值错误。 INVALIDPARAMETERVALUE_INVALIDCAPACITYQUOTA = "InvalidParameterValue.InvalidCapacityQuota" // Description参数取值错误。 INVALIDPARAMETERVALUE_INVALIDDESCRIPTION = "InvalidParameterValue.InvalidDescription" // FileSystemId参数取值错误。 INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" // FileSystemName参数取值错误。 INVALIDPARAMETERVALUE_INVALIDFILESYSTEMNAME = "InvalidParameterValue.InvalidFileSystemName" // MountPointId参数取值错误。 INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTID = "InvalidParameterValue.InvalidMountPointId" // MountPointName参数取值错误。 INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTNAME = "InvalidParameterValue.InvalidMountPointName" // VpcId参数取值错误。 INVALIDPARAMETERVALUE_INVALIDVPCID = "InvalidParameterValue.InvalidVpcId" // 超过配额限制。 LIMITEXCEEDED = "LimitExceeded" // 缺少参数错误。 MISSINGPARAMETER = "MissingParameter" // 资源被占用。 RESOURCEINUSE = "ResourceInUse" // 资源不存在。 RESOURCENOTFOUND = "ResourceNotFound" // 权限组不存在。 RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists" // 权限规则不存在。 RESOURCENOTFOUND_ACCESSRULENOTEXISTS = "ResourceNotFound.AccessRuleNotExists" // 文件系统不存在。 RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists" // 挂载点不存在。 RESOURCENOTFOUND_MOUNTPOINTNOTEXISTS = "ResourceNotFound.MountPointNotExists" // VPC网络不存在。 RESOURCENOTFOUND_VPCNOTEXISTS = "ResourceNotFound.VpcNotExists" // 资源不可用。 RESOURCEUNAVAILABLE = "ResourceUnavailable" // 未授权操作。 UNAUTHORIZEDOPERATION = "UnauthorizedOperation" )
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,omitnil,omitempty" name:"AccessGroupId"` // 权限组名称 AccessGroupName *string `json:"AccessGroupName,omitnil,omitempty" name:"AccessGroupName"` // 权限组描述 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` }
type AccessRule ¶
type AccessRule struct { // 权限规则ID AccessRuleId *uint64 `json:"AccessRuleId,omitnil,omitempty" name:"AccessRuleId"` // 权限规则地址(网段或IP) Address *string `json:"Address,omitnil,omitempty" name:"Address"` // 权限规则访问模式(1:只读;2:读写) AccessMode *uint64 `json:"AccessMode,omitnil,omitempty" name:"AccessMode"` // 优先级(取值范围1~100,值越小优先级越高) Priority *uint64 `json:"Priority,omitnil,omitempty" name:"Priority"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, 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)
CreateAccessGroup 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
创建权限组。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDACCESSGROUPNAME = "InvalidParameterValue.InvalidAccessGroupName" INVALIDPARAMETERVALUE_INVALIDDESCRIPTION = "InvalidParameterValue.InvalidDescription" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateAccessGroupWithContext ¶ added in v1.0.324
func (c *Client) CreateAccessGroupWithContext(ctx context.Context, request *CreateAccessGroupRequest) (response *CreateAccessGroupResponse, err error)
CreateAccessGroup 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
创建权限组。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDACCESSGROUPNAME = "InvalidParameterValue.InvalidAccessGroupName" INVALIDPARAMETERVALUE_INVALIDDESCRIPTION = "InvalidParameterValue.InvalidDescription" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateAccessRules ¶
func (c *Client) CreateAccessRules(request *CreateAccessRulesRequest) (response *CreateAccessRulesResponse, err error)
CreateAccessRules 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
批量创建权限规则,权限规则ID和创建时间无需填写。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId" INVALIDPARAMETERVALUE_INVALIDACCESSRULEADDRESS = "InvalidParameterValue.InvalidAccessRuleAddress" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateAccessRulesWithContext ¶ added in v1.0.324
func (c *Client) CreateAccessRulesWithContext(ctx context.Context, request *CreateAccessRulesRequest) (response *CreateAccessRulesResponse, err error)
CreateAccessRules 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
批量创建权限规则,权限规则ID和创建时间无需填写。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId" INVALIDPARAMETERVALUE_INVALIDACCESSRULEADDRESS = "InvalidParameterValue.InvalidAccessRuleAddress" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateFileSystem ¶
func (c *Client) CreateFileSystem(request *CreateFileSystemRequest) (response *CreateFileSystemResponse, err error)
CreateFileSystem 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
创建文件系统(异步)。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDCAPACITYQUOTA = "InvalidParameterValue.InvalidCapacityQuota" INVALIDPARAMETERVALUE_INVALIDDESCRIPTION = "InvalidParameterValue.InvalidDescription" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMNAME = "InvalidParameterValue.InvalidFileSystemName" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateFileSystemWithContext ¶ added in v1.0.324
func (c *Client) CreateFileSystemWithContext(ctx context.Context, request *CreateFileSystemRequest) (response *CreateFileSystemResponse, err error)
CreateFileSystem 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
创建文件系统(异步)。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDCAPACITYQUOTA = "InvalidParameterValue.InvalidCapacityQuota" INVALIDPARAMETERVALUE_INVALIDDESCRIPTION = "InvalidParameterValue.InvalidDescription" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMNAME = "InvalidParameterValue.InvalidFileSystemName" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateLifeCycleRules ¶
func (c *Client) CreateLifeCycleRules(request *CreateLifeCycleRulesRequest) (response *CreateLifeCycleRulesResponse, err error)
CreateLifeCycleRules 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
批量创建生命周期规则,生命周期规则ID和创建时间无需填写。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateLifeCycleRulesWithContext ¶ added in v1.0.324
func (c *Client) CreateLifeCycleRulesWithContext(ctx context.Context, request *CreateLifeCycleRulesRequest) (response *CreateLifeCycleRulesResponse, err error)
CreateLifeCycleRules 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
批量创建生命周期规则,生命周期规则ID和创建时间无需填写。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateMountPoint ¶
func (c *Client) CreateMountPoint(request *CreateMountPointRequest) (response *CreateMountPointResponse, err error)
CreateMountPoint 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
创建文件系统挂载点,仅限于创建成功的文件系统。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTNAME = "InvalidParameterValue.InvalidMountPointName" INVALIDPARAMETERVALUE_INVALIDVPCID = "InvalidParameterValue.InvalidVpcId" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists" RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists" RESOURCENOTFOUND_VPCNOTEXISTS = "ResourceNotFound.VpcNotExists" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateMountPointWithContext ¶ added in v1.0.324
func (c *Client) CreateMountPointWithContext(ctx context.Context, request *CreateMountPointRequest) (response *CreateMountPointResponse, err error)
CreateMountPoint 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
创建文件系统挂载点,仅限于创建成功的文件系统。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTNAME = "InvalidParameterValue.InvalidMountPointName" INVALIDPARAMETERVALUE_INVALIDVPCID = "InvalidParameterValue.InvalidVpcId" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists" RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists" RESOURCENOTFOUND_VPCNOTEXISTS = "ResourceNotFound.VpcNotExists" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateRestoreTasks ¶
func (c *Client) CreateRestoreTasks(request *CreateRestoreTasksRequest) (response *CreateRestoreTasksResponse, err error)
CreateRestoreTasks 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
批量创建回热任务,回热任务ID、状态和创建时间无需填写。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateRestoreTasksWithContext ¶ added in v1.0.324
func (c *Client) CreateRestoreTasksWithContext(ctx context.Context, request *CreateRestoreTasksRequest) (response *CreateRestoreTasksResponse, err error)
CreateRestoreTasks 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
批量创建回热任务,回热任务ID、状态和创建时间无需填写。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteAccessGroup ¶
func (c *Client) DeleteAccessGroup(request *DeleteAccessGroupRequest) (response *DeleteAccessGroupResponse, err error)
DeleteAccessGroup 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
删除权限组。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteAccessGroupWithContext ¶ added in v1.0.324
func (c *Client) DeleteAccessGroupWithContext(ctx context.Context, request *DeleteAccessGroupRequest) (response *DeleteAccessGroupResponse, err error)
DeleteAccessGroup 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
删除权限组。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteAccessRules ¶
func (c *Client) DeleteAccessRules(request *DeleteAccessRulesRequest) (response *DeleteAccessRulesResponse, err error)
DeleteAccessRules 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
批量删除权限规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_ACCESSRULENOTEXISTS = "ResourceNotFound.AccessRuleNotExists" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteAccessRulesWithContext ¶ added in v1.0.324
func (c *Client) DeleteAccessRulesWithContext(ctx context.Context, request *DeleteAccessRulesRequest) (response *DeleteAccessRulesResponse, err error)
DeleteAccessRules 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
批量删除权限规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_ACCESSRULENOTEXISTS = "ResourceNotFound.AccessRuleNotExists" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteFileSystem ¶
func (c *Client) DeleteFileSystem(request *DeleteFileSystemRequest) (response *DeleteFileSystemResponse, err error)
DeleteFileSystem 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
删除文件系统,不允许删除非空文件系统。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FILESYSTEMNOTEMPTY = "FailedOperation.FileSystemNotEmpty" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteFileSystemWithContext ¶ added in v1.0.324
func (c *Client) DeleteFileSystemWithContext(ctx context.Context, request *DeleteFileSystemRequest) (response *DeleteFileSystemResponse, err error)
DeleteFileSystem 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
删除文件系统,不允许删除非空文件系统。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FILESYSTEMNOTEMPTY = "FailedOperation.FileSystemNotEmpty" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteLifeCycleRules ¶
func (c *Client) DeleteLifeCycleRules(request *DeleteLifeCycleRulesRequest) (response *DeleteLifeCycleRulesResponse, err error)
DeleteLifeCycleRules 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
批量删除生命周期规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteLifeCycleRulesWithContext ¶ added in v1.0.324
func (c *Client) DeleteLifeCycleRulesWithContext(ctx context.Context, request *DeleteLifeCycleRulesRequest) (response *DeleteLifeCycleRulesResponse, err error)
DeleteLifeCycleRules 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
批量删除生命周期规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteMountPoint ¶
func (c *Client) DeleteMountPoint(request *DeleteMountPointRequest) (response *DeleteMountPointResponse, err error)
DeleteMountPoint 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
删除挂载点。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTID = "InvalidParameterValue.InvalidMountPointId" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_MOUNTPOINTNOTEXISTS = "ResourceNotFound.MountPointNotExists" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteMountPointWithContext ¶ added in v1.0.324
func (c *Client) DeleteMountPointWithContext(ctx context.Context, request *DeleteMountPointRequest) (response *DeleteMountPointResponse, err error)
DeleteMountPoint 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
删除挂载点。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTID = "InvalidParameterValue.InvalidMountPointId" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_MOUNTPOINTNOTEXISTS = "ResourceNotFound.MountPointNotExists" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeAccessGroups ¶
func (c *Client) DescribeAccessGroups(request *DescribeAccessGroupsRequest) (response *DescribeAccessGroupsResponse, err error)
DescribeAccessGroups 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
查看权限组列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeAccessGroupsWithContext ¶ added in v1.0.324
func (c *Client) DescribeAccessGroupsWithContext(ctx context.Context, request *DescribeAccessGroupsRequest) (response *DescribeAccessGroupsResponse, err error)
DescribeAccessGroups 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
查看权限组列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeAccessRules ¶
func (c *Client) DescribeAccessRules(request *DescribeAccessRulesRequest) (response *DescribeAccessRulesResponse, err error)
DescribeAccessRules 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
通过权限组ID查看权限规则列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeAccessRulesWithContext ¶ added in v1.0.324
func (c *Client) DescribeAccessRulesWithContext(ctx context.Context, request *DescribeAccessRulesRequest) (response *DescribeAccessRulesResponse, err error)
DescribeAccessRules 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
通过权限组ID查看权限规则列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeFileSystem ¶
func (c *Client) DescribeFileSystem(request *DescribeFileSystemRequest) (response *DescribeFileSystemResponse, err error)
DescribeFileSystem 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
查看文件系统详细信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeFileSystemWithContext ¶ added in v1.0.324
func (c *Client) DescribeFileSystemWithContext(ctx context.Context, request *DescribeFileSystemRequest) (response *DescribeFileSystemResponse, err error)
DescribeFileSystem 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
查看文件系统详细信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeFileSystems ¶
func (c *Client) DescribeFileSystems(request *DescribeFileSystemsRequest) (response *DescribeFileSystemsResponse, err error)
DescribeFileSystems 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
查看文件系统列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeFileSystemsWithContext ¶ added in v1.0.324
func (c *Client) DescribeFileSystemsWithContext(ctx context.Context, request *DescribeFileSystemsRequest) (response *DescribeFileSystemsResponse, err error)
DescribeFileSystems 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
查看文件系统列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeLifeCycleRules ¶
func (c *Client) DescribeLifeCycleRules(request *DescribeLifeCycleRulesRequest) (response *DescribeLifeCycleRulesResponse, err error)
DescribeLifeCycleRules 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
通过文件系统ID查看生命周期规则列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeLifeCycleRulesWithContext ¶ added in v1.0.324
func (c *Client) DescribeLifeCycleRulesWithContext(ctx context.Context, request *DescribeLifeCycleRulesRequest) (response *DescribeLifeCycleRulesResponse, err error)
DescribeLifeCycleRules 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
通过文件系统ID查看生命周期规则列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeMountPoint ¶
func (c *Client) DescribeMountPoint(request *DescribeMountPointRequest) (response *DescribeMountPointResponse, err error)
DescribeMountPoint 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
查看挂载点详细信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTID = "InvalidParameterValue.InvalidMountPointId" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_MOUNTPOINTNOTEXISTS = "ResourceNotFound.MountPointNotExists" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeMountPointWithContext ¶ added in v1.0.324
func (c *Client) DescribeMountPointWithContext(ctx context.Context, request *DescribeMountPointRequest) (response *DescribeMountPointResponse, err error)
DescribeMountPoint 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
查看挂载点详细信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTID = "InvalidParameterValue.InvalidMountPointId" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_MOUNTPOINTNOTEXISTS = "ResourceNotFound.MountPointNotExists" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeMountPoints ¶
func (c *Client) DescribeMountPoints(request *DescribeMountPointsRequest) (response *DescribeMountPointsResponse, err error)
DescribeMountPoints 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
通过文件系统ID或者权限组ID查看挂载点列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists" RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeMountPointsWithContext ¶ added in v1.0.324
func (c *Client) DescribeMountPointsWithContext(ctx context.Context, request *DescribeMountPointsRequest) (response *DescribeMountPointsResponse, err error)
DescribeMountPoints 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
通过文件系统ID或者权限组ID查看挂载点列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists" RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeResourceTags ¶
func (c *Client) DescribeResourceTags(request *DescribeResourceTagsRequest) (response *DescribeResourceTagsResponse, err error)
DescribeResourceTags 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
通过文件系统ID查看资源标签列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeResourceTagsWithContext ¶ added in v1.0.324
func (c *Client) DescribeResourceTagsWithContext(ctx context.Context, request *DescribeResourceTagsRequest) (response *DescribeResourceTagsResponse, err error)
DescribeResourceTags 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
通过文件系统ID查看资源标签列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeRestoreTasks ¶
func (c *Client) DescribeRestoreTasks(request *DescribeRestoreTasksRequest) (response *DescribeRestoreTasksResponse, err error)
DescribeRestoreTasks 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
通过文件系统ID查看回热任务列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeRestoreTasksWithContext ¶ added in v1.0.324
func (c *Client) DescribeRestoreTasksWithContext(ctx context.Context, request *DescribeRestoreTasksRequest) (response *DescribeRestoreTasksResponse, err error)
DescribeRestoreTasks 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
通过文件系统ID查看回热任务列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyAccessGroup ¶
func (c *Client) ModifyAccessGroup(request *ModifyAccessGroupRequest) (response *ModifyAccessGroupResponse, err error)
ModifyAccessGroup 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
修改权限组属性。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId" INVALIDPARAMETERVALUE_INVALIDACCESSGROUPNAME = "InvalidParameterValue.InvalidAccessGroupName" INVALIDPARAMETERVALUE_INVALIDDESCRIPTION = "InvalidParameterValue.InvalidDescription" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyAccessGroupWithContext ¶ added in v1.0.324
func (c *Client) ModifyAccessGroupWithContext(ctx context.Context, request *ModifyAccessGroupRequest) (response *ModifyAccessGroupResponse, err error)
ModifyAccessGroup 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
修改权限组属性。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId" INVALIDPARAMETERVALUE_INVALIDACCESSGROUPNAME = "InvalidParameterValue.InvalidAccessGroupName" INVALIDPARAMETERVALUE_INVALIDDESCRIPTION = "InvalidParameterValue.InvalidDescription" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyAccessRules ¶
func (c *Client) ModifyAccessRules(request *ModifyAccessRulesRequest) (response *ModifyAccessRulesResponse, err error)
ModifyAccessRules 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
批量修改权限规则属性,需要指定权限规则ID,支持修改权限规则地址、访问模式和优先级。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDACCESSRULEADDRESS = "InvalidParameterValue.InvalidAccessRuleAddress" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_ACCESSRULENOTEXISTS = "ResourceNotFound.AccessRuleNotExists" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyAccessRulesWithContext ¶ added in v1.0.324
func (c *Client) ModifyAccessRulesWithContext(ctx context.Context, request *ModifyAccessRulesRequest) (response *ModifyAccessRulesResponse, err error)
ModifyAccessRules 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
批量修改权限规则属性,需要指定权限规则ID,支持修改权限规则地址、访问模式和优先级。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDACCESSRULEADDRESS = "InvalidParameterValue.InvalidAccessRuleAddress" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_ACCESSRULENOTEXISTS = "ResourceNotFound.AccessRuleNotExists" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyFileSystem ¶
func (c *Client) ModifyFileSystem(request *ModifyFileSystemRequest) (response *ModifyFileSystemResponse, err error)
ModifyFileSystem 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
修改文件系统属性,仅限于创建成功的文件系统。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_QUOTALESSTHANCURRENTUSED = "FailedOperation.QuotaLessThanCurrentUsed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDCAPACITYQUOTA = "InvalidParameterValue.InvalidCapacityQuota" INVALIDPARAMETERVALUE_INVALIDDESCRIPTION = "InvalidParameterValue.InvalidDescription" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMNAME = "InvalidParameterValue.InvalidFileSystemName" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyFileSystemWithContext ¶ added in v1.0.324
func (c *Client) ModifyFileSystemWithContext(ctx context.Context, request *ModifyFileSystemRequest) (response *ModifyFileSystemResponse, err error)
ModifyFileSystem 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
修改文件系统属性,仅限于创建成功的文件系统。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_QUOTALESSTHANCURRENTUSED = "FailedOperation.QuotaLessThanCurrentUsed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDCAPACITYQUOTA = "InvalidParameterValue.InvalidCapacityQuota" INVALIDPARAMETERVALUE_INVALIDDESCRIPTION = "InvalidParameterValue.InvalidDescription" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMNAME = "InvalidParameterValue.InvalidFileSystemName" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyLifeCycleRules ¶
func (c *Client) ModifyLifeCycleRules(request *ModifyLifeCycleRulesRequest) (response *ModifyLifeCycleRulesResponse, err error)
ModifyLifeCycleRules 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
批量修改生命周期规则属性,需要指定生命周期规则ID,支持修改生命周期规则名称、路径、转换列表和状态。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyLifeCycleRulesWithContext ¶ added in v1.0.324
func (c *Client) ModifyLifeCycleRulesWithContext(ctx context.Context, request *ModifyLifeCycleRulesRequest) (response *ModifyLifeCycleRulesResponse, err error)
ModifyLifeCycleRules 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
批量修改生命周期规则属性,需要指定生命周期规则ID,支持修改生命周期规则名称、路径、转换列表和状态。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyMountPoint ¶
func (c *Client) ModifyMountPoint(request *ModifyMountPointRequest) (response *ModifyMountPointResponse, err error)
ModifyMountPoint 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
修改挂载点属性。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId" INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTID = "InvalidParameterValue.InvalidMountPointId" INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTNAME = "InvalidParameterValue.InvalidMountPointName" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists" RESOURCENOTFOUND_MOUNTPOINTNOTEXISTS = "ResourceNotFound.MountPointNotExists" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyMountPointWithContext ¶ added in v1.0.324
func (c *Client) ModifyMountPointWithContext(ctx context.Context, request *ModifyMountPointRequest) (response *ModifyMountPointResponse, err error)
ModifyMountPoint 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
修改挂载点属性。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDACCESSGROUPID = "InvalidParameterValue.InvalidAccessGroupId" INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTID = "InvalidParameterValue.InvalidMountPointId" INVALIDPARAMETERVALUE_INVALIDMOUNTPOINTNAME = "InvalidParameterValue.InvalidMountPointName" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_ACCESSGROUPNOTEXISTS = "ResourceNotFound.AccessGroupNotExists" RESOURCENOTFOUND_MOUNTPOINTNOTEXISTS = "ResourceNotFound.MountPointNotExists" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyResourceTags ¶
func (c *Client) ModifyResourceTags(request *ModifyResourceTagsRequest) (response *ModifyResourceTagsResponse, err error)
ModifyResourceTags 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
修改资源标签列表,全量覆盖。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyResourceTagsWithContext ¶ added in v1.0.324
func (c *Client) ModifyResourceTagsWithContext(ctx context.Context, request *ModifyResourceTagsRequest) (response *ModifyResourceTagsResponse, err error)
ModifyResourceTags 云API旧版本2019-07-18预下线,所有功能由新版本2020-11-12替代,目前云API主要用作控制台使用。
修改资源标签列表,全量覆盖。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILESYSTEMNOTEXISTS = "ResourceNotFound.FileSystemNotExists" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
type CreateAccessGroupRequest ¶
type CreateAccessGroupRequest struct { *tchttp.BaseRequest // 权限组名称 AccessGroupName *string `json:"AccessGroupName,omitnil,omitempty" name:"AccessGroupName"` // 权限组描述 Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
func NewCreateAccessGroupRequest ¶
func NewCreateAccessGroupRequest() (request *CreateAccessGroupRequest)
func (*CreateAccessGroupRequest) FromJsonString ¶
func (r *CreateAccessGroupRequest) FromJsonString(s string) error
FromJsonString 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 CreateAccessGroupRequestParams ¶ added in v1.0.426
type CreateAccessGroupRequestParams struct { // 权限组名称 AccessGroupName *string `json:"AccessGroupName,omitnil,omitempty" name:"AccessGroupName"` // 权限组描述 Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
Predefined struct for user
type CreateAccessGroupResponse ¶
type CreateAccessGroupResponse struct { *tchttp.BaseResponse Response *CreateAccessGroupResponseParams `json:"Response"` }
func NewCreateAccessGroupResponse ¶
func NewCreateAccessGroupResponse() (response *CreateAccessGroupResponse)
func (*CreateAccessGroupResponse) FromJsonString ¶
func (r *CreateAccessGroupResponse) FromJsonString(s string) error
FromJsonString 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 CreateAccessGroupResponseParams ¶ added in v1.0.426
type CreateAccessGroupResponseParams struct { // 权限组 AccessGroup *AccessGroup `json:"AccessGroup,omitnil,omitempty" name:"AccessGroup"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateAccessRulesRequest ¶
type CreateAccessRulesRequest struct { *tchttp.BaseRequest // 多个权限规则,上限为10 AccessRules []*AccessRule `json:"AccessRules,omitnil,omitempty" name:"AccessRules"` // 权限组ID AccessGroupId *string `json:"AccessGroupId,omitnil,omitempty" name:"AccessGroupId"` }
func NewCreateAccessRulesRequest ¶
func NewCreateAccessRulesRequest() (request *CreateAccessRulesRequest)
func (*CreateAccessRulesRequest) FromJsonString ¶
func (r *CreateAccessRulesRequest) FromJsonString(s string) error
FromJsonString 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 CreateAccessRulesRequestParams ¶ added in v1.0.426
type CreateAccessRulesRequestParams struct { // 多个权限规则,上限为10 AccessRules []*AccessRule `json:"AccessRules,omitnil,omitempty" name:"AccessRules"` // 权限组ID AccessGroupId *string `json:"AccessGroupId,omitnil,omitempty" name:"AccessGroupId"` }
Predefined struct for user
type CreateAccessRulesResponse ¶
type CreateAccessRulesResponse struct { *tchttp.BaseResponse Response *CreateAccessRulesResponseParams `json:"Response"` }
func NewCreateAccessRulesResponse ¶
func NewCreateAccessRulesResponse() (response *CreateAccessRulesResponse)
func (*CreateAccessRulesResponse) FromJsonString ¶
func (r *CreateAccessRulesResponse) FromJsonString(s string) error
FromJsonString 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 CreateAccessRulesResponseParams ¶ added in v1.0.426
type CreateAccessRulesResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateFileSystemRequest ¶
type CreateFileSystemRequest struct { *tchttp.BaseRequest // 文件系统名称 FileSystemName *string `json:"FileSystemName,omitnil,omitempty" name:"FileSystemName"` // 文件系统容量(byte),下限为1G,上限为1P,且必须是1G的整数倍 CapacityQuota *uint64 `json:"CapacityQuota,omitnil,omitempty" name:"CapacityQuota"` // 文件系统描述 Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
func NewCreateFileSystemRequest ¶
func NewCreateFileSystemRequest() (request *CreateFileSystemRequest)
func (*CreateFileSystemRequest) FromJsonString ¶
func (r *CreateFileSystemRequest) FromJsonString(s string) error
FromJsonString 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 CreateFileSystemRequestParams ¶ added in v1.0.426
type CreateFileSystemRequestParams struct { // 文件系统名称 FileSystemName *string `json:"FileSystemName,omitnil,omitempty" name:"FileSystemName"` // 文件系统容量(byte),下限为1G,上限为1P,且必须是1G的整数倍 CapacityQuota *uint64 `json:"CapacityQuota,omitnil,omitempty" name:"CapacityQuota"` // 文件系统描述 Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
Predefined struct for user
type CreateFileSystemResponse ¶
type CreateFileSystemResponse struct { *tchttp.BaseResponse Response *CreateFileSystemResponseParams `json:"Response"` }
func NewCreateFileSystemResponse ¶
func NewCreateFileSystemResponse() (response *CreateFileSystemResponse)
func (*CreateFileSystemResponse) FromJsonString ¶
func (r *CreateFileSystemResponse) FromJsonString(s string) error
FromJsonString 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 CreateFileSystemResponseParams ¶ added in v1.0.426
type CreateFileSystemResponseParams struct { // 文件系统 FileSystem *FileSystem `json:"FileSystem,omitnil,omitempty" name:"FileSystem"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateLifeCycleRulesRequest ¶
type CreateLifeCycleRulesRequest struct { *tchttp.BaseRequest // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 多个生命周期规则,上限为10 LifeCycleRules []*LifeCycleRule `json:"LifeCycleRules,omitnil,omitempty" name:"LifeCycleRules"` }
func NewCreateLifeCycleRulesRequest ¶
func NewCreateLifeCycleRulesRequest() (request *CreateLifeCycleRulesRequest)
func (*CreateLifeCycleRulesRequest) FromJsonString ¶
func (r *CreateLifeCycleRulesRequest) FromJsonString(s string) error
FromJsonString 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 CreateLifeCycleRulesRequestParams ¶ added in v1.0.426
type CreateLifeCycleRulesRequestParams struct { // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 多个生命周期规则,上限为10 LifeCycleRules []*LifeCycleRule `json:"LifeCycleRules,omitnil,omitempty" name:"LifeCycleRules"` }
Predefined struct for user
type CreateLifeCycleRulesResponse ¶
type CreateLifeCycleRulesResponse struct { *tchttp.BaseResponse Response *CreateLifeCycleRulesResponseParams `json:"Response"` }
func NewCreateLifeCycleRulesResponse ¶
func NewCreateLifeCycleRulesResponse() (response *CreateLifeCycleRulesResponse)
func (*CreateLifeCycleRulesResponse) FromJsonString ¶
func (r *CreateLifeCycleRulesResponse) FromJsonString(s string) error
FromJsonString 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 CreateLifeCycleRulesResponseParams ¶ added in v1.0.426
type CreateLifeCycleRulesResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateMountPointRequest ¶
type CreateMountPointRequest struct { *tchttp.BaseRequest // 挂载点名称 MountPointName *string `json:"MountPointName,omitnil,omitempty" name:"MountPointName"` // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 权限组ID AccessGroupId *string `json:"AccessGroupId,omitnil,omitempty" name:"AccessGroupId"` // VPC网络ID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 挂载点状态(1:打开;2:关闭) MountPointStatus *uint64 `json:"MountPointStatus,omitnil,omitempty" name:"MountPointStatus"` // VPC网络类型(1:CVM;2:黑石1.0;3:黑石2.0) VpcType *uint64 `json:"VpcType,omitnil,omitempty" name:"VpcType"` }
func NewCreateMountPointRequest ¶
func NewCreateMountPointRequest() (request *CreateMountPointRequest)
func (*CreateMountPointRequest) FromJsonString ¶
func (r *CreateMountPointRequest) FromJsonString(s string) error
FromJsonString 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 CreateMountPointRequestParams ¶ added in v1.0.426
type CreateMountPointRequestParams struct { // 挂载点名称 MountPointName *string `json:"MountPointName,omitnil,omitempty" name:"MountPointName"` // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 权限组ID AccessGroupId *string `json:"AccessGroupId,omitnil,omitempty" name:"AccessGroupId"` // VPC网络ID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 挂载点状态(1:打开;2:关闭) MountPointStatus *uint64 `json:"MountPointStatus,omitnil,omitempty" name:"MountPointStatus"` // VPC网络类型(1:CVM;2:黑石1.0;3:黑石2.0) VpcType *uint64 `json:"VpcType,omitnil,omitempty" name:"VpcType"` }
Predefined struct for user
type CreateMountPointResponse ¶
type CreateMountPointResponse struct { *tchttp.BaseResponse Response *CreateMountPointResponseParams `json:"Response"` }
func NewCreateMountPointResponse ¶
func NewCreateMountPointResponse() (response *CreateMountPointResponse)
func (*CreateMountPointResponse) FromJsonString ¶
func (r *CreateMountPointResponse) FromJsonString(s string) error
FromJsonString 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 CreateMountPointResponseParams ¶ added in v1.0.426
type CreateMountPointResponseParams struct { // 挂载点 MountPoint *MountPoint `json:"MountPoint,omitnil,omitempty" name:"MountPoint"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateRestoreTasksRequest ¶
type CreateRestoreTasksRequest struct { *tchttp.BaseRequest // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 多个回热任务,上限为10 RestoreTasks []*RestoreTask `json:"RestoreTasks,omitnil,omitempty" name:"RestoreTasks"` }
func NewCreateRestoreTasksRequest ¶
func NewCreateRestoreTasksRequest() (request *CreateRestoreTasksRequest)
func (*CreateRestoreTasksRequest) FromJsonString ¶
func (r *CreateRestoreTasksRequest) FromJsonString(s string) error
FromJsonString 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 CreateRestoreTasksRequestParams ¶ added in v1.0.426
type CreateRestoreTasksRequestParams struct { // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 多个回热任务,上限为10 RestoreTasks []*RestoreTask `json:"RestoreTasks,omitnil,omitempty" name:"RestoreTasks"` }
Predefined struct for user
type CreateRestoreTasksResponse ¶
type CreateRestoreTasksResponse struct { *tchttp.BaseResponse Response *CreateRestoreTasksResponseParams `json:"Response"` }
func NewCreateRestoreTasksResponse ¶
func NewCreateRestoreTasksResponse() (response *CreateRestoreTasksResponse)
func (*CreateRestoreTasksResponse) FromJsonString ¶
func (r *CreateRestoreTasksResponse) FromJsonString(s string) error
FromJsonString 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 CreateRestoreTasksResponseParams ¶ added in v1.0.426
type CreateRestoreTasksResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteAccessGroupRequest ¶
type DeleteAccessGroupRequest struct { *tchttp.BaseRequest // 权限组ID AccessGroupId *string `json:"AccessGroupId,omitnil,omitempty" name:"AccessGroupId"` }
func NewDeleteAccessGroupRequest ¶
func NewDeleteAccessGroupRequest() (request *DeleteAccessGroupRequest)
func (*DeleteAccessGroupRequest) FromJsonString ¶
func (r *DeleteAccessGroupRequest) FromJsonString(s string) error
FromJsonString 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 DeleteAccessGroupRequestParams ¶ added in v1.0.426
type DeleteAccessGroupRequestParams struct { // 权限组ID AccessGroupId *string `json:"AccessGroupId,omitnil,omitempty" name:"AccessGroupId"` }
Predefined struct for user
type DeleteAccessGroupResponse ¶
type DeleteAccessGroupResponse struct { *tchttp.BaseResponse Response *DeleteAccessGroupResponseParams `json:"Response"` }
func NewDeleteAccessGroupResponse ¶
func NewDeleteAccessGroupResponse() (response *DeleteAccessGroupResponse)
func (*DeleteAccessGroupResponse) FromJsonString ¶
func (r *DeleteAccessGroupResponse) FromJsonString(s string) error
FromJsonString 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 DeleteAccessGroupResponseParams ¶ added in v1.0.426
type DeleteAccessGroupResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteAccessRulesRequest ¶
type DeleteAccessRulesRequest struct { *tchttp.BaseRequest // 多个权限规则ID,上限为10 AccessRuleIds []*uint64 `json:"AccessRuleIds,omitnil,omitempty" name:"AccessRuleIds"` }
func NewDeleteAccessRulesRequest ¶
func NewDeleteAccessRulesRequest() (request *DeleteAccessRulesRequest)
func (*DeleteAccessRulesRequest) FromJsonString ¶
func (r *DeleteAccessRulesRequest) FromJsonString(s string) error
FromJsonString 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 DeleteAccessRulesRequestParams ¶ added in v1.0.426
type DeleteAccessRulesRequestParams struct { // 多个权限规则ID,上限为10 AccessRuleIds []*uint64 `json:"AccessRuleIds,omitnil,omitempty" name:"AccessRuleIds"` }
Predefined struct for user
type DeleteAccessRulesResponse ¶
type DeleteAccessRulesResponse struct { *tchttp.BaseResponse Response *DeleteAccessRulesResponseParams `json:"Response"` }
func NewDeleteAccessRulesResponse ¶
func NewDeleteAccessRulesResponse() (response *DeleteAccessRulesResponse)
func (*DeleteAccessRulesResponse) FromJsonString ¶
func (r *DeleteAccessRulesResponse) FromJsonString(s string) error
FromJsonString 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 DeleteAccessRulesResponseParams ¶ added in v1.0.426
type DeleteAccessRulesResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteFileSystemRequest ¶
type DeleteFileSystemRequest struct { *tchttp.BaseRequest // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` }
func NewDeleteFileSystemRequest ¶
func NewDeleteFileSystemRequest() (request *DeleteFileSystemRequest)
func (*DeleteFileSystemRequest) FromJsonString ¶
func (r *DeleteFileSystemRequest) FromJsonString(s string) error
FromJsonString 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 DeleteFileSystemRequestParams ¶ added in v1.0.426
type DeleteFileSystemRequestParams struct { // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` }
Predefined struct for user
type DeleteFileSystemResponse ¶
type DeleteFileSystemResponse struct { *tchttp.BaseResponse Response *DeleteFileSystemResponseParams `json:"Response"` }
func NewDeleteFileSystemResponse ¶
func NewDeleteFileSystemResponse() (response *DeleteFileSystemResponse)
func (*DeleteFileSystemResponse) FromJsonString ¶
func (r *DeleteFileSystemResponse) FromJsonString(s string) error
FromJsonString 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 DeleteFileSystemResponseParams ¶ added in v1.0.426
type DeleteFileSystemResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLifeCycleRulesRequest ¶
type DeleteLifeCycleRulesRequest struct { *tchttp.BaseRequest // 多个生命周期规则ID,上限为10 LifeCycleRuleIds []*uint64 `json:"LifeCycleRuleIds,omitnil,omitempty" name:"LifeCycleRuleIds"` }
func NewDeleteLifeCycleRulesRequest ¶
func NewDeleteLifeCycleRulesRequest() (request *DeleteLifeCycleRulesRequest)
func (*DeleteLifeCycleRulesRequest) FromJsonString ¶
func (r *DeleteLifeCycleRulesRequest) FromJsonString(s string) error
FromJsonString 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 DeleteLifeCycleRulesRequestParams ¶ added in v1.0.426
type DeleteLifeCycleRulesRequestParams struct { // 多个生命周期规则ID,上限为10 LifeCycleRuleIds []*uint64 `json:"LifeCycleRuleIds,omitnil,omitempty" name:"LifeCycleRuleIds"` }
Predefined struct for user
type DeleteLifeCycleRulesResponse ¶
type DeleteLifeCycleRulesResponse struct { *tchttp.BaseResponse Response *DeleteLifeCycleRulesResponseParams `json:"Response"` }
func NewDeleteLifeCycleRulesResponse ¶
func NewDeleteLifeCycleRulesResponse() (response *DeleteLifeCycleRulesResponse)
func (*DeleteLifeCycleRulesResponse) FromJsonString ¶
func (r *DeleteLifeCycleRulesResponse) FromJsonString(s string) error
FromJsonString 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 DeleteLifeCycleRulesResponseParams ¶ added in v1.0.426
type DeleteLifeCycleRulesResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteMountPointRequest ¶
type DeleteMountPointRequest struct { *tchttp.BaseRequest // 挂载点ID MountPointId *string `json:"MountPointId,omitnil,omitempty" name:"MountPointId"` }
func NewDeleteMountPointRequest ¶
func NewDeleteMountPointRequest() (request *DeleteMountPointRequest)
func (*DeleteMountPointRequest) FromJsonString ¶
func (r *DeleteMountPointRequest) FromJsonString(s string) error
FromJsonString 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 DeleteMountPointRequestParams ¶ added in v1.0.426
type DeleteMountPointRequestParams struct { // 挂载点ID MountPointId *string `json:"MountPointId,omitnil,omitempty" name:"MountPointId"` }
Predefined struct for user
type DeleteMountPointResponse ¶
type DeleteMountPointResponse struct { *tchttp.BaseResponse Response *DeleteMountPointResponseParams `json:"Response"` }
func NewDeleteMountPointResponse ¶
func NewDeleteMountPointResponse() (response *DeleteMountPointResponse)
func (*DeleteMountPointResponse) FromJsonString ¶
func (r *DeleteMountPointResponse) FromJsonString(s string) error
FromJsonString 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 DeleteMountPointResponseParams ¶ added in v1.0.426
type DeleteMountPointResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAccessGroupsRequest ¶
type DescribeAccessGroupsRequest struct { *tchttp.BaseRequest // 过滤条件,Name可选“AccessGroupId“和“AccessGroupName”,Values上限为10 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 偏移量,默认为0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为所有 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeAccessGroupsRequest ¶
func NewDescribeAccessGroupsRequest() (request *DescribeAccessGroupsRequest)
func (*DescribeAccessGroupsRequest) FromJsonString ¶
func (r *DescribeAccessGroupsRequest) FromJsonString(s string) error
FromJsonString 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 DescribeAccessGroupsRequestParams ¶ added in v1.0.426
type DescribeAccessGroupsRequestParams struct { // 过滤条件,Name可选“AccessGroupId“和“AccessGroupName”,Values上限为10 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 偏移量,默认为0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为所有 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeAccessGroupsResponse ¶
type DescribeAccessGroupsResponse struct { *tchttp.BaseResponse Response *DescribeAccessGroupsResponseParams `json:"Response"` }
func NewDescribeAccessGroupsResponse ¶
func NewDescribeAccessGroupsResponse() (response *DescribeAccessGroupsResponse)
func (*DescribeAccessGroupsResponse) FromJsonString ¶
func (r *DescribeAccessGroupsResponse) FromJsonString(s string) error
FromJsonString 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 DescribeAccessGroupsResponseParams ¶ added in v1.0.426
type DescribeAccessGroupsResponseParams struct { // 权限组列表 AccessGroups []*AccessGroup `json:"AccessGroups,omitnil,omitempty" name:"AccessGroups"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAccessRulesRequest ¶
type DescribeAccessRulesRequest struct { *tchttp.BaseRequest // 权限组ID AccessGroupId *string `json:"AccessGroupId,omitnil,omitempty" name:"AccessGroupId"` // 偏移量,默认为0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为所有 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeAccessRulesRequest ¶
func NewDescribeAccessRulesRequest() (request *DescribeAccessRulesRequest)
func (*DescribeAccessRulesRequest) FromJsonString ¶
func (r *DescribeAccessRulesRequest) FromJsonString(s string) error
FromJsonString 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 DescribeAccessRulesRequestParams ¶ added in v1.0.426
type DescribeAccessRulesRequestParams struct { // 权限组ID AccessGroupId *string `json:"AccessGroupId,omitnil,omitempty" name:"AccessGroupId"` // 偏移量,默认为0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为所有 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeAccessRulesResponse ¶
type DescribeAccessRulesResponse struct { *tchttp.BaseResponse Response *DescribeAccessRulesResponseParams `json:"Response"` }
func NewDescribeAccessRulesResponse ¶
func NewDescribeAccessRulesResponse() (response *DescribeAccessRulesResponse)
func (*DescribeAccessRulesResponse) FromJsonString ¶
func (r *DescribeAccessRulesResponse) FromJsonString(s string) error
FromJsonString 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 DescribeAccessRulesResponseParams ¶ added in v1.0.426
type DescribeAccessRulesResponseParams struct { // 权限规则列表 AccessRules []*AccessRule `json:"AccessRules,omitnil,omitempty" name:"AccessRules"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeFileSystemRequest ¶
type DescribeFileSystemRequest struct { *tchttp.BaseRequest // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` }
func NewDescribeFileSystemRequest ¶
func NewDescribeFileSystemRequest() (request *DescribeFileSystemRequest)
func (*DescribeFileSystemRequest) FromJsonString ¶
func (r *DescribeFileSystemRequest) FromJsonString(s string) error
FromJsonString 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 DescribeFileSystemRequestParams ¶ added in v1.0.426
type DescribeFileSystemRequestParams struct { // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` }
Predefined struct for user
type DescribeFileSystemResponse ¶
type DescribeFileSystemResponse struct { *tchttp.BaseResponse Response *DescribeFileSystemResponseParams `json:"Response"` }
func NewDescribeFileSystemResponse ¶
func NewDescribeFileSystemResponse() (response *DescribeFileSystemResponse)
func (*DescribeFileSystemResponse) FromJsonString ¶
func (r *DescribeFileSystemResponse) FromJsonString(s string) error
FromJsonString 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 DescribeFileSystemResponseParams ¶ added in v1.0.426
type DescribeFileSystemResponseParams struct { // 文件系统 FileSystem *FileSystem `json:"FileSystem,omitnil,omitempty" name:"FileSystem"` // 文件系统已使用容量(已弃用) // 注意:此字段可能返回 null,表示取不到有效值。 FileSystemCapacityUsed *uint64 `json:"FileSystemCapacityUsed,omitnil,omitempty" name:"FileSystemCapacityUsed"` // 已使用容量(byte),包括标准和归档存储 // 注意:此字段可能返回 null,表示取不到有效值。 CapacityUsed *uint64 `json:"CapacityUsed,omitnil,omitempty" name:"CapacityUsed"` // 已使用归档存储容量(byte) // 注意:此字段可能返回 null,表示取不到有效值。 ArchiveCapacityUsed *uint64 `json:"ArchiveCapacityUsed,omitnil,omitempty" name:"ArchiveCapacityUsed"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeFileSystemsRequest ¶
type DescribeFileSystemsRequest struct { *tchttp.BaseRequest // 偏移量,默认为0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为所有 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeFileSystemsRequest ¶
func NewDescribeFileSystemsRequest() (request *DescribeFileSystemsRequest)
func (*DescribeFileSystemsRequest) FromJsonString ¶
func (r *DescribeFileSystemsRequest) FromJsonString(s string) error
FromJsonString 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 DescribeFileSystemsRequestParams ¶ added in v1.0.426
type DescribeFileSystemsRequestParams struct { // 偏移量,默认为0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为所有 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeFileSystemsResponse ¶
type DescribeFileSystemsResponse struct { *tchttp.BaseResponse Response *DescribeFileSystemsResponseParams `json:"Response"` }
func NewDescribeFileSystemsResponse ¶
func NewDescribeFileSystemsResponse() (response *DescribeFileSystemsResponse)
func (*DescribeFileSystemsResponse) FromJsonString ¶
func (r *DescribeFileSystemsResponse) FromJsonString(s string) error
FromJsonString 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 DescribeFileSystemsResponseParams ¶ added in v1.0.426
type DescribeFileSystemsResponseParams struct { // 文件系统列表 FileSystems []*FileSystem `json:"FileSystems,omitnil,omitempty" name:"FileSystems"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLifeCycleRulesRequest ¶
type DescribeLifeCycleRulesRequest struct { *tchttp.BaseRequest // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` }
func NewDescribeLifeCycleRulesRequest ¶
func NewDescribeLifeCycleRulesRequest() (request *DescribeLifeCycleRulesRequest)
func (*DescribeLifeCycleRulesRequest) FromJsonString ¶
func (r *DescribeLifeCycleRulesRequest) FromJsonString(s string) error
FromJsonString 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 DescribeLifeCycleRulesRequestParams ¶ added in v1.0.426
type DescribeLifeCycleRulesRequestParams struct { // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` }
Predefined struct for user
type DescribeLifeCycleRulesResponse ¶
type DescribeLifeCycleRulesResponse struct { *tchttp.BaseResponse Response *DescribeLifeCycleRulesResponseParams `json:"Response"` }
func NewDescribeLifeCycleRulesResponse ¶
func NewDescribeLifeCycleRulesResponse() (response *DescribeLifeCycleRulesResponse)
func (*DescribeLifeCycleRulesResponse) FromJsonString ¶
func (r *DescribeLifeCycleRulesResponse) FromJsonString(s string) error
FromJsonString 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 DescribeLifeCycleRulesResponseParams ¶ added in v1.0.426
type DescribeLifeCycleRulesResponseParams struct { // 生命周期规则列表 LifeCycleRules []*LifeCycleRule `json:"LifeCycleRules,omitnil,omitempty" name:"LifeCycleRules"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMountPointRequest ¶
type DescribeMountPointRequest struct { *tchttp.BaseRequest // 挂载点ID MountPointId *string `json:"MountPointId,omitnil,omitempty" name:"MountPointId"` }
func NewDescribeMountPointRequest ¶
func NewDescribeMountPointRequest() (request *DescribeMountPointRequest)
func (*DescribeMountPointRequest) FromJsonString ¶
func (r *DescribeMountPointRequest) FromJsonString(s string) error
FromJsonString 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 DescribeMountPointRequestParams ¶ added in v1.0.426
type DescribeMountPointRequestParams struct { // 挂载点ID MountPointId *string `json:"MountPointId,omitnil,omitempty" name:"MountPointId"` }
Predefined struct for user
type DescribeMountPointResponse ¶
type DescribeMountPointResponse struct { *tchttp.BaseResponse Response *DescribeMountPointResponseParams `json:"Response"` }
func NewDescribeMountPointResponse ¶
func NewDescribeMountPointResponse() (response *DescribeMountPointResponse)
func (*DescribeMountPointResponse) FromJsonString ¶
func (r *DescribeMountPointResponse) FromJsonString(s string) error
FromJsonString 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 DescribeMountPointResponseParams ¶ added in v1.0.426
type DescribeMountPointResponseParams struct { // 挂载点 MountPoint *MountPoint `json:"MountPoint,omitnil,omitempty" name:"MountPoint"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMountPointsRequest ¶
type DescribeMountPointsRequest struct { *tchttp.BaseRequest // 文件系统ID // 注意:若根据AccessGroupId查看挂载点列表,则无需设置FileSystemId FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 权限组ID // 注意:若根据FileSystemId查看挂载点列表,则无需设置AccessGroupId AccessGroupId *string `json:"AccessGroupId,omitnil,omitempty" name:"AccessGroupId"` // 偏移量,默认为0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为所有 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeMountPointsRequest ¶
func NewDescribeMountPointsRequest() (request *DescribeMountPointsRequest)
func (*DescribeMountPointsRequest) FromJsonString ¶
func (r *DescribeMountPointsRequest) FromJsonString(s string) error
FromJsonString 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 DescribeMountPointsRequestParams ¶ added in v1.0.426
type DescribeMountPointsRequestParams struct { // 文件系统ID // 注意:若根据AccessGroupId查看挂载点列表,则无需设置FileSystemId FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 权限组ID // 注意:若根据FileSystemId查看挂载点列表,则无需设置AccessGroupId AccessGroupId *string `json:"AccessGroupId,omitnil,omitempty" name:"AccessGroupId"` // 偏移量,默认为0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为所有 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeMountPointsResponse ¶
type DescribeMountPointsResponse struct { *tchttp.BaseResponse Response *DescribeMountPointsResponseParams `json:"Response"` }
func NewDescribeMountPointsResponse ¶
func NewDescribeMountPointsResponse() (response *DescribeMountPointsResponse)
func (*DescribeMountPointsResponse) FromJsonString ¶
func (r *DescribeMountPointsResponse) FromJsonString(s string) error
FromJsonString 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 DescribeMountPointsResponseParams ¶ added in v1.0.426
type DescribeMountPointsResponseParams struct { // 挂载点列表 MountPoints []*MountPoint `json:"MountPoints,omitnil,omitempty" name:"MountPoints"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeResourceTagsRequest ¶
type DescribeResourceTagsRequest struct { *tchttp.BaseRequest // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` }
func NewDescribeResourceTagsRequest ¶
func NewDescribeResourceTagsRequest() (request *DescribeResourceTagsRequest)
func (*DescribeResourceTagsRequest) FromJsonString ¶
func (r *DescribeResourceTagsRequest) FromJsonString(s string) error
FromJsonString 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 DescribeResourceTagsRequestParams ¶ added in v1.0.426
type DescribeResourceTagsRequestParams struct { // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` }
Predefined struct for user
type DescribeResourceTagsResponse ¶
type DescribeResourceTagsResponse struct { *tchttp.BaseResponse Response *DescribeResourceTagsResponseParams `json:"Response"` }
func NewDescribeResourceTagsResponse ¶
func NewDescribeResourceTagsResponse() (response *DescribeResourceTagsResponse)
func (*DescribeResourceTagsResponse) FromJsonString ¶
func (r *DescribeResourceTagsResponse) FromJsonString(s string) error
FromJsonString 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 DescribeResourceTagsResponseParams ¶ added in v1.0.426
type DescribeResourceTagsResponseParams struct { // 资源标签列表 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRestoreTasksRequest ¶
type DescribeRestoreTasksRequest struct { *tchttp.BaseRequest // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` }
func NewDescribeRestoreTasksRequest ¶
func NewDescribeRestoreTasksRequest() (request *DescribeRestoreTasksRequest)
func (*DescribeRestoreTasksRequest) FromJsonString ¶
func (r *DescribeRestoreTasksRequest) FromJsonString(s string) error
FromJsonString 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 DescribeRestoreTasksRequestParams ¶ added in v1.0.426
type DescribeRestoreTasksRequestParams struct { // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` }
Predefined struct for user
type DescribeRestoreTasksResponse ¶
type DescribeRestoreTasksResponse struct { *tchttp.BaseResponse Response *DescribeRestoreTasksResponseParams `json:"Response"` }
func NewDescribeRestoreTasksResponse ¶
func NewDescribeRestoreTasksResponse() (response *DescribeRestoreTasksResponse)
func (*DescribeRestoreTasksResponse) FromJsonString ¶
func (r *DescribeRestoreTasksResponse) FromJsonString(s string) error
FromJsonString 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 DescribeRestoreTasksResponseParams ¶ added in v1.0.426
type DescribeRestoreTasksResponseParams struct { // 回热任务列表 RestoreTasks []*RestoreTask `json:"RestoreTasks,omitnil,omitempty" name:"RestoreTasks"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type FileSystem ¶
type FileSystem struct { // appid AppId *uint64 `json:"AppId,omitnil,omitempty" name:"AppId"` // 文件系统名称 FileSystemName *string `json:"FileSystemName,omitnil,omitempty" name:"FileSystemName"` // 文件系统描述 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 地域 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 文件系统块大小(byte) BlockSize *uint64 `json:"BlockSize,omitnil,omitempty" name:"BlockSize"` // 文件系统容量(byte) CapacityQuota *uint64 `json:"CapacityQuota,omitnil,omitempty" name:"CapacityQuota"` // 文件系统状态(1:创建中;2:创建成功;3:创建失败) Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` }
type LifeCycleRule ¶
type LifeCycleRule struct { // 生命周期规则ID LifeCycleRuleId *uint64 `json:"LifeCycleRuleId,omitnil,omitempty" name:"LifeCycleRuleId"` // 生命周期规则名称 LifeCycleRuleName *string `json:"LifeCycleRuleName,omitnil,omitempty" name:"LifeCycleRuleName"` // 生命周期规则路径(目录或文件) Path *string `json:"Path,omitnil,omitempty" name:"Path"` // 生命周期规则转换列表 Transitions []*Transition `json:"Transitions,omitnil,omitempty" name:"Transitions"` // 生命周期规则状态(1:打开;2:关闭) Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` }
type ModifyAccessGroupRequest ¶
type ModifyAccessGroupRequest struct { *tchttp.BaseRequest // 权限组ID AccessGroupId *string `json:"AccessGroupId,omitnil,omitempty" name:"AccessGroupId"` // 权限组名称 AccessGroupName *string `json:"AccessGroupName,omitnil,omitempty" name:"AccessGroupName"` // 权限组描述 Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
func NewModifyAccessGroupRequest ¶
func NewModifyAccessGroupRequest() (request *ModifyAccessGroupRequest)
func (*ModifyAccessGroupRequest) FromJsonString ¶
func (r *ModifyAccessGroupRequest) FromJsonString(s string) error
FromJsonString 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 ModifyAccessGroupRequestParams ¶ added in v1.0.426
type ModifyAccessGroupRequestParams struct { // 权限组ID AccessGroupId *string `json:"AccessGroupId,omitnil,omitempty" name:"AccessGroupId"` // 权限组名称 AccessGroupName *string `json:"AccessGroupName,omitnil,omitempty" name:"AccessGroupName"` // 权限组描述 Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
Predefined struct for user
type ModifyAccessGroupResponse ¶
type ModifyAccessGroupResponse struct { *tchttp.BaseResponse Response *ModifyAccessGroupResponseParams `json:"Response"` }
func NewModifyAccessGroupResponse ¶
func NewModifyAccessGroupResponse() (response *ModifyAccessGroupResponse)
func (*ModifyAccessGroupResponse) FromJsonString ¶
func (r *ModifyAccessGroupResponse) FromJsonString(s string) error
FromJsonString 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 ModifyAccessGroupResponseParams ¶ added in v1.0.426
type ModifyAccessGroupResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAccessRulesRequest ¶
type ModifyAccessRulesRequest struct { *tchttp.BaseRequest // 多个权限规则,上限为10 AccessRules []*AccessRule `json:"AccessRules,omitnil,omitempty" name:"AccessRules"` }
func NewModifyAccessRulesRequest ¶
func NewModifyAccessRulesRequest() (request *ModifyAccessRulesRequest)
func (*ModifyAccessRulesRequest) FromJsonString ¶
func (r *ModifyAccessRulesRequest) FromJsonString(s string) error
FromJsonString 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 ModifyAccessRulesRequestParams ¶ added in v1.0.426
type ModifyAccessRulesRequestParams struct { // 多个权限规则,上限为10 AccessRules []*AccessRule `json:"AccessRules,omitnil,omitempty" name:"AccessRules"` }
Predefined struct for user
type ModifyAccessRulesResponse ¶
type ModifyAccessRulesResponse struct { *tchttp.BaseResponse Response *ModifyAccessRulesResponseParams `json:"Response"` }
func NewModifyAccessRulesResponse ¶
func NewModifyAccessRulesResponse() (response *ModifyAccessRulesResponse)
func (*ModifyAccessRulesResponse) FromJsonString ¶
func (r *ModifyAccessRulesResponse) FromJsonString(s string) error
FromJsonString 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 ModifyAccessRulesResponseParams ¶ added in v1.0.426
type ModifyAccessRulesResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyFileSystemRequest ¶
type ModifyFileSystemRequest struct { *tchttp.BaseRequest // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 文件系统名称 FileSystemName *string `json:"FileSystemName,omitnil,omitempty" name:"FileSystemName"` // 文件系统描述 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 文件系统容量(byte),下限为1G,上限为1P,且必须是1G的整数倍 // 注意:修改的文件系统容量不能小于当前使用量 CapacityQuota *uint64 `json:"CapacityQuota,omitnil,omitempty" name:"CapacityQuota"` }
func NewModifyFileSystemRequest ¶
func NewModifyFileSystemRequest() (request *ModifyFileSystemRequest)
func (*ModifyFileSystemRequest) FromJsonString ¶
func (r *ModifyFileSystemRequest) FromJsonString(s string) error
FromJsonString 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 ModifyFileSystemRequestParams ¶ added in v1.0.426
type ModifyFileSystemRequestParams struct { // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 文件系统名称 FileSystemName *string `json:"FileSystemName,omitnil,omitempty" name:"FileSystemName"` // 文件系统描述 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 文件系统容量(byte),下限为1G,上限为1P,且必须是1G的整数倍 // 注意:修改的文件系统容量不能小于当前使用量 CapacityQuota *uint64 `json:"CapacityQuota,omitnil,omitempty" name:"CapacityQuota"` }
Predefined struct for user
type ModifyFileSystemResponse ¶
type ModifyFileSystemResponse struct { *tchttp.BaseResponse Response *ModifyFileSystemResponseParams `json:"Response"` }
func NewModifyFileSystemResponse ¶
func NewModifyFileSystemResponse() (response *ModifyFileSystemResponse)
func (*ModifyFileSystemResponse) FromJsonString ¶
func (r *ModifyFileSystemResponse) FromJsonString(s string) error
FromJsonString 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 ModifyFileSystemResponseParams ¶ added in v1.0.426
type ModifyFileSystemResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyLifeCycleRulesRequest ¶
type ModifyLifeCycleRulesRequest struct { *tchttp.BaseRequest // 多个生命周期规则,上限为10 LifeCycleRules []*LifeCycleRule `json:"LifeCycleRules,omitnil,omitempty" name:"LifeCycleRules"` }
func NewModifyLifeCycleRulesRequest ¶
func NewModifyLifeCycleRulesRequest() (request *ModifyLifeCycleRulesRequest)
func (*ModifyLifeCycleRulesRequest) FromJsonString ¶
func (r *ModifyLifeCycleRulesRequest) FromJsonString(s string) error
FromJsonString 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 ModifyLifeCycleRulesRequestParams ¶ added in v1.0.426
type ModifyLifeCycleRulesRequestParams struct { // 多个生命周期规则,上限为10 LifeCycleRules []*LifeCycleRule `json:"LifeCycleRules,omitnil,omitempty" name:"LifeCycleRules"` }
Predefined struct for user
type ModifyLifeCycleRulesResponse ¶
type ModifyLifeCycleRulesResponse struct { *tchttp.BaseResponse Response *ModifyLifeCycleRulesResponseParams `json:"Response"` }
func NewModifyLifeCycleRulesResponse ¶
func NewModifyLifeCycleRulesResponse() (response *ModifyLifeCycleRulesResponse)
func (*ModifyLifeCycleRulesResponse) FromJsonString ¶
func (r *ModifyLifeCycleRulesResponse) FromJsonString(s string) error
FromJsonString 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 ModifyLifeCycleRulesResponseParams ¶ added in v1.0.426
type ModifyLifeCycleRulesResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyMountPointRequest ¶
type ModifyMountPointRequest struct { *tchttp.BaseRequest // 挂载点ID MountPointId *string `json:"MountPointId,omitnil,omitempty" name:"MountPointId"` // 挂载点名称 MountPointName *string `json:"MountPointName,omitnil,omitempty" name:"MountPointName"` // 挂载点状态 MountPointStatus *uint64 `json:"MountPointStatus,omitnil,omitempty" name:"MountPointStatus"` // 权限组ID AccessGroupId *string `json:"AccessGroupId,omitnil,omitempty" name:"AccessGroupId"` }
func NewModifyMountPointRequest ¶
func NewModifyMountPointRequest() (request *ModifyMountPointRequest)
func (*ModifyMountPointRequest) FromJsonString ¶
func (r *ModifyMountPointRequest) FromJsonString(s string) error
FromJsonString 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 ModifyMountPointRequestParams ¶ added in v1.0.426
type ModifyMountPointRequestParams struct { // 挂载点ID MountPointId *string `json:"MountPointId,omitnil,omitempty" name:"MountPointId"` // 挂载点名称 MountPointName *string `json:"MountPointName,omitnil,omitempty" name:"MountPointName"` // 挂载点状态 MountPointStatus *uint64 `json:"MountPointStatus,omitnil,omitempty" name:"MountPointStatus"` // 权限组ID AccessGroupId *string `json:"AccessGroupId,omitnil,omitempty" name:"AccessGroupId"` }
Predefined struct for user
type ModifyMountPointResponse ¶
type ModifyMountPointResponse struct { *tchttp.BaseResponse Response *ModifyMountPointResponseParams `json:"Response"` }
func NewModifyMountPointResponse ¶
func NewModifyMountPointResponse() (response *ModifyMountPointResponse)
func (*ModifyMountPointResponse) FromJsonString ¶
func (r *ModifyMountPointResponse) FromJsonString(s string) error
FromJsonString 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 ModifyMountPointResponseParams ¶ added in v1.0.426
type ModifyMountPointResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyResourceTagsRequest ¶
type ModifyResourceTagsRequest struct { *tchttp.BaseRequest // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 多个资源标签,可以为空数组 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewModifyResourceTagsRequest ¶
func NewModifyResourceTagsRequest() (request *ModifyResourceTagsRequest)
func (*ModifyResourceTagsRequest) FromJsonString ¶
func (r *ModifyResourceTagsRequest) FromJsonString(s string) error
FromJsonString 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 ModifyResourceTagsRequestParams ¶ added in v1.0.426
type ModifyResourceTagsRequestParams struct { // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 多个资源标签,可以为空数组 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type ModifyResourceTagsResponse ¶
type ModifyResourceTagsResponse struct { *tchttp.BaseResponse Response *ModifyResourceTagsResponseParams `json:"Response"` }
func NewModifyResourceTagsResponse ¶
func NewModifyResourceTagsResponse() (response *ModifyResourceTagsResponse)
func (*ModifyResourceTagsResponse) FromJsonString ¶
func (r *ModifyResourceTagsResponse) FromJsonString(s string) error
FromJsonString 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 ModifyResourceTagsResponseParams ¶ added in v1.0.426
type ModifyResourceTagsResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type MountPoint ¶
type MountPoint struct { // 挂载点ID MountPointId *string `json:"MountPointId,omitnil,omitempty" name:"MountPointId"` // 挂载点名称 MountPointName *string `json:"MountPointName,omitnil,omitempty" name:"MountPointName"` // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 权限组ID AccessGroupId *string `json:"AccessGroupId,omitnil,omitempty" name:"AccessGroupId"` // VPC网络ID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 挂载点状态(1:打开;2:关闭) Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // VPC网络类型 VpcType *uint64 `json:"VpcType,omitnil,omitempty" name:"VpcType"` }
type RestoreTask ¶
type RestoreTask struct { // 回热任务ID RestoreTaskId *uint64 `json:"RestoreTaskId,omitnil,omitempty" name:"RestoreTaskId"` // 回热任务文件路径 FilePath *string `json:"FilePath,omitnil,omitempty" name:"FilePath"` // 回热任务类型(1:标准;2:极速;3:批量) Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"` // 指定恢复出的临时副本的有效时长(单位天) Days *uint64 `json:"Days,omitnil,omitempty" name:"Days"` // 回热任务状态(1:绑定文件中;2:绑定文件完成;3:文件回热中;4:文件回热完成) Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` }