Documentation
¶
Index ¶
- Constants
- type AutoScaleUpRule
- type AutoSnapshotPolicyInfo
- type AvailableProtoStatus
- type AvailableRegion
- type AvailableType
- type AvailableZone
- type BindAutoSnapshotPolicyRequest
- type BindAutoSnapshotPolicyRequestParams
- type BindAutoSnapshotPolicyResponse
- type BindAutoSnapshotPolicyResponseParams
- type BucketInfo
- type Client
- func (c *Client) BindAutoSnapshotPolicy(request *BindAutoSnapshotPolicyRequest) (response *BindAutoSnapshotPolicyResponse, err error)
- func (c *Client) BindAutoSnapshotPolicyWithContext(ctx context.Context, request *BindAutoSnapshotPolicyRequest) (response *BindAutoSnapshotPolicyResponse, err error)
- func (c *Client) CreateAccessCert(request *CreateAccessCertRequest) (response *CreateAccessCertResponse, err error)
- func (c *Client) CreateAccessCertWithContext(ctx context.Context, request *CreateAccessCertRequest) (response *CreateAccessCertResponse, err error)
- func (c *Client) CreateAutoSnapshotPolicy(request *CreateAutoSnapshotPolicyRequest) (response *CreateAutoSnapshotPolicyResponse, err error)
- func (c *Client) CreateAutoSnapshotPolicyWithContext(ctx context.Context, request *CreateAutoSnapshotPolicyRequest) (response *CreateAutoSnapshotPolicyResponse, err error)
- func (c *Client) CreateCfsFileSystem(request *CreateCfsFileSystemRequest) (response *CreateCfsFileSystemResponse, err error)
- func (c *Client) CreateCfsFileSystemWithContext(ctx context.Context, request *CreateCfsFileSystemRequest) (response *CreateCfsFileSystemResponse, err error)
- func (c *Client) CreateCfsPGroup(request *CreateCfsPGroupRequest) (response *CreateCfsPGroupResponse, err error)
- func (c *Client) CreateCfsPGroupWithContext(ctx context.Context, request *CreateCfsPGroupRequest) (response *CreateCfsPGroupResponse, err error)
- func (c *Client) CreateCfsRule(request *CreateCfsRuleRequest) (response *CreateCfsRuleResponse, err error)
- func (c *Client) CreateCfsRuleWithContext(ctx context.Context, request *CreateCfsRuleRequest) (response *CreateCfsRuleResponse, err error)
- func (c *Client) CreateCfsSnapshot(request *CreateCfsSnapshotRequest) (response *CreateCfsSnapshotResponse, err error)
- func (c *Client) CreateCfsSnapshotWithContext(ctx context.Context, request *CreateCfsSnapshotRequest) (response *CreateCfsSnapshotResponse, err error)
- func (c *Client) CreateMigrationTask(request *CreateMigrationTaskRequest) (response *CreateMigrationTaskResponse, err error)
- func (c *Client) CreateMigrationTaskWithContext(ctx context.Context, request *CreateMigrationTaskRequest) (response *CreateMigrationTaskResponse, err error)
- func (c *Client) DeleteAutoSnapshotPolicy(request *DeleteAutoSnapshotPolicyRequest) (response *DeleteAutoSnapshotPolicyResponse, err error)
- func (c *Client) DeleteAutoSnapshotPolicyWithContext(ctx context.Context, request *DeleteAutoSnapshotPolicyRequest) (response *DeleteAutoSnapshotPolicyResponse, err error)
- func (c *Client) DeleteCfsFileSystem(request *DeleteCfsFileSystemRequest) (response *DeleteCfsFileSystemResponse, err error)
- func (c *Client) DeleteCfsFileSystemWithContext(ctx context.Context, request *DeleteCfsFileSystemRequest) (response *DeleteCfsFileSystemResponse, err error)
- func (c *Client) DeleteCfsPGroup(request *DeleteCfsPGroupRequest) (response *DeleteCfsPGroupResponse, err error)
- func (c *Client) DeleteCfsPGroupWithContext(ctx context.Context, request *DeleteCfsPGroupRequest) (response *DeleteCfsPGroupResponse, err error)
- func (c *Client) DeleteCfsRule(request *DeleteCfsRuleRequest) (response *DeleteCfsRuleResponse, err error)
- func (c *Client) DeleteCfsRuleWithContext(ctx context.Context, request *DeleteCfsRuleRequest) (response *DeleteCfsRuleResponse, err error)
- func (c *Client) DeleteCfsSnapshot(request *DeleteCfsSnapshotRequest) (response *DeleteCfsSnapshotResponse, err error)
- func (c *Client) DeleteCfsSnapshotWithContext(ctx context.Context, request *DeleteCfsSnapshotRequest) (response *DeleteCfsSnapshotResponse, err error)
- func (c *Client) DeleteMigrationTask(request *DeleteMigrationTaskRequest) (response *DeleteMigrationTaskResponse, err error)
- func (c *Client) DeleteMigrationTaskWithContext(ctx context.Context, request *DeleteMigrationTaskRequest) (response *DeleteMigrationTaskResponse, err error)
- func (c *Client) DeleteMountTarget(request *DeleteMountTargetRequest) (response *DeleteMountTargetResponse, err error)
- func (c *Client) DeleteMountTargetWithContext(ctx context.Context, request *DeleteMountTargetRequest) (response *DeleteMountTargetResponse, err error)
- func (c *Client) DeleteUserQuota(request *DeleteUserQuotaRequest) (response *DeleteUserQuotaResponse, err error)
- func (c *Client) DeleteUserQuotaWithContext(ctx context.Context, request *DeleteUserQuotaRequest) (response *DeleteUserQuotaResponse, err error)
- func (c *Client) DescribeAutoSnapshotPolicies(request *DescribeAutoSnapshotPoliciesRequest) (response *DescribeAutoSnapshotPoliciesResponse, err error)
- func (c *Client) DescribeAutoSnapshotPoliciesWithContext(ctx context.Context, request *DescribeAutoSnapshotPoliciesRequest) (response *DescribeAutoSnapshotPoliciesResponse, err error)
- func (c *Client) DescribeAvailableZoneInfo(request *DescribeAvailableZoneInfoRequest) (response *DescribeAvailableZoneInfoResponse, err error)
- func (c *Client) DescribeAvailableZoneInfoWithContext(ctx context.Context, request *DescribeAvailableZoneInfoRequest) (response *DescribeAvailableZoneInfoResponse, err error)
- func (c *Client) DescribeBucketList(request *DescribeBucketListRequest) (response *DescribeBucketListResponse, err error)
- func (c *Client) DescribeBucketListWithContext(ctx context.Context, request *DescribeBucketListRequest) (response *DescribeBucketListResponse, err error)
- func (c *Client) DescribeCfsFileSystemClients(request *DescribeCfsFileSystemClientsRequest) (response *DescribeCfsFileSystemClientsResponse, err error)
- func (c *Client) DescribeCfsFileSystemClientsWithContext(ctx context.Context, request *DescribeCfsFileSystemClientsRequest) (response *DescribeCfsFileSystemClientsResponse, err error)
- func (c *Client) DescribeCfsFileSystems(request *DescribeCfsFileSystemsRequest) (response *DescribeCfsFileSystemsResponse, err error)
- func (c *Client) DescribeCfsFileSystemsWithContext(ctx context.Context, request *DescribeCfsFileSystemsRequest) (response *DescribeCfsFileSystemsResponse, err error)
- func (c *Client) DescribeCfsPGroups(request *DescribeCfsPGroupsRequest) (response *DescribeCfsPGroupsResponse, err error)
- func (c *Client) DescribeCfsPGroupsWithContext(ctx context.Context, request *DescribeCfsPGroupsRequest) (response *DescribeCfsPGroupsResponse, err error)
- func (c *Client) DescribeCfsRules(request *DescribeCfsRulesRequest) (response *DescribeCfsRulesResponse, err error)
- func (c *Client) DescribeCfsRulesWithContext(ctx context.Context, request *DescribeCfsRulesRequest) (response *DescribeCfsRulesResponse, err error)
- func (c *Client) DescribeCfsServiceStatus(request *DescribeCfsServiceStatusRequest) (response *DescribeCfsServiceStatusResponse, err error)
- func (c *Client) DescribeCfsServiceStatusWithContext(ctx context.Context, request *DescribeCfsServiceStatusRequest) (response *DescribeCfsServiceStatusResponse, err error)
- func (c *Client) DescribeCfsSnapshotOverview(request *DescribeCfsSnapshotOverviewRequest) (response *DescribeCfsSnapshotOverviewResponse, err error)
- func (c *Client) DescribeCfsSnapshotOverviewWithContext(ctx context.Context, request *DescribeCfsSnapshotOverviewRequest) (response *DescribeCfsSnapshotOverviewResponse, err error)
- func (c *Client) DescribeCfsSnapshots(request *DescribeCfsSnapshotsRequest) (response *DescribeCfsSnapshotsResponse, err error)
- func (c *Client) DescribeCfsSnapshotsWithContext(ctx context.Context, request *DescribeCfsSnapshotsRequest) (response *DescribeCfsSnapshotsResponse, err error)
- func (c *Client) DescribeMigrationTasks(request *DescribeMigrationTasksRequest) (response *DescribeMigrationTasksResponse, err error)
- func (c *Client) DescribeMigrationTasksWithContext(ctx context.Context, request *DescribeMigrationTasksRequest) (response *DescribeMigrationTasksResponse, err error)
- func (c *Client) DescribeMountTargets(request *DescribeMountTargetsRequest) (response *DescribeMountTargetsResponse, err error)
- func (c *Client) DescribeMountTargetsWithContext(ctx context.Context, request *DescribeMountTargetsRequest) (response *DescribeMountTargetsResponse, err error)
- func (c *Client) DescribeSnapshotOperationLogs(request *DescribeSnapshotOperationLogsRequest) (response *DescribeSnapshotOperationLogsResponse, err error)
- func (c *Client) DescribeSnapshotOperationLogsWithContext(ctx context.Context, request *DescribeSnapshotOperationLogsRequest) (response *DescribeSnapshotOperationLogsResponse, err error)
- func (c *Client) DescribeUserQuota(request *DescribeUserQuotaRequest) (response *DescribeUserQuotaResponse, err error)
- func (c *Client) DescribeUserQuotaWithContext(ctx context.Context, request *DescribeUserQuotaRequest) (response *DescribeUserQuotaResponse, err error)
- func (c *Client) ModifyFileSystemAutoScaleUpRule(request *ModifyFileSystemAutoScaleUpRuleRequest) (response *ModifyFileSystemAutoScaleUpRuleResponse, err error)
- func (c *Client) ModifyFileSystemAutoScaleUpRuleWithContext(ctx context.Context, request *ModifyFileSystemAutoScaleUpRuleRequest) (response *ModifyFileSystemAutoScaleUpRuleResponse, err error)
- func (c *Client) ScaleUpFileSystem(request *ScaleUpFileSystemRequest) (response *ScaleUpFileSystemResponse, err error)
- func (c *Client) ScaleUpFileSystemWithContext(ctx context.Context, request *ScaleUpFileSystemRequest) (response *ScaleUpFileSystemResponse, err error)
- func (c *Client) SetUserQuota(request *SetUserQuotaRequest) (response *SetUserQuotaResponse, err error)
- func (c *Client) SetUserQuotaWithContext(ctx context.Context, request *SetUserQuotaRequest) (response *SetUserQuotaResponse, err error)
- func (c *Client) SignUpCfsService(request *SignUpCfsServiceRequest) (response *SignUpCfsServiceResponse, err error)
- func (c *Client) SignUpCfsServiceWithContext(ctx context.Context, request *SignUpCfsServiceRequest) (response *SignUpCfsServiceResponse, err error)
- func (c *Client) StopMigrationTask(request *StopMigrationTaskRequest) (response *StopMigrationTaskResponse, err error)
- func (c *Client) StopMigrationTaskWithContext(ctx context.Context, request *StopMigrationTaskRequest) (response *StopMigrationTaskResponse, err error)
- func (c *Client) UnbindAutoSnapshotPolicy(request *UnbindAutoSnapshotPolicyRequest) (response *UnbindAutoSnapshotPolicyResponse, err error)
- func (c *Client) UnbindAutoSnapshotPolicyWithContext(ctx context.Context, request *UnbindAutoSnapshotPolicyRequest) (response *UnbindAutoSnapshotPolicyResponse, err error)
- func (c *Client) UpdateAutoSnapshotPolicy(request *UpdateAutoSnapshotPolicyRequest) (response *UpdateAutoSnapshotPolicyResponse, err error)
- func (c *Client) UpdateAutoSnapshotPolicyWithContext(ctx context.Context, request *UpdateAutoSnapshotPolicyRequest) (response *UpdateAutoSnapshotPolicyResponse, err error)
- func (c *Client) UpdateCfsFileSystemName(request *UpdateCfsFileSystemNameRequest) (response *UpdateCfsFileSystemNameResponse, err error)
- func (c *Client) UpdateCfsFileSystemNameWithContext(ctx context.Context, request *UpdateCfsFileSystemNameRequest) (response *UpdateCfsFileSystemNameResponse, err error)
- func (c *Client) UpdateCfsFileSystemPGroup(request *UpdateCfsFileSystemPGroupRequest) (response *UpdateCfsFileSystemPGroupResponse, err error)
- func (c *Client) UpdateCfsFileSystemPGroupWithContext(ctx context.Context, request *UpdateCfsFileSystemPGroupRequest) (response *UpdateCfsFileSystemPGroupResponse, err error)
- func (c *Client) UpdateCfsFileSystemSizeLimit(request *UpdateCfsFileSystemSizeLimitRequest) (response *UpdateCfsFileSystemSizeLimitResponse, err error)
- func (c *Client) UpdateCfsFileSystemSizeLimitWithContext(ctx context.Context, request *UpdateCfsFileSystemSizeLimitRequest) (response *UpdateCfsFileSystemSizeLimitResponse, err error)
- func (c *Client) UpdateCfsPGroup(request *UpdateCfsPGroupRequest) (response *UpdateCfsPGroupResponse, err error)
- func (c *Client) UpdateCfsPGroupWithContext(ctx context.Context, request *UpdateCfsPGroupRequest) (response *UpdateCfsPGroupResponse, err error)
- func (c *Client) UpdateCfsRule(request *UpdateCfsRuleRequest) (response *UpdateCfsRuleResponse, err error)
- func (c *Client) UpdateCfsRuleWithContext(ctx context.Context, request *UpdateCfsRuleRequest) (response *UpdateCfsRuleResponse, err error)
- func (c *Client) UpdateCfsSnapshotAttribute(request *UpdateCfsSnapshotAttributeRequest) (response *UpdateCfsSnapshotAttributeResponse, err error)
- func (c *Client) UpdateCfsSnapshotAttributeWithContext(ctx context.Context, request *UpdateCfsSnapshotAttributeRequest) (response *UpdateCfsSnapshotAttributeResponse, err error)
- func (c *Client) UpdateFileSystemBandwidthLimit(request *UpdateFileSystemBandwidthLimitRequest) (response *UpdateFileSystemBandwidthLimitResponse, err error)
- func (c *Client) UpdateFileSystemBandwidthLimitWithContext(ctx context.Context, request *UpdateFileSystemBandwidthLimitRequest) (response *UpdateFileSystemBandwidthLimitResponse, err error)
- type CreateAccessCertRequest
- type CreateAccessCertRequestParams
- type CreateAccessCertResponse
- type CreateAccessCertResponseParams
- type CreateAutoSnapshotPolicyRequest
- type CreateAutoSnapshotPolicyRequestParams
- type CreateAutoSnapshotPolicyResponse
- type CreateAutoSnapshotPolicyResponseParams
- type CreateCfsFileSystemRequest
- type CreateCfsFileSystemRequestParams
- type CreateCfsFileSystemResponse
- type CreateCfsFileSystemResponseParams
- type CreateCfsPGroupRequest
- type CreateCfsPGroupRequestParams
- type CreateCfsPGroupResponse
- type CreateCfsPGroupResponseParams
- type CreateCfsRuleRequest
- type CreateCfsRuleRequestParams
- type CreateCfsRuleResponse
- type CreateCfsRuleResponseParams
- type CreateCfsSnapshotRequest
- type CreateCfsSnapshotRequestParams
- type CreateCfsSnapshotResponse
- type CreateCfsSnapshotResponseParams
- type CreateMigrationTaskRequest
- type CreateMigrationTaskRequestParams
- type CreateMigrationTaskResponse
- type CreateMigrationTaskResponseParams
- type DeleteAutoSnapshotPolicyRequest
- type DeleteAutoSnapshotPolicyRequestParams
- type DeleteAutoSnapshotPolicyResponse
- type DeleteAutoSnapshotPolicyResponseParams
- type DeleteCfsFileSystemRequest
- type DeleteCfsFileSystemRequestParams
- type DeleteCfsFileSystemResponse
- type DeleteCfsFileSystemResponseParams
- type DeleteCfsPGroupRequest
- type DeleteCfsPGroupRequestParams
- type DeleteCfsPGroupResponse
- type DeleteCfsPGroupResponseParams
- type DeleteCfsRuleRequest
- type DeleteCfsRuleRequestParams
- type DeleteCfsRuleResponse
- type DeleteCfsRuleResponseParams
- type DeleteCfsSnapshotRequest
- type DeleteCfsSnapshotRequestParams
- type DeleteCfsSnapshotResponse
- type DeleteCfsSnapshotResponseParams
- type DeleteMigrationTaskRequest
- type DeleteMigrationTaskRequestParams
- type DeleteMigrationTaskResponse
- type DeleteMigrationTaskResponseParams
- type DeleteMountTargetRequest
- type DeleteMountTargetRequestParams
- type DeleteMountTargetResponse
- type DeleteMountTargetResponseParams
- type DeleteUserQuotaRequest
- type DeleteUserQuotaRequestParams
- type DeleteUserQuotaResponse
- type DeleteUserQuotaResponseParams
- type DescribeAutoSnapshotPoliciesRequest
- type DescribeAutoSnapshotPoliciesRequestParams
- type DescribeAutoSnapshotPoliciesResponse
- type DescribeAutoSnapshotPoliciesResponseParams
- type DescribeAvailableZoneInfoRequest
- type DescribeAvailableZoneInfoRequestParams
- type DescribeAvailableZoneInfoResponse
- type DescribeAvailableZoneInfoResponseParams
- type DescribeBucketListRequest
- type DescribeBucketListRequestParams
- type DescribeBucketListResponse
- type DescribeBucketListResponseParams
- type DescribeCfsFileSystemClientsRequest
- type DescribeCfsFileSystemClientsRequestParams
- type DescribeCfsFileSystemClientsResponse
- type DescribeCfsFileSystemClientsResponseParams
- type DescribeCfsFileSystemsRequest
- type DescribeCfsFileSystemsRequestParams
- type DescribeCfsFileSystemsResponse
- type DescribeCfsFileSystemsResponseParams
- type DescribeCfsPGroupsRequest
- type DescribeCfsPGroupsRequestParams
- type DescribeCfsPGroupsResponse
- type DescribeCfsPGroupsResponseParams
- type DescribeCfsRulesRequest
- type DescribeCfsRulesRequestParams
- type DescribeCfsRulesResponse
- type DescribeCfsRulesResponseParams
- type DescribeCfsServiceStatusRequest
- type DescribeCfsServiceStatusRequestParams
- type DescribeCfsServiceStatusResponse
- type DescribeCfsServiceStatusResponseParams
- type DescribeCfsSnapshotOverviewRequest
- type DescribeCfsSnapshotOverviewRequestParams
- type DescribeCfsSnapshotOverviewResponse
- type DescribeCfsSnapshotOverviewResponseParams
- type DescribeCfsSnapshotsRequest
- type DescribeCfsSnapshotsRequestParams
- type DescribeCfsSnapshotsResponse
- type DescribeCfsSnapshotsResponseParams
- type DescribeMigrationTasksRequest
- type DescribeMigrationTasksRequestParams
- type DescribeMigrationTasksResponse
- type DescribeMigrationTasksResponseParams
- type DescribeMountTargetsRequest
- type DescribeMountTargetsRequestParams
- type DescribeMountTargetsResponse
- type DescribeMountTargetsResponseParams
- type DescribeSnapshotOperationLogsRequest
- type DescribeSnapshotOperationLogsRequestParams
- type DescribeSnapshotOperationLogsResponse
- type DescribeSnapshotOperationLogsResponseParams
- type DescribeUserQuotaRequest
- type DescribeUserQuotaRequestParams
- type DescribeUserQuotaResponse
- type DescribeUserQuotaResponseParams
- type FileSystemByPolicy
- type FileSystemClient
- type FileSystemInfo
- type Filter
- type MigrationTaskInfo
- type ModifyFileSystemAutoScaleUpRuleRequest
- type ModifyFileSystemAutoScaleUpRuleRequestParams
- type ModifyFileSystemAutoScaleUpRuleResponse
- type ModifyFileSystemAutoScaleUpRuleResponseParams
- type MountInfo
- type PGroup
- type PGroupInfo
- type PGroupRuleInfo
- type ScaleUpFileSystemRequest
- type ScaleUpFileSystemRequestParams
- type ScaleUpFileSystemResponse
- type ScaleUpFileSystemResponseParams
- type SetUserQuotaRequest
- type SetUserQuotaRequestParams
- type SetUserQuotaResponse
- type SetUserQuotaResponseParams
- type SignUpCfsServiceRequest
- type SignUpCfsServiceRequestParams
- type SignUpCfsServiceResponse
- type SignUpCfsServiceResponseParams
- type SnapshotInfo
- type SnapshotOperateLog
- type SnapshotStatistics
- type StopMigrationTaskRequest
- type StopMigrationTaskRequestParams
- type StopMigrationTaskResponse
- type StopMigrationTaskResponseParams
- type TagInfo
- type TieringDetailInfo
- type UnbindAutoSnapshotPolicyRequest
- type UnbindAutoSnapshotPolicyRequestParams
- type UnbindAutoSnapshotPolicyResponse
- type UnbindAutoSnapshotPolicyResponseParams
- type UpdateAutoSnapshotPolicyRequest
- type UpdateAutoSnapshotPolicyRequestParams
- type UpdateAutoSnapshotPolicyResponse
- type UpdateAutoSnapshotPolicyResponseParams
- type UpdateCfsFileSystemNameRequest
- type UpdateCfsFileSystemNameRequestParams
- type UpdateCfsFileSystemNameResponse
- type UpdateCfsFileSystemNameResponseParams
- type UpdateCfsFileSystemPGroupRequest
- type UpdateCfsFileSystemPGroupRequestParams
- type UpdateCfsFileSystemPGroupResponse
- type UpdateCfsFileSystemPGroupResponseParams
- type UpdateCfsFileSystemSizeLimitRequest
- type UpdateCfsFileSystemSizeLimitRequestParams
- type UpdateCfsFileSystemSizeLimitResponse
- type UpdateCfsFileSystemSizeLimitResponseParams
- type UpdateCfsPGroupRequest
- type UpdateCfsPGroupRequestParams
- type UpdateCfsPGroupResponse
- type UpdateCfsPGroupResponseParams
- type UpdateCfsRuleRequest
- type UpdateCfsRuleRequestParams
- type UpdateCfsRuleResponse
- type UpdateCfsRuleResponseParams
- type UpdateCfsSnapshotAttributeRequest
- type UpdateCfsSnapshotAttributeRequestParams
- type UpdateCfsSnapshotAttributeResponse
- type UpdateCfsSnapshotAttributeResponseParams
- type UpdateFileSystemBandwidthLimitRequest
- type UpdateFileSystemBandwidthLimitRequestParams
- type UpdateFileSystemBandwidthLimitResponse
- type UpdateFileSystemBandwidthLimitResponseParams
- type UserQuota
Constants ¶
const ( // CAM签名/鉴权错误。 AUTHFAILURE = "AuthFailure" // 获取CFS服务角色错误 AUTHFAILURE_GETROLEFAILED = "AuthFailure.GetRoleFailed" // 请求未CAM授权。 AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" // 操作失败。 FAILEDOPERATION = "FailedOperation" // 调整频率超限 FAILEDOPERATION_ADJUSTFREQUENCYLIMIT = "FailedOperation.AdjustFrequencyLimit" // 文件系统绑定资源包失败。 FAILEDOPERATION_BINDRESOURCEPKGFAILED = "FailedOperation.BindResourcePkgFailed" // 资源正在创建中。 FAILEDOPERATION_CLIENTTOKENINUSE = "FailedOperation.ClientTokenInUse" // 文件系统存在挂载点。 FAILEDOPERATION_MOUNTTARGETEXISTS = "FailedOperation.MountTargetExists" // 权限组已绑定文件系统。 FAILEDOPERATION_PGROUPINUSE = "FailedOperation.PgroupInUse" // 权限组正在更新中。 FAILEDOPERATION_PGROUPISUPDATING = "FailedOperation.PgroupIsUpdating" // 该权限组关联了旧版本实例,请解除关联后重试。 FAILEDOPERATION_PGROUPLINKCFSV10 = "FailedOperation.PgroupLinkCfsv10" // 解绑资源标签失败。 FAILEDOPERATION_UNTAGRESOURCEFAILED = "FailedOperation.UntagResourceFailed" // 内部错误。 INTERNALERROR = "InternalError" // 创建文件系统失败。 INTERNALERROR_CREATEFSFAILED = "InternalError.CreateFsFailed" // 获取用户费用状态失败。 INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" // 参数错误。 INVALIDPARAMETER = "InvalidParameter" // 快照策略未找到。 INVALIDPARAMETER_AUTOPOLICYNOTFOUND = "InvalidParameter.AutoPolicyNotFound" // 无效的快照保留时间。 INVALIDPARAMETER_INVALIDALIVEDDAYS = "InvalidParameter.InvalidAlivedDays" // 定期星期参数无效。 INVALIDPARAMETER_INVALIDPARAMDAYOFWEEK = "InvalidParameter.InvalidParamDayofWeek" // 定期小时 参数值错误。 INVALIDPARAMETER_INVALIDPARAMHOUR = "InvalidParameter.InvalidParamHour" // 无效的快照策略状态。 INVALIDPARAMETER_INVALIDSNAPPOLICYSTATUS = "InvalidParameter.InvalidSnapPolicyStatus" // 无效的文件系统快照参数名称 。 INVALIDPARAMETER_INVALIDSNAPSHOTNAME = "InvalidParameter.InvalidSnapshotName" // 无效的文件系统快照策略名称。 INVALIDPARAMETER_INVALIDSNAPSHOTPOLICYNAME = "InvalidParameter.InvalidSnapshotPolicyName" // 缺少策略相关参数。 INVALIDPARAMETER_MISSINGPOLICYPARAM = "InvalidParameter.MissingPolicyParam" // 文件系统快照名称超出上限。 INVALIDPARAMETER_SNAPSHOTNAMELIMITEXCEEDED = "InvalidParameter.SnapshotNameLimitExceeded" // 文件系统快照策略名称超过限制。 INVALIDPARAMETER_SNAPSHOTPOLICYNAMELIMITEXCEEDED = "InvalidParameter.SnapshotPolicyNameLimitExceeded" // 参数取值错误。 INVALIDPARAMETERVALUE = "InvalidParameterValue" // 自动扩容策略不存在 INVALIDPARAMETERVALUE_AUTOPOLICYNOTFOUND = "InvalidParameterValue.AutoPolicyNotFound" // 无效的文件系统路径 INVALIDPARAMETERVALUE_CFSPATH = "InvalidParameterValue.CfsPath" // 用于保证请求幂等性的字符串长度超过限制(不能超过64字节)。 INVALIDPARAMETERVALUE_CLIENTTOKENLIMITEXCEEDED = "InvalidParameterValue.ClientTokenLimitExceeded" // 权限组名称重复。 INVALIDPARAMETERVALUE_DUPLICATEDPGROUPNAME = "InvalidParameterValue.DuplicatedPgroupName" // 规则IP重复。 INVALIDPARAMETERVALUE_DUPLICATEDRULEAUTHCLIENTIP = "InvalidParameterValue.DuplicatedRuleAuthClientIp" // 标签键重复 INVALIDPARAMETERVALUE_DUPLICATEDTAGKEY = "InvalidParameterValue.DuplicatedTagKey" // 用户自定义名称过长(超过64字节)。 INVALIDPARAMETERVALUE_FSNAMELIMITEXCEEDED = "InvalidParameterValue.FsNameLimitExceeded" // 文件系统配额设置超出上限。 INVALIDPARAMETERVALUE_FSSIZELIMITEXCEEDED = "InvalidParameterValue.FsSizeLimitExceeded" // 无效的AliveDays值错误 INVALIDPARAMETERVALUE_INVALIDALIVEDAYS = "InvalidParameterValue.InvalidAliveDays" // 规则IP错误。 INVALIDPARAMETERVALUE_INVALIDAUTHCLIENTIP = "InvalidParameterValue.InvalidAuthClientIp" // 扩容策略参数无效 INVALIDPARAMETERVALUE_INVALIDAUTOSCALEUPPARAMS = "InvalidParameterValue.InvalidAutoScaleUpParams" // 用于保证请求幂等性的字符串错误。 INVALIDPARAMETERVALUE_INVALIDCLIENTTOKEN = "InvalidParameterValue.InvalidClientToken" // 快照跨地域复制参数不支持该地域 INVALIDPARAMETERVALUE_INVALIDDESTINATIONREGIONS = "InvalidParameterValue.InvalidDestinationRegions" // 加密参数错误。 INVALIDPARAMETERVALUE_INVALIDENCRYPTED = "InvalidParameterValue.InvalidEncrypted" // FileSystemId无效。 INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" // 无效的自定义名称。 INVALIDPARAMETERVALUE_INVALIDFSNAME = "InvalidParameterValue.InvalidFsName" // 无效的文件系统配额。 INVALIDPARAMETERVALUE_INVALIDFSSIZELIMIT = "InvalidParameterValue.InvalidFsSizeLimit" // 无效的文件系统状态。 INVALIDPARAMETERVALUE_INVALIDFSSTATUS = "InvalidParameterValue.InvalidFsStatus" // 错误的挂载点IP。 INVALIDPARAMETERVALUE_INVALIDMOUNTTARGETIP = "InvalidParameterValue.InvalidMountTargetIp" // 无效的网络类型。 INVALIDPARAMETERVALUE_INVALIDNETINTERFACE = "InvalidParameterValue.InvalidNetInterface" // DayOfMonth 参数错误 INVALIDPARAMETERVALUE_INVALIDPARAMDAYOFMONTH = "InvalidParameterValue.InvalidParamDayOfMonth" // 无效的参数,DayOfWeek INVALIDPARAMETERVALUE_INVALIDPARAMDAYOFWEEK = "InvalidParameterValue.InvalidParamDayOfWeek" // IntervalDays 参数值错误 INVALIDPARAMETERVALUE_INVALIDPARAMINTERVALDAYS = "InvalidParameterValue.InvalidParamIntervalDays" // 权限组不属于该用户。 INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" // 权限组ID无效。 INVALIDPARAMETERVALUE_INVALIDPGROUPID = "InvalidParameterValue.InvalidPgroupId" // 无效的权限组名称。 INVALIDPARAMETERVALUE_INVALIDPGROUPNAME = "InvalidParameterValue.InvalidPgroupName" // 目录路径中包含无效字符。 INVALIDPARAMETERVALUE_INVALIDPOLICYFSPATH = "InvalidParameterValue.InvalidPolicyFsPath" // 优先级设置错误。 INVALIDPARAMETERVALUE_INVALIDPRIORITY = "InvalidParameterValue.InvalidPriority" // 协议参数错误。 INVALIDPARAMETERVALUE_INVALIDPROTOCOL = "InvalidParameterValue.InvalidProtocol" // 用户区域选择错误 (ZoneName) 或 (ZoneId, Region)二者必选一。 INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" // 参数值错误: 资源标签值错误。 INVALIDPARAMETERVALUE_INVALIDRESOURCETAGS = "InvalidParameterValue.InvalidResourceTags" // 读写权限设置错误。 INVALIDPARAMETERVALUE_INVALIDRWPERMISSION = "InvalidParameterValue.InvalidRwPermission" // 扩容目标容量参数错误 INVALIDPARAMETERVALUE_INVALIDSCALEUPTARGETCAPACITY = "InvalidParameterValue.InvalidScaleupTargetCapacity" // 无效的快照策略状态 INVALIDPARAMETERVALUE_INVALIDSNAPPOLICYSTATUS = "InvalidParameterValue.InvalidSnapPolicyStatus" // 无效的快照名称 INVALIDPARAMETERVALUE_INVALIDSNAPSHOTNAME = "InvalidParameterValue.InvalidSnapshotName" // 无效的快照策略名称 INVALIDPARAMETERVALUE_INVALIDSNAPSHOTPOLICYNAME = "InvalidParameterValue.InvalidSnapshotPolicyName" // 无效的快照状态。 INVALIDPARAMETERVALUE_INVALIDSNAPSHOTSTATUS = "InvalidParameterValue.InvalidSnapshotStatus" // 资源包不存在或已绑定。 INVALIDPARAMETERVALUE_INVALIDSTORAGERESOURCEPKG = "InvalidParameterValue.InvalidStorageResourcePkg" // 存储类型参数错误。 INVALIDPARAMETERVALUE_INVALIDSTORAGETYPE = "InvalidParameterValue.InvalidStorageType" // 无效的子网ID。 INVALIDPARAMETERVALUE_INVALIDSUBNETID = "InvalidParameterValue.InvalidSubnetId" // 标签键不能为空。 INVALIDPARAMETERVALUE_INVALIDTAGKEY = "InvalidParameterValue.InvalidTagKey" // 标签值为空或字符无效。 INVALIDPARAMETERVALUE_INVALIDTAGVALUE = "InvalidParameterValue.InvalidTagValue" // 无效的容量值。 INVALIDPARAMETERVALUE_INVALIDTURBOCAPACITY = "InvalidParameterValue.InvalidTurboCapacity" // 用户权限设置错误。 INVALIDPARAMETERVALUE_INVALIDUSERPERMISSION = "InvalidParameterValue.InvalidUserPermission" // 用户指定不可用的vip。 INVALIDPARAMETERVALUE_INVALIDVIP = "InvalidParameterValue.InvalidVip" // 无效的VPCID。 INVALIDPARAMETERVALUE_INVALIDVPCID = "InvalidParameterValue.InvalidVpcId" // VPC参数错误。 INVALIDPARAMETERVALUE_INVALIDVPCPARAMETER = "InvalidParameterValue.InvalidVpcParameter" // 无效的可用区。 INVALIDPARAMETERVALUE_INVALIDZONEID = "InvalidParameterValue.InvalidZoneId" // 无效的可用区或可用区ID。 INVALIDPARAMETERVALUE_INVALIDZONEORZONEID = "InvalidParameterValue.InvalidZoneOrZoneId" // FileSystemId缺失。 INVALIDPARAMETERVALUE_MISSINGFILESYSTEMID = "InvalidParameterValue.MissingFileSystemId" // 用户参数选择错误 (FileSystemId) 或 (Region)二者必选一。 INVALIDPARAMETERVALUE_MISSINGFILESYSTEMIDORREGION = "InvalidParameterValue.MissingFileSystemIdOrRegion" // FileSystem参数缺失。 INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" // 密钥ID或ARN参数缺失。 INVALIDPARAMETERVALUE_MISSINGKMSKEYID = "InvalidParameterValue.MissingKmsKeyId" // 权限组名称和描述不能同时为空。 INVALIDPARAMETERVALUE_MISSINGNAMEORDESCINFO = "InvalidParameterValue.MissingNameOrDescinfo" // 权限组名称不能为空。 INVALIDPARAMETERVALUE_MISSINGPGROUPNAME = "InvalidParameterValue.MissingPgroupName" // 缺少快照策略参数 INVALIDPARAMETERVALUE_MISSINGPOLICYPARAM = "InvalidParameterValue.MissingPolicyParam" // 缺少参数Snapshot Name,或者aliveDays INVALIDPARAMETERVALUE_MISSINGSNAPNAMEORALIVEDAY = "InvalidParameterValue.MissingSnapNameOrAliveDay" // 未绑定存储包。 INVALIDPARAMETERVALUE_MISSINGSTORAGERESOURCEPKG = "InvalidParameterValue.MissingStorageResourcePkg" // SUBNETID和UNSUBNETID不能同时为空。 INVALIDPARAMETERVALUE_MISSINGSUBNETIDORUNSUBNETID = "InvalidParameterValue.MissingSubnetidOrUnsubnetid" // VPC相关参数缺失。 INVALIDPARAMETERVALUE_MISSINGVPCPARAMETER = "InvalidParameterValue.MissingVpcParameter" // VPCID和UNVPCID不能同时为空。 INVALIDPARAMETERVALUE_MISSINGVPCIDORUNVPCID = "InvalidParameterValue.MissingVpcidOrUnvpcid" // ZoneID缺失。 INVALIDPARAMETERVALUE_MISSINGZONEID = "InvalidParameterValue.MissingZoneId" // 用户区域选择错误 (Zone) 或 (Zone_id)二者必选一。 INVALIDPARAMETERVALUE_MISSINGZONEORZONEID = "InvalidParameterValue.MissingZoneOrZoneId" // 权限组描述长度超过限制(不能超过255字节)。 INVALIDPARAMETERVALUE_PGROUPDESCINFOLIMITEXCEEDED = "InvalidParameterValue.PgroupDescinfoLimitExceeded" // 权限组名称长度超过限制(不能超过64字节)。 INVALIDPARAMETERVALUE_PGROUPNAMELIMITEXCEEDED = "InvalidParameterValue.PgroupNameLimitExceeded" // 目录配额设置的目录嵌套 INVALIDPARAMETERVALUE_PROJECTQUOTASDIRNESTED = "InvalidParameterValue.ProjectQuotasDirNested" // 目录配额数量超限 INVALIDPARAMETERVALUE_PROJECTQUOTASEXCEEDED = "InvalidParameterValue.ProjectQuotasExceeded" // 容量硬限制取值范围错误。 INVALIDPARAMETERVALUE_QUOTACAPLIMITERROR = "InvalidParameterValue.QuotaCapLimitError" // 文件硬限制取值范围错误。 INVALIDPARAMETERVALUE_QUOTAFILELIMITERROR = "InvalidParameterValue.QuotaFileLimitError" // USER ID类型错误。 INVALIDPARAMETERVALUE_QUOTAUSERIDERROR = "InvalidParameterValue.QuotaUserIdError" // 配额类型错误。 INVALIDPARAMETERVALUE_QUOTAUSERTYPEERROR = "InvalidParameterValue.QuotaUserTypeError" // 权限组规则和权限组不匹配。 INVALIDPARAMETERVALUE_RULENOTMATCHPGROUP = "InvalidParameterValue.RuleNotMatchPgroup" // 快照名称超限制,名称长度不超过64位字符 INVALIDPARAMETERVALUE_SNAPSHOTNAMELIMITEXCEEDED = "InvalidParameterValue.SnapshotNameLimitExceeded" // 快照策略名称超过64位限制 INVALIDPARAMETERVALUE_SNAPSHOTPOLICYNAMELIMITEXCEEDED = "InvalidParameterValue.SnapshotPolicyNameLimitExceeded" // 参数值错误: 标签键个数超过上限(6个)。 INVALIDPARAMETERVALUE_TAGKEYFILTERLIMITEXCEEDED = "InvalidParameterValue.TagKeyFilterLimitExceeded" // 标签键长度超过限制(不能超过127字节)。 INVALIDPARAMETERVALUE_TAGKEYLIMITEXCEEDED = "InvalidParameterValue.TagKeyLimitExceeded" // 标签值个数超过上限(10个)。 INVALIDPARAMETERVALUE_TAGVALUEFILTERLIMITEXCEEDED = "InvalidParameterValue.TagValueFilterLimitExceeded" // 标签值长度超过限制(不能超过255字节)。 INVALIDPARAMETERVALUE_TAGVALUELIMITEXCEEDED = "InvalidParameterValue.TagValueLimitExceeded" // 该可用区无法提供服务。 INVALIDPARAMETERVALUE_UNAVAILABLEREGION = "InvalidParameterValue.UnavailableRegion" // 该地域无法提供服务。 INVALIDPARAMETERVALUE_UNAVAILABLEZONE = "InvalidParameterValue.UnavailableZone" // ZoneId和Region不匹配。 INVALIDPARAMETERVALUE_ZONEIDREGIONNOTMATCH = "InvalidParameterValue.ZoneIdRegionNotMatch" // 缺少参数错误。 MISSINGPARAMETER = "MissingParameter" // 操作被拒绝。 OPERATIONDENIED = "OperationDenied" // 资源被占用。 RESOURCEINUSE = "ResourceInUse" // 文件系统数量达到上限。 RESOURCEINSUFFICIENT_FILESYSTEMLIMITEXCEEDED = "ResourceInsufficient.FileSystemLimitExceeded" // 权限组数量达到上限。 RESOURCEINSUFFICIENT_PGROUPNUMBERLIMITEXCEEDED = "ResourceInsufficient.PgroupNumberLimitExceeded" // 区域资源售罄。 RESOURCEINSUFFICIENT_REGIONSOLDOUT = "ResourceInsufficient.RegionSoldOut" // 规则条数超过上限。 RESOURCEINSUFFICIENT_RULELIMITEXCEEDED = "ResourceInsufficient.RuleLimitExceeded" // 文件系统过大,不支持快照 RESOURCEINSUFFICIENT_SNAPSHOTSIZELIMITEXCEEDED = "ResourceInsufficient.SnapshotSizeLimitExceeded" // 该子网下IP数量不足 RESOURCEINSUFFICIENT_SUBNETIPALLOCCUPIED = "ResourceInsufficient.SubnetIpAllOccupied" // 该资源的标签个数达到最大限制。 RESOURCEINSUFFICIENT_TAGLIMITEXCEEDED = "ResourceInsufficient.TagLimitExceeded" // 标签限额不足。 RESOURCEINSUFFICIENT_TAGQUOTASEXCEEDED = "ResourceInsufficient.TagQuotasExceeded" // Turbo类型特殊容量文件系统数量限制 RESOURCEINSUFFICIENT_TURBOSPECIALCAPACITYFILESYSTEMCOUNTLIMIT = "ResourceInsufficient.TurboSpecialCapacityFileSystemCountLimit" // 资源不存在。 RESOURCENOTFOUND = "ResourceNotFound" // 该文件系统不存在。 RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" // 文件系统不存在。 RESOURCENOTFOUND_FSNOTEXIST = "ResourceNotFound.FsNotExist" // 挂载点不存在。 RESOURCENOTFOUND_MOUNTTARGETNOTFOUND = "ResourceNotFound.MountTargetNotFound" // 权限组不存在。 RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" // 资源不存在:资源ID 不存在。 RESOURCENOTFOUND_RESOURCEPACKAGENOTFOUND = "ResourceNotFound.ResourcePackageNotFound" // 权限规则不存在。 RESOURCENOTFOUND_RULENOTFOUND = "ResourceNotFound.RuleNotFound" // 快照ID 不存在。 RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound" // 未授权操作。 UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // 操作不支持。 UNSUPPORTEDOPERATION = "UnsupportedOperation" // 该可用区不支持基础网络。 UNSUPPORTEDOPERATION_BASICNETINTERFACENOTSUPPORTED = "UnsupportedOperation.BasicNetInterfaceNotSupported" // appid不在kms白名单(kms目前是白名单开启状态)。 UNSUPPORTEDOPERATION_MISSINGKMSACCESSPERMISSION = "UnsupportedOperation.MissingKmsAccessPermission" // 用户已欠费, 请充值后重试。 UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" // cfs角色未被授权。 UNSUPPORTEDOPERATION_UNAUTHORIZEDCFSQCSROLE = "UnsupportedOperation.UnauthorizedCfsQcsRole" // 用户未经过实名认证。 UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser" )
const APIVersion = "2019-07-19"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoScaleUpRule ¶ added in v1.0.1036
type AutoScaleUpRule struct { // 自动扩容策略开启,关闭 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 集群用量占比,到达这个值后开始扩容,范围[10-90] ScaleThreshold *uint64 `json:"ScaleThreshold,omitnil,omitempty" name:"ScaleThreshold"` // 扩容后使用量跟集群总量比例,范围[1-90] TargetThreshold *uint64 `json:"TargetThreshold,omitnil,omitempty" name:"TargetThreshold"` }
type AutoSnapshotPolicyInfo ¶ added in v1.0.493
type AutoSnapshotPolicyInfo struct { // 快照策略ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // 快照策略ID PolicyName *string `json:"PolicyName,omitnil,omitempty" name:"PolicyName"` // 快照策略创建时间 CreationTime *string `json:"CreationTime,omitnil,omitempty" name:"CreationTime"` // 关联的文件系统个数 FileSystemNums *uint64 `json:"FileSystemNums,omitnil,omitempty" name:"FileSystemNums"` // 快照定期备份在一星期哪一天,该参数与DayOfMonth,IntervalDays互斥 DayOfWeek *string `json:"DayOfWeek,omitnil,omitempty" name:"DayOfWeek"` // 快照定期备份在一天的哪一小时 Hour *string `json:"Hour,omitnil,omitempty" name:"Hour"` // 是否激活定期快照功能,1代表已激活,0代表未激活 IsActivated *uint64 `json:"IsActivated,omitnil,omitempty" name:"IsActivated"` // 下一次触发快照时间 NextActiveTime *string `json:"NextActiveTime,omitnil,omitempty" name:"NextActiveTime"` // 快照策略状态,1代表快照策略状态正常。这里只有一种状态 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 账号ID AppId *uint64 `json:"AppId,omitnil,omitempty" name:"AppId"` // 保留时间 AliveDays *uint64 `json:"AliveDays,omitnil,omitempty" name:"AliveDays"` // 地域 RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"` // 文件系统信息 FileSystems []*FileSystemByPolicy `json:"FileSystems,omitnil,omitempty" name:"FileSystems"` // 快照定期备份在一个月的某个时间;该参数与DayOfWeek,IntervalDays互斥 // 注意:此字段可能返回 null,表示取不到有效值。 DayOfMonth *string `json:"DayOfMonth,omitnil,omitempty" name:"DayOfMonth"` // 快照定期间隔天数,1-365 天;该参数与DayOfMonth,DayOfWeek互斥 // 注意:此字段可能返回 null,表示取不到有效值。 IntervalDays *uint64 `json:"IntervalDays,omitnil,omitempty" name:"IntervalDays"` // 跨地域复制的快照保留时间,单位天 CrossRegionsAliveDays *uint64 `json:"CrossRegionsAliveDays,omitnil,omitempty" name:"CrossRegionsAliveDays"` }
type AvailableProtoStatus ¶
type AvailableRegion ¶
type AvailableRegion struct { // 区域名称,如“ap-beijing” Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 区域名称,如“bj” RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"` // 区域可用情况,当区域内至少有一个可用区处于可售状态时,取值为AVAILABLE,否则为UNAVAILABLE RegionStatus *string `json:"RegionStatus,omitnil,omitempty" name:"RegionStatus"` // 可用区数组 Zones []*AvailableZone `json:"Zones,omitnil,omitempty" name:"Zones"` // 区域中文名称,如“广州” RegionCnName *string `json:"RegionCnName,omitnil,omitempty" name:"RegionCnName"` }
type AvailableType ¶
type AvailableType struct { // 协议与售卖详情 Protocols []*AvailableProtoStatus `json:"Protocols,omitnil,omitempty" name:"Protocols"` // 存储类型。返回值中 SD 为通用标准型存储, HP为通用性能型存储, TB为Turbo标准型, TP 为Turbo性能型。 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 是否支持预付费。返回值中 true 为支持、false 为不支持 Prepayment *bool `json:"Prepayment,omitnil,omitempty" name:"Prepayment"` }
type AvailableZone ¶
type AvailableZone struct { // 可用区名称 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 可用区ID ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 可用区中文名称 ZoneCnName *string `json:"ZoneCnName,omitnil,omitempty" name:"ZoneCnName"` // Type数组 Types []*AvailableType `json:"Types,omitnil,omitempty" name:"Types"` // 可用区中英文名称 ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"` }
type BindAutoSnapshotPolicyRequest ¶ added in v1.0.493
type BindAutoSnapshotPolicyRequest struct { *tchttp.BaseRequest // 快照策略ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // 文件系统列表 FileSystemIds *string `json:"FileSystemIds,omitnil,omitempty" name:"FileSystemIds"` }
func NewBindAutoSnapshotPolicyRequest ¶ added in v1.0.493
func NewBindAutoSnapshotPolicyRequest() (request *BindAutoSnapshotPolicyRequest)
func (*BindAutoSnapshotPolicyRequest) FromJsonString ¶ added in v1.0.493
func (r *BindAutoSnapshotPolicyRequest) 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 (*BindAutoSnapshotPolicyRequest) ToJsonString ¶ added in v1.0.493
func (r *BindAutoSnapshotPolicyRequest) ToJsonString() string
type BindAutoSnapshotPolicyRequestParams ¶ added in v1.0.493
type BindAutoSnapshotPolicyRequestParams struct { // 快照策略ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // 文件系统列表 FileSystemIds *string `json:"FileSystemIds,omitnil,omitempty" name:"FileSystemIds"` }
Predefined struct for user
type BindAutoSnapshotPolicyResponse ¶ added in v1.0.493
type BindAutoSnapshotPolicyResponse struct { *tchttp.BaseResponse Response *BindAutoSnapshotPolicyResponseParams `json:"Response"` }
func NewBindAutoSnapshotPolicyResponse ¶ added in v1.0.493
func NewBindAutoSnapshotPolicyResponse() (response *BindAutoSnapshotPolicyResponse)
func (*BindAutoSnapshotPolicyResponse) FromJsonString ¶ added in v1.0.493
func (r *BindAutoSnapshotPolicyResponse) 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 (*BindAutoSnapshotPolicyResponse) ToJsonString ¶ added in v1.0.493
func (r *BindAutoSnapshotPolicyResponse) ToJsonString() string
type BindAutoSnapshotPolicyResponseParams ¶ added in v1.0.493
type BindAutoSnapshotPolicyResponseParams struct { // 快照策略ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type BucketInfo ¶ added in v1.0.639
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) BindAutoSnapshotPolicy ¶ added in v1.0.493
func (c *Client) BindAutoSnapshotPolicy(request *BindAutoSnapshotPolicyRequest) (response *BindAutoSnapshotPolicyResponse, err error)
BindAutoSnapshotPolicy 文件系统绑定快照策略,可以同时绑定多个fs,一个fs 只能跟一个策略绑定
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_AUTOPOLICYNOTFOUND = "InvalidParameter.AutoPolicyNotFound" INVALIDPARAMETER_INVALIDSNAPPOLICYSTATUS = "InvalidParameter.InvalidSnapPolicyStatus" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" RESOURCEINSUFFICIENT_SNAPSHOTSIZELIMITEXCEEDED = "ResourceInsufficient.SnapshotSizeLimitExceeded" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) BindAutoSnapshotPolicyWithContext ¶ added in v1.0.493
func (c *Client) BindAutoSnapshotPolicyWithContext(ctx context.Context, request *BindAutoSnapshotPolicyRequest) (response *BindAutoSnapshotPolicyResponse, err error)
BindAutoSnapshotPolicy 文件系统绑定快照策略,可以同时绑定多个fs,一个fs 只能跟一个策略绑定
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_AUTOPOLICYNOTFOUND = "InvalidParameter.AutoPolicyNotFound" INVALIDPARAMETER_INVALIDSNAPPOLICYSTATUS = "InvalidParameter.InvalidSnapPolicyStatus" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" RESOURCEINSUFFICIENT_SNAPSHOTSIZELIMITEXCEEDED = "ResourceInsufficient.SnapshotSizeLimitExceeded" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) CreateAccessCert ¶ added in v1.0.1085
func (c *Client) CreateAccessCert(request *CreateAccessCertRequest) (response *CreateAccessCertResponse, err error)
CreateAccessCert 创建用于访问文件系统的凭证
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_AUTOPOLICYNOTFOUND = "InvalidParameter.AutoPolicyNotFound" INVALIDPARAMETER_INVALIDSNAPPOLICYSTATUS = "InvalidParameter.InvalidSnapPolicyStatus" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" RESOURCEINSUFFICIENT_SNAPSHOTSIZELIMITEXCEEDED = "ResourceInsufficient.SnapshotSizeLimitExceeded" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) CreateAccessCertWithContext ¶ added in v1.0.1085
func (c *Client) CreateAccessCertWithContext(ctx context.Context, request *CreateAccessCertRequest) (response *CreateAccessCertResponse, err error)
CreateAccessCert 创建用于访问文件系统的凭证
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_AUTOPOLICYNOTFOUND = "InvalidParameter.AutoPolicyNotFound" INVALIDPARAMETER_INVALIDSNAPPOLICYSTATUS = "InvalidParameter.InvalidSnapPolicyStatus" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" RESOURCEINSUFFICIENT_SNAPSHOTSIZELIMITEXCEEDED = "ResourceInsufficient.SnapshotSizeLimitExceeded" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) CreateAutoSnapshotPolicy ¶ added in v1.0.493
func (c *Client) CreateAutoSnapshotPolicy(request *CreateAutoSnapshotPolicyRequest) (response *CreateAutoSnapshotPolicyResponse, err error)
CreateAutoSnapshotPolicy 创建定期快照策略
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDALIVEDDAYS = "InvalidParameter.InvalidAlivedDays" INVALIDPARAMETER_INVALIDPARAMDAYOFWEEK = "InvalidParameter.InvalidParamDayofWeek" INVALIDPARAMETER_INVALIDPARAMHOUR = "InvalidParameter.InvalidParamHour" INVALIDPARAMETER_INVALIDSNAPSHOTPOLICYNAME = "InvalidParameter.InvalidSnapshotPolicyName" INVALIDPARAMETER_MISSINGPOLICYPARAM = "InvalidParameter.MissingPolicyParam" INVALIDPARAMETER_SNAPSHOTPOLICYNAMELIMITEXCEEDED = "InvalidParameter.SnapshotPolicyNameLimitExceeded" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_AUTOPOLICYNOTFOUND = "InvalidParameterValue.AutoPolicyNotFound" INVALIDPARAMETERVALUE_INVALIDALIVEDAYS = "InvalidParameterValue.InvalidAliveDays" INVALIDPARAMETERVALUE_INVALIDDESTINATIONREGIONS = "InvalidParameterValue.InvalidDestinationRegions" INVALIDPARAMETERVALUE_INVALIDPARAMDAYOFMONTH = "InvalidParameterValue.InvalidParamDayOfMonth" INVALIDPARAMETERVALUE_INVALIDPARAMDAYOFWEEK = "InvalidParameterValue.InvalidParamDayOfWeek" INVALIDPARAMETERVALUE_INVALIDPARAMINTERVALDAYS = "InvalidParameterValue.InvalidParamIntervalDays" INVALIDPARAMETERVALUE_INVALIDSNAPPOLICYSTATUS = "InvalidParameterValue.InvalidSnapPolicyStatus" INVALIDPARAMETERVALUE_INVALIDSNAPSHOTNAME = "InvalidParameterValue.InvalidSnapshotName" INVALIDPARAMETERVALUE_INVALIDSNAPSHOTPOLICYNAME = "InvalidParameterValue.InvalidSnapshotPolicyName" INVALIDPARAMETERVALUE_MISSINGSNAPNAMEORALIVEDAY = "InvalidParameterValue.MissingSnapNameOrAliveDay" INVALIDPARAMETERVALUE_SNAPSHOTNAMELIMITEXCEEDED = "InvalidParameterValue.SnapshotNameLimitExceeded" INVALIDPARAMETERVALUE_SNAPSHOTPOLICYNAMELIMITEXCEEDED = "InvalidParameterValue.SnapshotPolicyNameLimitExceeded" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNAUTHORIZEDCFSQCSROLE = "UnsupportedOperation.UnauthorizedCfsQcsRole" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) CreateAutoSnapshotPolicyWithContext ¶ added in v1.0.493
func (c *Client) CreateAutoSnapshotPolicyWithContext(ctx context.Context, request *CreateAutoSnapshotPolicyRequest) (response *CreateAutoSnapshotPolicyResponse, err error)
CreateAutoSnapshotPolicy 创建定期快照策略
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDALIVEDDAYS = "InvalidParameter.InvalidAlivedDays" INVALIDPARAMETER_INVALIDPARAMDAYOFWEEK = "InvalidParameter.InvalidParamDayofWeek" INVALIDPARAMETER_INVALIDPARAMHOUR = "InvalidParameter.InvalidParamHour" INVALIDPARAMETER_INVALIDSNAPSHOTPOLICYNAME = "InvalidParameter.InvalidSnapshotPolicyName" INVALIDPARAMETER_MISSINGPOLICYPARAM = "InvalidParameter.MissingPolicyParam" INVALIDPARAMETER_SNAPSHOTPOLICYNAMELIMITEXCEEDED = "InvalidParameter.SnapshotPolicyNameLimitExceeded" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_AUTOPOLICYNOTFOUND = "InvalidParameterValue.AutoPolicyNotFound" INVALIDPARAMETERVALUE_INVALIDALIVEDAYS = "InvalidParameterValue.InvalidAliveDays" INVALIDPARAMETERVALUE_INVALIDDESTINATIONREGIONS = "InvalidParameterValue.InvalidDestinationRegions" INVALIDPARAMETERVALUE_INVALIDPARAMDAYOFMONTH = "InvalidParameterValue.InvalidParamDayOfMonth" INVALIDPARAMETERVALUE_INVALIDPARAMDAYOFWEEK = "InvalidParameterValue.InvalidParamDayOfWeek" INVALIDPARAMETERVALUE_INVALIDPARAMINTERVALDAYS = "InvalidParameterValue.InvalidParamIntervalDays" INVALIDPARAMETERVALUE_INVALIDSNAPPOLICYSTATUS = "InvalidParameterValue.InvalidSnapPolicyStatus" INVALIDPARAMETERVALUE_INVALIDSNAPSHOTNAME = "InvalidParameterValue.InvalidSnapshotName" INVALIDPARAMETERVALUE_INVALIDSNAPSHOTPOLICYNAME = "InvalidParameterValue.InvalidSnapshotPolicyName" INVALIDPARAMETERVALUE_MISSINGSNAPNAMEORALIVEDAY = "InvalidParameterValue.MissingSnapNameOrAliveDay" INVALIDPARAMETERVALUE_SNAPSHOTNAMELIMITEXCEEDED = "InvalidParameterValue.SnapshotNameLimitExceeded" INVALIDPARAMETERVALUE_SNAPSHOTPOLICYNAMELIMITEXCEEDED = "InvalidParameterValue.SnapshotPolicyNameLimitExceeded" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNAUTHORIZEDCFSQCSROLE = "UnsupportedOperation.UnauthorizedCfsQcsRole" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) CreateCfsFileSystem ¶
func (c *Client) CreateCfsFileSystem(request *CreateCfsFileSystemRequest) (response *CreateCfsFileSystemResponse, err error)
CreateCfsFileSystem 用于添加新文件系统
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BINDRESOURCEPKGFAILED = "FailedOperation.BindResourcePkgFailed" FAILEDOPERATION_CLIENTTOKENINUSE = "FailedOperation.ClientTokenInUse" INTERNALERROR = "InternalError" INTERNALERROR_CREATEFSFAILED = "InternalError.CreateFsFailed" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_AUTOPOLICYNOTFOUND = "InvalidParameter.AutoPolicyNotFound" INVALIDPARAMETERVALUE_CLIENTTOKENLIMITEXCEEDED = "InvalidParameterValue.ClientTokenLimitExceeded" INVALIDPARAMETERVALUE_DUPLICATEDTAGKEY = "InvalidParameterValue.DuplicatedTagKey" INVALIDPARAMETERVALUE_FSNAMELIMITEXCEEDED = "InvalidParameterValue.FsNameLimitExceeded" INVALIDPARAMETERVALUE_INVALIDCLIENTTOKEN = "InvalidParameterValue.InvalidClientToken" INVALIDPARAMETERVALUE_INVALIDENCRYPTED = "InvalidParameterValue.InvalidEncrypted" INVALIDPARAMETERVALUE_INVALIDFSNAME = "InvalidParameterValue.InvalidFsName" INVALIDPARAMETERVALUE_INVALIDMOUNTTARGETIP = "InvalidParameterValue.InvalidMountTargetIp" INVALIDPARAMETERVALUE_INVALIDNETINTERFACE = "InvalidParameterValue.InvalidNetInterface" INVALIDPARAMETERVALUE_INVALIDPGROUPID = "InvalidParameterValue.InvalidPgroupId" INVALIDPARAMETERVALUE_INVALIDPROTOCOL = "InvalidParameterValue.InvalidProtocol" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_INVALIDRESOURCETAGS = "InvalidParameterValue.InvalidResourceTags" INVALIDPARAMETERVALUE_INVALIDSNAPSHOTSTATUS = "InvalidParameterValue.InvalidSnapshotStatus" INVALIDPARAMETERVALUE_INVALIDSTORAGERESOURCEPKG = "InvalidParameterValue.InvalidStorageResourcePkg" INVALIDPARAMETERVALUE_INVALIDSTORAGETYPE = "InvalidParameterValue.InvalidStorageType" INVALIDPARAMETERVALUE_INVALIDSUBNETID = "InvalidParameterValue.InvalidSubnetId" INVALIDPARAMETERVALUE_INVALIDTAGKEY = "InvalidParameterValue.InvalidTagKey" INVALIDPARAMETERVALUE_INVALIDTAGVALUE = "InvalidParameterValue.InvalidTagValue" INVALIDPARAMETERVALUE_INVALIDTURBOCAPACITY = "InvalidParameterValue.InvalidTurboCapacity" INVALIDPARAMETERVALUE_INVALIDVIP = "InvalidParameterValue.InvalidVip" INVALIDPARAMETERVALUE_INVALIDVPCID = "InvalidParameterValue.InvalidVpcId" INVALIDPARAMETERVALUE_INVALIDVPCPARAMETER = "InvalidParameterValue.InvalidVpcParameter" INVALIDPARAMETERVALUE_INVALIDZONEID = "InvalidParameterValue.InvalidZoneId" INVALIDPARAMETERVALUE_INVALIDZONEORZONEID = "InvalidParameterValue.InvalidZoneOrZoneId" INVALIDPARAMETERVALUE_MISSINGKMSKEYID = "InvalidParameterValue.MissingKmsKeyId" INVALIDPARAMETERVALUE_MISSINGSTORAGERESOURCEPKG = "InvalidParameterValue.MissingStorageResourcePkg" INVALIDPARAMETERVALUE_MISSINGSUBNETIDORUNSUBNETID = "InvalidParameterValue.MissingSubnetidOrUnsubnetid" INVALIDPARAMETERVALUE_MISSINGVPCPARAMETER = "InvalidParameterValue.MissingVpcParameter" INVALIDPARAMETERVALUE_MISSINGVPCIDORUNVPCID = "InvalidParameterValue.MissingVpcidOrUnvpcid" INVALIDPARAMETERVALUE_MISSINGZONEID = "InvalidParameterValue.MissingZoneId" INVALIDPARAMETERVALUE_MISSINGZONEORZONEID = "InvalidParameterValue.MissingZoneOrZoneId" INVALIDPARAMETERVALUE_TAGKEYFILTERLIMITEXCEEDED = "InvalidParameterValue.TagKeyFilterLimitExceeded" INVALIDPARAMETERVALUE_TAGKEYLIMITEXCEEDED = "InvalidParameterValue.TagKeyLimitExceeded" INVALIDPARAMETERVALUE_TAGVALUEFILTERLIMITEXCEEDED = "InvalidParameterValue.TagValueFilterLimitExceeded" INVALIDPARAMETERVALUE_TAGVALUELIMITEXCEEDED = "InvalidParameterValue.TagValueLimitExceeded" INVALIDPARAMETERVALUE_UNAVAILABLEREGION = "InvalidParameterValue.UnavailableRegion" INVALIDPARAMETERVALUE_UNAVAILABLEZONE = "InvalidParameterValue.UnavailableZone" INVALIDPARAMETERVALUE_ZONEIDREGIONNOTMATCH = "InvalidParameterValue.ZoneIdRegionNotMatch" RESOURCEINSUFFICIENT_FILESYSTEMLIMITEXCEEDED = "ResourceInsufficient.FileSystemLimitExceeded" RESOURCEINSUFFICIENT_REGIONSOLDOUT = "ResourceInsufficient.RegionSoldOut" RESOURCEINSUFFICIENT_SUBNETIPALLOCCUPIED = "ResourceInsufficient.SubnetIpAllOccupied" RESOURCEINSUFFICIENT_TAGLIMITEXCEEDED = "ResourceInsufficient.TagLimitExceeded" RESOURCEINSUFFICIENT_TAGQUOTASEXCEEDED = "ResourceInsufficient.TagQuotasExceeded" RESOURCEINSUFFICIENT_TURBOSPECIALCAPACITYFILESYSTEMCOUNTLIMIT = "ResourceInsufficient.TurboSpecialCapacityFileSystemCountLimit" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BASICNETINTERFACENOTSUPPORTED = "UnsupportedOperation.BasicNetInterfaceNotSupported" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) CreateCfsFileSystemWithContext ¶ added in v1.0.324
func (c *Client) CreateCfsFileSystemWithContext(ctx context.Context, request *CreateCfsFileSystemRequest) (response *CreateCfsFileSystemResponse, err error)
CreateCfsFileSystem 用于添加新文件系统
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BINDRESOURCEPKGFAILED = "FailedOperation.BindResourcePkgFailed" FAILEDOPERATION_CLIENTTOKENINUSE = "FailedOperation.ClientTokenInUse" INTERNALERROR = "InternalError" INTERNALERROR_CREATEFSFAILED = "InternalError.CreateFsFailed" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_AUTOPOLICYNOTFOUND = "InvalidParameter.AutoPolicyNotFound" INVALIDPARAMETERVALUE_CLIENTTOKENLIMITEXCEEDED = "InvalidParameterValue.ClientTokenLimitExceeded" INVALIDPARAMETERVALUE_DUPLICATEDTAGKEY = "InvalidParameterValue.DuplicatedTagKey" INVALIDPARAMETERVALUE_FSNAMELIMITEXCEEDED = "InvalidParameterValue.FsNameLimitExceeded" INVALIDPARAMETERVALUE_INVALIDCLIENTTOKEN = "InvalidParameterValue.InvalidClientToken" INVALIDPARAMETERVALUE_INVALIDENCRYPTED = "InvalidParameterValue.InvalidEncrypted" INVALIDPARAMETERVALUE_INVALIDFSNAME = "InvalidParameterValue.InvalidFsName" INVALIDPARAMETERVALUE_INVALIDMOUNTTARGETIP = "InvalidParameterValue.InvalidMountTargetIp" INVALIDPARAMETERVALUE_INVALIDNETINTERFACE = "InvalidParameterValue.InvalidNetInterface" INVALIDPARAMETERVALUE_INVALIDPGROUPID = "InvalidParameterValue.InvalidPgroupId" INVALIDPARAMETERVALUE_INVALIDPROTOCOL = "InvalidParameterValue.InvalidProtocol" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_INVALIDRESOURCETAGS = "InvalidParameterValue.InvalidResourceTags" INVALIDPARAMETERVALUE_INVALIDSNAPSHOTSTATUS = "InvalidParameterValue.InvalidSnapshotStatus" INVALIDPARAMETERVALUE_INVALIDSTORAGERESOURCEPKG = "InvalidParameterValue.InvalidStorageResourcePkg" INVALIDPARAMETERVALUE_INVALIDSTORAGETYPE = "InvalidParameterValue.InvalidStorageType" INVALIDPARAMETERVALUE_INVALIDSUBNETID = "InvalidParameterValue.InvalidSubnetId" INVALIDPARAMETERVALUE_INVALIDTAGKEY = "InvalidParameterValue.InvalidTagKey" INVALIDPARAMETERVALUE_INVALIDTAGVALUE = "InvalidParameterValue.InvalidTagValue" INVALIDPARAMETERVALUE_INVALIDTURBOCAPACITY = "InvalidParameterValue.InvalidTurboCapacity" INVALIDPARAMETERVALUE_INVALIDVIP = "InvalidParameterValue.InvalidVip" INVALIDPARAMETERVALUE_INVALIDVPCID = "InvalidParameterValue.InvalidVpcId" INVALIDPARAMETERVALUE_INVALIDVPCPARAMETER = "InvalidParameterValue.InvalidVpcParameter" INVALIDPARAMETERVALUE_INVALIDZONEID = "InvalidParameterValue.InvalidZoneId" INVALIDPARAMETERVALUE_INVALIDZONEORZONEID = "InvalidParameterValue.InvalidZoneOrZoneId" INVALIDPARAMETERVALUE_MISSINGKMSKEYID = "InvalidParameterValue.MissingKmsKeyId" INVALIDPARAMETERVALUE_MISSINGSTORAGERESOURCEPKG = "InvalidParameterValue.MissingStorageResourcePkg" INVALIDPARAMETERVALUE_MISSINGSUBNETIDORUNSUBNETID = "InvalidParameterValue.MissingSubnetidOrUnsubnetid" INVALIDPARAMETERVALUE_MISSINGVPCPARAMETER = "InvalidParameterValue.MissingVpcParameter" INVALIDPARAMETERVALUE_MISSINGVPCIDORUNVPCID = "InvalidParameterValue.MissingVpcidOrUnvpcid" INVALIDPARAMETERVALUE_MISSINGZONEID = "InvalidParameterValue.MissingZoneId" INVALIDPARAMETERVALUE_MISSINGZONEORZONEID = "InvalidParameterValue.MissingZoneOrZoneId" INVALIDPARAMETERVALUE_TAGKEYFILTERLIMITEXCEEDED = "InvalidParameterValue.TagKeyFilterLimitExceeded" INVALIDPARAMETERVALUE_TAGKEYLIMITEXCEEDED = "InvalidParameterValue.TagKeyLimitExceeded" INVALIDPARAMETERVALUE_TAGVALUEFILTERLIMITEXCEEDED = "InvalidParameterValue.TagValueFilterLimitExceeded" INVALIDPARAMETERVALUE_TAGVALUELIMITEXCEEDED = "InvalidParameterValue.TagValueLimitExceeded" INVALIDPARAMETERVALUE_UNAVAILABLEREGION = "InvalidParameterValue.UnavailableRegion" INVALIDPARAMETERVALUE_UNAVAILABLEZONE = "InvalidParameterValue.UnavailableZone" INVALIDPARAMETERVALUE_ZONEIDREGIONNOTMATCH = "InvalidParameterValue.ZoneIdRegionNotMatch" RESOURCEINSUFFICIENT_FILESYSTEMLIMITEXCEEDED = "ResourceInsufficient.FileSystemLimitExceeded" RESOURCEINSUFFICIENT_REGIONSOLDOUT = "ResourceInsufficient.RegionSoldOut" RESOURCEINSUFFICIENT_SUBNETIPALLOCCUPIED = "ResourceInsufficient.SubnetIpAllOccupied" RESOURCEINSUFFICIENT_TAGLIMITEXCEEDED = "ResourceInsufficient.TagLimitExceeded" RESOURCEINSUFFICIENT_TAGQUOTASEXCEEDED = "ResourceInsufficient.TagQuotasExceeded" RESOURCEINSUFFICIENT_TURBOSPECIALCAPACITYFILESYSTEMCOUNTLIMIT = "ResourceInsufficient.TurboSpecialCapacityFileSystemCountLimit" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BASICNETINTERFACENOTSUPPORTED = "UnsupportedOperation.BasicNetInterfaceNotSupported" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) CreateCfsPGroup ¶
func (c *Client) CreateCfsPGroup(request *CreateCfsPGroupRequest) (response *CreateCfsPGroupResponse, err error)
CreateCfsPGroup 本接口(CreateCfsPGroup)用于创建权限组
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_DUPLICATEDPGROUPNAME = "InvalidParameterValue.DuplicatedPgroupName" INVALIDPARAMETERVALUE_INVALIDPGROUPNAME = "InvalidParameterValue.InvalidPgroupName" INVALIDPARAMETERVALUE_MISSINGPGROUPNAME = "InvalidParameterValue.MissingPgroupName" INVALIDPARAMETERVALUE_PGROUPDESCINFOLIMITEXCEEDED = "InvalidParameterValue.PgroupDescinfoLimitExceeded" INVALIDPARAMETERVALUE_PGROUPNAMELIMITEXCEEDED = "InvalidParameterValue.PgroupNameLimitExceeded" RESOURCEINSUFFICIENT_PGROUPNUMBERLIMITEXCEEDED = "ResourceInsufficient.PgroupNumberLimitExceeded" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) CreateCfsPGroupWithContext ¶ added in v1.0.324
func (c *Client) CreateCfsPGroupWithContext(ctx context.Context, request *CreateCfsPGroupRequest) (response *CreateCfsPGroupResponse, err error)
CreateCfsPGroup 本接口(CreateCfsPGroup)用于创建权限组
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_DUPLICATEDPGROUPNAME = "InvalidParameterValue.DuplicatedPgroupName" INVALIDPARAMETERVALUE_INVALIDPGROUPNAME = "InvalidParameterValue.InvalidPgroupName" INVALIDPARAMETERVALUE_MISSINGPGROUPNAME = "InvalidParameterValue.MissingPgroupName" INVALIDPARAMETERVALUE_PGROUPDESCINFOLIMITEXCEEDED = "InvalidParameterValue.PgroupDescinfoLimitExceeded" INVALIDPARAMETERVALUE_PGROUPNAMELIMITEXCEEDED = "InvalidParameterValue.PgroupNameLimitExceeded" RESOURCEINSUFFICIENT_PGROUPNUMBERLIMITEXCEEDED = "ResourceInsufficient.PgroupNumberLimitExceeded" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) CreateCfsRule ¶
func (c *Client) CreateCfsRule(request *CreateCfsRuleRequest) (response *CreateCfsRuleResponse, err error)
CreateCfsRule 本接口(CreateCfsRule)用于创建权限组规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PGROUPINUSE = "FailedOperation.PgroupInUse" FAILEDOPERATION_PGROUPISUPDATING = "FailedOperation.PgroupIsUpdating" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DUPLICATEDRULEAUTHCLIENTIP = "InvalidParameterValue.DuplicatedRuleAuthClientIp" INVALIDPARAMETERVALUE_INVALIDAUTHCLIENTIP = "InvalidParameterValue.InvalidAuthClientIp" INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" INVALIDPARAMETERVALUE_INVALIDPRIORITY = "InvalidParameterValue.InvalidPriority" INVALIDPARAMETERVALUE_INVALIDRWPERMISSION = "InvalidParameterValue.InvalidRwPermission" INVALIDPARAMETERVALUE_INVALIDUSERPERMISSION = "InvalidParameterValue.InvalidUserPermission" RESOURCEINSUFFICIENT_RULELIMITEXCEEDED = "ResourceInsufficient.RuleLimitExceeded" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) CreateCfsRuleWithContext ¶ added in v1.0.324
func (c *Client) CreateCfsRuleWithContext(ctx context.Context, request *CreateCfsRuleRequest) (response *CreateCfsRuleResponse, err error)
CreateCfsRule 本接口(CreateCfsRule)用于创建权限组规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PGROUPINUSE = "FailedOperation.PgroupInUse" FAILEDOPERATION_PGROUPISUPDATING = "FailedOperation.PgroupIsUpdating" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DUPLICATEDRULEAUTHCLIENTIP = "InvalidParameterValue.DuplicatedRuleAuthClientIp" INVALIDPARAMETERVALUE_INVALIDAUTHCLIENTIP = "InvalidParameterValue.InvalidAuthClientIp" INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" INVALIDPARAMETERVALUE_INVALIDPRIORITY = "InvalidParameterValue.InvalidPriority" INVALIDPARAMETERVALUE_INVALIDRWPERMISSION = "InvalidParameterValue.InvalidRwPermission" INVALIDPARAMETERVALUE_INVALIDUSERPERMISSION = "InvalidParameterValue.InvalidUserPermission" RESOURCEINSUFFICIENT_RULELIMITEXCEEDED = "ResourceInsufficient.RuleLimitExceeded" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) CreateCfsSnapshot ¶ added in v1.0.493
func (c *Client) CreateCfsSnapshot(request *CreateCfsSnapshotRequest) (response *CreateCfsSnapshotResponse, err error)
CreateCfsSnapshot 创建文件系统快照
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDSNAPSHOTNAME = "InvalidParameter.InvalidSnapshotName" INVALIDPARAMETER_SNAPSHOTNAMELIMITEXCEEDED = "InvalidParameter.SnapshotNameLimitExceeded" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FSSIZELIMITEXCEEDED = "InvalidParameterValue.FsSizeLimitExceeded" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDFSSTATUS = "InvalidParameterValue.InvalidFsStatus" INVALIDPARAMETERVALUE_INVALIDRESOURCETAGS = "InvalidParameterValue.InvalidResourceTags" INVALIDPARAMETERVALUE_INVALIDTAGKEY = "InvalidParameterValue.InvalidTagKey" INVALIDPARAMETERVALUE_INVALIDTAGVALUE = "InvalidParameterValue.InvalidTagValue" INVALIDPARAMETERVALUE_MISSINGFILESYSTEMID = "InvalidParameterValue.MissingFileSystemId" INVALIDPARAMETERVALUE_TAGKEYFILTERLIMITEXCEEDED = "InvalidParameterValue.TagKeyFilterLimitExceeded" INVALIDPARAMETERVALUE_TAGKEYLIMITEXCEEDED = "InvalidParameterValue.TagKeyLimitExceeded" INVALIDPARAMETERVALUE_TAGVALUEFILTERLIMITEXCEEDED = "InvalidParameterValue.TagValueFilterLimitExceeded" INVALIDPARAMETERVALUE_TAGVALUELIMITEXCEEDED = "InvalidParameterValue.TagValueLimitExceeded" RESOURCEINSUFFICIENT_SNAPSHOTSIZELIMITEXCEEDED = "ResourceInsufficient.SnapshotSizeLimitExceeded" RESOURCEINSUFFICIENT_TAGLIMITEXCEEDED = "ResourceInsufficient.TagLimitExceeded" RESOURCEINSUFFICIENT_TAGQUOTASEXCEEDED = "ResourceInsufficient.TagQuotasExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) CreateCfsSnapshotWithContext ¶ added in v1.0.493
func (c *Client) CreateCfsSnapshotWithContext(ctx context.Context, request *CreateCfsSnapshotRequest) (response *CreateCfsSnapshotResponse, err error)
CreateCfsSnapshot 创建文件系统快照
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDSNAPSHOTNAME = "InvalidParameter.InvalidSnapshotName" INVALIDPARAMETER_SNAPSHOTNAMELIMITEXCEEDED = "InvalidParameter.SnapshotNameLimitExceeded" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FSSIZELIMITEXCEEDED = "InvalidParameterValue.FsSizeLimitExceeded" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDFSSTATUS = "InvalidParameterValue.InvalidFsStatus" INVALIDPARAMETERVALUE_INVALIDRESOURCETAGS = "InvalidParameterValue.InvalidResourceTags" INVALIDPARAMETERVALUE_INVALIDTAGKEY = "InvalidParameterValue.InvalidTagKey" INVALIDPARAMETERVALUE_INVALIDTAGVALUE = "InvalidParameterValue.InvalidTagValue" INVALIDPARAMETERVALUE_MISSINGFILESYSTEMID = "InvalidParameterValue.MissingFileSystemId" INVALIDPARAMETERVALUE_TAGKEYFILTERLIMITEXCEEDED = "InvalidParameterValue.TagKeyFilterLimitExceeded" INVALIDPARAMETERVALUE_TAGKEYLIMITEXCEEDED = "InvalidParameterValue.TagKeyLimitExceeded" INVALIDPARAMETERVALUE_TAGVALUEFILTERLIMITEXCEEDED = "InvalidParameterValue.TagValueFilterLimitExceeded" INVALIDPARAMETERVALUE_TAGVALUELIMITEXCEEDED = "InvalidParameterValue.TagValueLimitExceeded" RESOURCEINSUFFICIENT_SNAPSHOTSIZELIMITEXCEEDED = "ResourceInsufficient.SnapshotSizeLimitExceeded" RESOURCEINSUFFICIENT_TAGLIMITEXCEEDED = "ResourceInsufficient.TagLimitExceeded" RESOURCEINSUFFICIENT_TAGQUOTASEXCEEDED = "ResourceInsufficient.TagQuotasExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) CreateMigrationTask ¶ added in v1.0.639
func (c *Client) CreateMigrationTask(request *CreateMigrationTaskRequest) (response *CreateMigrationTaskResponse, err error)
CreateMigrationTask 用于创建迁移任务。
此接口需提交工单,开启白名单之后才能使用。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCEINUSE = "ResourceInUse"
func (*Client) CreateMigrationTaskWithContext ¶ added in v1.0.639
func (c *Client) CreateMigrationTaskWithContext(ctx context.Context, request *CreateMigrationTaskRequest) (response *CreateMigrationTaskResponse, err error)
CreateMigrationTask 用于创建迁移任务。
此接口需提交工单,开启白名单之后才能使用。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCEINUSE = "ResourceInUse"
func (*Client) DeleteAutoSnapshotPolicy ¶ added in v1.0.493
func (c *Client) DeleteAutoSnapshotPolicy(request *DeleteAutoSnapshotPolicyRequest) (response *DeleteAutoSnapshotPolicyResponse, err error)
DeleteAutoSnapshotPolicy 删除快照定期策略
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_AUTOPOLICYNOTFOUND = "InvalidParameter.AutoPolicyNotFound" INVALIDPARAMETER_INVALIDSNAPPOLICYSTATUS = "InvalidParameter.InvalidSnapPolicyStatus" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_AUTOPOLICYNOTFOUND = "InvalidParameterValue.AutoPolicyNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNAUTHORIZEDCFSQCSROLE = "UnsupportedOperation.UnauthorizedCfsQcsRole" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DeleteAutoSnapshotPolicyWithContext ¶ added in v1.0.493
func (c *Client) DeleteAutoSnapshotPolicyWithContext(ctx context.Context, request *DeleteAutoSnapshotPolicyRequest) (response *DeleteAutoSnapshotPolicyResponse, err error)
DeleteAutoSnapshotPolicy 删除快照定期策略
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_AUTOPOLICYNOTFOUND = "InvalidParameter.AutoPolicyNotFound" INVALIDPARAMETER_INVALIDSNAPPOLICYSTATUS = "InvalidParameter.InvalidSnapPolicyStatus" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_AUTOPOLICYNOTFOUND = "InvalidParameterValue.AutoPolicyNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNAUTHORIZEDCFSQCSROLE = "UnsupportedOperation.UnauthorizedCfsQcsRole" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DeleteCfsFileSystem ¶
func (c *Client) DeleteCfsFileSystem(request *DeleteCfsFileSystemRequest) (response *DeleteCfsFileSystemResponse, err error)
DeleteCfsFileSystem 用于删除文件系统
可能返回的错误码:
FAILEDOPERATION_MOUNTTARGETEXISTS = "FailedOperation.MountTargetExists" FAILEDOPERATION_UNTAGRESOURCEFAILED = "FailedOperation.UntagResourceFailed" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDFSSTATUS = "InvalidParameterValue.InvalidFsStatus" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DeleteCfsFileSystemWithContext ¶ added in v1.0.324
func (c *Client) DeleteCfsFileSystemWithContext(ctx context.Context, request *DeleteCfsFileSystemRequest) (response *DeleteCfsFileSystemResponse, err error)
DeleteCfsFileSystem 用于删除文件系统
可能返回的错误码:
FAILEDOPERATION_MOUNTTARGETEXISTS = "FailedOperation.MountTargetExists" FAILEDOPERATION_UNTAGRESOURCEFAILED = "FailedOperation.UntagResourceFailed" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDFSSTATUS = "InvalidParameterValue.InvalidFsStatus" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DeleteCfsPGroup ¶
func (c *Client) DeleteCfsPGroup(request *DeleteCfsPGroupRequest) (response *DeleteCfsPGroupResponse, err error)
DeleteCfsPGroup 本接口(DeleteCfsPGroup)用于删除权限组。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PGROUPINUSE = "FailedOperation.PgroupInUse" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DeleteCfsPGroupWithContext ¶ added in v1.0.324
func (c *Client) DeleteCfsPGroupWithContext(ctx context.Context, request *DeleteCfsPGroupRequest) (response *DeleteCfsPGroupResponse, err error)
DeleteCfsPGroup 本接口(DeleteCfsPGroup)用于删除权限组。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PGROUPINUSE = "FailedOperation.PgroupInUse" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DeleteCfsRule ¶
func (c *Client) DeleteCfsRule(request *DeleteCfsRuleRequest) (response *DeleteCfsRuleResponse, err error)
DeleteCfsRule 本接口(DeleteCfsRule)用于删除权限组规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PGROUPINUSE = "FailedOperation.PgroupInUse" FAILEDOPERATION_PGROUPISUPDATING = "FailedOperation.PgroupIsUpdating" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DUPLICATEDRULEAUTHCLIENTIP = "InvalidParameterValue.DuplicatedRuleAuthClientIp" INVALIDPARAMETERVALUE_INVALIDAUTHCLIENTIP = "InvalidParameterValue.InvalidAuthClientIp" INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" INVALIDPARAMETERVALUE_INVALIDPRIORITY = "InvalidParameterValue.InvalidPriority" INVALIDPARAMETERVALUE_INVALIDRWPERMISSION = "InvalidParameterValue.InvalidRwPermission" INVALIDPARAMETERVALUE_INVALIDUSERPERMISSION = "InvalidParameterValue.InvalidUserPermission" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" RESOURCENOTFOUND_RULENOTFOUND = "ResourceNotFound.RuleNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DeleteCfsRuleWithContext ¶ added in v1.0.324
func (c *Client) DeleteCfsRuleWithContext(ctx context.Context, request *DeleteCfsRuleRequest) (response *DeleteCfsRuleResponse, err error)
DeleteCfsRule 本接口(DeleteCfsRule)用于删除权限组规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PGROUPINUSE = "FailedOperation.PgroupInUse" FAILEDOPERATION_PGROUPISUPDATING = "FailedOperation.PgroupIsUpdating" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DUPLICATEDRULEAUTHCLIENTIP = "InvalidParameterValue.DuplicatedRuleAuthClientIp" INVALIDPARAMETERVALUE_INVALIDAUTHCLIENTIP = "InvalidParameterValue.InvalidAuthClientIp" INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" INVALIDPARAMETERVALUE_INVALIDPRIORITY = "InvalidParameterValue.InvalidPriority" INVALIDPARAMETERVALUE_INVALIDRWPERMISSION = "InvalidParameterValue.InvalidRwPermission" INVALIDPARAMETERVALUE_INVALIDUSERPERMISSION = "InvalidParameterValue.InvalidUserPermission" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" RESOURCENOTFOUND_RULENOTFOUND = "ResourceNotFound.RuleNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DeleteCfsSnapshot ¶ added in v1.0.493
func (c *Client) DeleteCfsSnapshot(request *DeleteCfsSnapshotRequest) (response *DeleteCfsSnapshotResponse, err error)
DeleteCfsSnapshot 删除文件系统快照
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDSNAPSHOTSTATUS = "InvalidParameterValue.InvalidSnapshotStatus" RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNAUTHORIZEDCFSQCSROLE = "UnsupportedOperation.UnauthorizedCfsQcsRole" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DeleteCfsSnapshotWithContext ¶ added in v1.0.493
func (c *Client) DeleteCfsSnapshotWithContext(ctx context.Context, request *DeleteCfsSnapshotRequest) (response *DeleteCfsSnapshotResponse, err error)
DeleteCfsSnapshot 删除文件系统快照
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDSNAPSHOTSTATUS = "InvalidParameterValue.InvalidSnapshotStatus" RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNAUTHORIZEDCFSQCSROLE = "UnsupportedOperation.UnauthorizedCfsQcsRole" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DeleteMigrationTask ¶ added in v1.0.639
func (c *Client) DeleteMigrationTask(request *DeleteMigrationTaskRequest) (response *DeleteMigrationTaskResponse, err error)
DeleteMigrationTask 用于删除迁移任务。
此接口需提交工单,开启白名单之后才能使用。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteMigrationTaskWithContext ¶ added in v1.0.639
func (c *Client) DeleteMigrationTaskWithContext(ctx context.Context, request *DeleteMigrationTaskRequest) (response *DeleteMigrationTaskResponse, err error)
DeleteMigrationTask 用于删除迁移任务。
此接口需提交工单,开启白名单之后才能使用。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteMountTarget ¶
func (c *Client) DeleteMountTarget(request *DeleteMountTargetRequest) (response *DeleteMountTargetResponse, err error)
DeleteMountTarget 本接口(DeleteMountTarget)用于删除挂载点
说明:2022年6月1日之后创建的CFS文件系统删除时无需单独调用删除挂载点操作,此API仅适用老版本的CFS实例。
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" RESOURCENOTFOUND_MOUNTTARGETNOTFOUND = "ResourceNotFound.MountTargetNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DeleteMountTargetWithContext ¶ added in v1.0.324
func (c *Client) DeleteMountTargetWithContext(ctx context.Context, request *DeleteMountTargetRequest) (response *DeleteMountTargetResponse, err error)
DeleteMountTarget 本接口(DeleteMountTarget)用于删除挂载点
说明:2022年6月1日之后创建的CFS文件系统删除时无需单独调用删除挂载点操作,此API仅适用老版本的CFS实例。
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" RESOURCENOTFOUND_MOUNTTARGETNOTFOUND = "ResourceNotFound.MountTargetNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DeleteUserQuota ¶ added in v1.0.535
func (c *Client) DeleteUserQuota(request *DeleteUserQuotaRequest) (response *DeleteUserQuotaResponse, err error)
DeleteUserQuota 指定条件删除文件系统配额(仅部分Turbo实例能使用,若需要调用请提交工单与我们联系)
可能返回的错误码:
UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteUserQuotaWithContext ¶ added in v1.0.535
func (c *Client) DeleteUserQuotaWithContext(ctx context.Context, request *DeleteUserQuotaRequest) (response *DeleteUserQuotaResponse, err error)
DeleteUserQuota 指定条件删除文件系统配额(仅部分Turbo实例能使用,若需要调用请提交工单与我们联系)
可能返回的错误码:
UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAutoSnapshotPolicies ¶ added in v1.0.493
func (c *Client) DescribeAutoSnapshotPolicies(request *DescribeAutoSnapshotPoliciesRequest) (response *DescribeAutoSnapshotPoliciesResponse, err error)
DescribeAutoSnapshotPolicies 查询文件系统快照定期策略列表信息
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_AUTOPOLICYNOTFOUND = "InvalidParameter.AutoPolicyNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNAUTHORIZEDCFSQCSROLE = "UnsupportedOperation.UnauthorizedCfsQcsRole" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeAutoSnapshotPoliciesWithContext ¶ added in v1.0.493
func (c *Client) DescribeAutoSnapshotPoliciesWithContext(ctx context.Context, request *DescribeAutoSnapshotPoliciesRequest) (response *DescribeAutoSnapshotPoliciesResponse, err error)
DescribeAutoSnapshotPolicies 查询文件系统快照定期策略列表信息
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_AUTOPOLICYNOTFOUND = "InvalidParameter.AutoPolicyNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNAUTHORIZEDCFSQCSROLE = "UnsupportedOperation.UnauthorizedCfsQcsRole" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeAvailableZoneInfo ¶
func (c *Client) DescribeAvailableZoneInfo(request *DescribeAvailableZoneInfoRequest) (response *DescribeAvailableZoneInfoResponse, err error)
DescribeAvailableZoneInfo 本接口(DescribeAvailableZoneInfo)用于查询区域的可用情况。
可能返回的错误码:
AUTHFAILURE_GETROLEFAILED = "AuthFailure.GetRoleFailed" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeAvailableZoneInfoWithContext ¶ added in v1.0.324
func (c *Client) DescribeAvailableZoneInfoWithContext(ctx context.Context, request *DescribeAvailableZoneInfoRequest) (response *DescribeAvailableZoneInfoResponse, err error)
DescribeAvailableZoneInfo 本接口(DescribeAvailableZoneInfo)用于查询区域的可用情况。
可能返回的错误码:
AUTHFAILURE_GETROLEFAILED = "AuthFailure.GetRoleFailed" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeBucketList ¶ added in v1.0.639
func (c *Client) DescribeBucketList(request *DescribeBucketListRequest) (response *DescribeBucketListResponse, err error)
DescribeBucketList 用于获取数据源桶列表。
此接口需提交工单,开启白名单之后才能使用。
可能返回的错误码:
AUTHFAILURE_GETROLEFAILED = "AuthFailure.GetRoleFailed" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeBucketListWithContext ¶ added in v1.0.639
func (c *Client) DescribeBucketListWithContext(ctx context.Context, request *DescribeBucketListRequest) (response *DescribeBucketListResponse, err error)
DescribeBucketList 用于获取数据源桶列表。
此接口需提交工单,开启白名单之后才能使用。
可能返回的错误码:
AUTHFAILURE_GETROLEFAILED = "AuthFailure.GetRoleFailed" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsFileSystemClients ¶
func (c *Client) DescribeCfsFileSystemClients(request *DescribeCfsFileSystemClientsRequest) (response *DescribeCfsFileSystemClientsResponse, err error)
DescribeCfsFileSystemClients 查询挂载该文件系统的客户端。此功能需要客户端安装CFS监控插件。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_MISSINGFILESYSTEMID = "InvalidParameterValue.MissingFileSystemId" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" RESOURCENOTFOUND_MOUNTTARGETNOTFOUND = "ResourceNotFound.MountTargetNotFound" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService"
func (*Client) DescribeCfsFileSystemClientsWithContext ¶ added in v1.0.324
func (c *Client) DescribeCfsFileSystemClientsWithContext(ctx context.Context, request *DescribeCfsFileSystemClientsRequest) (response *DescribeCfsFileSystemClientsResponse, err error)
DescribeCfsFileSystemClients 查询挂载该文件系统的客户端。此功能需要客户端安装CFS监控插件。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_MISSINGFILESYSTEMID = "InvalidParameterValue.MissingFileSystemId" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" RESOURCENOTFOUND_MOUNTTARGETNOTFOUND = "ResourceNotFound.MountTargetNotFound" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService"
func (*Client) DescribeCfsFileSystems ¶
func (c *Client) DescribeCfsFileSystems(request *DescribeCfsFileSystemsRequest) (response *DescribeCfsFileSystemsResponse, err error)
DescribeCfsFileSystems 本接口(DescribeCfsFileSystems)用于查询文件系统
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_MISSINGFILESYSTEMIDORREGION = "InvalidParameterValue.MissingFileSystemIdOrRegion" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" INVALIDPARAMETERVALUE_TAGKEYFILTERLIMITEXCEEDED = "InvalidParameterValue.TagKeyFilterLimitExceeded" INVALIDPARAMETERVALUE_TAGKEYLIMITEXCEEDED = "InvalidParameterValue.TagKeyLimitExceeded" INVALIDPARAMETERVALUE_UNAVAILABLEREGION = "InvalidParameterValue.UnavailableRegion" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsFileSystemsWithContext ¶ added in v1.0.324
func (c *Client) DescribeCfsFileSystemsWithContext(ctx context.Context, request *DescribeCfsFileSystemsRequest) (response *DescribeCfsFileSystemsResponse, err error)
DescribeCfsFileSystems 本接口(DescribeCfsFileSystems)用于查询文件系统
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_MISSINGFILESYSTEMIDORREGION = "InvalidParameterValue.MissingFileSystemIdOrRegion" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" INVALIDPARAMETERVALUE_TAGKEYFILTERLIMITEXCEEDED = "InvalidParameterValue.TagKeyFilterLimitExceeded" INVALIDPARAMETERVALUE_TAGKEYLIMITEXCEEDED = "InvalidParameterValue.TagKeyLimitExceeded" INVALIDPARAMETERVALUE_UNAVAILABLEREGION = "InvalidParameterValue.UnavailableRegion" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsPGroups ¶
func (c *Client) DescribeCfsPGroups(request *DescribeCfsPGroupsRequest) (response *DescribeCfsPGroupsResponse, err error)
DescribeCfsPGroups 本接口(DescribeCfsPGroups)用于查询权限组列表。
可能返回的错误码:
INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsPGroupsWithContext ¶ added in v1.0.324
func (c *Client) DescribeCfsPGroupsWithContext(ctx context.Context, request *DescribeCfsPGroupsRequest) (response *DescribeCfsPGroupsResponse, err error)
DescribeCfsPGroups 本接口(DescribeCfsPGroups)用于查询权限组列表。
可能返回的错误码:
INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsRules ¶
func (c *Client) DescribeCfsRules(request *DescribeCfsRulesRequest) (response *DescribeCfsRulesResponse, err error)
DescribeCfsRules 本接口(DescribeCfsRules)用于查询权限组规则列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsRulesWithContext ¶ added in v1.0.324
func (c *Client) DescribeCfsRulesWithContext(ctx context.Context, request *DescribeCfsRulesRequest) (response *DescribeCfsRulesResponse, err error)
DescribeCfsRules 本接口(DescribeCfsRules)用于查询权限组规则列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsServiceStatus ¶
func (c *Client) DescribeCfsServiceStatus(request *DescribeCfsServiceStatusRequest) (response *DescribeCfsServiceStatusResponse, err error)
DescribeCfsServiceStatus 本接口(DescribeCfsServiceStatus)用于查询用户使用CFS的服务状态。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsServiceStatusWithContext ¶ added in v1.0.324
func (c *Client) DescribeCfsServiceStatusWithContext(ctx context.Context, request *DescribeCfsServiceStatusRequest) (response *DescribeCfsServiceStatusResponse, err error)
DescribeCfsServiceStatus 本接口(DescribeCfsServiceStatus)用于查询用户使用CFS的服务状态。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsSnapshotOverview ¶ added in v1.0.493
func (c *Client) DescribeCfsSnapshotOverview(request *DescribeCfsSnapshotOverviewRequest) (response *DescribeCfsSnapshotOverviewResponse, err error)
DescribeCfsSnapshotOverview 文件系统快照概览
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNAUTHORIZEDCFSQCSROLE = "UnsupportedOperation.UnauthorizedCfsQcsRole" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsSnapshotOverviewWithContext ¶ added in v1.0.493
func (c *Client) DescribeCfsSnapshotOverviewWithContext(ctx context.Context, request *DescribeCfsSnapshotOverviewRequest) (response *DescribeCfsSnapshotOverviewResponse, err error)
DescribeCfsSnapshotOverview 文件系统快照概览
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNAUTHORIZEDCFSQCSROLE = "UnsupportedOperation.UnauthorizedCfsQcsRole" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsSnapshots ¶ added in v1.0.493
func (c *Client) DescribeCfsSnapshots(request *DescribeCfsSnapshotsRequest) (response *DescribeCfsSnapshotsResponse, err error)
DescribeCfsSnapshots 查询文件系统快照列表
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsSnapshotsWithContext ¶ added in v1.0.493
func (c *Client) DescribeCfsSnapshotsWithContext(ctx context.Context, request *DescribeCfsSnapshotsRequest) (response *DescribeCfsSnapshotsResponse, err error)
DescribeCfsSnapshots 查询文件系统快照列表
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeMigrationTasks ¶ added in v1.0.639
func (c *Client) DescribeMigrationTasks(request *DescribeMigrationTasksRequest) (response *DescribeMigrationTasksResponse, err error)
DescribeMigrationTasks 用于获取迁移任务列表。
此接口需提交工单,开启白名单之后才能使用。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeMigrationTasksWithContext ¶ added in v1.0.639
func (c *Client) DescribeMigrationTasksWithContext(ctx context.Context, request *DescribeMigrationTasksRequest) (response *DescribeMigrationTasksResponse, err error)
DescribeMigrationTasks 用于获取迁移任务列表。
此接口需提交工单,开启白名单之后才能使用。
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeMountTargets ¶
func (c *Client) DescribeMountTargets(request *DescribeMountTargetsRequest) (response *DescribeMountTargetsResponse, err error)
DescribeMountTargets 本接口(DescribeMountTargets)用于查询文件系统挂载点信息
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_MISSINGFILESYSTEMID = "InvalidParameterValue.MissingFileSystemId" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" RESOURCENOTFOUND_MOUNTTARGETNOTFOUND = "ResourceNotFound.MountTargetNotFound" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeMountTargetsWithContext ¶ added in v1.0.324
func (c *Client) DescribeMountTargetsWithContext(ctx context.Context, request *DescribeMountTargetsRequest) (response *DescribeMountTargetsResponse, err error)
DescribeMountTargets 本接口(DescribeMountTargets)用于查询文件系统挂载点信息
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_MISSINGFILESYSTEMID = "InvalidParameterValue.MissingFileSystemId" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" RESOURCENOTFOUND_MOUNTTARGETNOTFOUND = "ResourceNotFound.MountTargetNotFound" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeSnapshotOperationLogs ¶ added in v1.0.493
func (c *Client) DescribeSnapshotOperationLogs(request *DescribeSnapshotOperationLogsRequest) (response *DescribeSnapshotOperationLogsResponse, err error)
DescribeSnapshotOperationLogs 查询快照操作日志
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDSNAPSHOTSTATUS = "InvalidParameterValue.InvalidSnapshotStatus" RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNAUTHORIZEDCFSQCSROLE = "UnsupportedOperation.UnauthorizedCfsQcsRole" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeSnapshotOperationLogsWithContext ¶ added in v1.0.493
func (c *Client) DescribeSnapshotOperationLogsWithContext(ctx context.Context, request *DescribeSnapshotOperationLogsRequest) (response *DescribeSnapshotOperationLogsResponse, err error)
DescribeSnapshotOperationLogs 查询快照操作日志
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDSNAPSHOTSTATUS = "InvalidParameterValue.InvalidSnapshotStatus" RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNAUTHORIZEDCFSQCSROLE = "UnsupportedOperation.UnauthorizedCfsQcsRole" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeUserQuota ¶ added in v1.0.535
func (c *Client) DescribeUserQuota(request *DescribeUserQuotaRequest) (response *DescribeUserQuotaResponse, err error)
DescribeUserQuota 查询文件系统配额(仅部分Turbo实例能使用,若需要调用请提交工单与我们联系)
可能返回的错误码:
INVALIDPARAMETERVALUE_QUOTAUSERTYPEERROR = "InvalidParameterValue.QuotaUserTypeError" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeUserQuotaWithContext ¶ added in v1.0.535
func (c *Client) DescribeUserQuotaWithContext(ctx context.Context, request *DescribeUserQuotaRequest) (response *DescribeUserQuotaResponse, err error)
DescribeUserQuota 查询文件系统配额(仅部分Turbo实例能使用,若需要调用请提交工单与我们联系)
可能返回的错误码:
INVALIDPARAMETERVALUE_QUOTAUSERTYPEERROR = "InvalidParameterValue.QuotaUserTypeError" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyFileSystemAutoScaleUpRule ¶ added in v1.0.646
func (c *Client) ModifyFileSystemAutoScaleUpRule(request *ModifyFileSystemAutoScaleUpRuleRequest) (response *ModifyFileSystemAutoScaleUpRuleResponse, err error)
ModifyFileSystemAutoScaleUpRule 用来设置文件系统扩容策略
可能返回的错误码:
AUTHFAILURE_GETROLEFAILED = "AuthFailure.GetRoleFailed" INVALIDPARAMETERVALUE_INVALIDAUTOSCALEUPPARAMS = "InvalidParameterValue.InvalidAutoScaleUpParams" INVALIDPARAMETERVALUE_INVALIDFSSTATUS = "InvalidParameterValue.InvalidFsStatus" RESOURCENOTFOUND_FSNOTEXIST = "ResourceNotFound.FsNotExist" RESOURCENOTFOUND_RESOURCEPACKAGENOTFOUND = "ResourceNotFound.ResourcePackageNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyFileSystemAutoScaleUpRuleWithContext ¶ added in v1.0.646
func (c *Client) ModifyFileSystemAutoScaleUpRuleWithContext(ctx context.Context, request *ModifyFileSystemAutoScaleUpRuleRequest) (response *ModifyFileSystemAutoScaleUpRuleResponse, err error)
ModifyFileSystemAutoScaleUpRule 用来设置文件系统扩容策略
可能返回的错误码:
AUTHFAILURE_GETROLEFAILED = "AuthFailure.GetRoleFailed" INVALIDPARAMETERVALUE_INVALIDAUTOSCALEUPPARAMS = "InvalidParameterValue.InvalidAutoScaleUpParams" INVALIDPARAMETERVALUE_INVALIDFSSTATUS = "InvalidParameterValue.InvalidFsStatus" RESOURCENOTFOUND_FSNOTEXIST = "ResourceNotFound.FsNotExist" RESOURCENOTFOUND_RESOURCEPACKAGENOTFOUND = "ResourceNotFound.ResourcePackageNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ScaleUpFileSystem ¶ added in v1.0.645
func (c *Client) ScaleUpFileSystem(request *ScaleUpFileSystemRequest) (response *ScaleUpFileSystemResponse, err error)
ScaleUpFileSystem 该接口用于对turbo 文件系统扩容使用
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFSSTATUS = "InvalidParameterValue.InvalidFsStatus" INVALIDPARAMETERVALUE_INVALIDSCALEUPTARGETCAPACITY = "InvalidParameterValue.InvalidScaleupTargetCapacity" INVALIDPARAMETERVALUE_INVALIDTURBOCAPACITY = "InvalidParameterValue.InvalidTurboCapacity" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" RESOURCENOTFOUND_FSNOTEXIST = "ResourceNotFound.FsNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_MISSINGKMSACCESSPERMISSION = "UnsupportedOperation.MissingKmsAccessPermission" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) ScaleUpFileSystemWithContext ¶ added in v1.0.645
func (c *Client) ScaleUpFileSystemWithContext(ctx context.Context, request *ScaleUpFileSystemRequest) (response *ScaleUpFileSystemResponse, err error)
ScaleUpFileSystem 该接口用于对turbo 文件系统扩容使用
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFSSTATUS = "InvalidParameterValue.InvalidFsStatus" INVALIDPARAMETERVALUE_INVALIDSCALEUPTARGETCAPACITY = "InvalidParameterValue.InvalidScaleupTargetCapacity" INVALIDPARAMETERVALUE_INVALIDTURBOCAPACITY = "InvalidParameterValue.InvalidTurboCapacity" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" RESOURCENOTFOUND_FSNOTEXIST = "ResourceNotFound.FsNotExist" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_MISSINGKMSACCESSPERMISSION = "UnsupportedOperation.MissingKmsAccessPermission" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) SetUserQuota ¶ added in v1.0.535
func (c *Client) SetUserQuota(request *SetUserQuotaRequest) (response *SetUserQuotaResponse, err error)
SetUserQuota 设置文件系统配额,提供UID/GID的配额设置的接口(仅部分Turbo实例能使用,若需要调用请提交工单与我们联系)
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_CFSPATH = "InvalidParameterValue.CfsPath" INVALIDPARAMETERVALUE_INVALIDPOLICYFSPATH = "InvalidParameterValue.InvalidPolicyFsPath" INVALIDPARAMETERVALUE_PROJECTQUOTASDIRNESTED = "InvalidParameterValue.ProjectQuotasDirNested" INVALIDPARAMETERVALUE_PROJECTQUOTASEXCEEDED = "InvalidParameterValue.ProjectQuotasExceeded" INVALIDPARAMETERVALUE_QUOTACAPLIMITERROR = "InvalidParameterValue.QuotaCapLimitError" INVALIDPARAMETERVALUE_QUOTAFILELIMITERROR = "InvalidParameterValue.QuotaFileLimitError" INVALIDPARAMETERVALUE_QUOTAUSERIDERROR = "InvalidParameterValue.QuotaUserIdError" INVALIDPARAMETERVALUE_QUOTAUSERTYPEERROR = "InvalidParameterValue.QuotaUserTypeError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) SetUserQuotaWithContext ¶ added in v1.0.535
func (c *Client) SetUserQuotaWithContext(ctx context.Context, request *SetUserQuotaRequest) (response *SetUserQuotaResponse, err error)
SetUserQuota 设置文件系统配额,提供UID/GID的配额设置的接口(仅部分Turbo实例能使用,若需要调用请提交工单与我们联系)
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE_CFSPATH = "InvalidParameterValue.CfsPath" INVALIDPARAMETERVALUE_INVALIDPOLICYFSPATH = "InvalidParameterValue.InvalidPolicyFsPath" INVALIDPARAMETERVALUE_PROJECTQUOTASDIRNESTED = "InvalidParameterValue.ProjectQuotasDirNested" INVALIDPARAMETERVALUE_PROJECTQUOTASEXCEEDED = "InvalidParameterValue.ProjectQuotasExceeded" INVALIDPARAMETERVALUE_QUOTACAPLIMITERROR = "InvalidParameterValue.QuotaCapLimitError" INVALIDPARAMETERVALUE_QUOTAFILELIMITERROR = "InvalidParameterValue.QuotaFileLimitError" INVALIDPARAMETERVALUE_QUOTAUSERIDERROR = "InvalidParameterValue.QuotaUserIdError" INVALIDPARAMETERVALUE_QUOTAUSERTYPEERROR = "InvalidParameterValue.QuotaUserTypeError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) SignUpCfsService ¶
func (c *Client) SignUpCfsService(request *SignUpCfsServiceRequest) (response *SignUpCfsServiceResponse, err error)
SignUpCfsService 本接口(SignUpCfsService)用于开通CFS服务。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) SignUpCfsServiceWithContext ¶ added in v1.0.324
func (c *Client) SignUpCfsServiceWithContext(ctx context.Context, request *SignUpCfsServiceRequest) (response *SignUpCfsServiceResponse, err error)
SignUpCfsService 本接口(SignUpCfsService)用于开通CFS服务。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) StopMigrationTask ¶ added in v1.0.639
func (c *Client) StopMigrationTask(request *StopMigrationTaskRequest) (response *StopMigrationTaskResponse, err error)
StopMigrationTask 用于终止迁移任务。
此接口需提交工单,开启白名单之后才能使用。
可能返回的错误码:
RESOURCEINUSE = "ResourceInUse"
func (*Client) StopMigrationTaskWithContext ¶ added in v1.0.639
func (c *Client) StopMigrationTaskWithContext(ctx context.Context, request *StopMigrationTaskRequest) (response *StopMigrationTaskResponse, err error)
StopMigrationTask 用于终止迁移任务。
此接口需提交工单,开启白名单之后才能使用。
可能返回的错误码:
RESOURCEINUSE = "ResourceInUse"
func (*Client) UnbindAutoSnapshotPolicy ¶ added in v1.0.493
func (c *Client) UnbindAutoSnapshotPolicy(request *UnbindAutoSnapshotPolicyRequest) (response *UnbindAutoSnapshotPolicyResponse, err error)
UnbindAutoSnapshotPolicy 解除文件系统绑定的快照策略
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_AUTOPOLICYNOTFOUND = "InvalidParameter.AutoPolicyNotFound" INVALIDPARAMETER_INVALIDSNAPPOLICYSTATUS = "InvalidParameter.InvalidSnapPolicyStatus" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) UnbindAutoSnapshotPolicyWithContext ¶ added in v1.0.493
func (c *Client) UnbindAutoSnapshotPolicyWithContext(ctx context.Context, request *UnbindAutoSnapshotPolicyRequest) (response *UnbindAutoSnapshotPolicyResponse, err error)
UnbindAutoSnapshotPolicy 解除文件系统绑定的快照策略
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_AUTOPOLICYNOTFOUND = "InvalidParameter.AutoPolicyNotFound" INVALIDPARAMETER_INVALIDSNAPPOLICYSTATUS = "InvalidParameter.InvalidSnapPolicyStatus" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) UpdateAutoSnapshotPolicy ¶ added in v1.0.493
func (c *Client) UpdateAutoSnapshotPolicy(request *UpdateAutoSnapshotPolicyRequest) (response *UpdateAutoSnapshotPolicyResponse, err error)
UpdateAutoSnapshotPolicy 更新定期自动快照策略
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_AUTOPOLICYNOTFOUND = "InvalidParameter.AutoPolicyNotFound" INVALIDPARAMETER_INVALIDPARAMDAYOFWEEK = "InvalidParameter.InvalidParamDayofWeek" INVALIDPARAMETER_INVALIDPARAMHOUR = "InvalidParameter.InvalidParamHour" INVALIDPARAMETER_INVALIDSNAPPOLICYSTATUS = "InvalidParameter.InvalidSnapPolicyStatus" INVALIDPARAMETER_INVALIDSNAPSHOTPOLICYNAME = "InvalidParameter.InvalidSnapshotPolicyName" INVALIDPARAMETER_MISSINGPOLICYPARAM = "InvalidParameter.MissingPolicyParam" INVALIDPARAMETER_SNAPSHOTPOLICYNAMELIMITEXCEEDED = "InvalidParameter.SnapshotPolicyNameLimitExceeded" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_AUTOPOLICYNOTFOUND = "InvalidParameterValue.AutoPolicyNotFound" INVALIDPARAMETERVALUE_INVALIDDESTINATIONREGIONS = "InvalidParameterValue.InvalidDestinationRegions" INVALIDPARAMETERVALUE_MISSINGPOLICYPARAM = "InvalidParameterValue.MissingPolicyParam" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNAUTHORIZEDCFSQCSROLE = "UnsupportedOperation.UnauthorizedCfsQcsRole" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) UpdateAutoSnapshotPolicyWithContext ¶ added in v1.0.493
func (c *Client) UpdateAutoSnapshotPolicyWithContext(ctx context.Context, request *UpdateAutoSnapshotPolicyRequest) (response *UpdateAutoSnapshotPolicyResponse, err error)
UpdateAutoSnapshotPolicy 更新定期自动快照策略
可能返回的错误码:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_AUTOPOLICYNOTFOUND = "InvalidParameter.AutoPolicyNotFound" INVALIDPARAMETER_INVALIDPARAMDAYOFWEEK = "InvalidParameter.InvalidParamDayofWeek" INVALIDPARAMETER_INVALIDPARAMHOUR = "InvalidParameter.InvalidParamHour" INVALIDPARAMETER_INVALIDSNAPPOLICYSTATUS = "InvalidParameter.InvalidSnapPolicyStatus" INVALIDPARAMETER_INVALIDSNAPSHOTPOLICYNAME = "InvalidParameter.InvalidSnapshotPolicyName" INVALIDPARAMETER_MISSINGPOLICYPARAM = "InvalidParameter.MissingPolicyParam" INVALIDPARAMETER_SNAPSHOTPOLICYNAMELIMITEXCEEDED = "InvalidParameter.SnapshotPolicyNameLimitExceeded" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_AUTOPOLICYNOTFOUND = "InvalidParameterValue.AutoPolicyNotFound" INVALIDPARAMETERVALUE_INVALIDDESTINATIONREGIONS = "InvalidParameterValue.InvalidDestinationRegions" INVALIDPARAMETERVALUE_MISSINGPOLICYPARAM = "InvalidParameterValue.MissingPolicyParam" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNAUTHORIZEDCFSQCSROLE = "UnsupportedOperation.UnauthorizedCfsQcsRole" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) UpdateCfsFileSystemName ¶
func (c *Client) UpdateCfsFileSystemName(request *UpdateCfsFileSystemNameRequest) (response *UpdateCfsFileSystemNameResponse, err error)
UpdateCfsFileSystemName 本接口(UpdateCfsFileSystemName)用于更新文件系统名
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_FSNAMELIMITEXCEEDED = "InvalidParameterValue.FsNameLimitExceeded" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDFSNAME = "InvalidParameterValue.InvalidFsName" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) UpdateCfsFileSystemNameWithContext ¶ added in v1.0.324
func (c *Client) UpdateCfsFileSystemNameWithContext(ctx context.Context, request *UpdateCfsFileSystemNameRequest) (response *UpdateCfsFileSystemNameResponse, err error)
UpdateCfsFileSystemName 本接口(UpdateCfsFileSystemName)用于更新文件系统名
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_FSNAMELIMITEXCEEDED = "InvalidParameterValue.FsNameLimitExceeded" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDFSNAME = "InvalidParameterValue.InvalidFsName" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) UpdateCfsFileSystemPGroup ¶
func (c *Client) UpdateCfsFileSystemPGroup(request *UpdateCfsFileSystemPGroupRequest) (response *UpdateCfsFileSystemPGroupResponse, err error)
UpdateCfsFileSystemPGroup 本接口(UpdateCfsFileSystemPGroup)用于更新文件系统所使用的权限组
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PGROUPINUSE = "FailedOperation.PgroupInUse" FAILEDOPERATION_PGROUPISUPDATING = "FailedOperation.PgroupIsUpdating" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" INVALIDPARAMETERVALUE_INVALIDPGROUPID = "InvalidParameterValue.InvalidPgroupId" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) UpdateCfsFileSystemPGroupWithContext ¶ added in v1.0.324
func (c *Client) UpdateCfsFileSystemPGroupWithContext(ctx context.Context, request *UpdateCfsFileSystemPGroupRequest) (response *UpdateCfsFileSystemPGroupResponse, err error)
UpdateCfsFileSystemPGroup 本接口(UpdateCfsFileSystemPGroup)用于更新文件系统所使用的权限组
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PGROUPINUSE = "FailedOperation.PgroupInUse" FAILEDOPERATION_PGROUPISUPDATING = "FailedOperation.PgroupIsUpdating" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" INVALIDPARAMETERVALUE_INVALIDPGROUPID = "InvalidParameterValue.InvalidPgroupId" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) UpdateCfsFileSystemSizeLimit ¶
func (c *Client) UpdateCfsFileSystemSizeLimit(request *UpdateCfsFileSystemSizeLimitRequest) (response *UpdateCfsFileSystemSizeLimitResponse, err error)
UpdateCfsFileSystemSizeLimit 本接口(UpdateCfsFileSystemSizeLimit)用于更新文件系统存储容量限制。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_FSSIZELIMITEXCEEDED = "InvalidParameterValue.FsSizeLimitExceeded" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDFSSIZELIMIT = "InvalidParameterValue.InvalidFsSizeLimit" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) UpdateCfsFileSystemSizeLimitWithContext ¶ added in v1.0.324
func (c *Client) UpdateCfsFileSystemSizeLimitWithContext(ctx context.Context, request *UpdateCfsFileSystemSizeLimitRequest) (response *UpdateCfsFileSystemSizeLimitResponse, err error)
UpdateCfsFileSystemSizeLimit 本接口(UpdateCfsFileSystemSizeLimit)用于更新文件系统存储容量限制。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_FSSIZELIMITEXCEEDED = "InvalidParameterValue.FsSizeLimitExceeded" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDFSSIZELIMIT = "InvalidParameterValue.InvalidFsSizeLimit" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) UpdateCfsPGroup ¶
func (c *Client) UpdateCfsPGroup(request *UpdateCfsPGroupRequest) (response *UpdateCfsPGroupResponse, err error)
UpdateCfsPGroup 本接口(UpdateCfsPGroup)更新权限组信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_MOUNTTARGETEXISTS = "FailedOperation.MountTargetExists" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETERVALUE_DUPLICATEDPGROUPNAME = "InvalidParameterValue.DuplicatedPgroupName" INVALIDPARAMETERVALUE_INVALIDPGROUPNAME = "InvalidParameterValue.InvalidPgroupName" INVALIDPARAMETERVALUE_MISSINGNAMEORDESCINFO = "InvalidParameterValue.MissingNameOrDescinfo" INVALIDPARAMETERVALUE_MISSINGPGROUPNAME = "InvalidParameterValue.MissingPgroupName" INVALIDPARAMETERVALUE_PGROUPDESCINFOLIMITEXCEEDED = "InvalidParameterValue.PgroupDescinfoLimitExceeded" INVALIDPARAMETERVALUE_PGROUPNAMELIMITEXCEEDED = "InvalidParameterValue.PgroupNameLimitExceeded" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) UpdateCfsPGroupWithContext ¶ added in v1.0.324
func (c *Client) UpdateCfsPGroupWithContext(ctx context.Context, request *UpdateCfsPGroupRequest) (response *UpdateCfsPGroupResponse, err error)
UpdateCfsPGroup 本接口(UpdateCfsPGroup)更新权限组信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_MOUNTTARGETEXISTS = "FailedOperation.MountTargetExists" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETERVALUE_DUPLICATEDPGROUPNAME = "InvalidParameterValue.DuplicatedPgroupName" INVALIDPARAMETERVALUE_INVALIDPGROUPNAME = "InvalidParameterValue.InvalidPgroupName" INVALIDPARAMETERVALUE_MISSINGNAMEORDESCINFO = "InvalidParameterValue.MissingNameOrDescinfo" INVALIDPARAMETERVALUE_MISSINGPGROUPNAME = "InvalidParameterValue.MissingPgroupName" INVALIDPARAMETERVALUE_PGROUPDESCINFOLIMITEXCEEDED = "InvalidParameterValue.PgroupDescinfoLimitExceeded" INVALIDPARAMETERVALUE_PGROUPNAMELIMITEXCEEDED = "InvalidParameterValue.PgroupNameLimitExceeded" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) UpdateCfsRule ¶
func (c *Client) UpdateCfsRule(request *UpdateCfsRuleRequest) (response *UpdateCfsRuleResponse, err error)
UpdateCfsRule 本接口(UpdateCfsRule)用于更新权限规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PGROUPINUSE = "FailedOperation.PgroupInUse" FAILEDOPERATION_PGROUPISUPDATING = "FailedOperation.PgroupIsUpdating" FAILEDOPERATION_PGROUPLINKCFSV10 = "FailedOperation.PgroupLinkCfsv10" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DUPLICATEDRULEAUTHCLIENTIP = "InvalidParameterValue.DuplicatedRuleAuthClientIp" INVALIDPARAMETERVALUE_INVALIDAUTHCLIENTIP = "InvalidParameterValue.InvalidAuthClientIp" INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" INVALIDPARAMETERVALUE_INVALIDPRIORITY = "InvalidParameterValue.InvalidPriority" INVALIDPARAMETERVALUE_INVALIDRWPERMISSION = "InvalidParameterValue.InvalidRwPermission" INVALIDPARAMETERVALUE_INVALIDUSERPERMISSION = "InvalidParameterValue.InvalidUserPermission" INVALIDPARAMETERVALUE_RULENOTMATCHPGROUP = "InvalidParameterValue.RuleNotMatchPgroup" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) UpdateCfsRuleWithContext ¶ added in v1.0.324
func (c *Client) UpdateCfsRuleWithContext(ctx context.Context, request *UpdateCfsRuleRequest) (response *UpdateCfsRuleResponse, err error)
UpdateCfsRule 本接口(UpdateCfsRule)用于更新权限规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PGROUPINUSE = "FailedOperation.PgroupInUse" FAILEDOPERATION_PGROUPISUPDATING = "FailedOperation.PgroupIsUpdating" FAILEDOPERATION_PGROUPLINKCFSV10 = "FailedOperation.PgroupLinkCfsv10" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_DUPLICATEDRULEAUTHCLIENTIP = "InvalidParameterValue.DuplicatedRuleAuthClientIp" INVALIDPARAMETERVALUE_INVALIDAUTHCLIENTIP = "InvalidParameterValue.InvalidAuthClientIp" INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" INVALIDPARAMETERVALUE_INVALIDPRIORITY = "InvalidParameterValue.InvalidPriority" INVALIDPARAMETERVALUE_INVALIDRWPERMISSION = "InvalidParameterValue.InvalidRwPermission" INVALIDPARAMETERVALUE_INVALIDUSERPERMISSION = "InvalidParameterValue.InvalidUserPermission" INVALIDPARAMETERVALUE_RULENOTMATCHPGROUP = "InvalidParameterValue.RuleNotMatchPgroup" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) UpdateCfsSnapshotAttribute ¶ added in v1.0.493
func (c *Client) UpdateCfsSnapshotAttribute(request *UpdateCfsSnapshotAttributeRequest) (response *UpdateCfsSnapshotAttributeResponse, err error)
UpdateCfsSnapshotAttribute 更新文件系统快照名称及保留时长
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDSNAPSHOTNAME = "InvalidParameter.InvalidSnapshotName" INVALIDPARAMETER_SNAPSHOTNAMELIMITEXCEEDED = "InvalidParameter.SnapshotNameLimitExceeded" INVALIDPARAMETERVALUE_INVALIDSNAPSHOTNAME = "InvalidParameterValue.InvalidSnapshotName" INVALIDPARAMETERVALUE_INVALIDSNAPSHOTSTATUS = "InvalidParameterValue.InvalidSnapshotStatus" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService"
func (*Client) UpdateCfsSnapshotAttributeWithContext ¶ added in v1.0.493
func (c *Client) UpdateCfsSnapshotAttributeWithContext(ctx context.Context, request *UpdateCfsSnapshotAttributeRequest) (response *UpdateCfsSnapshotAttributeResponse, err error)
UpdateCfsSnapshotAttribute 更新文件系统快照名称及保留时长
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDSNAPSHOTNAME = "InvalidParameter.InvalidSnapshotName" INVALIDPARAMETER_SNAPSHOTNAMELIMITEXCEEDED = "InvalidParameter.SnapshotNameLimitExceeded" INVALIDPARAMETERVALUE_INVALIDSNAPSHOTNAME = "InvalidParameterValue.InvalidSnapshotName" INVALIDPARAMETERVALUE_INVALIDSNAPSHOTSTATUS = "InvalidParameterValue.InvalidSnapshotStatus" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService"
func (*Client) UpdateFileSystemBandwidthLimit ¶ added in v1.0.787
func (c *Client) UpdateFileSystemBandwidthLimit(request *UpdateFileSystemBandwidthLimitRequest) (response *UpdateFileSystemBandwidthLimitResponse, err error)
UpdateFileSystemBandwidthLimit 更新文件系统吞吐
仅吞吐型支持此接口
可能返回的错误码:
FAILEDOPERATION_ADJUSTFREQUENCYLIMIT = "FailedOperation.AdjustFrequencyLimit" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UpdateFileSystemBandwidthLimitWithContext ¶ added in v1.0.787
func (c *Client) UpdateFileSystemBandwidthLimitWithContext(ctx context.Context, request *UpdateFileSystemBandwidthLimitRequest) (response *UpdateFileSystemBandwidthLimitResponse, err error)
UpdateFileSystemBandwidthLimit 更新文件系统吞吐
仅吞吐型支持此接口
可能返回的错误码:
FAILEDOPERATION_ADJUSTFREQUENCYLIMIT = "FailedOperation.AdjustFrequencyLimit" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" UNSUPPORTEDOPERATION = "UnsupportedOperation"
type CreateAccessCertRequest ¶ added in v1.0.1085
type CreateAccessCertRequest struct { *tchttp.BaseRequest // 证书描述 CertDesc *string `json:"CertDesc,omitnil,omitempty" name:"CertDesc"` }
func NewCreateAccessCertRequest ¶ added in v1.0.1085
func NewCreateAccessCertRequest() (request *CreateAccessCertRequest)
func (*CreateAccessCertRequest) FromJsonString ¶ added in v1.0.1085
func (r *CreateAccessCertRequest) 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 (*CreateAccessCertRequest) ToJsonString ¶ added in v1.0.1085
func (r *CreateAccessCertRequest) ToJsonString() string
type CreateAccessCertRequestParams ¶ added in v1.0.1085
type CreateAccessCertRequestParams struct { // 证书描述 CertDesc *string `json:"CertDesc,omitnil,omitempty" name:"CertDesc"` }
Predefined struct for user
type CreateAccessCertResponse ¶ added in v1.0.1085
type CreateAccessCertResponse struct { *tchttp.BaseResponse Response *CreateAccessCertResponseParams `json:"Response"` }
func NewCreateAccessCertResponse ¶ added in v1.0.1085
func NewCreateAccessCertResponse() (response *CreateAccessCertResponse)
func (*CreateAccessCertResponse) FromJsonString ¶ added in v1.0.1085
func (r *CreateAccessCertResponse) 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 (*CreateAccessCertResponse) ToJsonString ¶ added in v1.0.1085
func (r *CreateAccessCertResponse) ToJsonString() string
type CreateAccessCertResponseParams ¶ added in v1.0.1085
type CreateAccessCertResponseParams struct { // 凭证唯一标识 CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateAutoSnapshotPolicyRequest ¶ added in v1.0.493
type CreateAutoSnapshotPolicyRequest struct { *tchttp.BaseRequest // 快照重复时间点,0-23 Hour *string `json:"Hour,omitnil,omitempty" name:"Hour"` // 策略名称 PolicyName *string `json:"PolicyName,omitnil,omitempty" name:"PolicyName"` // 快照重复日期,星期一到星期日。 1代表星期一、7代表星期天 DayOfWeek *string `json:"DayOfWeek,omitnil,omitempty" name:"DayOfWeek"` // 快照保留时长,单位天 AliveDays *uint64 `json:"AliveDays,omitnil,omitempty" name:"AliveDays"` // 快照按月重复,每月1-31号,选择一天,每月将在这一天自动创建快照。 DayOfMonth *string `json:"DayOfMonth,omitnil,omitempty" name:"DayOfMonth"` // 间隔天数 IntervalDays *uint64 `json:"IntervalDays,omitnil,omitempty" name:"IntervalDays"` }
func NewCreateAutoSnapshotPolicyRequest ¶ added in v1.0.493
func NewCreateAutoSnapshotPolicyRequest() (request *CreateAutoSnapshotPolicyRequest)
func (*CreateAutoSnapshotPolicyRequest) FromJsonString ¶ added in v1.0.493
func (r *CreateAutoSnapshotPolicyRequest) 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 (*CreateAutoSnapshotPolicyRequest) ToJsonString ¶ added in v1.0.493
func (r *CreateAutoSnapshotPolicyRequest) ToJsonString() string
type CreateAutoSnapshotPolicyRequestParams ¶ added in v1.0.493
type CreateAutoSnapshotPolicyRequestParams struct { // 快照重复时间点,0-23 Hour *string `json:"Hour,omitnil,omitempty" name:"Hour"` // 策略名称 PolicyName *string `json:"PolicyName,omitnil,omitempty" name:"PolicyName"` // 快照重复日期,星期一到星期日。 1代表星期一、7代表星期天 DayOfWeek *string `json:"DayOfWeek,omitnil,omitempty" name:"DayOfWeek"` // 快照保留时长,单位天 AliveDays *uint64 `json:"AliveDays,omitnil,omitempty" name:"AliveDays"` // 快照按月重复,每月1-31号,选择一天,每月将在这一天自动创建快照。 DayOfMonth *string `json:"DayOfMonth,omitnil,omitempty" name:"DayOfMonth"` // 间隔天数 IntervalDays *uint64 `json:"IntervalDays,omitnil,omitempty" name:"IntervalDays"` }
Predefined struct for user
type CreateAutoSnapshotPolicyResponse ¶ added in v1.0.493
type CreateAutoSnapshotPolicyResponse struct { *tchttp.BaseResponse Response *CreateAutoSnapshotPolicyResponseParams `json:"Response"` }
func NewCreateAutoSnapshotPolicyResponse ¶ added in v1.0.493
func NewCreateAutoSnapshotPolicyResponse() (response *CreateAutoSnapshotPolicyResponse)
func (*CreateAutoSnapshotPolicyResponse) FromJsonString ¶ added in v1.0.493
func (r *CreateAutoSnapshotPolicyResponse) 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 (*CreateAutoSnapshotPolicyResponse) ToJsonString ¶ added in v1.0.493
func (r *CreateAutoSnapshotPolicyResponse) ToJsonString() string
type CreateAutoSnapshotPolicyResponseParams ¶ added in v1.0.493
type CreateAutoSnapshotPolicyResponseParams struct { // 快照策略ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCfsFileSystemRequest ¶
type CreateCfsFileSystemRequest struct { *tchttp.BaseRequest // 可用区名称,例如ap-beijing-1,请参考 [概览](https://cloud.tencent.com/document/product/582/13225) 文档中的地域与可用区列表 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 网络类型,可选值为 VPC,CCN;其中 VPC 为私有网络, CCN 为云联网。通用标准型/性能型请选择VPC,Turbo标准型/性能型请选择CCN。 NetInterface *string `json:"NetInterface,omitnil,omitempty" name:"NetInterface"` // 权限组 ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // 文件系统协议类型, 值为 NFS、CIFS、TURBO ; 若留空则默认为 NFS协议,turbo系列必须选择turbo,不支持NFS、CIFS Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // 文件系统存储类型,默认值为 SD ;其中 SD 为通用标准型存储, HP为通用性能型存储, TB为Turbo标准型, TP 为Turbo性能型。 StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` // 私有网络(VPC) ID,若网络类型选择的是VPC,该字段为必填。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网 ID,若网络类型选择的是VPC,该字段为必填。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 指定IP地址,仅VPC网络支持;若不填写、将在该子网下随机分配 IP,Turbo系列当前不支持指定 MountIP *string `json:"MountIP,omitnil,omitempty" name:"MountIP"` // 用户自定义文件系统名称 FsName *string `json:"FsName,omitnil,omitempty" name:"FsName"` // 文件系统标签 ResourceTags []*TagInfo `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"` // 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。用于保证请求幂等性的字符串失效时间为2小时。 ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // 云联网ID, 若网络类型选择的是CCN,该字段为必填 CcnId *string `json:"CcnId,omitnil,omitempty" name:"CcnId"` // 云联网中CFS使用的网段, 若网络类型选择的是Ccn,该字段为必填,且不能和Ccn中已经绑定的网段冲突 CidrBlock *string `json:"CidrBlock,omitnil,omitempty" name:"CidrBlock"` // 文件系统容量,turbo系列必填,单位为GiB。 turbo标准型单位GB,起售20TiB,即20480 GiB;扩容步长20TiB,即20480 GiB。turbo性能型起售10TiB,即10240 GiB;扩容步长10TiB,10240 GiB。 Capacity *uint64 `json:"Capacity,omitnil,omitempty" name:"Capacity"` // 文件系统快照ID SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // 定期快照策略ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // 是否开启默认扩容,仅Turbo类型文件存储支持 EnableAutoScaleUp *bool `json:"EnableAutoScaleUp,omitnil,omitempty" name:"EnableAutoScaleUp"` }
func NewCreateCfsFileSystemRequest ¶
func NewCreateCfsFileSystemRequest() (request *CreateCfsFileSystemRequest)
func (*CreateCfsFileSystemRequest) FromJsonString ¶
func (r *CreateCfsFileSystemRequest) 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 (*CreateCfsFileSystemRequest) ToJsonString ¶
func (r *CreateCfsFileSystemRequest) ToJsonString() string
type CreateCfsFileSystemRequestParams ¶ added in v1.0.426
type CreateCfsFileSystemRequestParams struct { // 可用区名称,例如ap-beijing-1,请参考 [概览](https://cloud.tencent.com/document/product/582/13225) 文档中的地域与可用区列表 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 网络类型,可选值为 VPC,CCN;其中 VPC 为私有网络, CCN 为云联网。通用标准型/性能型请选择VPC,Turbo标准型/性能型请选择CCN。 NetInterface *string `json:"NetInterface,omitnil,omitempty" name:"NetInterface"` // 权限组 ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // 文件系统协议类型, 值为 NFS、CIFS、TURBO ; 若留空则默认为 NFS协议,turbo系列必须选择turbo,不支持NFS、CIFS Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // 文件系统存储类型,默认值为 SD ;其中 SD 为通用标准型存储, HP为通用性能型存储, TB为Turbo标准型, TP 为Turbo性能型。 StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` // 私有网络(VPC) ID,若网络类型选择的是VPC,该字段为必填。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网 ID,若网络类型选择的是VPC,该字段为必填。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 指定IP地址,仅VPC网络支持;若不填写、将在该子网下随机分配 IP,Turbo系列当前不支持指定 MountIP *string `json:"MountIP,omitnil,omitempty" name:"MountIP"` // 用户自定义文件系统名称 FsName *string `json:"FsName,omitnil,omitempty" name:"FsName"` // 文件系统标签 ResourceTags []*TagInfo `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"` // 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。用于保证请求幂等性的字符串失效时间为2小时。 ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // 云联网ID, 若网络类型选择的是CCN,该字段为必填 CcnId *string `json:"CcnId,omitnil,omitempty" name:"CcnId"` // 云联网中CFS使用的网段, 若网络类型选择的是Ccn,该字段为必填,且不能和Ccn中已经绑定的网段冲突 CidrBlock *string `json:"CidrBlock,omitnil,omitempty" name:"CidrBlock"` // 文件系统容量,turbo系列必填,单位为GiB。 turbo标准型单位GB,起售20TiB,即20480 GiB;扩容步长20TiB,即20480 GiB。turbo性能型起售10TiB,即10240 GiB;扩容步长10TiB,10240 GiB。 Capacity *uint64 `json:"Capacity,omitnil,omitempty" name:"Capacity"` // 文件系统快照ID SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // 定期快照策略ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // 是否开启默认扩容,仅Turbo类型文件存储支持 EnableAutoScaleUp *bool `json:"EnableAutoScaleUp,omitnil,omitempty" name:"EnableAutoScaleUp"` }
Predefined struct for user
type CreateCfsFileSystemResponse ¶
type CreateCfsFileSystemResponse struct { *tchttp.BaseResponse Response *CreateCfsFileSystemResponseParams `json:"Response"` }
func NewCreateCfsFileSystemResponse ¶
func NewCreateCfsFileSystemResponse() (response *CreateCfsFileSystemResponse)
func (*CreateCfsFileSystemResponse) FromJsonString ¶
func (r *CreateCfsFileSystemResponse) 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 (*CreateCfsFileSystemResponse) ToJsonString ¶
func (r *CreateCfsFileSystemResponse) ToJsonString() string
type CreateCfsFileSystemResponseParams ¶ added in v1.0.426
type CreateCfsFileSystemResponseParams struct { // 文件系统创建时间 CreationTime *string `json:"CreationTime,omitnil,omitempty" name:"CreationTime"` // 用户自定义文件系统名称 CreationToken *string `json:"CreationToken,omitnil,omitempty" name:"CreationToken"` // 文件系统 ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 文件系统状态,可能出现状态包括:“creating” 创建中, “create_failed” 创建失败, “available” 可用, “unserviced” 不可用, “upgrading” 升级中, “deleting” 删除中。 LifeCycleState *string `json:"LifeCycleState,omitnil,omitempty" name:"LifeCycleState"` // 文件系统已使用容量大小,单位为 Byte SizeByte *uint64 `json:"SizeByte,omitnil,omitempty" name:"SizeByte"` // 可用区 ID ZoneId *uint64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 用户自定义文件系统名称 FsName *string `json:"FsName,omitnil,omitempty" name:"FsName"` // 文件系统是否加密 Encrypted *bool `json:"Encrypted,omitnil,omitempty" name:"Encrypted"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCfsPGroupRequest ¶
type CreateCfsPGroupRequest struct { *tchttp.BaseRequest // 权限组名称,1-64个字符且只能为中文,字母,数字,下划线或横线 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 权限组描述信息,1-255个字符 DescInfo *string `json:"DescInfo,omitnil,omitempty" name:"DescInfo"` }
func NewCreateCfsPGroupRequest ¶
func NewCreateCfsPGroupRequest() (request *CreateCfsPGroupRequest)
func (*CreateCfsPGroupRequest) FromJsonString ¶
func (r *CreateCfsPGroupRequest) 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 (*CreateCfsPGroupRequest) ToJsonString ¶
func (r *CreateCfsPGroupRequest) ToJsonString() string
type CreateCfsPGroupRequestParams ¶ added in v1.0.426
type CreateCfsPGroupRequestParams struct { // 权限组名称,1-64个字符且只能为中文,字母,数字,下划线或横线 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 权限组描述信息,1-255个字符 DescInfo *string `json:"DescInfo,omitnil,omitempty" name:"DescInfo"` }
Predefined struct for user
type CreateCfsPGroupResponse ¶
type CreateCfsPGroupResponse struct { *tchttp.BaseResponse Response *CreateCfsPGroupResponseParams `json:"Response"` }
func NewCreateCfsPGroupResponse ¶
func NewCreateCfsPGroupResponse() (response *CreateCfsPGroupResponse)
func (*CreateCfsPGroupResponse) FromJsonString ¶
func (r *CreateCfsPGroupResponse) 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 (*CreateCfsPGroupResponse) ToJsonString ¶
func (r *CreateCfsPGroupResponse) ToJsonString() string
type CreateCfsPGroupResponseParams ¶ added in v1.0.426
type CreateCfsPGroupResponseParams struct { // 权限组 ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // 权限组名字 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 权限组描述信息 DescInfo *string `json:"DescInfo,omitnil,omitempty" name:"DescInfo"` // 已经与该权限组绑定的文件系统个数 BindCfsNum *int64 `json:"BindCfsNum,omitnil,omitempty" name:"BindCfsNum"` // 权限组创建时间 CDate *string `json:"CDate,omitnil,omitempty" name:"CDate"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCfsRuleRequest ¶
type CreateCfsRuleRequest struct { *tchttp.BaseRequest // 权限组 ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // 可以填写单个 IP 或者单个网段,例如 10.1.10.11 或者 10.10.1.0/24。默认来访地址为*表示允许所有。同时需要注意,此处需填写 CVM 的内网 IP。 AuthClientIp *string `json:"AuthClientIp,omitnil,omitempty" name:"AuthClientIp"` // 规则优先级,参数范围1-100。 其中 1 为最高,100为最低 Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"` // 读写权限, 值为 RO、RW;其中 RO 为只读,RW 为读写,不填默认为只读 RWPermission *string `json:"RWPermission,omitnil,omitempty" name:"RWPermission"` // 用户权限,值为 all_squash、no_all_squash、root_squash、no_root_squash。 // all_squash:所有访问用户(含 root 用户)都会被映射为匿名用户或用户组。 // no_all_squash:所有访问用户(含 root 用户)均保持原有的 UID/GID 信息。 // root_squash:将来访的 root 用户映射为匿名用户或用户组,非 root 用户保持原有的 UID/GID 信息。 // no_root_squash:与 no_all_squash 效果一致,所有访问用户(含 root 用户)均保持原有的 UID/GID 信息 UserPermission *string `json:"UserPermission,omitnil,omitempty" name:"UserPermission"` }
func NewCreateCfsRuleRequest ¶
func NewCreateCfsRuleRequest() (request *CreateCfsRuleRequest)
func (*CreateCfsRuleRequest) FromJsonString ¶
func (r *CreateCfsRuleRequest) 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 (*CreateCfsRuleRequest) ToJsonString ¶
func (r *CreateCfsRuleRequest) ToJsonString() string
type CreateCfsRuleRequestParams ¶ added in v1.0.426
type CreateCfsRuleRequestParams struct { // 权限组 ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // 可以填写单个 IP 或者单个网段,例如 10.1.10.11 或者 10.10.1.0/24。默认来访地址为*表示允许所有。同时需要注意,此处需填写 CVM 的内网 IP。 AuthClientIp *string `json:"AuthClientIp,omitnil,omitempty" name:"AuthClientIp"` // 规则优先级,参数范围1-100。 其中 1 为最高,100为最低 Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"` // 读写权限, 值为 RO、RW;其中 RO 为只读,RW 为读写,不填默认为只读 RWPermission *string `json:"RWPermission,omitnil,omitempty" name:"RWPermission"` // 用户权限,值为 all_squash、no_all_squash、root_squash、no_root_squash。 // all_squash:所有访问用户(含 root 用户)都会被映射为匿名用户或用户组。 // no_all_squash:所有访问用户(含 root 用户)均保持原有的 UID/GID 信息。 // root_squash:将来访的 root 用户映射为匿名用户或用户组,非 root 用户保持原有的 UID/GID 信息。 // no_root_squash:与 no_all_squash 效果一致,所有访问用户(含 root 用户)均保持原有的 UID/GID 信息 UserPermission *string `json:"UserPermission,omitnil,omitempty" name:"UserPermission"` }
Predefined struct for user
type CreateCfsRuleResponse ¶
type CreateCfsRuleResponse struct { *tchttp.BaseResponse Response *CreateCfsRuleResponseParams `json:"Response"` }
func NewCreateCfsRuleResponse ¶
func NewCreateCfsRuleResponse() (response *CreateCfsRuleResponse)
func (*CreateCfsRuleResponse) FromJsonString ¶
func (r *CreateCfsRuleResponse) 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 (*CreateCfsRuleResponse) ToJsonString ¶
func (r *CreateCfsRuleResponse) ToJsonString() string
type CreateCfsRuleResponseParams ¶ added in v1.0.426
type CreateCfsRuleResponseParams struct { // 规则 ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 权限组 ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // 客户端 IP AuthClientIp *string `json:"AuthClientIp,omitnil,omitempty" name:"AuthClientIp"` // 读写权限 RWPermission *string `json:"RWPermission,omitnil,omitempty" name:"RWPermission"` // 用户权限 UserPermission *string `json:"UserPermission,omitnil,omitempty" name:"UserPermission"` // 优先级 Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCfsSnapshotRequest ¶ added in v1.0.493
type CreateCfsSnapshotRequest struct { *tchttp.BaseRequest // 文件系统id FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 快照名称 SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"` // 快照标签 ResourceTags []*TagInfo `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"` }
func NewCreateCfsSnapshotRequest ¶ added in v1.0.493
func NewCreateCfsSnapshotRequest() (request *CreateCfsSnapshotRequest)
func (*CreateCfsSnapshotRequest) FromJsonString ¶ added in v1.0.493
func (r *CreateCfsSnapshotRequest) 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 (*CreateCfsSnapshotRequest) ToJsonString ¶ added in v1.0.493
func (r *CreateCfsSnapshotRequest) ToJsonString() string
type CreateCfsSnapshotRequestParams ¶ added in v1.0.493
type CreateCfsSnapshotRequestParams struct { // 文件系统id FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 快照名称 SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"` // 快照标签 ResourceTags []*TagInfo `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"` }
Predefined struct for user
type CreateCfsSnapshotResponse ¶ added in v1.0.493
type CreateCfsSnapshotResponse struct { *tchttp.BaseResponse Response *CreateCfsSnapshotResponseParams `json:"Response"` }
func NewCreateCfsSnapshotResponse ¶ added in v1.0.493
func NewCreateCfsSnapshotResponse() (response *CreateCfsSnapshotResponse)
func (*CreateCfsSnapshotResponse) FromJsonString ¶ added in v1.0.493
func (r *CreateCfsSnapshotResponse) 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 (*CreateCfsSnapshotResponse) ToJsonString ¶ added in v1.0.493
func (r *CreateCfsSnapshotResponse) ToJsonString() string
type CreateCfsSnapshotResponseParams ¶ added in v1.0.493
type CreateCfsSnapshotResponseParams struct { // 文件系统快照id SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateMigrationTaskRequest ¶ added in v1.0.639
type CreateMigrationTaskRequest struct { *tchttp.BaseRequest // 迁移任务名称 TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // 迁移方式标志位,默认为0。0: 桶迁移;1: 清单迁移 MigrationType *uint64 `json:"MigrationType,omitnil,omitempty" name:"MigrationType"` // 迁移模式,默认为0。0: 全量迁移 MigrationMode *uint64 `json:"MigrationMode,omitnil,omitempty" name:"MigrationMode"` // 数据源账号的SecretId SrcSecretId *string `json:"SrcSecretId,omitnil,omitempty" name:"SrcSecretId"` // 数据源账号的SecretKey SrcSecretKey *string `json:"SrcSecretKey,omitnil,omitempty" name:"SrcSecretKey"` // 文件系统实例Id FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 文件系统路径 FsPath *string `json:"FsPath,omitnil,omitempty" name:"FsPath"` // 同名文件迁移时覆盖策略,默认为0。0: 最后修改时间优先;1: 全覆盖;2: 不覆盖 CoverType *uint64 `json:"CoverType,omitnil,omitempty" name:"CoverType"` // 数据源服务商。COS: 腾讯云COS,OSS: 阿里云OSS,OBS:华为云OBS SrcService *string `json:"SrcService,omitnil,omitempty" name:"SrcService"` // 数据源桶名称,名称和地址至少有一个 BucketName *string `json:"BucketName,omitnil,omitempty" name:"BucketName"` // 数据源桶地域 BucketRegion *string `json:"BucketRegion,omitnil,omitempty" name:"BucketRegion"` // 数据源桶地址,名称和地址至少有一个 BucketAddress *string `json:"BucketAddress,omitnil,omitempty" name:"BucketAddress"` // 清单地址,迁移方式为清单迁移时必填 ListAddress *string `json:"ListAddress,omitnil,omitempty" name:"ListAddress"` // 目标文件系统名称 FsName *string `json:"FsName,omitnil,omitempty" name:"FsName"` // 源桶路径,默认为/ BucketPath *string `json:"BucketPath,omitnil,omitempty" name:"BucketPath"` // 迁移方向。0: 对象存储迁移至文件系统,1: 文件系统迁移至对象存储。默认 0 Direction *uint64 `json:"Direction,omitnil,omitempty" name:"Direction"` }
func NewCreateMigrationTaskRequest ¶ added in v1.0.639
func NewCreateMigrationTaskRequest() (request *CreateMigrationTaskRequest)
func (*CreateMigrationTaskRequest) FromJsonString ¶ added in v1.0.639
func (r *CreateMigrationTaskRequest) 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 (*CreateMigrationTaskRequest) ToJsonString ¶ added in v1.0.639
func (r *CreateMigrationTaskRequest) ToJsonString() string
type CreateMigrationTaskRequestParams ¶ added in v1.0.639
type CreateMigrationTaskRequestParams struct { // 迁移任务名称 TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // 迁移方式标志位,默认为0。0: 桶迁移;1: 清单迁移 MigrationType *uint64 `json:"MigrationType,omitnil,omitempty" name:"MigrationType"` // 迁移模式,默认为0。0: 全量迁移 MigrationMode *uint64 `json:"MigrationMode,omitnil,omitempty" name:"MigrationMode"` // 数据源账号的SecretId SrcSecretId *string `json:"SrcSecretId,omitnil,omitempty" name:"SrcSecretId"` // 数据源账号的SecretKey SrcSecretKey *string `json:"SrcSecretKey,omitnil,omitempty" name:"SrcSecretKey"` // 文件系统实例Id FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 文件系统路径 FsPath *string `json:"FsPath,omitnil,omitempty" name:"FsPath"` // 同名文件迁移时覆盖策略,默认为0。0: 最后修改时间优先;1: 全覆盖;2: 不覆盖 CoverType *uint64 `json:"CoverType,omitnil,omitempty" name:"CoverType"` // 数据源服务商。COS: 腾讯云COS,OSS: 阿里云OSS,OBS:华为云OBS SrcService *string `json:"SrcService,omitnil,omitempty" name:"SrcService"` // 数据源桶名称,名称和地址至少有一个 BucketName *string `json:"BucketName,omitnil,omitempty" name:"BucketName"` // 数据源桶地域 BucketRegion *string `json:"BucketRegion,omitnil,omitempty" name:"BucketRegion"` // 数据源桶地址,名称和地址至少有一个 BucketAddress *string `json:"BucketAddress,omitnil,omitempty" name:"BucketAddress"` // 清单地址,迁移方式为清单迁移时必填 ListAddress *string `json:"ListAddress,omitnil,omitempty" name:"ListAddress"` // 目标文件系统名称 FsName *string `json:"FsName,omitnil,omitempty" name:"FsName"` // 源桶路径,默认为/ BucketPath *string `json:"BucketPath,omitnil,omitempty" name:"BucketPath"` // 迁移方向。0: 对象存储迁移至文件系统,1: 文件系统迁移至对象存储。默认 0 Direction *uint64 `json:"Direction,omitnil,omitempty" name:"Direction"` }
Predefined struct for user
type CreateMigrationTaskResponse ¶ added in v1.0.639
type CreateMigrationTaskResponse struct { *tchttp.BaseResponse Response *CreateMigrationTaskResponseParams `json:"Response"` }
func NewCreateMigrationTaskResponse ¶ added in v1.0.639
func NewCreateMigrationTaskResponse() (response *CreateMigrationTaskResponse)
func (*CreateMigrationTaskResponse) FromJsonString ¶ added in v1.0.639
func (r *CreateMigrationTaskResponse) 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 (*CreateMigrationTaskResponse) ToJsonString ¶ added in v1.0.639
func (r *CreateMigrationTaskResponse) ToJsonString() string
type CreateMigrationTaskResponseParams ¶ added in v1.0.639
type CreateMigrationTaskResponseParams struct { // 迁移任务Id TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteAutoSnapshotPolicyRequest ¶ added in v1.0.493
type DeleteAutoSnapshotPolicyRequest struct { *tchttp.BaseRequest // 快照策略ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` }
func NewDeleteAutoSnapshotPolicyRequest ¶ added in v1.0.493
func NewDeleteAutoSnapshotPolicyRequest() (request *DeleteAutoSnapshotPolicyRequest)
func (*DeleteAutoSnapshotPolicyRequest) FromJsonString ¶ added in v1.0.493
func (r *DeleteAutoSnapshotPolicyRequest) 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 (*DeleteAutoSnapshotPolicyRequest) ToJsonString ¶ added in v1.0.493
func (r *DeleteAutoSnapshotPolicyRequest) ToJsonString() string
type DeleteAutoSnapshotPolicyRequestParams ¶ added in v1.0.493
type DeleteAutoSnapshotPolicyRequestParams struct { // 快照策略ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` }
Predefined struct for user
type DeleteAutoSnapshotPolicyResponse ¶ added in v1.0.493
type DeleteAutoSnapshotPolicyResponse struct { *tchttp.BaseResponse Response *DeleteAutoSnapshotPolicyResponseParams `json:"Response"` }
func NewDeleteAutoSnapshotPolicyResponse ¶ added in v1.0.493
func NewDeleteAutoSnapshotPolicyResponse() (response *DeleteAutoSnapshotPolicyResponse)
func (*DeleteAutoSnapshotPolicyResponse) FromJsonString ¶ added in v1.0.493
func (r *DeleteAutoSnapshotPolicyResponse) 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 (*DeleteAutoSnapshotPolicyResponse) ToJsonString ¶ added in v1.0.493
func (r *DeleteAutoSnapshotPolicyResponse) ToJsonString() string
type DeleteAutoSnapshotPolicyResponseParams ¶ added in v1.0.493
type DeleteAutoSnapshotPolicyResponseParams struct { // 快照策略ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteCfsFileSystemRequest ¶
type DeleteCfsFileSystemRequest struct { *tchttp.BaseRequest // 文件系统 ID。说明,进行删除文件系统操作前需要先调用 DeleteMountTarget 接口删除该文件系统的挂载点,否则会删除失败。 FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` }
func NewDeleteCfsFileSystemRequest ¶
func NewDeleteCfsFileSystemRequest() (request *DeleteCfsFileSystemRequest)
func (*DeleteCfsFileSystemRequest) FromJsonString ¶
func (r *DeleteCfsFileSystemRequest) 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 (*DeleteCfsFileSystemRequest) ToJsonString ¶
func (r *DeleteCfsFileSystemRequest) ToJsonString() string
type DeleteCfsFileSystemRequestParams ¶ added in v1.0.426
type DeleteCfsFileSystemRequestParams struct { // 文件系统 ID。说明,进行删除文件系统操作前需要先调用 DeleteMountTarget 接口删除该文件系统的挂载点,否则会删除失败。 FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` }
Predefined struct for user
type DeleteCfsFileSystemResponse ¶
type DeleteCfsFileSystemResponse struct { *tchttp.BaseResponse Response *DeleteCfsFileSystemResponseParams `json:"Response"` }
func NewDeleteCfsFileSystemResponse ¶
func NewDeleteCfsFileSystemResponse() (response *DeleteCfsFileSystemResponse)
func (*DeleteCfsFileSystemResponse) FromJsonString ¶
func (r *DeleteCfsFileSystemResponse) 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 (*DeleteCfsFileSystemResponse) ToJsonString ¶
func (r *DeleteCfsFileSystemResponse) ToJsonString() string
type DeleteCfsFileSystemResponseParams ¶ added in v1.0.426
type DeleteCfsFileSystemResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteCfsPGroupRequest ¶
type DeleteCfsPGroupRequest struct { *tchttp.BaseRequest // 权限组 ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` }
func NewDeleteCfsPGroupRequest ¶
func NewDeleteCfsPGroupRequest() (request *DeleteCfsPGroupRequest)
func (*DeleteCfsPGroupRequest) FromJsonString ¶
func (r *DeleteCfsPGroupRequest) 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 (*DeleteCfsPGroupRequest) ToJsonString ¶
func (r *DeleteCfsPGroupRequest) ToJsonString() string
type DeleteCfsPGroupRequestParams ¶ added in v1.0.426
type DeleteCfsPGroupRequestParams struct { // 权限组 ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` }
Predefined struct for user
type DeleteCfsPGroupResponse ¶
type DeleteCfsPGroupResponse struct { *tchttp.BaseResponse Response *DeleteCfsPGroupResponseParams `json:"Response"` }
func NewDeleteCfsPGroupResponse ¶
func NewDeleteCfsPGroupResponse() (response *DeleteCfsPGroupResponse)
func (*DeleteCfsPGroupResponse) FromJsonString ¶
func (r *DeleteCfsPGroupResponse) 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 (*DeleteCfsPGroupResponse) ToJsonString ¶
func (r *DeleteCfsPGroupResponse) ToJsonString() string
type DeleteCfsPGroupResponseParams ¶ added in v1.0.426
type DeleteCfsPGroupResponseParams struct { // 权限组 ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // 用户 ID AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteCfsRuleRequest ¶
type DeleteCfsRuleRequest struct { *tchttp.BaseRequest // 权限组 ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // 规则 ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` }
func NewDeleteCfsRuleRequest ¶
func NewDeleteCfsRuleRequest() (request *DeleteCfsRuleRequest)
func (*DeleteCfsRuleRequest) FromJsonString ¶
func (r *DeleteCfsRuleRequest) 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 (*DeleteCfsRuleRequest) ToJsonString ¶
func (r *DeleteCfsRuleRequest) ToJsonString() string
type DeleteCfsRuleRequestParams ¶ added in v1.0.426
type DeleteCfsRuleRequestParams struct { // 权限组 ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // 规则 ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` }
Predefined struct for user
type DeleteCfsRuleResponse ¶
type DeleteCfsRuleResponse struct { *tchttp.BaseResponse Response *DeleteCfsRuleResponseParams `json:"Response"` }
func NewDeleteCfsRuleResponse ¶
func NewDeleteCfsRuleResponse() (response *DeleteCfsRuleResponse)
func (*DeleteCfsRuleResponse) FromJsonString ¶
func (r *DeleteCfsRuleResponse) 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 (*DeleteCfsRuleResponse) ToJsonString ¶
func (r *DeleteCfsRuleResponse) ToJsonString() string
type DeleteCfsRuleResponseParams ¶ added in v1.0.426
type DeleteCfsRuleResponseParams struct { // 规则 ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 权限组 ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteCfsSnapshotRequest ¶ added in v1.0.493
type DeleteCfsSnapshotRequest struct { *tchttp.BaseRequest // 文件系统快照id SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // 需要删除的文件文件系统快照ID 列表,快照ID,跟ID列表至少填一项 SnapshotIds []*string `json:"SnapshotIds,omitnil,omitempty" name:"SnapshotIds"` }
func NewDeleteCfsSnapshotRequest ¶ added in v1.0.493
func NewDeleteCfsSnapshotRequest() (request *DeleteCfsSnapshotRequest)
func (*DeleteCfsSnapshotRequest) FromJsonString ¶ added in v1.0.493
func (r *DeleteCfsSnapshotRequest) 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 (*DeleteCfsSnapshotRequest) ToJsonString ¶ added in v1.0.493
func (r *DeleteCfsSnapshotRequest) ToJsonString() string
type DeleteCfsSnapshotRequestParams ¶ added in v1.0.493
type DeleteCfsSnapshotRequestParams struct { // 文件系统快照id SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // 需要删除的文件文件系统快照ID 列表,快照ID,跟ID列表至少填一项 SnapshotIds []*string `json:"SnapshotIds,omitnil,omitempty" name:"SnapshotIds"` }
Predefined struct for user
type DeleteCfsSnapshotResponse ¶ added in v1.0.493
type DeleteCfsSnapshotResponse struct { *tchttp.BaseResponse Response *DeleteCfsSnapshotResponseParams `json:"Response"` }
func NewDeleteCfsSnapshotResponse ¶ added in v1.0.493
func NewDeleteCfsSnapshotResponse() (response *DeleteCfsSnapshotResponse)
func (*DeleteCfsSnapshotResponse) FromJsonString ¶ added in v1.0.493
func (r *DeleteCfsSnapshotResponse) 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 (*DeleteCfsSnapshotResponse) ToJsonString ¶ added in v1.0.493
func (r *DeleteCfsSnapshotResponse) ToJsonString() string
type DeleteCfsSnapshotResponseParams ¶ added in v1.0.493
type DeleteCfsSnapshotResponseParams struct { // 文件系统ID SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteMigrationTaskRequest ¶ added in v1.0.639
type DeleteMigrationTaskRequest struct { *tchttp.BaseRequest // 迁移任务ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
func NewDeleteMigrationTaskRequest ¶ added in v1.0.639
func NewDeleteMigrationTaskRequest() (request *DeleteMigrationTaskRequest)
func (*DeleteMigrationTaskRequest) FromJsonString ¶ added in v1.0.639
func (r *DeleteMigrationTaskRequest) 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 (*DeleteMigrationTaskRequest) ToJsonString ¶ added in v1.0.639
func (r *DeleteMigrationTaskRequest) ToJsonString() string
type DeleteMigrationTaskRequestParams ¶ added in v1.0.639
type DeleteMigrationTaskRequestParams struct { // 迁移任务ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
Predefined struct for user
type DeleteMigrationTaskResponse ¶ added in v1.0.639
type DeleteMigrationTaskResponse struct { *tchttp.BaseResponse Response *DeleteMigrationTaskResponseParams `json:"Response"` }
func NewDeleteMigrationTaskResponse ¶ added in v1.0.639
func NewDeleteMigrationTaskResponse() (response *DeleteMigrationTaskResponse)
func (*DeleteMigrationTaskResponse) FromJsonString ¶ added in v1.0.639
func (r *DeleteMigrationTaskResponse) 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 (*DeleteMigrationTaskResponse) ToJsonString ¶ added in v1.0.639
func (r *DeleteMigrationTaskResponse) ToJsonString() string
type DeleteMigrationTaskResponseParams ¶ added in v1.0.639
type DeleteMigrationTaskResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteMountTargetRequest ¶
type DeleteMountTargetRequest struct { *tchttp.BaseRequest // 文件系统 ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 挂载点 ID MountTargetId *string `json:"MountTargetId,omitnil,omitempty" name:"MountTargetId"` }
func NewDeleteMountTargetRequest ¶
func NewDeleteMountTargetRequest() (request *DeleteMountTargetRequest)
func (*DeleteMountTargetRequest) FromJsonString ¶
func (r *DeleteMountTargetRequest) 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 (*DeleteMountTargetRequest) ToJsonString ¶
func (r *DeleteMountTargetRequest) ToJsonString() string
type DeleteMountTargetRequestParams ¶ added in v1.0.426
type DeleteMountTargetRequestParams struct { // 文件系统 ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 挂载点 ID MountTargetId *string `json:"MountTargetId,omitnil,omitempty" name:"MountTargetId"` }
Predefined struct for user
type DeleteMountTargetResponse ¶
type DeleteMountTargetResponse struct { *tchttp.BaseResponse Response *DeleteMountTargetResponseParams `json:"Response"` }
func NewDeleteMountTargetResponse ¶
func NewDeleteMountTargetResponse() (response *DeleteMountTargetResponse)
func (*DeleteMountTargetResponse) FromJsonString ¶
func (r *DeleteMountTargetResponse) 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 (*DeleteMountTargetResponse) ToJsonString ¶
func (r *DeleteMountTargetResponse) ToJsonString() string
type DeleteMountTargetResponseParams ¶ added in v1.0.426
type DeleteMountTargetResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteUserQuotaRequest ¶ added in v1.0.535
type DeleteUserQuotaRequest struct { *tchttp.BaseRequest // 文件系统 ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 指定配额类型,包括Uid、Gid、Dir UserType *string `json:"UserType,omitnil,omitempty" name:"UserType"` // UID/GID信息 UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // 设置目录配额的目录的绝对路径 DirectoryPath *string `json:"DirectoryPath,omitnil,omitempty" name:"DirectoryPath"` }
func NewDeleteUserQuotaRequest ¶ added in v1.0.535
func NewDeleteUserQuotaRequest() (request *DeleteUserQuotaRequest)
func (*DeleteUserQuotaRequest) FromJsonString ¶ added in v1.0.535
func (r *DeleteUserQuotaRequest) 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 (*DeleteUserQuotaRequest) ToJsonString ¶ added in v1.0.535
func (r *DeleteUserQuotaRequest) ToJsonString() string
type DeleteUserQuotaRequestParams ¶ added in v1.0.535
type DeleteUserQuotaRequestParams struct { // 文件系统 ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 指定配额类型,包括Uid、Gid、Dir UserType *string `json:"UserType,omitnil,omitempty" name:"UserType"` // UID/GID信息 UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // 设置目录配额的目录的绝对路径 DirectoryPath *string `json:"DirectoryPath,omitnil,omitempty" name:"DirectoryPath"` }
Predefined struct for user
type DeleteUserQuotaResponse ¶ added in v1.0.535
type DeleteUserQuotaResponse struct { *tchttp.BaseResponse Response *DeleteUserQuotaResponseParams `json:"Response"` }
func NewDeleteUserQuotaResponse ¶ added in v1.0.535
func NewDeleteUserQuotaResponse() (response *DeleteUserQuotaResponse)
func (*DeleteUserQuotaResponse) FromJsonString ¶ added in v1.0.535
func (r *DeleteUserQuotaResponse) 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 (*DeleteUserQuotaResponse) ToJsonString ¶ added in v1.0.535
func (r *DeleteUserQuotaResponse) ToJsonString() string
type DeleteUserQuotaResponseParams ¶ added in v1.0.535
type DeleteUserQuotaResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAutoSnapshotPoliciesRequest ¶ added in v1.0.493
type DescribeAutoSnapshotPoliciesRequest struct { *tchttp.BaseRequest // 快照策略ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // 分页码 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 页面长 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 升序,降序 Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 排序字段 OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` }
func NewDescribeAutoSnapshotPoliciesRequest ¶ added in v1.0.493
func NewDescribeAutoSnapshotPoliciesRequest() (request *DescribeAutoSnapshotPoliciesRequest)
func (*DescribeAutoSnapshotPoliciesRequest) FromJsonString ¶ added in v1.0.493
func (r *DescribeAutoSnapshotPoliciesRequest) 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 (*DescribeAutoSnapshotPoliciesRequest) ToJsonString ¶ added in v1.0.493
func (r *DescribeAutoSnapshotPoliciesRequest) ToJsonString() string
type DescribeAutoSnapshotPoliciesRequestParams ¶ added in v1.0.493
type DescribeAutoSnapshotPoliciesRequestParams struct { // 快照策略ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // 分页码 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 页面长 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 升序,降序 Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 排序字段 OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` }
Predefined struct for user
type DescribeAutoSnapshotPoliciesResponse ¶ added in v1.0.493
type DescribeAutoSnapshotPoliciesResponse struct { *tchttp.BaseResponse Response *DescribeAutoSnapshotPoliciesResponseParams `json:"Response"` }
func NewDescribeAutoSnapshotPoliciesResponse ¶ added in v1.0.493
func NewDescribeAutoSnapshotPoliciesResponse() (response *DescribeAutoSnapshotPoliciesResponse)
func (*DescribeAutoSnapshotPoliciesResponse) FromJsonString ¶ added in v1.0.493
func (r *DescribeAutoSnapshotPoliciesResponse) 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 (*DescribeAutoSnapshotPoliciesResponse) ToJsonString ¶ added in v1.0.493
func (r *DescribeAutoSnapshotPoliciesResponse) ToJsonString() string
type DescribeAutoSnapshotPoliciesResponseParams ¶ added in v1.0.493
type DescribeAutoSnapshotPoliciesResponseParams struct { // 快照策略总个数 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 快照策略信息 AutoSnapshotPolicies []*AutoSnapshotPolicyInfo `json:"AutoSnapshotPolicies,omitnil,omitempty" name:"AutoSnapshotPolicies"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAvailableZoneInfoRequest ¶
type DescribeAvailableZoneInfoRequest struct {
*tchttp.BaseRequest
}
func NewDescribeAvailableZoneInfoRequest ¶
func NewDescribeAvailableZoneInfoRequest() (request *DescribeAvailableZoneInfoRequest)
func (*DescribeAvailableZoneInfoRequest) FromJsonString ¶
func (r *DescribeAvailableZoneInfoRequest) 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 (*DescribeAvailableZoneInfoRequest) ToJsonString ¶
func (r *DescribeAvailableZoneInfoRequest) ToJsonString() string
type DescribeAvailableZoneInfoRequestParams ¶ added in v1.0.426
type DescribeAvailableZoneInfoRequestParams struct { }
Predefined struct for user
type DescribeAvailableZoneInfoResponse ¶
type DescribeAvailableZoneInfoResponse struct { *tchttp.BaseResponse Response *DescribeAvailableZoneInfoResponseParams `json:"Response"` }
func NewDescribeAvailableZoneInfoResponse ¶
func NewDescribeAvailableZoneInfoResponse() (response *DescribeAvailableZoneInfoResponse)
func (*DescribeAvailableZoneInfoResponse) FromJsonString ¶
func (r *DescribeAvailableZoneInfoResponse) 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 (*DescribeAvailableZoneInfoResponse) ToJsonString ¶
func (r *DescribeAvailableZoneInfoResponse) ToJsonString() string
type DescribeAvailableZoneInfoResponseParams ¶ added in v1.0.426
type DescribeAvailableZoneInfoResponseParams struct { // 各可用区的资源售卖情况以及支持的存储类型、存储协议等信息 RegionZones []*AvailableRegion `json:"RegionZones,omitnil,omitempty" name:"RegionZones"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBucketListRequest ¶ added in v1.0.639
type DescribeBucketListRequest struct { *tchttp.BaseRequest // 数据源服务商。COS: 腾讯云COS,OSS: 阿里云OSS,OBS:华为云OBS SrcService *string `json:"SrcService,omitnil,omitempty" name:"SrcService"` // 数据源账号的SecretId SrcSecretId *string `json:"SrcSecretId,omitnil,omitempty" name:"SrcSecretId"` // 数据源账号的SecretKey SrcSecretKey *string `json:"SrcSecretKey,omitnil,omitempty" name:"SrcSecretKey"` }
func NewDescribeBucketListRequest ¶ added in v1.0.639
func NewDescribeBucketListRequest() (request *DescribeBucketListRequest)
func (*DescribeBucketListRequest) FromJsonString ¶ added in v1.0.639
func (r *DescribeBucketListRequest) 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 (*DescribeBucketListRequest) ToJsonString ¶ added in v1.0.639
func (r *DescribeBucketListRequest) ToJsonString() string
type DescribeBucketListRequestParams ¶ added in v1.0.639
type DescribeBucketListRequestParams struct { // 数据源服务商。COS: 腾讯云COS,OSS: 阿里云OSS,OBS:华为云OBS SrcService *string `json:"SrcService,omitnil,omitempty" name:"SrcService"` // 数据源账号的SecretId SrcSecretId *string `json:"SrcSecretId,omitnil,omitempty" name:"SrcSecretId"` // 数据源账号的SecretKey SrcSecretKey *string `json:"SrcSecretKey,omitnil,omitempty" name:"SrcSecretKey"` }
Predefined struct for user
type DescribeBucketListResponse ¶ added in v1.0.639
type DescribeBucketListResponse struct { *tchttp.BaseResponse Response *DescribeBucketListResponseParams `json:"Response"` }
func NewDescribeBucketListResponse ¶ added in v1.0.639
func NewDescribeBucketListResponse() (response *DescribeBucketListResponse)
func (*DescribeBucketListResponse) FromJsonString ¶ added in v1.0.639
func (r *DescribeBucketListResponse) 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 (*DescribeBucketListResponse) ToJsonString ¶ added in v1.0.639
func (r *DescribeBucketListResponse) ToJsonString() string
type DescribeBucketListResponseParams ¶ added in v1.0.639
type DescribeBucketListResponseParams struct { // 桶的数量 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 桶列表 BucketList []*BucketInfo `json:"BucketList,omitnil,omitempty" name:"BucketList"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCfsFileSystemClientsRequest ¶
type DescribeCfsFileSystemClientsRequest struct { *tchttp.BaseRequest // 文件系统 ID。 FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // Offset 分页码 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Limit 页面大小 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeCfsFileSystemClientsRequest ¶
func NewDescribeCfsFileSystemClientsRequest() (request *DescribeCfsFileSystemClientsRequest)
func (*DescribeCfsFileSystemClientsRequest) FromJsonString ¶
func (r *DescribeCfsFileSystemClientsRequest) 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 (*DescribeCfsFileSystemClientsRequest) ToJsonString ¶
func (r *DescribeCfsFileSystemClientsRequest) ToJsonString() string
type DescribeCfsFileSystemClientsRequestParams ¶ added in v1.0.426
type DescribeCfsFileSystemClientsRequestParams struct { // 文件系统 ID。 FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // Offset 分页码 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Limit 页面大小 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeCfsFileSystemClientsResponse ¶
type DescribeCfsFileSystemClientsResponse struct { *tchttp.BaseResponse Response *DescribeCfsFileSystemClientsResponseParams `json:"Response"` }
func NewDescribeCfsFileSystemClientsResponse ¶
func NewDescribeCfsFileSystemClientsResponse() (response *DescribeCfsFileSystemClientsResponse)
func (*DescribeCfsFileSystemClientsResponse) FromJsonString ¶
func (r *DescribeCfsFileSystemClientsResponse) 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 (*DescribeCfsFileSystemClientsResponse) ToJsonString ¶
func (r *DescribeCfsFileSystemClientsResponse) ToJsonString() string
type DescribeCfsFileSystemClientsResponseParams ¶ added in v1.0.426
type DescribeCfsFileSystemClientsResponseParams struct { // 客户端列表 ClientList []*FileSystemClient `json:"ClientList,omitnil,omitempty" name:"ClientList"` // 文件系统总数 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCfsFileSystemsRequest ¶
type DescribeCfsFileSystemsRequest struct { *tchttp.BaseRequest // 文件系统 ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 私有网络(VPC) ID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网 ID SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // Offset 分页码 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Limit 页面大小 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 用户自定义名称 CreationToken *string `json:"CreationToken,omitnil,omitempty" name:"CreationToken"` }
func NewDescribeCfsFileSystemsRequest ¶
func NewDescribeCfsFileSystemsRequest() (request *DescribeCfsFileSystemsRequest)
func (*DescribeCfsFileSystemsRequest) FromJsonString ¶
func (r *DescribeCfsFileSystemsRequest) 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 (*DescribeCfsFileSystemsRequest) ToJsonString ¶
func (r *DescribeCfsFileSystemsRequest) ToJsonString() string
type DescribeCfsFileSystemsRequestParams ¶ added in v1.0.426
type DescribeCfsFileSystemsRequestParams struct { // 文件系统 ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 私有网络(VPC) ID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网 ID SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // Offset 分页码 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Limit 页面大小 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 用户自定义名称 CreationToken *string `json:"CreationToken,omitnil,omitempty" name:"CreationToken"` }
Predefined struct for user
type DescribeCfsFileSystemsResponse ¶
type DescribeCfsFileSystemsResponse struct { *tchttp.BaseResponse Response *DescribeCfsFileSystemsResponseParams `json:"Response"` }
func NewDescribeCfsFileSystemsResponse ¶
func NewDescribeCfsFileSystemsResponse() (response *DescribeCfsFileSystemsResponse)
func (*DescribeCfsFileSystemsResponse) FromJsonString ¶
func (r *DescribeCfsFileSystemsResponse) 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 (*DescribeCfsFileSystemsResponse) ToJsonString ¶
func (r *DescribeCfsFileSystemsResponse) ToJsonString() string
type DescribeCfsFileSystemsResponseParams ¶ added in v1.0.426
type DescribeCfsFileSystemsResponseParams struct { // 文件系统信息 FileSystems []*FileSystemInfo `json:"FileSystems,omitnil,omitempty" name:"FileSystems"` // 文件系统总数 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCfsPGroupsRequest ¶
type DescribeCfsPGroupsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeCfsPGroupsRequest ¶
func NewDescribeCfsPGroupsRequest() (request *DescribeCfsPGroupsRequest)
func (*DescribeCfsPGroupsRequest) FromJsonString ¶
func (r *DescribeCfsPGroupsRequest) 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 (*DescribeCfsPGroupsRequest) ToJsonString ¶
func (r *DescribeCfsPGroupsRequest) ToJsonString() string
type DescribeCfsPGroupsRequestParams ¶ added in v1.0.426
type DescribeCfsPGroupsRequestParams struct { }
Predefined struct for user
type DescribeCfsPGroupsResponse ¶
type DescribeCfsPGroupsResponse struct { *tchttp.BaseResponse Response *DescribeCfsPGroupsResponseParams `json:"Response"` }
func NewDescribeCfsPGroupsResponse ¶
func NewDescribeCfsPGroupsResponse() (response *DescribeCfsPGroupsResponse)
func (*DescribeCfsPGroupsResponse) FromJsonString ¶
func (r *DescribeCfsPGroupsResponse) 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 (*DescribeCfsPGroupsResponse) ToJsonString ¶
func (r *DescribeCfsPGroupsResponse) ToJsonString() string
type DescribeCfsPGroupsResponseParams ¶ added in v1.0.426
type DescribeCfsPGroupsResponseParams struct { // 权限组信息列表 PGroupList []*PGroupInfo `json:"PGroupList,omitnil,omitempty" name:"PGroupList"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCfsRulesRequest ¶
type DescribeCfsRulesRequest struct { *tchttp.BaseRequest // 权限组 ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` }
func NewDescribeCfsRulesRequest ¶
func NewDescribeCfsRulesRequest() (request *DescribeCfsRulesRequest)
func (*DescribeCfsRulesRequest) FromJsonString ¶
func (r *DescribeCfsRulesRequest) 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 (*DescribeCfsRulesRequest) ToJsonString ¶
func (r *DescribeCfsRulesRequest) ToJsonString() string
type DescribeCfsRulesRequestParams ¶ added in v1.0.426
type DescribeCfsRulesRequestParams struct { // 权限组 ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` }
Predefined struct for user
type DescribeCfsRulesResponse ¶
type DescribeCfsRulesResponse struct { *tchttp.BaseResponse Response *DescribeCfsRulesResponseParams `json:"Response"` }
func NewDescribeCfsRulesResponse ¶
func NewDescribeCfsRulesResponse() (response *DescribeCfsRulesResponse)
func (*DescribeCfsRulesResponse) FromJsonString ¶
func (r *DescribeCfsRulesResponse) 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 (*DescribeCfsRulesResponse) ToJsonString ¶
func (r *DescribeCfsRulesResponse) ToJsonString() string
type DescribeCfsRulesResponseParams ¶ added in v1.0.426
type DescribeCfsRulesResponseParams struct { // 权限组规则列表 RuleList []*PGroupRuleInfo `json:"RuleList,omitnil,omitempty" name:"RuleList"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCfsServiceStatusRequest ¶
type DescribeCfsServiceStatusRequest struct {
*tchttp.BaseRequest
}
func NewDescribeCfsServiceStatusRequest ¶
func NewDescribeCfsServiceStatusRequest() (request *DescribeCfsServiceStatusRequest)
func (*DescribeCfsServiceStatusRequest) FromJsonString ¶
func (r *DescribeCfsServiceStatusRequest) 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 (*DescribeCfsServiceStatusRequest) ToJsonString ¶
func (r *DescribeCfsServiceStatusRequest) ToJsonString() string
type DescribeCfsServiceStatusRequestParams ¶ added in v1.0.426
type DescribeCfsServiceStatusRequestParams struct { }
Predefined struct for user
type DescribeCfsServiceStatusResponse ¶
type DescribeCfsServiceStatusResponse struct { *tchttp.BaseResponse Response *DescribeCfsServiceStatusResponseParams `json:"Response"` }
func NewDescribeCfsServiceStatusResponse ¶
func NewDescribeCfsServiceStatusResponse() (response *DescribeCfsServiceStatusResponse)
func (*DescribeCfsServiceStatusResponse) FromJsonString ¶
func (r *DescribeCfsServiceStatusResponse) 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 (*DescribeCfsServiceStatusResponse) ToJsonString ¶
func (r *DescribeCfsServiceStatusResponse) ToJsonString() string
type DescribeCfsServiceStatusResponseParams ¶ added in v1.0.426
type DescribeCfsServiceStatusResponseParams struct { // 该用户当前 CFS 服务的状态,none 为未开通,creating 为开通中,created 为已开通 CfsServiceStatus *string `json:"CfsServiceStatus,omitnil,omitempty" name:"CfsServiceStatus"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCfsSnapshotOverviewRequest ¶ added in v1.0.493
type DescribeCfsSnapshotOverviewRequest struct {
*tchttp.BaseRequest
}
func NewDescribeCfsSnapshotOverviewRequest ¶ added in v1.0.493
func NewDescribeCfsSnapshotOverviewRequest() (request *DescribeCfsSnapshotOverviewRequest)
func (*DescribeCfsSnapshotOverviewRequest) FromJsonString ¶ added in v1.0.493
func (r *DescribeCfsSnapshotOverviewRequest) 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 (*DescribeCfsSnapshotOverviewRequest) ToJsonString ¶ added in v1.0.493
func (r *DescribeCfsSnapshotOverviewRequest) ToJsonString() string
type DescribeCfsSnapshotOverviewRequestParams ¶ added in v1.0.493
type DescribeCfsSnapshotOverviewRequestParams struct { }
Predefined struct for user
type DescribeCfsSnapshotOverviewResponse ¶ added in v1.0.493
type DescribeCfsSnapshotOverviewResponse struct { *tchttp.BaseResponse Response *DescribeCfsSnapshotOverviewResponseParams `json:"Response"` }
func NewDescribeCfsSnapshotOverviewResponse ¶ added in v1.0.493
func NewDescribeCfsSnapshotOverviewResponse() (response *DescribeCfsSnapshotOverviewResponse)
func (*DescribeCfsSnapshotOverviewResponse) FromJsonString ¶ added in v1.0.493
func (r *DescribeCfsSnapshotOverviewResponse) 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 (*DescribeCfsSnapshotOverviewResponse) ToJsonString ¶ added in v1.0.493
func (r *DescribeCfsSnapshotOverviewResponse) ToJsonString() string
type DescribeCfsSnapshotOverviewResponseParams ¶ added in v1.0.493
type DescribeCfsSnapshotOverviewResponseParams struct { // 统计信息 StatisticsList []*SnapshotStatistics `json:"StatisticsList,omitnil,omitempty" name:"StatisticsList"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCfsSnapshotsRequest ¶ added in v1.0.493
type DescribeCfsSnapshotsRequest struct { *tchttp.BaseRequest // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 快照ID SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // 分页起始位置,默认为0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 页面长度,默认为20 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件。 // <br>SnapshotId - Array of String - 是否必填:否 -(过滤条件)按快照ID过滤。 // <br>SnapshotName - Array of String - 是否必填:否 -(过滤条件)按照快照名称过滤。 // <br>FileSystemId - Array of String - 是否必填:否 -(过滤条件)按文件系统ID过滤。 // <br>FsName - Array of String - 是否必填:否 -(过滤条件)按文件系统名过滤。 // <br>Status - Array of String - 是否必填:否 -(过滤条件)按照快照状态过滤 // (creating:表示创建中 | available:表示可用。| rollbacking:表示回滚。| rollbacking_new:表示由快照创建新文件系统中) // <br>tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键进行过滤。 // <br>tag:tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 排序取值 OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // 排序 升序或者降序 Order *string `json:"Order,omitnil,omitempty" name:"Order"` }
func NewDescribeCfsSnapshotsRequest ¶ added in v1.0.493
func NewDescribeCfsSnapshotsRequest() (request *DescribeCfsSnapshotsRequest)
func (*DescribeCfsSnapshotsRequest) FromJsonString ¶ added in v1.0.493
func (r *DescribeCfsSnapshotsRequest) 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 (*DescribeCfsSnapshotsRequest) ToJsonString ¶ added in v1.0.493
func (r *DescribeCfsSnapshotsRequest) ToJsonString() string
type DescribeCfsSnapshotsRequestParams ¶ added in v1.0.493
type DescribeCfsSnapshotsRequestParams struct { // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 快照ID SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // 分页起始位置,默认为0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 页面长度,默认为20 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件。 // <br>SnapshotId - Array of String - 是否必填:否 -(过滤条件)按快照ID过滤。 // <br>SnapshotName - Array of String - 是否必填:否 -(过滤条件)按照快照名称过滤。 // <br>FileSystemId - Array of String - 是否必填:否 -(过滤条件)按文件系统ID过滤。 // <br>FsName - Array of String - 是否必填:否 -(过滤条件)按文件系统名过滤。 // <br>Status - Array of String - 是否必填:否 -(过滤条件)按照快照状态过滤 // (creating:表示创建中 | available:表示可用。| rollbacking:表示回滚。| rollbacking_new:表示由快照创建新文件系统中) // <br>tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键进行过滤。 // <br>tag:tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 排序取值 OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // 排序 升序或者降序 Order *string `json:"Order,omitnil,omitempty" name:"Order"` }
Predefined struct for user
type DescribeCfsSnapshotsResponse ¶ added in v1.0.493
type DescribeCfsSnapshotsResponse struct { *tchttp.BaseResponse Response *DescribeCfsSnapshotsResponseParams `json:"Response"` }
func NewDescribeCfsSnapshotsResponse ¶ added in v1.0.493
func NewDescribeCfsSnapshotsResponse() (response *DescribeCfsSnapshotsResponse)
func (*DescribeCfsSnapshotsResponse) FromJsonString ¶ added in v1.0.493
func (r *DescribeCfsSnapshotsResponse) 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 (*DescribeCfsSnapshotsResponse) ToJsonString ¶ added in v1.0.493
func (r *DescribeCfsSnapshotsResponse) ToJsonString() string
type DescribeCfsSnapshotsResponseParams ¶ added in v1.0.493
type DescribeCfsSnapshotsResponseParams struct { // 总个数 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 快照信息描述 Snapshots []*SnapshotInfo `json:"Snapshots,omitnil,omitempty" name:"Snapshots"` // 快照列表快照汇总 TotalSize *uint64 `json:"TotalSize,omitnil,omitempty" name:"TotalSize"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMigrationTasksRequest ¶ added in v1.0.639
type DescribeMigrationTasksRequest struct { *tchttp.BaseRequest // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // <br><li> taskId // // 按照【迁移任务id】进行过滤。 // 类型:String // // 必选:否 // // <br><li> taskName // // 按照【迁移任务名字】进行模糊搜索过滤。 // 类型:String // // 必选:否 // // 每次请求的Filters的上限为10,Filter.Values的上限为100。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeMigrationTasksRequest ¶ added in v1.0.639
func NewDescribeMigrationTasksRequest() (request *DescribeMigrationTasksRequest)
func (*DescribeMigrationTasksRequest) FromJsonString ¶ added in v1.0.639
func (r *DescribeMigrationTasksRequest) 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 (*DescribeMigrationTasksRequest) ToJsonString ¶ added in v1.0.639
func (r *DescribeMigrationTasksRequest) ToJsonString() string
type DescribeMigrationTasksRequestParams ¶ added in v1.0.639
type DescribeMigrationTasksRequestParams struct { // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // <br><li> taskId // // 按照【迁移任务id】进行过滤。 // 类型:String // // 必选:否 // // <br><li> taskName // // 按照【迁移任务名字】进行模糊搜索过滤。 // 类型:String // // 必选:否 // // 每次请求的Filters的上限为10,Filter.Values的上限为100。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeMigrationTasksResponse ¶ added in v1.0.639
type DescribeMigrationTasksResponse struct { *tchttp.BaseResponse Response *DescribeMigrationTasksResponseParams `json:"Response"` }
func NewDescribeMigrationTasksResponse ¶ added in v1.0.639
func NewDescribeMigrationTasksResponse() (response *DescribeMigrationTasksResponse)
func (*DescribeMigrationTasksResponse) FromJsonString ¶ added in v1.0.639
func (r *DescribeMigrationTasksResponse) 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 (*DescribeMigrationTasksResponse) ToJsonString ¶ added in v1.0.639
func (r *DescribeMigrationTasksResponse) ToJsonString() string
type DescribeMigrationTasksResponseParams ¶ added in v1.0.639
type DescribeMigrationTasksResponseParams struct { // 迁移任务的数量 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 迁移任务详情 MigrationTasks []*MigrationTaskInfo `json:"MigrationTasks,omitnil,omitempty" name:"MigrationTasks"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMountTargetsRequest ¶
type DescribeMountTargetsRequest struct { *tchttp.BaseRequest // 文件系统 ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` }
func NewDescribeMountTargetsRequest ¶
func NewDescribeMountTargetsRequest() (request *DescribeMountTargetsRequest)
func (*DescribeMountTargetsRequest) FromJsonString ¶
func (r *DescribeMountTargetsRequest) 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 (*DescribeMountTargetsRequest) ToJsonString ¶
func (r *DescribeMountTargetsRequest) ToJsonString() string
type DescribeMountTargetsRequestParams ¶ added in v1.0.426
type DescribeMountTargetsRequestParams struct { // 文件系统 ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` }
Predefined struct for user
type DescribeMountTargetsResponse ¶
type DescribeMountTargetsResponse struct { *tchttp.BaseResponse Response *DescribeMountTargetsResponseParams `json:"Response"` }
func NewDescribeMountTargetsResponse ¶
func NewDescribeMountTargetsResponse() (response *DescribeMountTargetsResponse)
func (*DescribeMountTargetsResponse) FromJsonString ¶
func (r *DescribeMountTargetsResponse) 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 (*DescribeMountTargetsResponse) ToJsonString ¶
func (r *DescribeMountTargetsResponse) ToJsonString() string
type DescribeMountTargetsResponseParams ¶ added in v1.0.426
type DescribeMountTargetsResponseParams struct { // 挂载点详情 MountTargets []*MountInfo `json:"MountTargets,omitnil,omitempty" name:"MountTargets"` // 挂载点数量 NumberOfMountTargets *int64 `json:"NumberOfMountTargets,omitnil,omitempty" name:"NumberOfMountTargets"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSnapshotOperationLogsRequest ¶ added in v1.0.493
type DescribeSnapshotOperationLogsRequest struct { *tchttp.BaseRequest // 文件系统快照ID SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // 起始时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
func NewDescribeSnapshotOperationLogsRequest ¶ added in v1.0.493
func NewDescribeSnapshotOperationLogsRequest() (request *DescribeSnapshotOperationLogsRequest)
func (*DescribeSnapshotOperationLogsRequest) FromJsonString ¶ added in v1.0.493
func (r *DescribeSnapshotOperationLogsRequest) 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 (*DescribeSnapshotOperationLogsRequest) ToJsonString ¶ added in v1.0.493
func (r *DescribeSnapshotOperationLogsRequest) ToJsonString() string
type DescribeSnapshotOperationLogsRequestParams ¶ added in v1.0.493
type DescribeSnapshotOperationLogsRequestParams struct { // 文件系统快照ID SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // 起始时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
Predefined struct for user
type DescribeSnapshotOperationLogsResponse ¶ added in v1.0.493
type DescribeSnapshotOperationLogsResponse struct { *tchttp.BaseResponse Response *DescribeSnapshotOperationLogsResponseParams `json:"Response"` }
func NewDescribeSnapshotOperationLogsResponse ¶ added in v1.0.493
func NewDescribeSnapshotOperationLogsResponse() (response *DescribeSnapshotOperationLogsResponse)
func (*DescribeSnapshotOperationLogsResponse) FromJsonString ¶ added in v1.0.493
func (r *DescribeSnapshotOperationLogsResponse) 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 (*DescribeSnapshotOperationLogsResponse) ToJsonString ¶ added in v1.0.493
func (r *DescribeSnapshotOperationLogsResponse) ToJsonString() string
type DescribeSnapshotOperationLogsResponseParams ¶ added in v1.0.493
type DescribeSnapshotOperationLogsResponseParams struct { // 快照ID SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // 操作日志 SnapshotOperates []*SnapshotOperateLog `json:"SnapshotOperates,omitnil,omitempty" name:"SnapshotOperates"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeUserQuotaRequest ¶ added in v1.0.535
type DescribeUserQuotaRequest struct { *tchttp.BaseRequest // 文件系统 ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 过滤条件。 // UserType - Array of String - 是否必填:否 -(过滤条件)按配额类型过滤。(Uid|Gid|Dir ) // UserId- Array of String - 是否必填:否 -(过滤条件)按id过滤。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Offset 分页码 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Limit 页面大小,可填范围为大于0的整数 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeUserQuotaRequest ¶ added in v1.0.535
func NewDescribeUserQuotaRequest() (request *DescribeUserQuotaRequest)
func (*DescribeUserQuotaRequest) FromJsonString ¶ added in v1.0.535
func (r *DescribeUserQuotaRequest) 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 (*DescribeUserQuotaRequest) ToJsonString ¶ added in v1.0.535
func (r *DescribeUserQuotaRequest) ToJsonString() string
type DescribeUserQuotaRequestParams ¶ added in v1.0.535
type DescribeUserQuotaRequestParams struct { // 文件系统 ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 过滤条件。 // UserType - Array of String - 是否必填:否 -(过滤条件)按配额类型过滤。(Uid|Gid|Dir ) // UserId- Array of String - 是否必填:否 -(过滤条件)按id过滤。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Offset 分页码 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Limit 页面大小,可填范围为大于0的整数 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeUserQuotaResponse ¶ added in v1.0.535
type DescribeUserQuotaResponse struct { *tchttp.BaseResponse Response *DescribeUserQuotaResponseParams `json:"Response"` }
func NewDescribeUserQuotaResponse ¶ added in v1.0.535
func NewDescribeUserQuotaResponse() (response *DescribeUserQuotaResponse)
func (*DescribeUserQuotaResponse) FromJsonString ¶ added in v1.0.535
func (r *DescribeUserQuotaResponse) 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 (*DescribeUserQuotaResponse) ToJsonString ¶ added in v1.0.535
func (r *DescribeUserQuotaResponse) ToJsonString() string
type DescribeUserQuotaResponseParams ¶ added in v1.0.535
type DescribeUserQuotaResponseParams struct { // UserQuota条目总数 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // UserQuota条目 UserQuotaInfo []*UserQuota `json:"UserQuotaInfo,omitnil,omitempty" name:"UserQuotaInfo"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type FileSystemByPolicy ¶ added in v1.0.493
type FileSystemByPolicy struct { // 文件系统名称 CreationToken *string `json:"CreationToken,omitnil,omitempty" name:"CreationToken"` // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 文件系统大小,单位Byte SizeByte *uint64 `json:"SizeByte,omitnil,omitempty" name:"SizeByte"` // 存储类型,HP:通用性能型;SD:通用标准型;TP:turbo性能型;TB:turbo标准型;THP:吞吐型 StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` // 快照总大小,单位GiB TotalSnapshotSize *uint64 `json:"TotalSnapshotSize,omitnil,omitempty" name:"TotalSnapshotSize"` // 文件系统创建时间 CreationTime *string `json:"CreationTime,omitnil,omitempty" name:"CreationTime"` // 文件系统所在区ID ZoneId *uint64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` }
type FileSystemClient ¶
type FileSystemClient struct { // 文件系统IP地址 CfsVip *string `json:"CfsVip,omitnil,omitempty" name:"CfsVip"` // 客户端IP地址 ClientIp *string `json:"ClientIp,omitnil,omitempty" name:"ClientIp"` // 文件系统所属VPCID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 可用区名称,例如ap-beijing-1,请参考 概览文档中的地域与可用区列表 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 可用区中文名称 ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"` // 该文件系统被挂载到客户端上的路径信息 MountDirectory *string `json:"MountDirectory,omitnil,omitempty" name:"MountDirectory"` }
type FileSystemInfo ¶
type FileSystemInfo struct { // 创建时间 CreationTime *string `json:"CreationTime,omitnil,omitempty" name:"CreationTime"` // 用户自定义名称 CreationToken *string `json:"CreationToken,omitnil,omitempty" name:"CreationToken"` // 文件系统 ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 文件系统状态。取值范围: // - creating:创建中 // - mounting:挂载中 // - create_failed:创建失败 // - available:可使用 // - unserviced:停服中 // - upgrading:升级中 LifeCycleState *string `json:"LifeCycleState,omitnil,omitempty" name:"LifeCycleState"` // 文件系统已使用容量。单位:Byte SizeByte *uint64 `json:"SizeByte,omitnil,omitempty" name:"SizeByte"` // 文件系统空间限制。单位:GiB SizeLimit *uint64 `json:"SizeLimit,omitnil,omitempty" name:"SizeLimit"` // 区域 ID ZoneId *uint64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 区域名称 Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // 文件系统协议类型, 支持 NFS,CIFS,TURBO Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // 存储类型,HP:通用性能型;SD:通用标准型;TP:turbo性能型;TB:turbo标准型;THP:吞吐型 StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` // 文件系统绑定的预付费存储包 StorageResourcePkg *string `json:"StorageResourcePkg,omitnil,omitempty" name:"StorageResourcePkg"` // 文件系统绑定的预付费带宽包(暂未支持) BandwidthResourcePkg *string `json:"BandwidthResourcePkg,omitnil,omitempty" name:"BandwidthResourcePkg"` // 文件系统绑定权限组信息 PGroup *PGroup `json:"PGroup,omitnil,omitempty" name:"PGroup"` // 用户自定义名称 FsName *string `json:"FsName,omitnil,omitempty" name:"FsName"` // 文件系统是否加密,true:代表加密,false:非加密 Encrypted *bool `json:"Encrypted,omitnil,omitempty" name:"Encrypted"` // 加密所使用的密钥,可以为密钥的 ID 或者 ARN KmsKeyId *string `json:"KmsKeyId,omitnil,omitempty" name:"KmsKeyId"` // 应用ID AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // 文件系统吞吐上限,吞吐上限是根据文件系统当前已使用存储量、绑定的存储资源包以及吞吐资源包一同确定. 单位MiB/s BandwidthLimit *float64 `json:"BandwidthLimit,omitnil,omitempty" name:"BandwidthLimit"` // 文件系统关联的快照策略 AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // 文件系统处理快照状态 SnapStatus *string `json:"SnapStatus,omitnil,omitempty" name:"SnapStatus"` // 文件系统容量规格上限 // 单位:GiB Capacity *uint64 `json:"Capacity,omitnil,omitempty" name:"Capacity"` // 文件系统标签列表 Tags []*TagInfo `json:"Tags,omitnil,omitempty" name:"Tags"` // 文件系统生命周期管理状态 // NotAvailable:不可用 // Available:可用 TieringState *string `json:"TieringState,omitnil,omitempty" name:"TieringState"` // 分层存储详情 TieringDetail *TieringDetailInfo `json:"TieringDetail,omitnil,omitempty" name:"TieringDetail"` // 文件系统自动扩容策略 AutoScaleUpRule *AutoScaleUpRule `json:"AutoScaleUpRule,omitnil,omitempty" name:"AutoScaleUpRule"` // 文件系统版本 Version *string `json:"Version,omitnil,omitempty" name:"Version"` }
type MigrationTaskInfo ¶ added in v1.0.639
type MigrationTaskInfo struct { // 迁移任务名称 TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // 迁移任务id TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 迁移方式标志位,默认为0。0: 桶迁移;1: 清单迁移 MigrationType *uint64 `json:"MigrationType,omitnil,omitempty" name:"MigrationType"` // 迁移模式,默认为0。0: 全量迁移 MigrationMode *uint64 `json:"MigrationMode,omitnil,omitempty" name:"MigrationMode"` // 数据源桶名称 BucketName *string `json:"BucketName,omitnil,omitempty" name:"BucketName"` // 数据源桶地域 BucketRegion *string `json:"BucketRegion,omitnil,omitempty" name:"BucketRegion"` // 数据源桶地址 BucketAddress *string `json:"BucketAddress,omitnil,omitempty" name:"BucketAddress"` // 清单地址 ListAddress *string `json:"ListAddress,omitnil,omitempty" name:"ListAddress"` // 文件系统实例名称 FsName *string `json:"FsName,omitnil,omitempty" name:"FsName"` // 文件系统实例Id FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 文件系统路径 FsPath *string `json:"FsPath,omitnil,omitempty" name:"FsPath"` // 同名文件迁移时覆盖策略,默认为0。0: 最后修改时间优先;1: 全覆盖;2: 不覆盖 CoverType *uint64 `json:"CoverType,omitnil,omitempty" name:"CoverType"` // 创建时间 CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 完成/终止时间 EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 迁移状态。0: 已完成;1: 进行中;2: 已终止 Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // 文件数量 FileTotalCount *uint64 `json:"FileTotalCount,omitnil,omitempty" name:"FileTotalCount"` // 已迁移文件数量 FileMigratedCount *uint64 `json:"FileMigratedCount,omitnil,omitempty" name:"FileMigratedCount"` // 迁移失败文件数量 FileFailedCount *uint64 `json:"FileFailedCount,omitnil,omitempty" name:"FileFailedCount"` // 文件容量,单位Byte FileTotalSize *int64 `json:"FileTotalSize,omitnil,omitempty" name:"FileTotalSize"` // 已迁移文件容量,单位Byte FileMigratedSize *int64 `json:"FileMigratedSize,omitnil,omitempty" name:"FileMigratedSize"` // 迁移失败文件容量,单位Byte FileFailedSize *int64 `json:"FileFailedSize,omitnil,omitempty" name:"FileFailedSize"` // 全部清单 FileTotalList *string `json:"FileTotalList,omitnil,omitempty" name:"FileTotalList"` // 已完成文件清单 FileCompletedList *string `json:"FileCompletedList,omitnil,omitempty" name:"FileCompletedList"` // 失败文件清单 FileFailedList *string `json:"FileFailedList,omitnil,omitempty" name:"FileFailedList"` // 源桶路径 BucketPath *string `json:"BucketPath,omitnil,omitempty" name:"BucketPath"` // 迁移方向。0: 对象存储迁移至文件系统,1: 文件系统迁移至对象存储。默认 0 Direction *uint64 `json:"Direction,omitnil,omitempty" name:"Direction"` }
type ModifyFileSystemAutoScaleUpRuleRequest ¶ added in v1.0.646
type ModifyFileSystemAutoScaleUpRuleRequest struct { *tchttp.BaseRequest // 文件系统id FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 扩容阈值,范围[10-90] ScaleUpThreshold *uint64 `json:"ScaleUpThreshold,omitnil,omitempty" name:"ScaleUpThreshold"` // 扩容后目标阈值,范围[10-90],该值要小于ScaleUpThreshold TargetThreshold *uint64 `json:"TargetThreshold,omitnil,omitempty" name:"TargetThreshold"` // 规则状态0:关闭,1 开启 Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` }
func NewModifyFileSystemAutoScaleUpRuleRequest ¶ added in v1.0.646
func NewModifyFileSystemAutoScaleUpRuleRequest() (request *ModifyFileSystemAutoScaleUpRuleRequest)
func (*ModifyFileSystemAutoScaleUpRuleRequest) FromJsonString ¶ added in v1.0.646
func (r *ModifyFileSystemAutoScaleUpRuleRequest) 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 (*ModifyFileSystemAutoScaleUpRuleRequest) ToJsonString ¶ added in v1.0.646
func (r *ModifyFileSystemAutoScaleUpRuleRequest) ToJsonString() string
type ModifyFileSystemAutoScaleUpRuleRequestParams ¶ added in v1.0.646
type ModifyFileSystemAutoScaleUpRuleRequestParams struct { // 文件系统id FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 扩容阈值,范围[10-90] ScaleUpThreshold *uint64 `json:"ScaleUpThreshold,omitnil,omitempty" name:"ScaleUpThreshold"` // 扩容后目标阈值,范围[10-90],该值要小于ScaleUpThreshold TargetThreshold *uint64 `json:"TargetThreshold,omitnil,omitempty" name:"TargetThreshold"` // 规则状态0:关闭,1 开启 Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` }
Predefined struct for user
type ModifyFileSystemAutoScaleUpRuleResponse ¶ added in v1.0.646
type ModifyFileSystemAutoScaleUpRuleResponse struct { *tchttp.BaseResponse Response *ModifyFileSystemAutoScaleUpRuleResponseParams `json:"Response"` }
func NewModifyFileSystemAutoScaleUpRuleResponse ¶ added in v1.0.646
func NewModifyFileSystemAutoScaleUpRuleResponse() (response *ModifyFileSystemAutoScaleUpRuleResponse)
func (*ModifyFileSystemAutoScaleUpRuleResponse) FromJsonString ¶ added in v1.0.646
func (r *ModifyFileSystemAutoScaleUpRuleResponse) 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 (*ModifyFileSystemAutoScaleUpRuleResponse) ToJsonString ¶ added in v1.0.646
func (r *ModifyFileSystemAutoScaleUpRuleResponse) ToJsonString() string
type ModifyFileSystemAutoScaleUpRuleResponseParams ¶ added in v1.0.646
type ModifyFileSystemAutoScaleUpRuleResponseParams struct { // 文件系统id FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 规则状态0:关闭,1 开启 Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // 扩容阈值,范围[10-90] ScaleUpThreshold *uint64 `json:"ScaleUpThreshold,omitnil,omitempty" name:"ScaleUpThreshold"` // 扩容后达到阈值,范围[10-90] TargetThreshold *uint64 `json:"TargetThreshold,omitnil,omitempty" name:"TargetThreshold"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type MountInfo ¶
type MountInfo struct { // 文件系统 ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 挂载点 ID MountTargetId *string `json:"MountTargetId,omitnil,omitempty" name:"MountTargetId"` // 挂载点 IP IpAddress *string `json:"IpAddress,omitnil,omitempty" name:"IpAddress"` // 挂载根目录 FSID *string `json:"FSID,omitnil,omitempty" name:"FSID"` // 挂载点状态 LifeCycleState *string `json:"LifeCycleState,omitnil,omitempty" name:"LifeCycleState"` // 网络类型 NetworkInterface *string `json:"NetworkInterface,omitnil,omitempty" name:"NetworkInterface"` // 私有网络 ID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 私有网络名称 VpcName *string `json:"VpcName,omitnil,omitempty" name:"VpcName"` // 子网 Id SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 子网名称 SubnetName *string `json:"SubnetName,omitnil,omitempty" name:"SubnetName"` // CFS Turbo使用的云联网ID CcnID *string `json:"CcnID,omitnil,omitempty" name:"CcnID"` // 云联网中CFS Turbo使用的网段 CidrBlock *string `json:"CidrBlock,omitnil,omitempty" name:"CidrBlock"` }
type PGroupInfo ¶
type PGroupInfo struct { // 权限组ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // 权限组名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 描述信息 DescInfo *string `json:"DescInfo,omitnil,omitempty" name:"DescInfo"` // 创建时间 CDate *string `json:"CDate,omitnil,omitempty" name:"CDate"` // 关联文件系统个数 BindCfsNum *int64 `json:"BindCfsNum,omitnil,omitempty" name:"BindCfsNum"` }
type PGroupRuleInfo ¶
type PGroupRuleInfo struct { // 规则ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 允许访问的客户端IP AuthClientIp *string `json:"AuthClientIp,omitnil,omitempty" name:"AuthClientIp"` // 读写权限, ro为只读,rw为读写 RWPermission *string `json:"RWPermission,omitnil,omitempty" name:"RWPermission"` // all_squash:所有访问用户(含 root 用户)都会被映射为匿名用户或用户组。 // no_all_squash:所有访问用户(含 root 用户)均保持原有的 UID/GID 信息。 // root_squash:将来访的 root 用户映射为匿名用户或用户组,非 root 用户保持原有的 UID/GID 信息。 // no_root_squash:与 no_all_squash 效果一致,所有访问用户(含 root 用户)均保持原有的 UID/GID 信息 UserPermission *string `json:"UserPermission,omitnil,omitempty" name:"UserPermission"` // 规则优先级,1-100。 其中 1 为最高,100为最低 Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"` }
type ScaleUpFileSystemRequest ¶ added in v1.0.645
type ScaleUpFileSystemRequest struct { *tchttp.BaseRequest // 文件系统Id FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 扩容的目标容量(单位GiB) TargetCapacity *uint64 `json:"TargetCapacity,omitnil,omitempty" name:"TargetCapacity"` }
func NewScaleUpFileSystemRequest ¶ added in v1.0.645
func NewScaleUpFileSystemRequest() (request *ScaleUpFileSystemRequest)
func (*ScaleUpFileSystemRequest) FromJsonString ¶ added in v1.0.645
func (r *ScaleUpFileSystemRequest) 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 (*ScaleUpFileSystemRequest) ToJsonString ¶ added in v1.0.645
func (r *ScaleUpFileSystemRequest) ToJsonString() string
type ScaleUpFileSystemRequestParams ¶ added in v1.0.645
type ScaleUpFileSystemRequestParams struct { // 文件系统Id FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 扩容的目标容量(单位GiB) TargetCapacity *uint64 `json:"TargetCapacity,omitnil,omitempty" name:"TargetCapacity"` }
Predefined struct for user
type ScaleUpFileSystemResponse ¶ added in v1.0.645
type ScaleUpFileSystemResponse struct { *tchttp.BaseResponse Response *ScaleUpFileSystemResponseParams `json:"Response"` }
func NewScaleUpFileSystemResponse ¶ added in v1.0.645
func NewScaleUpFileSystemResponse() (response *ScaleUpFileSystemResponse)
func (*ScaleUpFileSystemResponse) FromJsonString ¶ added in v1.0.645
func (r *ScaleUpFileSystemResponse) 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 (*ScaleUpFileSystemResponse) ToJsonString ¶ added in v1.0.645
func (r *ScaleUpFileSystemResponse) ToJsonString() string
type ScaleUpFileSystemResponseParams ¶ added in v1.0.645
type ScaleUpFileSystemResponseParams struct { // 文件系统Id FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 扩容的目标容量(单位GiB) TargetCapacity *uint64 `json:"TargetCapacity,omitnil,omitempty" name:"TargetCapacity"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SetUserQuotaRequest ¶ added in v1.0.535
type SetUserQuotaRequest struct { *tchttp.BaseRequest // 文件系统 ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 指定配额类型,包括Uid、Gid,Dir,分别代表用户配额,用户组配额,目录配额 UserType *string `json:"UserType,omitnil,omitempty" name:"UserType"` // UID/GID信息 UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // 容量硬限制,单位GiB。设置范围10-10000000。 CapacityHardLimit *uint64 `json:"CapacityHardLimit,omitnil,omitempty" name:"CapacityHardLimit"` // 文件硬限制,单位个。设置范围1000-100000000 FileHardLimit *uint64 `json:"FileHardLimit,omitnil,omitempty" name:"FileHardLimit"` // 需设置目录配额的目录绝对路径,不同目录不可存在包含关系 DirectoryPath *string `json:"DirectoryPath,omitnil,omitempty" name:"DirectoryPath"` }
func NewSetUserQuotaRequest ¶ added in v1.0.535
func NewSetUserQuotaRequest() (request *SetUserQuotaRequest)
func (*SetUserQuotaRequest) FromJsonString ¶ added in v1.0.535
func (r *SetUserQuotaRequest) 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 (*SetUserQuotaRequest) ToJsonString ¶ added in v1.0.535
func (r *SetUserQuotaRequest) ToJsonString() string
type SetUserQuotaRequestParams ¶ added in v1.0.535
type SetUserQuotaRequestParams struct { // 文件系统 ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 指定配额类型,包括Uid、Gid,Dir,分别代表用户配额,用户组配额,目录配额 UserType *string `json:"UserType,omitnil,omitempty" name:"UserType"` // UID/GID信息 UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // 容量硬限制,单位GiB。设置范围10-10000000。 CapacityHardLimit *uint64 `json:"CapacityHardLimit,omitnil,omitempty" name:"CapacityHardLimit"` // 文件硬限制,单位个。设置范围1000-100000000 FileHardLimit *uint64 `json:"FileHardLimit,omitnil,omitempty" name:"FileHardLimit"` // 需设置目录配额的目录绝对路径,不同目录不可存在包含关系 DirectoryPath *string `json:"DirectoryPath,omitnil,omitempty" name:"DirectoryPath"` }
Predefined struct for user
type SetUserQuotaResponse ¶ added in v1.0.535
type SetUserQuotaResponse struct { *tchttp.BaseResponse Response *SetUserQuotaResponseParams `json:"Response"` }
func NewSetUserQuotaResponse ¶ added in v1.0.535
func NewSetUserQuotaResponse() (response *SetUserQuotaResponse)
func (*SetUserQuotaResponse) FromJsonString ¶ added in v1.0.535
func (r *SetUserQuotaResponse) 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 (*SetUserQuotaResponse) ToJsonString ¶ added in v1.0.535
func (r *SetUserQuotaResponse) ToJsonString() string
type SetUserQuotaResponseParams ¶ added in v1.0.535
type SetUserQuotaResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SignUpCfsServiceRequest ¶
type SignUpCfsServiceRequest struct {
*tchttp.BaseRequest
}
func NewSignUpCfsServiceRequest ¶
func NewSignUpCfsServiceRequest() (request *SignUpCfsServiceRequest)
func (*SignUpCfsServiceRequest) FromJsonString ¶
func (r *SignUpCfsServiceRequest) 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 (*SignUpCfsServiceRequest) ToJsonString ¶
func (r *SignUpCfsServiceRequest) ToJsonString() string
type SignUpCfsServiceRequestParams ¶ added in v1.0.426
type SignUpCfsServiceRequestParams struct { }
Predefined struct for user
type SignUpCfsServiceResponse ¶
type SignUpCfsServiceResponse struct { *tchttp.BaseResponse Response *SignUpCfsServiceResponseParams `json:"Response"` }
func NewSignUpCfsServiceResponse ¶
func NewSignUpCfsServiceResponse() (response *SignUpCfsServiceResponse)
func (*SignUpCfsServiceResponse) FromJsonString ¶
func (r *SignUpCfsServiceResponse) 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 (*SignUpCfsServiceResponse) ToJsonString ¶
func (r *SignUpCfsServiceResponse) ToJsonString() string
type SignUpCfsServiceResponseParams ¶ added in v1.0.426
type SignUpCfsServiceResponseParams struct { // 该用户当前 CFS 服务的状态,creating 是开通中,created 是已开通 CfsServiceStatus *string `json:"CfsServiceStatus,omitnil,omitempty" name:"CfsServiceStatus"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SnapshotInfo ¶ added in v1.0.493
type SnapshotInfo struct { // 创建快照时间 CreationTime *string `json:"CreationTime,omitnil,omitempty" name:"CreationTime"` // 快照名称 SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"` // 快照ID SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // 快照状态,createing-创建中;available-运行中;deleting-删除中;rollbacking-new 创建新文件系统中;create-failed 创建失败 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 地域名称 RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"` // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 快照大小 Size *uint64 `json:"Size,omitnil,omitempty" name:"Size"` // 保留时长天 AliveDay *uint64 `json:"AliveDay,omitnil,omitempty" name:"AliveDay"` // 快照进度百分比,1表示1% Percent *uint64 `json:"Percent,omitnil,omitempty" name:"Percent"` // 账号ID AppId *uint64 `json:"AppId,omitnil,omitempty" name:"AppId"` // 快照删除时间 DeleteTime *string `json:"DeleteTime,omitnil,omitempty" name:"DeleteTime"` // 文件系统名称 FsName *string `json:"FsName,omitnil,omitempty" name:"FsName"` // 快照标签 Tags []*TagInfo `json:"Tags,omitnil,omitempty" name:"Tags"` // 快照类型, general为通用系列快照,turbo为Turbo系列快照 // 注意:此字段可能返回 null,表示取不到有效值。 SnapshotType *string `json:"SnapshotType,omitnil,omitempty" name:"SnapshotType"` // 实际快照时间,反应快照对应文件系统某个时刻的数据。 // 注意:此字段可能返回 null,表示取不到有效值。 SnapshotTime *string `json:"SnapshotTime,omitnil,omitempty" name:"SnapshotTime"` }
type SnapshotOperateLog ¶ added in v1.0.493
type SnapshotOperateLog struct { // 操作类型 // CreateCfsSnapshot:创建快照 // DeleteCfsSnapshot:删除快照 // CreateCfsFileSystem:创建文件系统 // UpdateCfsSnapshotAttribute:更新快照 Action *string `json:"Action,omitnil,omitempty" name:"Action"` // 操作时间 ActionTime *string `json:"ActionTime,omitnil,omitempty" name:"ActionTime"` // 操作名称 // CreateCfsSnapshot // DeleteCfsSnapshot // CreateCfsFileSystem // UpdateCfsSnapshotAttribute ActionName *string `json:"ActionName,omitnil,omitempty" name:"ActionName"` // 操作者uin Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` // 1-任务进行中;2-任务成功;3-任务失败 Result *uint64 `json:"Result,omitnil,omitempty" name:"Result"` }
type SnapshotStatistics ¶ added in v1.0.493
type StopMigrationTaskRequest ¶ added in v1.0.639
type StopMigrationTaskRequest struct { *tchttp.BaseRequest // 迁移任务名称 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
func NewStopMigrationTaskRequest ¶ added in v1.0.639
func NewStopMigrationTaskRequest() (request *StopMigrationTaskRequest)
func (*StopMigrationTaskRequest) FromJsonString ¶ added in v1.0.639
func (r *StopMigrationTaskRequest) 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 (*StopMigrationTaskRequest) ToJsonString ¶ added in v1.0.639
func (r *StopMigrationTaskRequest) ToJsonString() string
type StopMigrationTaskRequestParams ¶ added in v1.0.639
type StopMigrationTaskRequestParams struct { // 迁移任务名称 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
Predefined struct for user
type StopMigrationTaskResponse ¶ added in v1.0.639
type StopMigrationTaskResponse struct { *tchttp.BaseResponse Response *StopMigrationTaskResponseParams `json:"Response"` }
func NewStopMigrationTaskResponse ¶ added in v1.0.639
func NewStopMigrationTaskResponse() (response *StopMigrationTaskResponse)
func (*StopMigrationTaskResponse) FromJsonString ¶ added in v1.0.639
func (r *StopMigrationTaskResponse) 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 (*StopMigrationTaskResponse) ToJsonString ¶ added in v1.0.639
func (r *StopMigrationTaskResponse) ToJsonString() string
type StopMigrationTaskResponseParams ¶ added in v1.0.639
type StopMigrationTaskResponseParams struct { // 迁移任务Id TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 迁移状态。0: 已完成;1: 进行中;2: 已终止 Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type TieringDetailInfo ¶ added in v1.0.620
type UnbindAutoSnapshotPolicyRequest ¶ added in v1.0.493
type UnbindAutoSnapshotPolicyRequest struct { *tchttp.BaseRequest // 需要解绑的文件系统ID列表,用"," 分割 FileSystemIds *string `json:"FileSystemIds,omitnil,omitempty" name:"FileSystemIds"` // 解绑的快照ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` }
func NewUnbindAutoSnapshotPolicyRequest ¶ added in v1.0.493
func NewUnbindAutoSnapshotPolicyRequest() (request *UnbindAutoSnapshotPolicyRequest)
func (*UnbindAutoSnapshotPolicyRequest) FromJsonString ¶ added in v1.0.493
func (r *UnbindAutoSnapshotPolicyRequest) 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 (*UnbindAutoSnapshotPolicyRequest) ToJsonString ¶ added in v1.0.493
func (r *UnbindAutoSnapshotPolicyRequest) ToJsonString() string
type UnbindAutoSnapshotPolicyRequestParams ¶ added in v1.0.493
type UnbindAutoSnapshotPolicyRequestParams struct { // 需要解绑的文件系统ID列表,用"," 分割 FileSystemIds *string `json:"FileSystemIds,omitnil,omitempty" name:"FileSystemIds"` // 解绑的快照ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` }
Predefined struct for user
type UnbindAutoSnapshotPolicyResponse ¶ added in v1.0.493
type UnbindAutoSnapshotPolicyResponse struct { *tchttp.BaseResponse Response *UnbindAutoSnapshotPolicyResponseParams `json:"Response"` }
func NewUnbindAutoSnapshotPolicyResponse ¶ added in v1.0.493
func NewUnbindAutoSnapshotPolicyResponse() (response *UnbindAutoSnapshotPolicyResponse)
func (*UnbindAutoSnapshotPolicyResponse) FromJsonString ¶ added in v1.0.493
func (r *UnbindAutoSnapshotPolicyResponse) 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 (*UnbindAutoSnapshotPolicyResponse) ToJsonString ¶ added in v1.0.493
func (r *UnbindAutoSnapshotPolicyResponse) ToJsonString() string
type UnbindAutoSnapshotPolicyResponseParams ¶ added in v1.0.493
type UnbindAutoSnapshotPolicyResponseParams struct { // 快照策略ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateAutoSnapshotPolicyRequest ¶ added in v1.0.493
type UpdateAutoSnapshotPolicyRequest struct { *tchttp.BaseRequest // 快照策略ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // 快照策略名称 PolicyName *string `json:"PolicyName,omitnil,omitempty" name:"PolicyName"` // 快照定期备份,按照星期一到星期日。 1代表星期一,7代表星期日 DayOfWeek *string `json:"DayOfWeek,omitnil,omitempty" name:"DayOfWeek"` // 快照定期备份在一天的哪一小时 Hour *string `json:"Hour,omitnil,omitempty" name:"Hour"` // 快照保留日期 AliveDays *uint64 `json:"AliveDays,omitnil,omitempty" name:"AliveDays"` // 是否激活定期快照功能;1代表激活,0代表未激活 IsActivated *uint64 `json:"IsActivated,omitnil,omitempty" name:"IsActivated"` // 定期快照在每月的第几天创建快照,该参数与DayOfWeek互斥 DayOfMonth *string `json:"DayOfMonth,omitnil,omitempty" name:"DayOfMonth"` // 间隔天数定期执行快照,该参数与DayOfWeek,DayOfMonth 互斥 IntervalDays *uint64 `json:"IntervalDays,omitnil,omitempty" name:"IntervalDays"` }
func NewUpdateAutoSnapshotPolicyRequest ¶ added in v1.0.493
func NewUpdateAutoSnapshotPolicyRequest() (request *UpdateAutoSnapshotPolicyRequest)
func (*UpdateAutoSnapshotPolicyRequest) FromJsonString ¶ added in v1.0.493
func (r *UpdateAutoSnapshotPolicyRequest) 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 (*UpdateAutoSnapshotPolicyRequest) ToJsonString ¶ added in v1.0.493
func (r *UpdateAutoSnapshotPolicyRequest) ToJsonString() string
type UpdateAutoSnapshotPolicyRequestParams ¶ added in v1.0.493
type UpdateAutoSnapshotPolicyRequestParams struct { // 快照策略ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // 快照策略名称 PolicyName *string `json:"PolicyName,omitnil,omitempty" name:"PolicyName"` // 快照定期备份,按照星期一到星期日。 1代表星期一,7代表星期日 DayOfWeek *string `json:"DayOfWeek,omitnil,omitempty" name:"DayOfWeek"` // 快照定期备份在一天的哪一小时 Hour *string `json:"Hour,omitnil,omitempty" name:"Hour"` // 快照保留日期 AliveDays *uint64 `json:"AliveDays,omitnil,omitempty" name:"AliveDays"` // 是否激活定期快照功能;1代表激活,0代表未激活 IsActivated *uint64 `json:"IsActivated,omitnil,omitempty" name:"IsActivated"` // 定期快照在每月的第几天创建快照,该参数与DayOfWeek互斥 DayOfMonth *string `json:"DayOfMonth,omitnil,omitempty" name:"DayOfMonth"` // 间隔天数定期执行快照,该参数与DayOfWeek,DayOfMonth 互斥 IntervalDays *uint64 `json:"IntervalDays,omitnil,omitempty" name:"IntervalDays"` }
Predefined struct for user
type UpdateAutoSnapshotPolicyResponse ¶ added in v1.0.493
type UpdateAutoSnapshotPolicyResponse struct { *tchttp.BaseResponse Response *UpdateAutoSnapshotPolicyResponseParams `json:"Response"` }
func NewUpdateAutoSnapshotPolicyResponse ¶ added in v1.0.493
func NewUpdateAutoSnapshotPolicyResponse() (response *UpdateAutoSnapshotPolicyResponse)
func (*UpdateAutoSnapshotPolicyResponse) FromJsonString ¶ added in v1.0.493
func (r *UpdateAutoSnapshotPolicyResponse) 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 (*UpdateAutoSnapshotPolicyResponse) ToJsonString ¶ added in v1.0.493
func (r *UpdateAutoSnapshotPolicyResponse) ToJsonString() string
type UpdateAutoSnapshotPolicyResponseParams ¶ added in v1.0.493
type UpdateAutoSnapshotPolicyResponseParams struct { // 快照策略ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateCfsFileSystemNameRequest ¶
type UpdateCfsFileSystemNameRequest struct { *tchttp.BaseRequest // 文件系统 ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 用户自定义文件系统名称 FsName *string `json:"FsName,omitnil,omitempty" name:"FsName"` }
func NewUpdateCfsFileSystemNameRequest ¶
func NewUpdateCfsFileSystemNameRequest() (request *UpdateCfsFileSystemNameRequest)
func (*UpdateCfsFileSystemNameRequest) FromJsonString ¶
func (r *UpdateCfsFileSystemNameRequest) 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 (*UpdateCfsFileSystemNameRequest) ToJsonString ¶
func (r *UpdateCfsFileSystemNameRequest) ToJsonString() string
type UpdateCfsFileSystemNameRequestParams ¶ added in v1.0.426
type UpdateCfsFileSystemNameRequestParams struct { // 文件系统 ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 用户自定义文件系统名称 FsName *string `json:"FsName,omitnil,omitempty" name:"FsName"` }
Predefined struct for user
type UpdateCfsFileSystemNameResponse ¶
type UpdateCfsFileSystemNameResponse struct { *tchttp.BaseResponse Response *UpdateCfsFileSystemNameResponseParams `json:"Response"` }
func NewUpdateCfsFileSystemNameResponse ¶
func NewUpdateCfsFileSystemNameResponse() (response *UpdateCfsFileSystemNameResponse)
func (*UpdateCfsFileSystemNameResponse) FromJsonString ¶
func (r *UpdateCfsFileSystemNameResponse) 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 (*UpdateCfsFileSystemNameResponse) ToJsonString ¶
func (r *UpdateCfsFileSystemNameResponse) ToJsonString() string
type UpdateCfsFileSystemNameResponseParams ¶ added in v1.0.426
type UpdateCfsFileSystemNameResponseParams struct { // 用户自定义文件系统名称 CreationToken *string `json:"CreationToken,omitnil,omitempty" name:"CreationToken"` // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 用户自定义文件系统名称 FsName *string `json:"FsName,omitnil,omitempty" name:"FsName"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateCfsFileSystemPGroupRequest ¶
type UpdateCfsFileSystemPGroupRequest struct { *tchttp.BaseRequest // 权限组 ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // 文件系统 ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` }
func NewUpdateCfsFileSystemPGroupRequest ¶
func NewUpdateCfsFileSystemPGroupRequest() (request *UpdateCfsFileSystemPGroupRequest)
func (*UpdateCfsFileSystemPGroupRequest) FromJsonString ¶
func (r *UpdateCfsFileSystemPGroupRequest) 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 (*UpdateCfsFileSystemPGroupRequest) ToJsonString ¶
func (r *UpdateCfsFileSystemPGroupRequest) ToJsonString() string
type UpdateCfsFileSystemPGroupRequestParams ¶ added in v1.0.426
type UpdateCfsFileSystemPGroupRequestParams struct { // 权限组 ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // 文件系统 ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` }
Predefined struct for user
type UpdateCfsFileSystemPGroupResponse ¶
type UpdateCfsFileSystemPGroupResponse struct { *tchttp.BaseResponse Response *UpdateCfsFileSystemPGroupResponseParams `json:"Response"` }
func NewUpdateCfsFileSystemPGroupResponse ¶
func NewUpdateCfsFileSystemPGroupResponse() (response *UpdateCfsFileSystemPGroupResponse)
func (*UpdateCfsFileSystemPGroupResponse) FromJsonString ¶
func (r *UpdateCfsFileSystemPGroupResponse) 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 (*UpdateCfsFileSystemPGroupResponse) ToJsonString ¶
func (r *UpdateCfsFileSystemPGroupResponse) ToJsonString() string
type UpdateCfsFileSystemPGroupResponseParams ¶ added in v1.0.426
type UpdateCfsFileSystemPGroupResponseParams struct { // 权限组 ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // 文件系统 ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateCfsFileSystemSizeLimitRequest ¶
type UpdateCfsFileSystemSizeLimitRequest struct { *tchttp.BaseRequest // 文件系统容量限制大小,输入范围0-1073741824, 单位为GB;其中输入值为0时,表示不限制文件系统容量。 FsLimit *uint64 `json:"FsLimit,omitnil,omitempty" name:"FsLimit"` // 文件系统ID,目前仅支持标准型文件系统。 FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` }
func NewUpdateCfsFileSystemSizeLimitRequest ¶
func NewUpdateCfsFileSystemSizeLimitRequest() (request *UpdateCfsFileSystemSizeLimitRequest)
func (*UpdateCfsFileSystemSizeLimitRequest) FromJsonString ¶
func (r *UpdateCfsFileSystemSizeLimitRequest) 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 (*UpdateCfsFileSystemSizeLimitRequest) ToJsonString ¶
func (r *UpdateCfsFileSystemSizeLimitRequest) ToJsonString() string
type UpdateCfsFileSystemSizeLimitRequestParams ¶ added in v1.0.426
type UpdateCfsFileSystemSizeLimitRequestParams struct { // 文件系统容量限制大小,输入范围0-1073741824, 单位为GB;其中输入值为0时,表示不限制文件系统容量。 FsLimit *uint64 `json:"FsLimit,omitnil,omitempty" name:"FsLimit"` // 文件系统ID,目前仅支持标准型文件系统。 FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` }
Predefined struct for user
type UpdateCfsFileSystemSizeLimitResponse ¶
type UpdateCfsFileSystemSizeLimitResponse struct { *tchttp.BaseResponse Response *UpdateCfsFileSystemSizeLimitResponseParams `json:"Response"` }
func NewUpdateCfsFileSystemSizeLimitResponse ¶
func NewUpdateCfsFileSystemSizeLimitResponse() (response *UpdateCfsFileSystemSizeLimitResponse)
func (*UpdateCfsFileSystemSizeLimitResponse) FromJsonString ¶
func (r *UpdateCfsFileSystemSizeLimitResponse) 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 (*UpdateCfsFileSystemSizeLimitResponse) ToJsonString ¶
func (r *UpdateCfsFileSystemSizeLimitResponse) ToJsonString() string
type UpdateCfsFileSystemSizeLimitResponseParams ¶ added in v1.0.426
type UpdateCfsFileSystemSizeLimitResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateCfsPGroupRequest ¶
type UpdateCfsPGroupRequest struct { *tchttp.BaseRequest // 权限组 ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // 权限组名称,1-64个字符且只能为中文,字母,数字,下划线或横线 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 权限组描述信息,1-255个字符。 Name和Descinfo不能同时为空 DescInfo *string `json:"DescInfo,omitnil,omitempty" name:"DescInfo"` }
func NewUpdateCfsPGroupRequest ¶
func NewUpdateCfsPGroupRequest() (request *UpdateCfsPGroupRequest)
func (*UpdateCfsPGroupRequest) FromJsonString ¶
func (r *UpdateCfsPGroupRequest) 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 (*UpdateCfsPGroupRequest) ToJsonString ¶
func (r *UpdateCfsPGroupRequest) ToJsonString() string
type UpdateCfsPGroupRequestParams ¶ added in v1.0.426
type UpdateCfsPGroupRequestParams struct { // 权限组 ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // 权限组名称,1-64个字符且只能为中文,字母,数字,下划线或横线 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 权限组描述信息,1-255个字符。 Name和Descinfo不能同时为空 DescInfo *string `json:"DescInfo,omitnil,omitempty" name:"DescInfo"` }
Predefined struct for user
type UpdateCfsPGroupResponse ¶
type UpdateCfsPGroupResponse struct { *tchttp.BaseResponse Response *UpdateCfsPGroupResponseParams `json:"Response"` }
func NewUpdateCfsPGroupResponse ¶
func NewUpdateCfsPGroupResponse() (response *UpdateCfsPGroupResponse)
func (*UpdateCfsPGroupResponse) FromJsonString ¶
func (r *UpdateCfsPGroupResponse) 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 (*UpdateCfsPGroupResponse) ToJsonString ¶
func (r *UpdateCfsPGroupResponse) ToJsonString() string
type UpdateCfsPGroupResponseParams ¶ added in v1.0.426
type UpdateCfsPGroupResponseParams struct { // 权限组ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // 权限组名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 描述信息 DescInfo *string `json:"DescInfo,omitnil,omitempty" name:"DescInfo"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateCfsRuleRequest ¶
type UpdateCfsRuleRequest struct { *tchttp.BaseRequest // 权限组 ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // 规则 ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 可以填写单个 IP 或者单个网段,例如 10.1.10.11 或者 10.10.1.0/24。默认来访地址为*表示允许所有。同时需要注意,此处需填写 CVM 的内网 IP。 AuthClientIp *string `json:"AuthClientIp,omitnil,omitempty" name:"AuthClientIp"` // 读写权限, 值为RO、RW;其中 RO 为只读,RW 为读写,不填默认为只读 RWPermission *string `json:"RWPermission,omitnil,omitempty" name:"RWPermission"` // 用户权限,值为all_squash、no_all_squash、root_squash、no_root_squash。 // all_squash:所有访问用户(含 root 用户)都会被映射为匿名用户或用户组。 // no_all_squash:所有访问用户(含 root 用户)均保持原有的 UID/GID 信息。 // root_squash:将来访的 root 用户映射为匿名用户或用户组,非 root 用户保持原有的 UID/GID 信息。 // no_root_squash:与 no_all_squash 效果一致,所有访问用户(含 root 用户)均保持原有的 UID/GID 信息 UserPermission *string `json:"UserPermission,omitnil,omitempty" name:"UserPermission"` // 规则优先级,参数范围1-100。 其中 1 为最高,100为最低 Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"` }
func NewUpdateCfsRuleRequest ¶
func NewUpdateCfsRuleRequest() (request *UpdateCfsRuleRequest)
func (*UpdateCfsRuleRequest) FromJsonString ¶
func (r *UpdateCfsRuleRequest) 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 (*UpdateCfsRuleRequest) ToJsonString ¶
func (r *UpdateCfsRuleRequest) ToJsonString() string
type UpdateCfsRuleRequestParams ¶ added in v1.0.426
type UpdateCfsRuleRequestParams struct { // 权限组 ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // 规则 ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 可以填写单个 IP 或者单个网段,例如 10.1.10.11 或者 10.10.1.0/24。默认来访地址为*表示允许所有。同时需要注意,此处需填写 CVM 的内网 IP。 AuthClientIp *string `json:"AuthClientIp,omitnil,omitempty" name:"AuthClientIp"` // 读写权限, 值为RO、RW;其中 RO 为只读,RW 为读写,不填默认为只读 RWPermission *string `json:"RWPermission,omitnil,omitempty" name:"RWPermission"` // 用户权限,值为all_squash、no_all_squash、root_squash、no_root_squash。 // all_squash:所有访问用户(含 root 用户)都会被映射为匿名用户或用户组。 // no_all_squash:所有访问用户(含 root 用户)均保持原有的 UID/GID 信息。 // root_squash:将来访的 root 用户映射为匿名用户或用户组,非 root 用户保持原有的 UID/GID 信息。 // no_root_squash:与 no_all_squash 效果一致,所有访问用户(含 root 用户)均保持原有的 UID/GID 信息 UserPermission *string `json:"UserPermission,omitnil,omitempty" name:"UserPermission"` // 规则优先级,参数范围1-100。 其中 1 为最高,100为最低 Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"` }
Predefined struct for user
type UpdateCfsRuleResponse ¶
type UpdateCfsRuleResponse struct { *tchttp.BaseResponse Response *UpdateCfsRuleResponseParams `json:"Response"` }
func NewUpdateCfsRuleResponse ¶
func NewUpdateCfsRuleResponse() (response *UpdateCfsRuleResponse)
func (*UpdateCfsRuleResponse) FromJsonString ¶
func (r *UpdateCfsRuleResponse) 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 (*UpdateCfsRuleResponse) ToJsonString ¶
func (r *UpdateCfsRuleResponse) ToJsonString() string
type UpdateCfsRuleResponseParams ¶ added in v1.0.426
type UpdateCfsRuleResponseParams struct { // 权限组 ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // 规则 ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 允许访问的客户端 IP 或者 IP 段 AuthClientIp *string `json:"AuthClientIp,omitnil,omitempty" name:"AuthClientIp"` // 读写权限 RWPermission *string `json:"RWPermission,omitnil,omitempty" name:"RWPermission"` // 用户权限 UserPermission *string `json:"UserPermission,omitnil,omitempty" name:"UserPermission"` // 优先级 Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateCfsSnapshotAttributeRequest ¶ added in v1.0.493
type UpdateCfsSnapshotAttributeRequest struct { *tchttp.BaseRequest // 文件系统快照ID SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // 文件系统快照名称 SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"` // 文件系统快照保留天数 AliveDays *uint64 `json:"AliveDays,omitnil,omitempty" name:"AliveDays"` }
func NewUpdateCfsSnapshotAttributeRequest ¶ added in v1.0.493
func NewUpdateCfsSnapshotAttributeRequest() (request *UpdateCfsSnapshotAttributeRequest)
func (*UpdateCfsSnapshotAttributeRequest) FromJsonString ¶ added in v1.0.493
func (r *UpdateCfsSnapshotAttributeRequest) 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 (*UpdateCfsSnapshotAttributeRequest) ToJsonString ¶ added in v1.0.493
func (r *UpdateCfsSnapshotAttributeRequest) ToJsonString() string
type UpdateCfsSnapshotAttributeRequestParams ¶ added in v1.0.493
type UpdateCfsSnapshotAttributeRequestParams struct { // 文件系统快照ID SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // 文件系统快照名称 SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"` // 文件系统快照保留天数 AliveDays *uint64 `json:"AliveDays,omitnil,omitempty" name:"AliveDays"` }
Predefined struct for user
type UpdateCfsSnapshotAttributeResponse ¶ added in v1.0.493
type UpdateCfsSnapshotAttributeResponse struct { *tchttp.BaseResponse Response *UpdateCfsSnapshotAttributeResponseParams `json:"Response"` }
func NewUpdateCfsSnapshotAttributeResponse ¶ added in v1.0.493
func NewUpdateCfsSnapshotAttributeResponse() (response *UpdateCfsSnapshotAttributeResponse)
func (*UpdateCfsSnapshotAttributeResponse) FromJsonString ¶ added in v1.0.493
func (r *UpdateCfsSnapshotAttributeResponse) 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 (*UpdateCfsSnapshotAttributeResponse) ToJsonString ¶ added in v1.0.493
func (r *UpdateCfsSnapshotAttributeResponse) ToJsonString() string
type UpdateCfsSnapshotAttributeResponseParams ¶ added in v1.0.493
type UpdateCfsSnapshotAttributeResponseParams struct { // 文件系统快照ID SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateFileSystemBandwidthLimitRequest ¶ added in v1.0.787
type UpdateFileSystemBandwidthLimitRequest struct { *tchttp.BaseRequest // 文件系统 ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 文件系统带宽,仅吞吐型可填。单位MiB/s,最小为1GiB/s,最大200GiB/s。 BandwidthLimit *int64 `json:"BandwidthLimit,omitnil,omitempty" name:"BandwidthLimit"` }
func NewUpdateFileSystemBandwidthLimitRequest ¶ added in v1.0.787
func NewUpdateFileSystemBandwidthLimitRequest() (request *UpdateFileSystemBandwidthLimitRequest)
func (*UpdateFileSystemBandwidthLimitRequest) FromJsonString ¶ added in v1.0.787
func (r *UpdateFileSystemBandwidthLimitRequest) 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 (*UpdateFileSystemBandwidthLimitRequest) ToJsonString ¶ added in v1.0.787
func (r *UpdateFileSystemBandwidthLimitRequest) ToJsonString() string
type UpdateFileSystemBandwidthLimitRequestParams ¶ added in v1.0.787
type UpdateFileSystemBandwidthLimitRequestParams struct { // 文件系统 ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 文件系统带宽,仅吞吐型可填。单位MiB/s,最小为1GiB/s,最大200GiB/s。 BandwidthLimit *int64 `json:"BandwidthLimit,omitnil,omitempty" name:"BandwidthLimit"` }
Predefined struct for user
type UpdateFileSystemBandwidthLimitResponse ¶ added in v1.0.787
type UpdateFileSystemBandwidthLimitResponse struct { *tchttp.BaseResponse Response *UpdateFileSystemBandwidthLimitResponseParams `json:"Response"` }
func NewUpdateFileSystemBandwidthLimitResponse ¶ added in v1.0.787
func NewUpdateFileSystemBandwidthLimitResponse() (response *UpdateFileSystemBandwidthLimitResponse)
func (*UpdateFileSystemBandwidthLimitResponse) FromJsonString ¶ added in v1.0.787
func (r *UpdateFileSystemBandwidthLimitResponse) 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 (*UpdateFileSystemBandwidthLimitResponse) ToJsonString ¶ added in v1.0.787
func (r *UpdateFileSystemBandwidthLimitResponse) ToJsonString() string
type UpdateFileSystemBandwidthLimitResponseParams ¶ added in v1.0.787
type UpdateFileSystemBandwidthLimitResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UserQuota ¶ added in v1.0.535
type UserQuota struct { // 指定配额类型,包括Uid、Gid、Dir UserType *string `json:"UserType,omitnil,omitempty" name:"UserType"` // UID/GID信息 UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"` // 容量硬限制,单位GiB CapacityHardLimit *uint64 `json:"CapacityHardLimit,omitnil,omitempty" name:"CapacityHardLimit"` // 文件硬限制,单位个 FileHardLimit *uint64 `json:"FileHardLimit,omitnil,omitempty" name:"FileHardLimit"` // 文件系统ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // 容量使用,单位GiB CapacityUsed *uint64 `json:"CapacityUsed,omitnil,omitempty" name:"CapacityUsed"` // 文件使用个数,单位个 FileUsed *uint64 `json:"FileUsed,omitnil,omitempty" name:"FileUsed"` // 目录配额的目录绝对路径 // 注意:此字段可能返回 null,表示取不到有效值。 DirectoryPath *string `json:"DirectoryPath,omitnil,omitempty" name:"DirectoryPath"` // 配置规则状态,inavailable---配置中,available --已生效,deleting--删除中,deleted 已删除,failed--配置失败 Status *string `json:"Status,omitnil,omitempty" name:"Status"` }