Documentation
¶
Index ¶
- Constants
- type ApplyPathLifecyclePolicyRequest
- type ApplyPathLifecyclePolicyRequestParams
- type ApplyPathLifecyclePolicyResponse
- type ApplyPathLifecyclePolicyResponseParams
- type AutoScaleUpRule
- type AutoSnapshotPolicyInfo
- type AvailableProtoStatus
- type AvailableRegion
- type AvailableType
- type AvailableZone
- type BindAutoSnapshotPolicyRequest
- type BindAutoSnapshotPolicyRequestParams
- type BindAutoSnapshotPolicyResponse
- type BindAutoSnapshotPolicyResponseParams
- type BucketInfo
- type CheckResult
- type Client
- func (c *Client) ApplyPathLifecyclePolicy(request *ApplyPathLifecyclePolicyRequest) (response *ApplyPathLifecyclePolicyResponse, err error)
- func (c *Client) ApplyPathLifecyclePolicyWithContext(ctx context.Context, request *ApplyPathLifecyclePolicyRequest) (response *ApplyPathLifecyclePolicyResponse, err error)
- 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) CreateDataFlow(request *CreateDataFlowRequest) (response *CreateDataFlowResponse, err error)
- func (c *Client) CreateDataFlowWithContext(ctx context.Context, request *CreateDataFlowRequest) (response *CreateDataFlowResponse, err error)
- func (c *Client) CreateLifecycleDataTask(request *CreateLifecycleDataTaskRequest) (response *CreateLifecycleDataTaskResponse, err error)
- func (c *Client) CreateLifecycleDataTaskWithContext(ctx context.Context, request *CreateLifecycleDataTaskRequest) (response *CreateLifecycleDataTaskResponse, err error)
- func (c *Client) CreateLifecyclePolicy(request *CreateLifecyclePolicyRequest) (response *CreateLifecyclePolicyResponse, err error)
- func (c *Client) CreateLifecyclePolicyDownloadTask(request *CreateLifecyclePolicyDownloadTaskRequest) (response *CreateLifecyclePolicyDownloadTaskResponse, err error)
- func (c *Client) CreateLifecyclePolicyDownloadTaskWithContext(ctx context.Context, request *CreateLifecyclePolicyDownloadTaskRequest) (response *CreateLifecyclePolicyDownloadTaskResponse, err error)
- func (c *Client) CreateLifecyclePolicyWithContext(ctx context.Context, request *CreateLifecyclePolicyRequest) (response *CreateLifecyclePolicyResponse, 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) DeleteDataFlow(request *DeleteDataFlowRequest) (response *DeleteDataFlowResponse, err error)
- func (c *Client) DeleteDataFlowWithContext(ctx context.Context, request *DeleteDataFlowRequest) (response *DeleteDataFlowResponse, err error)
- func (c *Client) DeleteLifecyclePolicy(request *DeleteLifecyclePolicyRequest) (response *DeleteLifecyclePolicyResponse, err error)
- func (c *Client) DeleteLifecyclePolicyWithContext(ctx context.Context, request *DeleteLifecyclePolicyRequest) (response *DeleteLifecyclePolicyResponse, 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) 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) DescribeDataFlow(request *DescribeDataFlowRequest) (response *DescribeDataFlowResponse, err error)
- func (c *Client) DescribeDataFlowWithContext(ctx context.Context, request *DescribeDataFlowRequest) (response *DescribeDataFlowResponse, err error)
- func (c *Client) DescribeLifecycleDataTask(request *DescribeLifecycleDataTaskRequest) (response *DescribeLifecycleDataTaskResponse, err error)
- func (c *Client) DescribeLifecycleDataTaskWithContext(ctx context.Context, request *DescribeLifecycleDataTaskRequest) (response *DescribeLifecycleDataTaskResponse, err error)
- func (c *Client) DescribeLifecyclePolicies(request *DescribeLifecyclePoliciesRequest) (response *DescribeLifecyclePoliciesResponse, err error)
- func (c *Client) DescribeLifecyclePoliciesWithContext(ctx context.Context, request *DescribeLifecyclePoliciesRequest) (response *DescribeLifecyclePoliciesResponse, 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) DoDirectoryOperation(request *DoDirectoryOperationRequest) (response *DoDirectoryOperationResponse, err error)
- func (c *Client) DoDirectoryOperationWithContext(ctx context.Context, request *DoDirectoryOperationRequest) (response *DoDirectoryOperationResponse, err error)
- func (c *Client) ModifyDataFlow(request *ModifyDataFlowRequest) (response *ModifyDataFlowResponse, err error)
- func (c *Client) ModifyDataFlowWithContext(ctx context.Context, request *ModifyDataFlowRequest) (response *ModifyDataFlowResponse, 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) ModifyLifecyclePolicy(request *ModifyLifecyclePolicyRequest) (response *ModifyLifecyclePolicyResponse, err error)
- func (c *Client) ModifyLifecyclePolicyWithContext(ctx context.Context, request *ModifyLifecyclePolicyRequest) (response *ModifyLifecyclePolicyResponse, 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) StopLifecycleDataTask(request *StopLifecycleDataTaskRequest) (response *StopLifecycleDataTaskResponse, err error)
- func (c *Client) StopLifecycleDataTaskWithContext(ctx context.Context, request *StopLifecycleDataTaskRequest) (response *StopLifecycleDataTaskResponse, 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 CreateDataFlowRequest
- type CreateDataFlowRequestParams
- type CreateDataFlowResponse
- type CreateDataFlowResponseParams
- type CreateLifecycleDataTaskRequest
- type CreateLifecycleDataTaskRequestParams
- type CreateLifecycleDataTaskResponse
- type CreateLifecycleDataTaskResponseParams
- type CreateLifecyclePolicyDownloadTaskRequest
- type CreateLifecyclePolicyDownloadTaskRequestParams
- type CreateLifecyclePolicyDownloadTaskResponse
- type CreateLifecyclePolicyDownloadTaskResponseParams
- type CreateLifecyclePolicyRequest
- type CreateLifecyclePolicyRequestParams
- type CreateLifecyclePolicyResponse
- type CreateLifecyclePolicyResponseParams
- type CreateMigrationTaskRequest
- type CreateMigrationTaskRequestParams
- type CreateMigrationTaskResponse
- type CreateMigrationTaskResponseParams
- type DataFlowInfo
- 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 DeleteDataFlowRequest
- type DeleteDataFlowRequestParams
- type DeleteDataFlowResponse
- type DeleteDataFlowResponseParams
- type DeleteLifecyclePolicyRequest
- type DeleteLifecyclePolicyRequestParams
- type DeleteLifecyclePolicyResponse
- type DeleteLifecyclePolicyResponseParams
- type DeleteMigrationTaskRequest
- type DeleteMigrationTaskRequestParams
- type DeleteMigrationTaskResponse
- type DeleteMigrationTaskResponseParams
- 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 DescribeDataFlowRequest
- type DescribeDataFlowRequestParams
- type DescribeDataFlowResponse
- type DescribeDataFlowResponseParams
- type DescribeLifecycleDataTaskRequest
- type DescribeLifecycleDataTaskRequestParams
- type DescribeLifecycleDataTaskResponse
- type DescribeLifecycleDataTaskResponseParams
- type DescribeLifecyclePoliciesRequest
- type DescribeLifecyclePoliciesRequestParams
- type DescribeLifecyclePoliciesResponse
- type DescribeLifecyclePoliciesResponseParams
- 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 DoDirectoryOperationRequest
- type DoDirectoryOperationRequestParams
- type DoDirectoryOperationResponse
- type DoDirectoryOperationResponseParams
- type ExstraPerformanceInfo
- type FileSystemByPolicy
- type FileSystemClient
- type FileSystemInfo
- type Filter
- type LifecycleDataTaskInfo
- type LifecyclePolicy
- type LifecycleRule
- type MigrationTaskInfo
- type ModifyDataFlowRequest
- type ModifyDataFlowRequestParams
- type ModifyDataFlowResponse
- type ModifyDataFlowResponseParams
- type ModifyFileSystemAutoScaleUpRuleRequest
- type ModifyFileSystemAutoScaleUpRuleRequestParams
- type ModifyFileSystemAutoScaleUpRuleResponse
- type ModifyFileSystemAutoScaleUpRuleResponseParams
- type ModifyLifecyclePolicyRequest
- type ModifyLifecyclePolicyRequestParams
- type ModifyLifecyclePolicyResponse
- type ModifyLifecyclePolicyResponseParams
- type MountInfo
- type PGroup
- type PGroupInfo
- type PGroupRuleInfo
- type PathInfo
- 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 StopLifecycleDataTaskRequest
- type StopLifecycleDataTaskRequestParams
- type StopLifecycleDataTaskResponse
- type StopLifecycleDataTaskResponseParams
- 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" // 超时。 INTERNALERROR_TIMEOUT = "InternalError.Timeout" // 参数错误。 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_BINDINFREQUENTACCESSFIRST = "InvalidParameterValue.BindInfrequentaccessFirst" // 无效的文件系统路径 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" // 参数值错误:数据流动ID无效 INVALIDPARAMETERVALUE_INVALIDDATAFLOWID = "InvalidParameterValue.InvalidDataFlowId" // 无效的数据流动名称 INVALIDPARAMETERVALUE_INVALIDDATAFLOWNAME = "InvalidParameterValue.InvalidDataFlowName" // 参数值错误:数据流动源信息无效,请检查密钥及路径 INVALIDPARAMETERVALUE_INVALIDDATAFLOWSOURCEINFO = "InvalidParameterValue.InvalidDataFlowSourceInfo" // 参数值错误:数据流动源存储类型无效 INVALIDPARAMETERVALUE_INVALIDDATAFLOWSOURCESTORAGETYPE = "InvalidParameterValue.InvalidDataFlowSourceStorageType" // 参数值错误:数据流动目标路径无效 INVALIDPARAMETERVALUE_INVALIDDATAFLOWTARGETPATH = "InvalidParameterValue.InvalidDataFlowTargetPath" // 快照跨地域复制参数不支持该地域 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" // 参数值错误:生命周期任务类型无效 INVALIDPARAMETERVALUE_INVALIDLIFECYCLEDATATASKTYPE = "InvalidParameterValue.InvalidLifecycleDataTaskType" // 生命周期任务id 无效 INVALIDPARAMETERVALUE_INVALIDLIFECYCLETASKID = "InvalidParameterValue.InvalidLifecycleTaskId" // MetaType 值无效 INVALIDPARAMETERVALUE_INVALIDMETATYPE = "InvalidParameterValue.InvalidMetaType" // 错误的挂载点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" // 参数错误,缺少taskid 或者region 至少输入一个 INVALIDPARAMETERVALUE_MISSINGTASKIDORREGION = "InvalidParameterValue.MissingTaskIdOrRegion" // 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_POLICYRULESTORAGETYPEINVALID = "InvalidParameterValue.PolicyRuleStorageTypeInvalid" // 目录配额设置的目录嵌套 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" // 生命周期规则存储类型错误 INVALIDPARAMETERVALUE_STORAGETYPEINVALID = "InvalidParameterValue.StorageTypeInvalid" // 参数值错误: 标签键个数超过上限(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" // 生命周期数据任务数超限 INVALIDPARAMETERVALUE_WAITINGTASKLIMITEXCEEDED = "InvalidParameterValue.WaitingTaskLimitExceeded" // ZoneId和Region不匹配。 INVALIDPARAMETERVALUE_ZONEIDREGIONNOTMATCH = "InvalidParameterValue.ZoneIdRegionNotMatch" // 缺少参数错误。 MISSINGPARAMETER = "MissingParameter" // 操作被拒绝。 OPERATIONDENIED = "OperationDenied" // 资源被占用。 RESOURCEINUSE = "ResourceInUse" // 资源不足:数据流动数超限 RESOURCEINSUFFICIENT_DATAFLOWLIMITEXCEEDED = "ResourceInsufficient.DataFlowLimitExceeded" // 文件系统数量达到上限。 RESOURCEINSUFFICIENT_FILESYSTEMLIMITEXCEEDED = "ResourceInsufficient.FileSystemLimitExceeded" // 权限组数量达到上限。 RESOURCEINSUFFICIENT_PGROUPNUMBERLIMITEXCEEDED = "ResourceInsufficient.PgroupNumberLimitExceeded" // 策略绑定文件系统数量超过限制。 RESOURCEINSUFFICIENT_POLICYFSLIMITEXCEEDED = "ResourceInsufficient.PolicyFsLimitExceeded" // 策略绑定路径数量超过限制。 RESOURCEINSUFFICIENT_POLICYFSPATHLIMITEXCEEDED = "ResourceInsufficient.PolicyFsPathLimitExceeded" // 该用户的生命周期策略个数达到最大限制。 RESOURCEINSUFFICIENT_POLICYLIMITEXCEEDED = "ResourceInsufficient.PolicyLimitExceeded" // 区域资源售罄。 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" // 该文件系统版本不支持当前操作 UNSUPPORTEDOPERATION_INVALIDCFSVERSION = "UnsupportedOperation.InvalidCfsVersion" // 该数据流动不支持删除,关联该数据流动的数据管理任务正在执行中,请等待执行完成或终止执行。 UNSUPPORTEDOPERATION_INVALIDLIFECYCLEDATATASKSTATUS = "UnsupportedOperation.InvalidLifecycleDataTaskStatus" // 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 ApplyPathLifecyclePolicyRequest ¶ added in v1.1.3
type ApplyPathLifecyclePolicyRequest struct {
*tchttp.BaseRequest
// 生命周期管理策略ID
LifecyclePolicyID *string `json:"LifecyclePolicyID,omitnil,omitempty" name:"LifecyclePolicyID"`
// 生命周期管理策略关联目录的绝对路径列表
Paths []*PathInfo `json:"Paths,omitnil,omitempty" name:"Paths"`
}
func NewApplyPathLifecyclePolicyRequest ¶ added in v1.1.3
func NewApplyPathLifecyclePolicyRequest() (request *ApplyPathLifecyclePolicyRequest)
func (*ApplyPathLifecyclePolicyRequest) FromJsonString ¶ added in v1.1.3
func (r *ApplyPathLifecyclePolicyRequest) 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 (*ApplyPathLifecyclePolicyRequest) ToJsonString ¶ added in v1.1.3
func (r *ApplyPathLifecyclePolicyRequest) ToJsonString() string
type ApplyPathLifecyclePolicyRequestParams ¶ added in v1.1.3
type ApplyPathLifecyclePolicyRequestParams struct {
// 生命周期管理策略ID
LifecyclePolicyID *string `json:"LifecyclePolicyID,omitnil,omitempty" name:"LifecyclePolicyID"`
// 生命周期管理策略关联目录的绝对路径列表
Paths []*PathInfo `json:"Paths,omitnil,omitempty" name:"Paths"`
}
Predefined struct for user
type ApplyPathLifecyclePolicyResponse ¶ added in v1.1.3
type ApplyPathLifecyclePolicyResponse struct {
*tchttp.BaseResponse
Response *ApplyPathLifecyclePolicyResponseParams `json:"Response"`
}
func NewApplyPathLifecyclePolicyResponse ¶ added in v1.1.3
func NewApplyPathLifecyclePolicyResponse() (response *ApplyPathLifecyclePolicyResponse)
func (*ApplyPathLifecyclePolicyResponse) FromJsonString ¶ added in v1.1.3
func (r *ApplyPathLifecyclePolicyResponse) 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 (*ApplyPathLifecyclePolicyResponse) ToJsonString ¶ added in v1.1.3
func (r *ApplyPathLifecyclePolicyResponse) ToJsonString() string
type ApplyPathLifecyclePolicyResponseParams ¶ added in v1.1.3
type ApplyPathLifecyclePolicyResponseParams struct {
// 有规则冲突时返回的已有冲突规则信息
// 注意:此字段可能返回 null,表示取不到有效值。
CheckResults []*CheckResult `json:"CheckResults,omitnil,omitempty" name:"CheckResults"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
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"`
// 扩容后使用量跟集群总量比例,范围[10-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"`
// 快照策略名称
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"`
// 快照策略状态,available代表快照策略状态正常。这里只有一种状态
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"`
// 快照策略标签
Tags []*TagInfo `json:"Tags,omitnil,omitempty" name:"Tags"`
}
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列表,用"," 分割,文件系统ID,通过查询文件系统列表获取;[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)
AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"`
// 解绑的快照策略ID,可以通过[DescribeAutoSnapshotPolicies](https://cloud.tencent.com/document/api/582/80208) 查询获取
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列表,用"," 分割,文件系统ID,通过查询文件系统列表获取;[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)
AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"`
// 解绑的快照策略ID,可以通过[DescribeAutoSnapshotPolicies](https://cloud.tencent.com/document/api/582/80208) 查询获取
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 CheckResult ¶ added in v1.1.3
type CheckResult struct {
// 生命周期管理策略ID
LifecyclePolicyID *string `json:"LifecyclePolicyID,omitnil,omitempty" name:"LifecyclePolicyID"`
// 文件系统ID
FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
// 目录绝对路径
Path *string `json:"Path,omitnil,omitempty" name:"Path"`
// 生命周期管理策略关联的管理规则列表
LifecycleRules []*LifecycleRule `json:"LifecycleRules,omitnil,omitempty" name:"LifecycleRules"`
// 目标路径
TargetPath *string `json:"TargetPath,omitnil,omitempty" name:"TargetPath"`
}
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) ApplyPathLifecyclePolicy ¶ added in v1.1.3
func (c *Client) ApplyPathLifecyclePolicy(request *ApplyPathLifecyclePolicyRequest) (response *ApplyPathLifecyclePolicyResponse, err error)
ApplyPathLifecyclePolicy 配置生命周期策略关联到的目录列表
可能返回的错误码:
INVALIDPARAMETERVALUE_BINDINFREQUENTACCESSFIRST = "InvalidParameterValue.BindInfrequentaccessFirst" INVALIDPARAMETERVALUE_INVALIDPOLICYFSPATH = "InvalidParameterValue.InvalidPolicyFsPath" RESOURCEINSUFFICIENT_POLICYFSLIMITEXCEEDED = "ResourceInsufficient.PolicyFsLimitExceeded" RESOURCEINSUFFICIENT_POLICYFSPATHLIMITEXCEEDED = "ResourceInsufficient.PolicyFsPathLimitExceeded" RESOURCEINSUFFICIENT_POLICYLIMITEXCEEDED = "ResourceInsufficient.PolicyLimitExceeded" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ApplyPathLifecyclePolicyWithContext ¶ added in v1.1.3
func (c *Client) ApplyPathLifecyclePolicyWithContext(ctx context.Context, request *ApplyPathLifecyclePolicyRequest) (response *ApplyPathLifecyclePolicyResponse, err error)
ApplyPathLifecyclePolicy 配置生命周期策略关联到的目录列表
可能返回的错误码:
INVALIDPARAMETERVALUE_BINDINFREQUENTACCESSFIRST = "InvalidParameterValue.BindInfrequentaccessFirst" INVALIDPARAMETERVALUE_INVALIDPOLICYFSPATH = "InvalidParameterValue.InvalidPolicyFsPath" RESOURCEINSUFFICIENT_POLICYFSLIMITEXCEEDED = "ResourceInsufficient.PolicyFsLimitExceeded" RESOURCEINSUFFICIENT_POLICYFSPATHLIMITEXCEEDED = "ResourceInsufficient.PolicyFsPathLimitExceeded" RESOURCEINSUFFICIENT_POLICYLIMITEXCEEDED = "ResourceInsufficient.PolicyLimitExceeded" UNSUPPORTEDOPERATION = "UnsupportedOperation"
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_AUTOPOLICYNOTFOUND = "InvalidParameterValue.AutoPolicyNotFound" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDSNAPPOLICYSTATUS = "InvalidParameterValue.InvalidSnapPolicyStatus" 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_AUTOPOLICYNOTFOUND = "InvalidParameterValue.AutoPolicyNotFound" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDSNAPPOLICYSTATUS = "InvalidParameterValue.InvalidSnapPolicyStatus" 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_AUTOPOLICYNOTFOUND = "InvalidParameterValue.AutoPolicyNotFound" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDSNAPPOLICYSTATUS = "InvalidParameterValue.InvalidSnapPolicyStatus" 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_AUTOPOLICYNOTFOUND = "InvalidParameterValue.AutoPolicyNotFound" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDSNAPPOLICYSTATUS = "InvalidParameterValue.InvalidSnapPolicyStatus" 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_INVALIDMETATYPE = "InvalidParameterValue.InvalidMetaType" 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_INVALIDMETATYPE = "InvalidParameterValue.InvalidMetaType" 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) CreateDataFlow ¶ added in v1.1.3
func (c *Client) CreateDataFlow(request *CreateDataFlowRequest) (response *CreateDataFlowResponse, err error)
CreateDataFlow 创建数据流动接口
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDDATAFLOWNAME = "InvalidParameterValue.InvalidDataFlowName" INVALIDPARAMETERVALUE_INVALIDDATAFLOWSOURCEINFO = "InvalidParameterValue.InvalidDataFlowSourceInfo" INVALIDPARAMETERVALUE_INVALIDDATAFLOWSOURCESTORAGETYPE = "InvalidParameterValue.InvalidDataFlowSourceStorageType" INVALIDPARAMETERVALUE_INVALIDDATAFLOWTARGETPATH = "InvalidParameterValue.InvalidDataFlowTargetPath" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDLIFECYCLEDATATASKTYPE = "InvalidParameterValue.InvalidLifecycleDataTaskType" RESOURCEINSUFFICIENT_DATAFLOWLIMITEXCEEDED = "ResourceInsufficient.DataFlowLimitExceeded" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound"
func (*Client) CreateDataFlowWithContext ¶ added in v1.1.3
func (c *Client) CreateDataFlowWithContext(ctx context.Context, request *CreateDataFlowRequest) (response *CreateDataFlowResponse, err error)
CreateDataFlow 创建数据流动接口
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDDATAFLOWNAME = "InvalidParameterValue.InvalidDataFlowName" INVALIDPARAMETERVALUE_INVALIDDATAFLOWSOURCEINFO = "InvalidParameterValue.InvalidDataFlowSourceInfo" INVALIDPARAMETERVALUE_INVALIDDATAFLOWSOURCESTORAGETYPE = "InvalidParameterValue.InvalidDataFlowSourceStorageType" INVALIDPARAMETERVALUE_INVALIDDATAFLOWTARGETPATH = "InvalidParameterValue.InvalidDataFlowTargetPath" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDLIFECYCLEDATATASKTYPE = "InvalidParameterValue.InvalidLifecycleDataTaskType" RESOURCEINSUFFICIENT_DATAFLOWLIMITEXCEEDED = "ResourceInsufficient.DataFlowLimitExceeded" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound"
func (*Client) CreateLifecycleDataTask ¶ added in v1.1.3
func (c *Client) CreateLifecycleDataTask(request *CreateLifecycleDataTaskRequest) (response *CreateLifecycleDataTaskResponse, err error)
CreateLifecycleDataTask 支持主动沉降/预热接口
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDDATAFLOWID = "InvalidParameterValue.InvalidDataFlowId" INVALIDPARAMETERVALUE_INVALIDDATAFLOWSOURCESTORAGETYPE = "InvalidParameterValue.InvalidDataFlowSourceStorageType" INVALIDPARAMETERVALUE_INVALIDDATAFLOWTARGETPATH = "InvalidParameterValue.InvalidDataFlowTargetPath" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDFSSTATUS = "InvalidParameterValue.InvalidFsStatus" INVALIDPARAMETERVALUE_INVALIDLIFECYCLEDATATASKTYPE = "InvalidParameterValue.InvalidLifecycleDataTaskType" INVALIDPARAMETERVALUE_WAITINGTASKLIMITEXCEEDED = "InvalidParameterValue.WaitingTaskLimitExceeded"
func (*Client) CreateLifecycleDataTaskWithContext ¶ added in v1.1.3
func (c *Client) CreateLifecycleDataTaskWithContext(ctx context.Context, request *CreateLifecycleDataTaskRequest) (response *CreateLifecycleDataTaskResponse, err error)
CreateLifecycleDataTask 支持主动沉降/预热接口
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDDATAFLOWID = "InvalidParameterValue.InvalidDataFlowId" INVALIDPARAMETERVALUE_INVALIDDATAFLOWSOURCESTORAGETYPE = "InvalidParameterValue.InvalidDataFlowSourceStorageType" INVALIDPARAMETERVALUE_INVALIDDATAFLOWTARGETPATH = "InvalidParameterValue.InvalidDataFlowTargetPath" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDFSSTATUS = "InvalidParameterValue.InvalidFsStatus" INVALIDPARAMETERVALUE_INVALIDLIFECYCLEDATATASKTYPE = "InvalidParameterValue.InvalidLifecycleDataTaskType" INVALIDPARAMETERVALUE_WAITINGTASKLIMITEXCEEDED = "InvalidParameterValue.WaitingTaskLimitExceeded"
func (*Client) CreateLifecyclePolicy ¶ added in v1.1.3
func (c *Client) CreateLifecyclePolicy(request *CreateLifecyclePolicyRequest) (response *CreateLifecyclePolicyResponse, err error)
CreateLifecyclePolicy 创建文件存储生命周期策略
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_TIMEOUT = "InternalError.Timeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCEINSUFFICIENT_POLICYLIMITEXCEEDED = "ResourceInsufficient.PolicyLimitExceeded" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateLifecyclePolicyDownloadTask ¶ added in v1.1.3
func (c *Client) CreateLifecyclePolicyDownloadTask(request *CreateLifecyclePolicyDownloadTaskRequest) (response *CreateLifecyclePolicyDownloadTaskResponse, err error)
CreateLifecyclePolicyDownloadTask 下载生命周期任务中文件列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_TIMEOUT = "InternalError.Timeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCEINSUFFICIENT_POLICYLIMITEXCEEDED = "ResourceInsufficient.PolicyLimitExceeded" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateLifecyclePolicyDownloadTaskWithContext ¶ added in v1.1.3
func (c *Client) CreateLifecyclePolicyDownloadTaskWithContext(ctx context.Context, request *CreateLifecyclePolicyDownloadTaskRequest) (response *CreateLifecyclePolicyDownloadTaskResponse, err error)
CreateLifecyclePolicyDownloadTask 下载生命周期任务中文件列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_TIMEOUT = "InternalError.Timeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCEINSUFFICIENT_POLICYLIMITEXCEEDED = "ResourceInsufficient.PolicyLimitExceeded" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateLifecyclePolicyWithContext ¶ added in v1.1.3
func (c *Client) CreateLifecyclePolicyWithContext(ctx context.Context, request *CreateLifecyclePolicyRequest) (response *CreateLifecyclePolicyResponse, err error)
CreateLifecyclePolicy 创建文件存储生命周期策略
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_TIMEOUT = "InternalError.Timeout" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCEINSUFFICIENT_POLICYLIMITEXCEEDED = "ResourceInsufficient.PolicyLimitExceeded" UNSUPPORTEDOPERATION = "UnsupportedOperation"
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) DeleteDataFlow ¶ added in v1.1.3
func (c *Client) DeleteDataFlow(request *DeleteDataFlowRequest) (response *DeleteDataFlowResponse, err error)
DeleteDataFlow 删除数据流动
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDDATAFLOWID = "InvalidParameterValue.InvalidDataFlowId" INVALIDPARAMETERVALUE_INVALIDFSSTATUS = "InvalidParameterValue.InvalidFsStatus" INVALIDPARAMETERVALUE_MISSINGFILESYSTEMID = "InvalidParameterValue.MissingFileSystemId" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION_INVALIDLIFECYCLEDATATASKSTATUS = "UnsupportedOperation.InvalidLifecycleDataTaskStatus"
func (*Client) DeleteDataFlowWithContext ¶ added in v1.1.3
func (c *Client) DeleteDataFlowWithContext(ctx context.Context, request *DeleteDataFlowRequest) (response *DeleteDataFlowResponse, err error)
DeleteDataFlow 删除数据流动
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDDATAFLOWID = "InvalidParameterValue.InvalidDataFlowId" INVALIDPARAMETERVALUE_INVALIDFSSTATUS = "InvalidParameterValue.InvalidFsStatus" INVALIDPARAMETERVALUE_MISSINGFILESYSTEMID = "InvalidParameterValue.MissingFileSystemId" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION_INVALIDLIFECYCLEDATATASKSTATUS = "UnsupportedOperation.InvalidLifecycleDataTaskStatus"
func (*Client) DeleteLifecyclePolicy ¶ added in v1.1.3
func (c *Client) DeleteLifecyclePolicy(request *DeleteLifecyclePolicyRequest) (response *DeleteLifecyclePolicyResponse, err error)
DeleteLifecyclePolicy 删除生命周期管理策略
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDDATAFLOWID = "InvalidParameterValue.InvalidDataFlowId" INVALIDPARAMETERVALUE_INVALIDFSSTATUS = "InvalidParameterValue.InvalidFsStatus" INVALIDPARAMETERVALUE_MISSINGFILESYSTEMID = "InvalidParameterValue.MissingFileSystemId" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION_INVALIDLIFECYCLEDATATASKSTATUS = "UnsupportedOperation.InvalidLifecycleDataTaskStatus"
func (*Client) DeleteLifecyclePolicyWithContext ¶ added in v1.1.3
func (c *Client) DeleteLifecyclePolicyWithContext(ctx context.Context, request *DeleteLifecyclePolicyRequest) (response *DeleteLifecyclePolicyResponse, err error)
DeleteLifecyclePolicy 删除生命周期管理策略
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDDATAFLOWID = "InvalidParameterValue.InvalidDataFlowId" INVALIDPARAMETERVALUE_INVALIDFSSTATUS = "InvalidParameterValue.InvalidFsStatus" INVALIDPARAMETERVALUE_MISSINGFILESYSTEMID = "InvalidParameterValue.MissingFileSystemId" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION_INVALIDLIFECYCLEDATATASKSTATUS = "UnsupportedOperation.InvalidLifecycleDataTaskStatus"
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) 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) DescribeDataFlow ¶ added in v1.1.3
func (c *Client) DescribeDataFlow(request *DescribeDataFlowRequest) (response *DescribeDataFlowResponse, err error)
DescribeDataFlow 查询数据流动信息接口
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDDATAFLOWID = "InvalidParameterValue.InvalidDataFlowId" INVALIDPARAMETERVALUE_INVALIDDATAFLOWNAME = "InvalidParameterValue.InvalidDataFlowName" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound"
func (*Client) DescribeDataFlowWithContext ¶ added in v1.1.3
func (c *Client) DescribeDataFlowWithContext(ctx context.Context, request *DescribeDataFlowRequest) (response *DescribeDataFlowResponse, err error)
DescribeDataFlow 查询数据流动信息接口
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDDATAFLOWID = "InvalidParameterValue.InvalidDataFlowId" INVALIDPARAMETERVALUE_INVALIDDATAFLOWNAME = "InvalidParameterValue.InvalidDataFlowName" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound"
func (*Client) DescribeLifecycleDataTask ¶ added in v1.1.3
func (c *Client) DescribeLifecycleDataTask(request *DescribeLifecycleDataTaskRequest) (response *DescribeLifecycleDataTaskResponse, err error)
DescribeLifecycleDataTask 查询生命周期任务的接口。仅支持查询最近三个月内的任务数据。
可能返回的错误码:
INVALIDPARAMETERVALUE_MISSINGTASKIDORREGION = "InvalidParameterValue.MissingTaskIdOrRegion"
func (*Client) DescribeLifecycleDataTaskWithContext ¶ added in v1.1.3
func (c *Client) DescribeLifecycleDataTaskWithContext(ctx context.Context, request *DescribeLifecycleDataTaskRequest) (response *DescribeLifecycleDataTaskResponse, err error)
DescribeLifecycleDataTask 查询生命周期任务的接口。仅支持查询最近三个月内的任务数据。
可能返回的错误码:
INVALIDPARAMETERVALUE_MISSINGTASKIDORREGION = "InvalidParameterValue.MissingTaskIdOrRegion"
func (*Client) DescribeLifecyclePolicies ¶ added in v1.1.3
func (c *Client) DescribeLifecyclePolicies(request *DescribeLifecyclePoliciesRequest) (response *DescribeLifecyclePoliciesResponse, err error)
DescribeLifecyclePolicies 查询生命周期管理策略
可能返回的错误码:
INVALIDPARAMETERVALUE_MISSINGTASKIDORREGION = "InvalidParameterValue.MissingTaskIdOrRegion"
func (*Client) DescribeLifecyclePoliciesWithContext ¶ added in v1.1.3
func (c *Client) DescribeLifecyclePoliciesWithContext(ctx context.Context, request *DescribeLifecyclePoliciesRequest) (response *DescribeLifecyclePoliciesResponse, err error)
DescribeLifecyclePolicies 查询生命周期管理策略
可能返回的错误码:
INVALIDPARAMETERVALUE_MISSINGTASKIDORREGION = "InvalidParameterValue.MissingTaskIdOrRegion"
func (*Client) DescribeMigrationTasks ¶ added in v1.0.639
func (c *Client) DescribeMigrationTasks(request *DescribeMigrationTasksRequest) (response *DescribeMigrationTasksResponse, err error)
DescribeMigrationTasks 用于获取迁移任务列表。
此接口需提交工单,开启白名单之后才能使用。
可能返回的错误码:
INVALIDPARAMETERVALUE_MISSINGTASKIDORREGION = "InvalidParameterValue.MissingTaskIdOrRegion"
func (*Client) DescribeMigrationTasksWithContext ¶ added in v1.0.639
func (c *Client) DescribeMigrationTasksWithContext(ctx context.Context, request *DescribeMigrationTasksRequest) (response *DescribeMigrationTasksResponse, err error)
DescribeMigrationTasks 用于获取迁移任务列表。
此接口需提交工单,开启白名单之后才能使用。
可能返回的错误码:
INVALIDPARAMETERVALUE_MISSINGTASKIDORREGION = "InvalidParameterValue.MissingTaskIdOrRegion"
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) DoDirectoryOperation ¶ added in v1.1.8
func (c *Client) DoDirectoryOperation(request *DoDirectoryOperationRequest) (response *DoDirectoryOperationResponse, err error)
DoDirectoryOperation 文件系统目录操作接口
可能返回的错误码:
INVALIDPARAMETERVALUE_QUOTAUSERTYPEERROR = "InvalidParameterValue.QuotaUserTypeError" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DoDirectoryOperationWithContext ¶ added in v1.1.8
func (c *Client) DoDirectoryOperationWithContext(ctx context.Context, request *DoDirectoryOperationRequest) (response *DoDirectoryOperationResponse, err error)
DoDirectoryOperation 文件系统目录操作接口
可能返回的错误码:
INVALIDPARAMETERVALUE_QUOTAUSERTYPEERROR = "InvalidParameterValue.QuotaUserTypeError" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyDataFlow ¶ added in v1.1.3
func (c *Client) ModifyDataFlow(request *ModifyDataFlowRequest) (response *ModifyDataFlowResponse, err error)
ModifyDataFlow 修改数据流动相关参数
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDDATAFLOWID = "InvalidParameterValue.InvalidDataFlowId" INVALIDPARAMETERVALUE_INVALIDDATAFLOWNAME = "InvalidParameterValue.InvalidDataFlowName" INVALIDPARAMETERVALUE_INVALIDDATAFLOWSOURCEINFO = "InvalidParameterValue.InvalidDataFlowSourceInfo"
func (*Client) ModifyDataFlowWithContext ¶ added in v1.1.3
func (c *Client) ModifyDataFlowWithContext(ctx context.Context, request *ModifyDataFlowRequest) (response *ModifyDataFlowResponse, err error)
ModifyDataFlow 修改数据流动相关参数
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDDATAFLOWID = "InvalidParameterValue.InvalidDataFlowId" INVALIDPARAMETERVALUE_INVALIDDATAFLOWNAME = "InvalidParameterValue.InvalidDataFlowName" INVALIDPARAMETERVALUE_INVALIDDATAFLOWSOURCEINFO = "InvalidParameterValue.InvalidDataFlowSourceInfo"
func (*Client) ModifyFileSystemAutoScaleUpRule ¶ added in v1.0.646
func (c *Client) ModifyFileSystemAutoScaleUpRule(request *ModifyFileSystemAutoScaleUpRuleRequest) (response *ModifyFileSystemAutoScaleUpRuleResponse, err error)
ModifyFileSystemAutoScaleUpRule 用来设置文件系统扩容策略,该接口只支持turbo文件系统
可能返回的错误码:
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 用来设置文件系统扩容策略,该接口只支持turbo文件系统
可能返回的错误码:
AUTHFAILURE_GETROLEFAILED = "AuthFailure.GetRoleFailed" INVALIDPARAMETERVALUE_INVALIDAUTOSCALEUPPARAMS = "InvalidParameterValue.InvalidAutoScaleUpParams" INVALIDPARAMETERVALUE_INVALIDFSSTATUS = "InvalidParameterValue.InvalidFsStatus" RESOURCENOTFOUND_FSNOTEXIST = "ResourceNotFound.FsNotExist" RESOURCENOTFOUND_RESOURCEPACKAGENOTFOUND = "ResourceNotFound.ResourcePackageNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyLifecyclePolicy ¶ added in v1.1.3
func (c *Client) ModifyLifecyclePolicy(request *ModifyLifecyclePolicyRequest) (response *ModifyLifecyclePolicyResponse, err error)
ModifyLifecyclePolicy 更新文件存储生命周期策略
可能返回的错误码:
INVALIDPARAMETERVALUE_CFSPATH = "InvalidParameterValue.CfsPath" INVALIDPARAMETERVALUE_POLICYRULESTORAGETYPEINVALID = "InvalidParameterValue.PolicyRuleStorageTypeInvalid" INVALIDPARAMETERVALUE_STORAGETYPEINVALID = "InvalidParameterValue.StorageTypeInvalid" MISSINGPARAMETER = "MissingParameter"
func (*Client) ModifyLifecyclePolicyWithContext ¶ added in v1.1.3
func (c *Client) ModifyLifecyclePolicyWithContext(ctx context.Context, request *ModifyLifecyclePolicyRequest) (response *ModifyLifecyclePolicyResponse, err error)
ModifyLifecyclePolicy 更新文件存储生命周期策略
可能返回的错误码:
INVALIDPARAMETERVALUE_CFSPATH = "InvalidParameterValue.CfsPath" INVALIDPARAMETERVALUE_POLICYRULESTORAGETYPEINVALID = "InvalidParameterValue.PolicyRuleStorageTypeInvalid" INVALIDPARAMETERVALUE_STORAGETYPEINVALID = "InvalidParameterValue.StorageTypeInvalid" MISSINGPARAMETER = "MissingParameter"
func (*Client) ScaleUpFileSystem ¶ added in v1.0.645
func (c *Client) ScaleUpFileSystem(request *ScaleUpFileSystemRequest) (response *ScaleUpFileSystemResponse, err error)
ScaleUpFileSystem 该接口用于对turbo 文件系统扩容使用,该接口只支持扩容不支持缩容。turbo标准型扩容步长是10240GIB,turbo性能型扩容步长是5120GIB
可能返回的错误码:
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 文件系统扩容使用,该接口只支持扩容不支持缩容。turbo标准型扩容步长是10240GIB,turbo性能型扩容步长是5120GIB
可能返回的错误码:
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" UNSUPPORTEDOPERATION_INVALIDCFSVERSION = "UnsupportedOperation.InvalidCfsVersion"
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" UNSUPPORTEDOPERATION_INVALIDCFSVERSION = "UnsupportedOperation.InvalidCfsVersion"
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) StopLifecycleDataTask ¶ added in v1.1.3
func (c *Client) StopLifecycleDataTask(request *StopLifecycleDataTaskRequest) (response *StopLifecycleDataTaskResponse, err error)
StopLifecycleDataTask 终止生命周期任务的接口
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDLIFECYCLETASKID = "InvalidParameterValue.InvalidLifecycleTaskId"
func (*Client) StopLifecycleDataTaskWithContext ¶ added in v1.1.3
func (c *Client) StopLifecycleDataTaskWithContext(ctx context.Context, request *StopLifecycleDataTaskRequest) (response *StopLifecycleDataTaskResponse, err error)
StopLifecycleDataTask 终止生命周期任务的接口
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDLIFECYCLETASKID = "InvalidParameterValue.InvalidLifecycleTaskId"
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
// 证书描述,不超过64字符
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 {
// 证书描述,不超过64字符
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"`
// 策略名称,限制64个字符数量仅支持输入中文、字母、数字、_或-
PolicyName *string `json:"PolicyName,omitnil,omitempty" name:"PolicyName"`
// 快照重复日期,星期一到星期日。 1代表星期一、7代表星期天,与DayOfMonth,IntervalDays 三者选一
DayOfWeek *string `json:"DayOfWeek,omitnil,omitempty" name:"DayOfWeek"`
// 快照保留时长,单位天,默认永久0
AliveDays *uint64 `json:"AliveDays,omitnil,omitempty" name:"AliveDays"`
// 快照按月重复,每月1-31号,选择一天,每月将在这一天自动创建快照;例如1 代表1号;与DayOfWeek,IntervalDays 三者选一
DayOfMonth *string `json:"DayOfMonth,omitnil,omitempty" name:"DayOfMonth"`
// 间隔天数,与DayOfWeek,DayOfMonth 三者选一
IntervalDays *uint64 `json:"IntervalDays,omitnil,omitempty" name:"IntervalDays"`
// 快照策略标签
ResourceTags []*TagInfo `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`
}
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"`
// 策略名称,限制64个字符数量仅支持输入中文、字母、数字、_或-
PolicyName *string `json:"PolicyName,omitnil,omitempty" name:"PolicyName"`
// 快照重复日期,星期一到星期日。 1代表星期一、7代表星期天,与DayOfMonth,IntervalDays 三者选一
DayOfWeek *string `json:"DayOfWeek,omitnil,omitempty" name:"DayOfWeek"`
// 快照保留时长,单位天,默认永久0
AliveDays *uint64 `json:"AliveDays,omitnil,omitempty" name:"AliveDays"`
// 快照按月重复,每月1-31号,选择一天,每月将在这一天自动创建快照;例如1 代表1号;与DayOfWeek,IntervalDays 三者选一
DayOfMonth *string `json:"DayOfMonth,omitnil,omitempty" name:"DayOfMonth"`
// 间隔天数,与DayOfWeek,DayOfMonth 三者选一
IntervalDays *uint64 `json:"IntervalDays,omitnil,omitempty" name:"IntervalDays"`
// 快照策略标签
ResourceTags []*TagInfo `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`
}
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,pgroupbasic 是默认权限组,通过控制查询权限组列表接口获取[DescribeCfsPGroups](https://cloud.tencent.com/document/product/582/38157)
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,该字段为必填.通过查询私有网络接口获取,
// [DescribeVpcs](https://cloud.tencent.com/document/product/215/15778)
VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
// 子网 ID,若网络类型选择的是VPC,该字段为必填。通过查询子网接口获取,
// [DescribeSubnets](https://cloud.tencent.com/document/product/215/15784)
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,该字段为必填;通过查询云联网列表接口获取,通过接口
// [DescribeCcns](https://cloud.tencent.com/document/product/215/19199)
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;扩容步长10TiB,即10240 GiB。turbo性能型起售10TiB,即10240 GiB;扩容步长10TiB,10240 GiB。
Capacity *uint64 `json:"Capacity,omitnil,omitempty" name:"Capacity"`
// 文件系统快照ID,通过查询快照列表获取该参数,
// [DescribeCfsSnapshots](https://cloud.tencent.com/document/product/582/80206)
SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"`
// 定期快照策略ID,通过查询快照策略信息获取,
// [DescribeAutoSnapshotPolicies](https://cloud.tencent.com/document/product/582/38157)
AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"`
// 是否开启默认扩容,仅turbo类型文件存储支持
EnableAutoScaleUp *bool `json:"EnableAutoScaleUp,omitnil,omitempty" name:"EnableAutoScaleUp"`
// v1.5:创建普通版的通用文件系统;
// v3.1:创建增强版的通用文件系统
// 说明:增强版的通用系统需要开通白名单才能使用,如有需要请提交工单与我们联系。
CfsVersion *string `json:"CfsVersion,omitnil,omitempty" name:"CfsVersion"`
// turbo文件系统元数据属性
// basic:创建标准型的元数据
// enhanced:创建增强型的元数据
MetaType *string `json:"MetaType,omitnil,omitempty" name:"MetaType"`
}
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,pgroupbasic 是默认权限组,通过控制查询权限组列表接口获取[DescribeCfsPGroups](https://cloud.tencent.com/document/product/582/38157)
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,该字段为必填.通过查询私有网络接口获取,
// [DescribeVpcs](https://cloud.tencent.com/document/product/215/15778)
VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
// 子网 ID,若网络类型选择的是VPC,该字段为必填。通过查询子网接口获取,
// [DescribeSubnets](https://cloud.tencent.com/document/product/215/15784)
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,该字段为必填;通过查询云联网列表接口获取,通过接口
// [DescribeCcns](https://cloud.tencent.com/document/product/215/19199)
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;扩容步长10TiB,即10240 GiB。turbo性能型起售10TiB,即10240 GiB;扩容步长10TiB,10240 GiB。
Capacity *uint64 `json:"Capacity,omitnil,omitempty" name:"Capacity"`
// 文件系统快照ID,通过查询快照列表获取该参数,
// [DescribeCfsSnapshots](https://cloud.tencent.com/document/product/582/80206)
SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"`
// 定期快照策略ID,通过查询快照策略信息获取,
// [DescribeAutoSnapshotPolicies](https://cloud.tencent.com/document/product/582/38157)
AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"`
// 是否开启默认扩容,仅turbo类型文件存储支持
EnableAutoScaleUp *bool `json:"EnableAutoScaleUp,omitnil,omitempty" name:"EnableAutoScaleUp"`
// v1.5:创建普通版的通用文件系统;
// v3.1:创建增强版的通用文件系统
// 说明:增强版的通用系统需要开通白名单才能使用,如有需要请提交工单与我们联系。
CfsVersion *string `json:"CfsVersion,omitnil,omitempty" name:"CfsVersion"`
// turbo文件系统元数据属性
// basic:创建标准型的元数据
// enhanced:创建增强型的元数据
MetaType *string `json:"MetaType,omitnil,omitempty" name:"MetaType"`
}
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,可通过[DescribeCfsPGroups接口](https://cloud.tencent.com/document/api/582/38157)获取
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。默认值为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,可通过[DescribeCfsPGroups接口](https://cloud.tencent.com/document/api/582/38157)获取
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。默认值为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,通过查询文件系统列表获取;[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)
FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
// 快照名称,支持不超过64字符长度,支持中文、数字、_、-
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,通过查询文件系统列表获取;[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)
FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
// 快照名称,支持不超过64字符长度,支持中文、数字、_、-
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 CreateDataFlowRequest ¶ added in v1.1.3
type CreateDataFlowRequest struct {
*tchttp.BaseRequest
// 文件系统 ID ,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取
FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
// 源端数据类型;包含S3_COS,S3_L5
SourceStorageType *string `json:"SourceStorageType,omitnil,omitempty" name:"SourceStorageType"`
// 源端存储地址
SourceStorageAddress *string `json:"SourceStorageAddress,omitnil,omitempty" name:"SourceStorageAddress"`
// 源端路径
SourcePath *string `json:"SourcePath,omitnil,omitempty" name:"SourcePath"`
// 文件系统内目标路径
TargetPath *string `json:"TargetPath,omitnil,omitempty" name:"TargetPath"`
// 密钥 ID
SecretId *string `json:"SecretId,omitnil,omitempty" name:"SecretId"`
// 密钥 key
SecretKey *string `json:"SecretKey,omitnil,omitempty" name:"SecretKey"`
// 数据流动名称;支持不超过64字符长度,支持中文、数字、_、-
DataFlowName *string `json:"DataFlowName,omitnil,omitempty" name:"DataFlowName"`
// 0:不开启自动更新 1:开启自动更新
AutoRefresh *uint64 `json:"AutoRefresh,omitnil,omitempty" name:"AutoRefresh"`
// KafkaConsumer 消费时使用的Topic参数
UserKafkaTopic *string `json:"UserKafkaTopic,omitnil,omitempty" name:"UserKafkaTopic"`
// 服务地址 示例值:kafkaconsumer-ap-beijing.cls.tencentyun.com:9095
ServerAddr *string `json:"ServerAddr,omitnil,omitempty" name:"ServerAddr"`
// Kafka消费用户名.示例值:name
UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`
// Kafka消费用户密码。默认${SecretId}#${SecretKey}。
Password *string `json:"Password,omitnil,omitempty" name:"Password"`
}
func NewCreateDataFlowRequest ¶ added in v1.1.3
func NewCreateDataFlowRequest() (request *CreateDataFlowRequest)
func (*CreateDataFlowRequest) FromJsonString ¶ added in v1.1.3
func (r *CreateDataFlowRequest) 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 (*CreateDataFlowRequest) ToJsonString ¶ added in v1.1.3
func (r *CreateDataFlowRequest) ToJsonString() string
type CreateDataFlowRequestParams ¶ added in v1.1.3
type CreateDataFlowRequestParams struct {
// 文件系统 ID ,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取
FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
// 源端数据类型;包含S3_COS,S3_L5
SourceStorageType *string `json:"SourceStorageType,omitnil,omitempty" name:"SourceStorageType"`
// 源端存储地址
SourceStorageAddress *string `json:"SourceStorageAddress,omitnil,omitempty" name:"SourceStorageAddress"`
// 源端路径
SourcePath *string `json:"SourcePath,omitnil,omitempty" name:"SourcePath"`
// 文件系统内目标路径
TargetPath *string `json:"TargetPath,omitnil,omitempty" name:"TargetPath"`
// 密钥 ID
SecretId *string `json:"SecretId,omitnil,omitempty" name:"SecretId"`
// 密钥 key
SecretKey *string `json:"SecretKey,omitnil,omitempty" name:"SecretKey"`
// 数据流动名称;支持不超过64字符长度,支持中文、数字、_、-
DataFlowName *string `json:"DataFlowName,omitnil,omitempty" name:"DataFlowName"`
// 0:不开启自动更新 1:开启自动更新
AutoRefresh *uint64 `json:"AutoRefresh,omitnil,omitempty" name:"AutoRefresh"`
// KafkaConsumer 消费时使用的Topic参数
UserKafkaTopic *string `json:"UserKafkaTopic,omitnil,omitempty" name:"UserKafkaTopic"`
// 服务地址 示例值:kafkaconsumer-ap-beijing.cls.tencentyun.com:9095
ServerAddr *string `json:"ServerAddr,omitnil,omitempty" name:"ServerAddr"`
// Kafka消费用户名.示例值:name
UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`
// Kafka消费用户密码。默认${SecretId}#${SecretKey}。
Password *string `json:"Password,omitnil,omitempty" name:"Password"`
}
Predefined struct for user
type CreateDataFlowResponse ¶ added in v1.1.3
type CreateDataFlowResponse struct {
*tchttp.BaseResponse
Response *CreateDataFlowResponseParams `json:"Response"`
}
func NewCreateDataFlowResponse ¶ added in v1.1.3
func NewCreateDataFlowResponse() (response *CreateDataFlowResponse)
func (*CreateDataFlowResponse) FromJsonString ¶ added in v1.1.3
func (r *CreateDataFlowResponse) 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 (*CreateDataFlowResponse) ToJsonString ¶ added in v1.1.3
func (r *CreateDataFlowResponse) ToJsonString() string
type CreateDataFlowResponseParams ¶ added in v1.1.3
type CreateDataFlowResponseParams struct {
// 数据流动管理 ID
DataFlowId *string `json:"DataFlowId,omitnil,omitempty" name:"DataFlowId"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateLifecycleDataTaskRequest ¶ added in v1.1.3
type CreateLifecycleDataTaskRequest struct {
*tchttp.BaseRequest
// 文件系统唯一 ID
FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
// 生命周期任务类型;archive:沉降;restore:预热;release:数据释放;metaload:元数据加载
Type *string `json:"Type,omitnil,omitempty" name:"Type"`
// 需要沉降的路径或文件,仅支持传入1个路径,不允许为空。
TaskPath *string `json:"TaskPath,omitnil,omitempty" name:"TaskPath"`
// 任务名称
TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`
// 数据流动 ID ,该接口可以通过 DescribeDataFlow 查询
DataFlowId *string `json:"DataFlowId,omitnil,omitempty" name:"DataFlowId"`
}
func NewCreateLifecycleDataTaskRequest ¶ added in v1.1.3
func NewCreateLifecycleDataTaskRequest() (request *CreateLifecycleDataTaskRequest)
func (*CreateLifecycleDataTaskRequest) FromJsonString ¶ added in v1.1.3
func (r *CreateLifecycleDataTaskRequest) 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 (*CreateLifecycleDataTaskRequest) ToJsonString ¶ added in v1.1.3
func (r *CreateLifecycleDataTaskRequest) ToJsonString() string
type CreateLifecycleDataTaskRequestParams ¶ added in v1.1.3
type CreateLifecycleDataTaskRequestParams struct {
// 文件系统唯一 ID
FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
// 生命周期任务类型;archive:沉降;restore:预热;release:数据释放;metaload:元数据加载
Type *string `json:"Type,omitnil,omitempty" name:"Type"`
// 需要沉降的路径或文件,仅支持传入1个路径,不允许为空。
TaskPath *string `json:"TaskPath,omitnil,omitempty" name:"TaskPath"`
// 任务名称
TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`
// 数据流动 ID ,该接口可以通过 DescribeDataFlow 查询
DataFlowId *string `json:"DataFlowId,omitnil,omitempty" name:"DataFlowId"`
}
Predefined struct for user
type CreateLifecycleDataTaskResponse ¶ added in v1.1.3
type CreateLifecycleDataTaskResponse struct {
*tchttp.BaseResponse
Response *CreateLifecycleDataTaskResponseParams `json:"Response"`
}
func NewCreateLifecycleDataTaskResponse ¶ added in v1.1.3
func NewCreateLifecycleDataTaskResponse() (response *CreateLifecycleDataTaskResponse)
func (*CreateLifecycleDataTaskResponse) FromJsonString ¶ added in v1.1.3
func (r *CreateLifecycleDataTaskResponse) 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 (*CreateLifecycleDataTaskResponse) ToJsonString ¶ added in v1.1.3
func (r *CreateLifecycleDataTaskResponse) ToJsonString() string
type CreateLifecycleDataTaskResponseParams ¶ added in v1.1.3
type CreateLifecycleDataTaskResponseParams 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 CreateLifecyclePolicyDownloadTaskRequest ¶ added in v1.1.3
type CreateLifecyclePolicyDownloadTaskRequest struct {
*tchttp.BaseRequest
// 任务Id
TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
// 下载文件的类型,包含 FileSuccessList,FileTotalList,FileFailedList
Type *string `json:"Type,omitnil,omitempty" name:"Type"`
}
func NewCreateLifecyclePolicyDownloadTaskRequest ¶ added in v1.1.3
func NewCreateLifecyclePolicyDownloadTaskRequest() (request *CreateLifecyclePolicyDownloadTaskRequest)
func (*CreateLifecyclePolicyDownloadTaskRequest) FromJsonString ¶ added in v1.1.3
func (r *CreateLifecyclePolicyDownloadTaskRequest) 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 (*CreateLifecyclePolicyDownloadTaskRequest) ToJsonString ¶ added in v1.1.3
func (r *CreateLifecyclePolicyDownloadTaskRequest) ToJsonString() string
type CreateLifecyclePolicyDownloadTaskRequestParams ¶ added in v1.1.3
type CreateLifecyclePolicyDownloadTaskRequestParams struct {
// 任务Id
TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
// 下载文件的类型,包含 FileSuccessList,FileTotalList,FileFailedList
Type *string `json:"Type,omitnil,omitempty" name:"Type"`
}
Predefined struct for user
type CreateLifecyclePolicyDownloadTaskResponse ¶ added in v1.1.3
type CreateLifecyclePolicyDownloadTaskResponse struct {
*tchttp.BaseResponse
Response *CreateLifecyclePolicyDownloadTaskResponseParams `json:"Response"`
}
func NewCreateLifecyclePolicyDownloadTaskResponse ¶ added in v1.1.3
func NewCreateLifecyclePolicyDownloadTaskResponse() (response *CreateLifecyclePolicyDownloadTaskResponse)
func (*CreateLifecyclePolicyDownloadTaskResponse) FromJsonString ¶ added in v1.1.3
func (r *CreateLifecyclePolicyDownloadTaskResponse) 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 (*CreateLifecyclePolicyDownloadTaskResponse) ToJsonString ¶ added in v1.1.3
func (r *CreateLifecyclePolicyDownloadTaskResponse) ToJsonString() string
type CreateLifecyclePolicyDownloadTaskResponseParams ¶ added in v1.1.3
type CreateLifecyclePolicyDownloadTaskResponseParams struct {
// 下载路径
DownloadAddress *string `json:"DownloadAddress,omitnil,omitempty" name:"DownloadAddress"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateLifecyclePolicyRequest ¶ added in v1.1.3
type CreateLifecyclePolicyRequest struct {
*tchttp.BaseRequest
// 生命周期管理策略名称,中文/英文/数字/下划线/中划线的组合,不超过64个字符
LifecyclePolicyName *string `json:"LifecyclePolicyName,omitnil,omitempty" name:"LifecyclePolicyName"`
// 生命周期管理策略关联的管理规则列表
LifecycleRules []*LifecycleRule `json:"LifecycleRules,omitnil,omitempty" name:"LifecycleRules"`
}
func NewCreateLifecyclePolicyRequest ¶ added in v1.1.3
func NewCreateLifecyclePolicyRequest() (request *CreateLifecyclePolicyRequest)
func (*CreateLifecyclePolicyRequest) FromJsonString ¶ added in v1.1.3
func (r *CreateLifecyclePolicyRequest) 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 (*CreateLifecyclePolicyRequest) ToJsonString ¶ added in v1.1.3
func (r *CreateLifecyclePolicyRequest) ToJsonString() string
type CreateLifecyclePolicyRequestParams ¶ added in v1.1.3
type CreateLifecyclePolicyRequestParams struct {
// 生命周期管理策略名称,中文/英文/数字/下划线/中划线的组合,不超过64个字符
LifecyclePolicyName *string `json:"LifecyclePolicyName,omitnil,omitempty" name:"LifecyclePolicyName"`
// 生命周期管理策略关联的管理规则列表
LifecycleRules []*LifecycleRule `json:"LifecycleRules,omitnil,omitempty" name:"LifecycleRules"`
}
Predefined struct for user
type CreateLifecyclePolicyResponse ¶ added in v1.1.3
type CreateLifecyclePolicyResponse struct {
*tchttp.BaseResponse
Response *CreateLifecyclePolicyResponseParams `json:"Response"`
}
func NewCreateLifecyclePolicyResponse ¶ added in v1.1.3
func NewCreateLifecyclePolicyResponse() (response *CreateLifecyclePolicyResponse)
func (*CreateLifecyclePolicyResponse) FromJsonString ¶ added in v1.1.3
func (r *CreateLifecyclePolicyResponse) 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 (*CreateLifecyclePolicyResponse) ToJsonString ¶ added in v1.1.3
func (r *CreateLifecyclePolicyResponse) ToJsonString() string
type CreateLifecyclePolicyResponseParams ¶ added in v1.1.3
type CreateLifecyclePolicyResponseParams struct {
// 生命周期管理策略ID
LifecyclePolicyID *string `json:"LifecyclePolicyID,omitnil,omitempty" name:"LifecyclePolicyID"`
// 唯一请求 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,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取
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 和 BucketAddress 必填其一,清单迁移时无需填写此参数
BucketName *string `json:"BucketName,omitnil,omitempty" name:"BucketName"`
// 数据源桶地域
BucketRegion *string `json:"BucketRegion,omitnil,omitempty" name:"BucketRegion"`
// 数据源桶地址;桶迁移时,BucketName 和 BucketAddress 必填其一,清单迁移时无需填写此参数
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,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取
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 和 BucketAddress 必填其一,清单迁移时无需填写此参数
BucketName *string `json:"BucketName,omitnil,omitempty" name:"BucketName"`
// 数据源桶地域
BucketRegion *string `json:"BucketRegion,omitnil,omitempty" name:"BucketRegion"`
// 数据源桶地址;桶迁移时,BucketName 和 BucketAddress 必填其一,清单迁移时无需填写此参数
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 DataFlowInfo ¶ added in v1.1.3
type DataFlowInfo struct {
// 数据流动管理 ID
DataFlowId *string `json:"DataFlowId,omitnil,omitempty" name:"DataFlowId"`
// 数据流动名称
DataFlowName *string `json:"DataFlowName,omitnil,omitempty" name:"DataFlowName"`
// 源端数据类型
SourceStorageType *string `json:"SourceStorageType,omitnil,omitempty" name:"SourceStorageType"`
// 源端存储地址
SourceStorageAddress *string `json:"SourceStorageAddress,omitnil,omitempty" name:"SourceStorageAddress"`
// 源端路径
SourcePath *string `json:"SourcePath,omitnil,omitempty" name:"SourcePath"`
// 目录路径
TargetPath *string `json:"TargetPath,omitnil,omitempty" name:"TargetPath"`
// available:已生效
// pending:配置中
// unavailable:失效
// deleting:删除中
Status *string `json:"Status,omitnil,omitempty" name:"Status"`
// 创建时间
CreationTime *string `json:"CreationTime,omitnil,omitempty" name:"CreationTime"`
// 文件系统 ID
FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
// 0:不开启自动更新
//
// 1:开启自动更新
AutoRefresh *uint64 `json:"AutoRefresh,omitnil,omitempty" name:"AutoRefresh"`
// KafkaConsumer 消费时使用的Topic参数
UserKafkaTopic *string `json:"UserKafkaTopic,omitnil,omitempty" name:"UserKafkaTopic"`
// 服务地址
ServerAddr *string `json:"ServerAddr,omitnil,omitempty" name:"ServerAddr"`
// Kafka消费用户名
UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`
// 自动刷新的状态,available:已生效
// pending:配置中
// unavailable:失效
AutoRefreshStatus *string `json:"AutoRefreshStatus,omitnil,omitempty" name:"AutoRefreshStatus"`
// 自动刷新开启时间
AutoRefreshTime *string `json:"AutoRefreshTime,omitnil,omitempty" name:"AutoRefreshTime"`
}
type DeleteAutoSnapshotPolicyRequest ¶ added in v1.0.493
type DeleteAutoSnapshotPolicyRequest struct {
*tchttp.BaseRequest
// 快照策略ID,查询快照策略接口获取,[DescribeAutoSnapshotPolicies](https://cloud.tencent.com/document/api/582/80208)
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,查询快照策略接口获取,[DescribeAutoSnapshotPolicies](https://cloud.tencent.com/document/api/582/80208)
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,通过[查询文件系统接口](https://cloud.tencent.com/document/api/582/38170)获取。说明,进行删除文件系统操作前需要先调用 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,通过[查询文件系统接口](https://cloud.tencent.com/document/api/582/38170)获取。说明,进行删除文件系统操作前需要先调用 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,可通过[DescribeCfsPGroups接口](https://cloud.tencent.com/document/api/582/38157)获取
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,可通过[DescribeCfsPGroups接口](https://cloud.tencent.com/document/api/582/38157)获取
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,可通过[DescribeCfsPGroups接口](https://cloud.tencent.com/document/api/582/38157)获取
PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"`
// 规则 ID,可通过[DescribeCfsRules](https://cloud.tencent.com/document/api/582/38156)接口获取
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,可通过[DescribeCfsPGroups接口](https://cloud.tencent.com/document/api/582/38157)获取
PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"`
// 规则 ID,可通过[DescribeCfsRules](https://cloud.tencent.com/document/api/582/38156)接口获取
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,可以通过[DescribeCfsSnapshots](https://cloud.tencent.com/document/api/582/80206) 查询获取
SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"`
// 需要删除的文件系统快照ID 列表,快照ID,跟ID列表至少填一项
// 快照ID,可以通过[DescribeCfsSnapshots](https://cloud.tencent.com/document/api/582/80206) 查询获取
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,可以通过[DescribeCfsSnapshots](https://cloud.tencent.com/document/api/582/80206) 查询获取
SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"`
// 需要删除的文件系统快照ID 列表,快照ID,跟ID列表至少填一项
// 快照ID,可以通过[DescribeCfsSnapshots](https://cloud.tencent.com/document/api/582/80206) 查询获取
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 DeleteDataFlowRequest ¶ added in v1.1.3
type DeleteDataFlowRequest struct {
*tchttp.BaseRequest
// 数据流动管理 ID
DataFlowId *string `json:"DataFlowId,omitnil,omitempty" name:"DataFlowId"`
// 文件系统 ID ,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取
FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
}
func NewDeleteDataFlowRequest ¶ added in v1.1.3
func NewDeleteDataFlowRequest() (request *DeleteDataFlowRequest)
func (*DeleteDataFlowRequest) FromJsonString ¶ added in v1.1.3
func (r *DeleteDataFlowRequest) 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 (*DeleteDataFlowRequest) ToJsonString ¶ added in v1.1.3
func (r *DeleteDataFlowRequest) ToJsonString() string
type DeleteDataFlowRequestParams ¶ added in v1.1.3
type DeleteDataFlowRequestParams struct {
// 数据流动管理 ID
DataFlowId *string `json:"DataFlowId,omitnil,omitempty" name:"DataFlowId"`
// 文件系统 ID ,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取
FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
}
Predefined struct for user
type DeleteDataFlowResponse ¶ added in v1.1.3
type DeleteDataFlowResponse struct {
*tchttp.BaseResponse
Response *DeleteDataFlowResponseParams `json:"Response"`
}
func NewDeleteDataFlowResponse ¶ added in v1.1.3
func NewDeleteDataFlowResponse() (response *DeleteDataFlowResponse)
func (*DeleteDataFlowResponse) FromJsonString ¶ added in v1.1.3
func (r *DeleteDataFlowResponse) 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 (*DeleteDataFlowResponse) ToJsonString ¶ added in v1.1.3
func (r *DeleteDataFlowResponse) ToJsonString() string
type DeleteDataFlowResponseParams ¶ added in v1.1.3
type DeleteDataFlowResponseParams struct {
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteLifecyclePolicyRequest ¶ added in v1.1.3
type DeleteLifecyclePolicyRequest struct {
*tchttp.BaseRequest
// 生命周期管理策略ID
LifecyclePolicyID *string `json:"LifecyclePolicyID,omitnil,omitempty" name:"LifecyclePolicyID"`
}
func NewDeleteLifecyclePolicyRequest ¶ added in v1.1.3
func NewDeleteLifecyclePolicyRequest() (request *DeleteLifecyclePolicyRequest)
func (*DeleteLifecyclePolicyRequest) FromJsonString ¶ added in v1.1.3
func (r *DeleteLifecyclePolicyRequest) 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 (*DeleteLifecyclePolicyRequest) ToJsonString ¶ added in v1.1.3
func (r *DeleteLifecyclePolicyRequest) ToJsonString() string
type DeleteLifecyclePolicyRequestParams ¶ added in v1.1.3
type DeleteLifecyclePolicyRequestParams struct {
// 生命周期管理策略ID
LifecyclePolicyID *string `json:"LifecyclePolicyID,omitnil,omitempty" name:"LifecyclePolicyID"`
}
Predefined struct for user
type DeleteLifecyclePolicyResponse ¶ added in v1.1.3
type DeleteLifecyclePolicyResponse struct {
*tchttp.BaseResponse
Response *DeleteLifecyclePolicyResponseParams `json:"Response"`
}
func NewDeleteLifecyclePolicyResponse ¶ added in v1.1.3
func NewDeleteLifecyclePolicyResponse() (response *DeleteLifecyclePolicyResponse)
func (*DeleteLifecyclePolicyResponse) FromJsonString ¶ added in v1.1.3
func (r *DeleteLifecyclePolicyResponse) 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 (*DeleteLifecyclePolicyResponse) ToJsonString ¶ added in v1.1.3
func (r *DeleteLifecyclePolicyResponse) ToJsonString() string
type DeleteLifecyclePolicyResponseParams ¶ added in v1.1.3
type DeleteLifecyclePolicyResponseParams struct {
// 唯一请求 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 DeleteUserQuotaRequest ¶ added in v1.0.535
type DeleteUserQuotaRequest struct {
*tchttp.BaseRequest
// 文件系统ID,通过查询文件系统列表获取;[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)
FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
// 指定配额类型,包括Uid(按用户ID限制)、Gid(按用户组ID限制)、Dir(按目录限制)
UserType *string `json:"UserType,omitnil,omitempty" name:"UserType"`
// UID/GID信息,和DirectoryPath参数,两者必须填写一个
UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`
// 设置目录配额的目录的绝对路径,和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,通过查询文件系统列表获取;[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)
FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
// 指定配额类型,包括Uid(按用户ID限制)、Gid(按用户组ID限制)、Dir(按目录限制)
UserType *string `json:"UserType,omitnil,omitempty" name:"UserType"`
// UID/GID信息,和DirectoryPath参数,两者必须填写一个
UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`
// 设置目录配额的目录的绝对路径,和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,通过[查询文件系统接口](https://cloud.tencent.com/document/api/582/38170)获取
FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
// Offset 分页码,默认为0
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Limit 页面大小,默认为10,最大值为100
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,通过[查询文件系统接口](https://cloud.tencent.com/document/api/582/38170)获取
FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
// Offset 分页码,默认为0
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Limit 页面大小,默认为10,最大值为100
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 分页码,默认0
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Limit 页面大小,默认10
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 分页码,默认0
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Limit 页面大小,默认10
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,可通过[DescribeCfsPGroups接口](https://cloud.tencent.com/document/api/582/38157)获取
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,可通过[DescribeCfsPGroups接口](https://cloud.tencent.com/document/api/582/38157)获取
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,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取
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:运行中 | deleting:删除中 | rollbacking_new:由快照创建新文件系统中 | create-failed:创建失败。
// <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,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取
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:运行中 | deleting:删除中 | rollbacking_new:由快照创建新文件系统中 | create-failed:创建失败。
// <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 DescribeDataFlowRequest ¶ added in v1.1.3
type DescribeDataFlowRequest struct {
*tchttp.BaseRequest
// 文件系统 ID ,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取
FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
// 数据流动 ID ,由创建数据流动返回
DataFlowId *string `json:"DataFlowId,omitnil,omitempty" name:"DataFlowId"`
// 每次查询返回值个数,默认20;最大100
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// 偏移量,默认为0
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// 文件系统版本;版本号:v1.5,v3.0,v3.1,v4.0
CfsVersion *string `json:"CfsVersion,omitnil,omitempty" name:"CfsVersion"`
}
func NewDescribeDataFlowRequest ¶ added in v1.1.3
func NewDescribeDataFlowRequest() (request *DescribeDataFlowRequest)
func (*DescribeDataFlowRequest) FromJsonString ¶ added in v1.1.3
func (r *DescribeDataFlowRequest) 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 (*DescribeDataFlowRequest) ToJsonString ¶ added in v1.1.3
func (r *DescribeDataFlowRequest) ToJsonString() string
type DescribeDataFlowRequestParams ¶ added in v1.1.3
type DescribeDataFlowRequestParams struct {
// 文件系统 ID ,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取
FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
// 数据流动 ID ,由创建数据流动返回
DataFlowId *string `json:"DataFlowId,omitnil,omitempty" name:"DataFlowId"`
// 每次查询返回值个数,默认20;最大100
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// 偏移量,默认为0
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// 文件系统版本;版本号:v1.5,v3.0,v3.1,v4.0
CfsVersion *string `json:"CfsVersion,omitnil,omitempty" name:"CfsVersion"`
}
Predefined struct for user
type DescribeDataFlowResponse ¶ added in v1.1.3
type DescribeDataFlowResponse struct {
*tchttp.BaseResponse
Response *DescribeDataFlowResponseParams `json:"Response"`
}
func NewDescribeDataFlowResponse ¶ added in v1.1.3
func NewDescribeDataFlowResponse() (response *DescribeDataFlowResponse)
func (*DescribeDataFlowResponse) FromJsonString ¶ added in v1.1.3
func (r *DescribeDataFlowResponse) 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 (*DescribeDataFlowResponse) ToJsonString ¶ added in v1.1.3
func (r *DescribeDataFlowResponse) ToJsonString() string
type DescribeDataFlowResponseParams ¶ added in v1.1.3
type DescribeDataFlowResponseParams struct {
// 查询总数量
TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// 无
DataFlows []*DataFlowInfo `json:"DataFlows,omitnil,omitempty" name:"DataFlows"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeLifecycleDataTaskRequest ¶ added in v1.1.3
type DescribeLifecycleDataTaskRequest struct {
*tchttp.BaseRequest
// 开始时间。须早于 EndTime ,仅支持查询最近3个月内的任务数据。
StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`
// 结束时间。须晚于 StartTime ,仅支持查询最近3个月内的任务数据。
EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// 任务ID
TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
// Offset 分页码
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Limit 页面大小
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// 过滤条件,TaskName,FileSystemId,Type
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// 文件系统版本;v3.1: pcfs/hifs v4.0:Turbo
CfsVersion *string `json:"CfsVersion,omitnil,omitempty" name:"CfsVersion"`
}
func NewDescribeLifecycleDataTaskRequest ¶ added in v1.1.3
func NewDescribeLifecycleDataTaskRequest() (request *DescribeLifecycleDataTaskRequest)
func (*DescribeLifecycleDataTaskRequest) FromJsonString ¶ added in v1.1.3
func (r *DescribeLifecycleDataTaskRequest) 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 (*DescribeLifecycleDataTaskRequest) ToJsonString ¶ added in v1.1.3
func (r *DescribeLifecycleDataTaskRequest) ToJsonString() string
type DescribeLifecycleDataTaskRequestParams ¶ added in v1.1.3
type DescribeLifecycleDataTaskRequestParams struct {
// 开始时间。须早于 EndTime ,仅支持查询最近3个月内的任务数据。
StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`
// 结束时间。须晚于 StartTime ,仅支持查询最近3个月内的任务数据。
EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// 任务ID
TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
// Offset 分页码
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Limit 页面大小
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// 过滤条件,TaskName,FileSystemId,Type
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// 文件系统版本;v3.1: pcfs/hifs v4.0:Turbo
CfsVersion *string `json:"CfsVersion,omitnil,omitempty" name:"CfsVersion"`
}
Predefined struct for user
type DescribeLifecycleDataTaskResponse ¶ added in v1.1.3
type DescribeLifecycleDataTaskResponse struct {
*tchttp.BaseResponse
Response *DescribeLifecycleDataTaskResponseParams `json:"Response"`
}
func NewDescribeLifecycleDataTaskResponse ¶ added in v1.1.3
func NewDescribeLifecycleDataTaskResponse() (response *DescribeLifecycleDataTaskResponse)
func (*DescribeLifecycleDataTaskResponse) FromJsonString ¶ added in v1.1.3
func (r *DescribeLifecycleDataTaskResponse) 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 (*DescribeLifecycleDataTaskResponse) ToJsonString ¶ added in v1.1.3
func (r *DescribeLifecycleDataTaskResponse) ToJsonString() string
type DescribeLifecycleDataTaskResponseParams ¶ added in v1.1.3
type DescribeLifecycleDataTaskResponseParams struct {
// 任务数组
LifecycleDataTask []*LifecycleDataTaskInfo `json:"LifecycleDataTask,omitnil,omitempty" name:"LifecycleDataTask"`
// 查询结果总数
TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeLifecyclePoliciesRequest ¶ added in v1.1.3
type DescribeLifecyclePoliciesRequest struct {
*tchttp.BaseRequest
// 生命周期管理策略名称
LifecyclePolicyName *string `json:"LifecyclePolicyName,omitnil,omitempty" name:"LifecyclePolicyName"`
// 每个分页包含的生命周期管理策略个数
PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
// 列表的分页页码
PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
// 文件系统ID
FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
// 生命周期管理策略ID
LifecyclePolicyID *string `json:"LifecyclePolicyID,omitnil,omitempty" name:"LifecyclePolicyID"`
}
func NewDescribeLifecyclePoliciesRequest ¶ added in v1.1.3
func NewDescribeLifecyclePoliciesRequest() (request *DescribeLifecyclePoliciesRequest)
func (*DescribeLifecyclePoliciesRequest) FromJsonString ¶ added in v1.1.3
func (r *DescribeLifecyclePoliciesRequest) 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 (*DescribeLifecyclePoliciesRequest) ToJsonString ¶ added in v1.1.3
func (r *DescribeLifecyclePoliciesRequest) ToJsonString() string
type DescribeLifecyclePoliciesRequestParams ¶ added in v1.1.3
type DescribeLifecyclePoliciesRequestParams struct {
// 生命周期管理策略名称
LifecyclePolicyName *string `json:"LifecyclePolicyName,omitnil,omitempty" name:"LifecyclePolicyName"`
// 每个分页包含的生命周期管理策略个数
PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
// 列表的分页页码
PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
// 文件系统ID
FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
// 生命周期管理策略ID
LifecyclePolicyID *string `json:"LifecyclePolicyID,omitnil,omitempty" name:"LifecyclePolicyID"`
}
Predefined struct for user
type DescribeLifecyclePoliciesResponse ¶ added in v1.1.3
type DescribeLifecyclePoliciesResponse struct {
*tchttp.BaseResponse
Response *DescribeLifecyclePoliciesResponseParams `json:"Response"`
}
func NewDescribeLifecyclePoliciesResponse ¶ added in v1.1.3
func NewDescribeLifecyclePoliciesResponse() (response *DescribeLifecyclePoliciesResponse)
func (*DescribeLifecyclePoliciesResponse) FromJsonString ¶ added in v1.1.3
func (r *DescribeLifecyclePoliciesResponse) 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 (*DescribeLifecyclePoliciesResponse) ToJsonString ¶ added in v1.1.3
func (r *DescribeLifecyclePoliciesResponse) ToJsonString() string
type DescribeLifecyclePoliciesResponseParams ¶ added in v1.1.3
type DescribeLifecyclePoliciesResponseParams struct {
// 列表的分页页码
PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
// 每个分页包含的生命周期管理策略个数
PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
// 生命周期管理策略总数
TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// 生命周期管理策略列表
LifecyclePolicies []*LifecyclePolicy `json:"LifecyclePolicies,omitnil,omitempty" name:"LifecyclePolicies"`
// 唯一请求 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><br><li> taskName按照【迁移任务名字】进行模糊搜索过滤。类型:String必选:否每次请求的Filters的上限为10,Filter.Values的上限为100。</li>
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><br><li> taskName按照【迁移任务名字】进行模糊搜索过滤。类型:String必选:否每次请求的Filters的上限为10,Filter.Values的上限为100。</li>
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,[查询文件系统列表](https://cloud.tencent.com/document/api/582/38170)可以获得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,[查询文件系统列表](https://cloud.tencent.com/document/api/582/38170)可以获得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,可以通过[DescribeCfsSnapshots](https://cloud.tencent.com/document/api/582/80206) 查询获取
SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"`
// 起始时间,格式“YYYY-MM-DD hh:mm:ss”
StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`
// 结束时间,格式“YYYY-MM-DD hh:mm:ss”
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,可以通过[DescribeCfsSnapshots](https://cloud.tencent.com/document/api/582/80206) 查询获取
SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"`
// 起始时间,格式“YYYY-MM-DD hh:mm:ss”
StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`
// 结束时间,格式“YYYY-MM-DD hh:mm:ss”
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,通过[查询文件系统列表](https://cloud.tencent.com/document/api/582/38170)获取
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 分页码,默认值0
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Limit 页面大小,可填范围为大于0的整数,默认值是10
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,通过[查询文件系统列表](https://cloud.tencent.com/document/api/582/38170)获取
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 分页码,默认值0
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Limit 页面大小,可填范围为大于0的整数,默认值是10
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 DoDirectoryOperationRequest ¶ added in v1.1.8
type DoDirectoryOperationRequest struct {
*tchttp.BaseRequest
// 文件系统Id
FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
// create:创建目录,等同于mkdir。
// check:确认目录是否存在,等同于stat。
// move:对文件/目录进行重命名,等同于mv。
OpetationType *string `json:"OpetationType,omitnil,omitempty" name:"OpetationType"`
// 目录的绝对路径 默认递归创建(即如果目录中有子目录不存在,则先创建出对应子目录)
DirectoryPath *string `json:"DirectoryPath,omitnil,omitempty" name:"DirectoryPath"`
// 创建目录的权限,若不传,默认为0755 若Operation Type为check,此值无实际意义
Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"`
// mv操作的目标目录名称;如果是turbo文件系统必须以/cfs/开头
DestPath *string `json:"DestPath,omitnil,omitempty" name:"DestPath"`
}
func NewDoDirectoryOperationRequest ¶ added in v1.1.8
func NewDoDirectoryOperationRequest() (request *DoDirectoryOperationRequest)
func (*DoDirectoryOperationRequest) FromJsonString ¶ added in v1.1.8
func (r *DoDirectoryOperationRequest) 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 (*DoDirectoryOperationRequest) ToJsonString ¶ added in v1.1.8
func (r *DoDirectoryOperationRequest) ToJsonString() string
type DoDirectoryOperationRequestParams ¶ added in v1.1.8
type DoDirectoryOperationRequestParams struct {
// 文件系统Id
FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
// create:创建目录,等同于mkdir。
// check:确认目录是否存在,等同于stat。
// move:对文件/目录进行重命名,等同于mv。
OpetationType *string `json:"OpetationType,omitnil,omitempty" name:"OpetationType"`
// 目录的绝对路径 默认递归创建(即如果目录中有子目录不存在,则先创建出对应子目录)
DirectoryPath *string `json:"DirectoryPath,omitnil,omitempty" name:"DirectoryPath"`
// 创建目录的权限,若不传,默认为0755 若Operation Type为check,此值无实际意义
Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"`
// mv操作的目标目录名称;如果是turbo文件系统必须以/cfs/开头
DestPath *string `json:"DestPath,omitnil,omitempty" name:"DestPath"`
}
Predefined struct for user
type DoDirectoryOperationResponse ¶ added in v1.1.8
type DoDirectoryOperationResponse struct {
*tchttp.BaseResponse
Response *DoDirectoryOperationResponseParams `json:"Response"`
}
func NewDoDirectoryOperationResponse ¶ added in v1.1.8
func NewDoDirectoryOperationResponse() (response *DoDirectoryOperationResponse)
func (*DoDirectoryOperationResponse) FromJsonString ¶ added in v1.1.8
func (r *DoDirectoryOperationResponse) 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 (*DoDirectoryOperationResponse) ToJsonString ¶ added in v1.1.8
func (r *DoDirectoryOperationResponse) ToJsonString() string
type DoDirectoryOperationResponseParams ¶ added in v1.1.8
type DoDirectoryOperationResponseParams struct {
// 1:成功 0:失败 创建目录的操作,1表示创建成功,0表示创建失败。 确认目录是否存在的操作,1表示目录存在,0表示目录不存在。 说明:创建目录操作若目录已存在,也会返回创建成功。
Result *int64 `json:"Result,omitnil,omitempty" name:"Result"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ExstraPerformanceInfo ¶ added in v1.0.1209
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,参考[简介](https://cloud.tencent.com/document/api/582/38144)文档中的地域与可用区列表
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"`
// 文件系统处理快照状态,snapping:快照中,normal:正常状态
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"`
// 额外性能信息
// 注意:此字段可能返回 null,表示取不到有效值。
ExstraPerformanceInfo []*ExstraPerformanceInfo `json:"ExstraPerformanceInfo,omitnil,omitempty" name:"ExstraPerformanceInfo"`
// basic:标准版元数据类型
// enhanced:增项版元数据类型
MetaType *string `json:"MetaType,omitnil,omitempty" name:"MetaType"`
}
type LifecycleDataTaskInfo ¶ added in v1.1.3
type LifecycleDataTaskInfo struct {
// 任务id
TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
// 任务状态.
// init:未执行
// running:执行中,finished:已完成
// ,failed:失败
// ,stopping:停止中,stopped:已停止
TaskStatus *string `json:"TaskStatus,omitnil,omitempty" name:"TaskStatus"`
// 任务创建时间
CreationTime *string `json:"CreationTime,omitnil,omitempty" name:"CreationTime"`
// 任务结束时间
FinishTime *string `json:"FinishTime,omitnil,omitempty" name:"FinishTime"`
// 文件总数
FileTotalCount *uint64 `json:"FileTotalCount,omitnil,omitempty" name:"FileTotalCount"`
// 处理成功文件数量
FileSuccessedCount *uint64 `json:"FileSuccessedCount,omitnil,omitempty" name:"FileSuccessedCount"`
// 当前已经失败的文件数
FileFailedCount *uint64 `json:"FileFailedCount,omitnil,omitempty" name:"FileFailedCount"`
// 文件容量,单位Byte
//
FileTotalSize *uint64 `json:"FileTotalSize,omitnil,omitempty" name:"FileTotalSize"`
// 已处理完成的文件容量,单位Byte
//
FileSuccessedSize *uint64 `json:"FileSuccessedSize,omitnil,omitempty" name:"FileSuccessedSize"`
// 已处理失败文件容量,单位Byte
FileFailedSize *uint64 `json:"FileFailedSize,omitnil,omitempty" name:"FileFailedSize"`
// 总文件列表
FileTotalList *string `json:"FileTotalList,omitnil,omitempty" name:"FileTotalList"`
// 成功的文件列表
FileSuccessedList *string `json:"FileSuccessedList,omitnil,omitempty" name:"FileSuccessedList"`
// 失败文件的列表
FileFailedList *string `json:"FileFailedList,omitnil,omitempty" name:"FileFailedList"`
// FileSystemId
FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
// 任务名称
TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`
// 任务路径
TaskPath *string `json:"TaskPath,omitnil,omitempty" name:"TaskPath"`
// 任务类型,archive:表示沉降任务,restore:表示拉取任务
Type *string `json:"Type,omitnil,omitempty" name:"Type"`
// 数据流动Id
DataFlowId *string `json:"DataFlowId,omitnil,omitempty" name:"DataFlowId"`
}
type LifecyclePolicy ¶ added in v1.1.3
type LifecyclePolicy struct {
// 生命周期管理策略创建的时间
CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// 生命周期管理策略ID
LifecyclePolicyID *string `json:"LifecyclePolicyID,omitnil,omitempty" name:"LifecyclePolicyID"`
// 生命周期管理策略名称
// 注意:此字段可能返回 null,表示取不到有效值。
LifecyclePolicyName *string `json:"LifecyclePolicyName,omitnil,omitempty" name:"LifecyclePolicyName"`
// 生命周期管理策略关联的管理规则列表
// 注意:此字段可能返回 null,表示取不到有效值。
LifecycleRules []*LifecycleRule `json:"LifecycleRules,omitnil,omitempty" name:"LifecycleRules"`
// 生命周期管理策略关联目录的绝对路径列表
// 注意:此字段可能返回 null,表示取不到有效值。
Paths []*PathInfo `json:"Paths,omitnil,omitempty" name:"Paths"`
}
type LifecycleRule ¶ added in v1.1.3
type LifecycleRule struct {
// 数据转储后的存储类型。其中:InfrequentAccess:低频介质存储;ColdStorage:冷存储。
StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"`
// 数据转储文件类型。其中,BIG_FILE:超大文件;STD_FILE:普通文件;SMALL_FILE:小文件;ALL:所有文件。
FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"`
// 数据转储行为。其中,Archive:沉降;Noarchive:不沉降。
Action *string `json:"Action,omitnil,omitempty" name:"Action"`
// 数据转储触发时间。由“DEFAULT_ATIME_”与“数字”组成,单位为天。当 Action 为 Noarchive,请保持为空。
// 注意:此字段可能返回 null,表示取不到有效值。
Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"`
// 数据转储文件最大规格。其数值需使用“数字+单位”格式进行表示,单位支持K(KiB)、M(MiB)、G(GiB)。
// 注意:此字段可能返回 null,表示取不到有效值。
FileMaxSize *string `json:"FileMaxSize,omitnil,omitempty" name:"FileMaxSize"`
// 数据转储文件最小规格。其数值需使用“数字+单位”格式进行表示,单位支持K(KiB)、M(MiB)、G(GiB)。
// 注意:此字段可能返回 null,表示取不到有效值。
FileMinSize *string `json:"FileMinSize,omitnil,omitempty" name:"FileMinSize"`
}
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: 运行中;3: 终止中;4: 已终止;5: 创建失败;6: 运行失败;7: 结束中;8: 删除中;9: 等待中
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 ModifyDataFlowRequest ¶ added in v1.1.3
type ModifyDataFlowRequest struct {
*tchttp.BaseRequest
// 数据流动管理 ID ,通过查询数据流动接口获取
DataFlowId *string `json:"DataFlowId,omitnil,omitempty" name:"DataFlowId"`
// 文件系统 ID ,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取
FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
// 数据流动名称;支持不超过64字符长度,支持中文、数字、_、-
DataFlowName *string `json:"DataFlowName,omitnil,omitempty" name:"DataFlowName"`
// 密钥 ID
SecretId *string `json:"SecretId,omitnil,omitempty" name:"SecretId"`
// 密钥 key
SecretKey *string `json:"SecretKey,omitnil,omitempty" name:"SecretKey"`
// KafkaConsumer 消费时使用的Topic参数
UserKafkaTopic *string `json:"UserKafkaTopic,omitnil,omitempty" name:"UserKafkaTopic"`
// 服务地址
ServerAddr *string `json:"ServerAddr,omitnil,omitempty" name:"ServerAddr"`
// name
UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`
// Kafka消费用户密码
Password *string `json:"Password,omitnil,omitempty" name:"Password"`
// 元数据增量更新开关;1开启,0关闭
AutoRefresh *uint64 `json:"AutoRefresh,omitnil,omitempty" name:"AutoRefresh"`
}
func NewModifyDataFlowRequest ¶ added in v1.1.3
func NewModifyDataFlowRequest() (request *ModifyDataFlowRequest)
func (*ModifyDataFlowRequest) FromJsonString ¶ added in v1.1.3
func (r *ModifyDataFlowRequest) 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 (*ModifyDataFlowRequest) ToJsonString ¶ added in v1.1.3
func (r *ModifyDataFlowRequest) ToJsonString() string
type ModifyDataFlowRequestParams ¶ added in v1.1.3
type ModifyDataFlowRequestParams struct {
// 数据流动管理 ID ,通过查询数据流动接口获取
DataFlowId *string `json:"DataFlowId,omitnil,omitempty" name:"DataFlowId"`
// 文件系统 ID ,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取
FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
// 数据流动名称;支持不超过64字符长度,支持中文、数字、_、-
DataFlowName *string `json:"DataFlowName,omitnil,omitempty" name:"DataFlowName"`
// 密钥 ID
SecretId *string `json:"SecretId,omitnil,omitempty" name:"SecretId"`
// 密钥 key
SecretKey *string `json:"SecretKey,omitnil,omitempty" name:"SecretKey"`
// KafkaConsumer 消费时使用的Topic参数
UserKafkaTopic *string `json:"UserKafkaTopic,omitnil,omitempty" name:"UserKafkaTopic"`
// 服务地址
ServerAddr *string `json:"ServerAddr,omitnil,omitempty" name:"ServerAddr"`
// name
UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`
// Kafka消费用户密码
Password *string `json:"Password,omitnil,omitempty" name:"Password"`
// 元数据增量更新开关;1开启,0关闭
AutoRefresh *uint64 `json:"AutoRefresh,omitnil,omitempty" name:"AutoRefresh"`
}
Predefined struct for user
type ModifyDataFlowResponse ¶ added in v1.1.3
type ModifyDataFlowResponse struct {
*tchttp.BaseResponse
Response *ModifyDataFlowResponseParams `json:"Response"`
}
func NewModifyDataFlowResponse ¶ added in v1.1.3
func NewModifyDataFlowResponse() (response *ModifyDataFlowResponse)
func (*ModifyDataFlowResponse) FromJsonString ¶ added in v1.1.3
func (r *ModifyDataFlowResponse) 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 (*ModifyDataFlowResponse) ToJsonString ¶ added in v1.1.3
func (r *ModifyDataFlowResponse) ToJsonString() string
type ModifyDataFlowResponseParams ¶ added in v1.1.3
type ModifyDataFlowResponseParams struct {
// 数据流动管理 ID
DataFlowId *string `json:"DataFlowId,omitnil,omitempty" name:"DataFlowId"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyFileSystemAutoScaleUpRuleRequest ¶ added in v1.0.646
type ModifyFileSystemAutoScaleUpRuleRequest struct {
*tchttp.BaseRequest
// 文件系统 ID,通过查询文件系统列表获取;[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)
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,通过查询文件系统列表获取;[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)
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 ModifyLifecyclePolicyRequest ¶ added in v1.1.3
type ModifyLifecyclePolicyRequest struct {
*tchttp.BaseRequest
// 生命周期管理策略名称,中文/英文/数字/下划线/中划线的组合,不超过64个字符
LifecyclePolicyName *string `json:"LifecyclePolicyName,omitnil,omitempty" name:"LifecyclePolicyName"`
// 生命周期管理策略关联的管理规则列表
LifecycleRules []*LifecycleRule `json:"LifecycleRules,omitnil,omitempty" name:"LifecycleRules"`
// 生命周期管理策略ID
LifecyclePolicyID *string `json:"LifecyclePolicyID,omitnil,omitempty" name:"LifecyclePolicyID"`
}
func NewModifyLifecyclePolicyRequest ¶ added in v1.1.3
func NewModifyLifecyclePolicyRequest() (request *ModifyLifecyclePolicyRequest)
func (*ModifyLifecyclePolicyRequest) FromJsonString ¶ added in v1.1.3
func (r *ModifyLifecyclePolicyRequest) 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 (*ModifyLifecyclePolicyRequest) ToJsonString ¶ added in v1.1.3
func (r *ModifyLifecyclePolicyRequest) ToJsonString() string
type ModifyLifecyclePolicyRequestParams ¶ added in v1.1.3
type ModifyLifecyclePolicyRequestParams struct {
// 生命周期管理策略名称,中文/英文/数字/下划线/中划线的组合,不超过64个字符
LifecyclePolicyName *string `json:"LifecyclePolicyName,omitnil,omitempty" name:"LifecyclePolicyName"`
// 生命周期管理策略关联的管理规则列表
LifecycleRules []*LifecycleRule `json:"LifecycleRules,omitnil,omitempty" name:"LifecycleRules"`
// 生命周期管理策略ID
LifecyclePolicyID *string `json:"LifecyclePolicyID,omitnil,omitempty" name:"LifecyclePolicyID"`
}
Predefined struct for user
type ModifyLifecyclePolicyResponse ¶ added in v1.1.3
type ModifyLifecyclePolicyResponse struct {
*tchttp.BaseResponse
Response *ModifyLifecyclePolicyResponseParams `json:"Response"`
}
func NewModifyLifecyclePolicyResponse ¶ added in v1.1.3
func NewModifyLifecyclePolicyResponse() (response *ModifyLifecyclePolicyResponse)
func (*ModifyLifecyclePolicyResponse) FromJsonString ¶ added in v1.1.3
func (r *ModifyLifecyclePolicyResponse) 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 (*ModifyLifecyclePolicyResponse) ToJsonString ¶ added in v1.1.3
func (r *ModifyLifecyclePolicyResponse) ToJsonString() string
type ModifyLifecyclePolicyResponseParams ¶ added in v1.1.3
type ModifyLifecyclePolicyResponseParams struct {
// 生命周期管理策略ID
LifecyclePolicyID *string `json:"LifecyclePolicyID,omitnil,omitempty" name:"LifecyclePolicyID"`
// 唯一请求 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"`
// 挂载点状态,包括creating:创建中;available:运行中;
// deleting:删除中;
// create_failed: 创建失败
LifeCycleState *string `json:"LifeCycleState,omitnil,omitempty" name:"LifeCycleState"`
// 网络类型,包括VPC,CCN
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,通过[查询文件系统列表](https://cloud.tencent.com/document/api/582/38170)获取
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,通过[查询文件系统列表](https://cloud.tencent.com/document/api/582/38170)获取
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 {
// UID/GID信息
UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`
// 唯一请求 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"`
// 快照状态,creating-创建中;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% 范围1-100
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 StopLifecycleDataTaskRequest ¶ added in v1.1.3
type StopLifecycleDataTaskRequest struct {
*tchttp.BaseRequest
// 任务ID
TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}
func NewStopLifecycleDataTaskRequest ¶ added in v1.1.3
func NewStopLifecycleDataTaskRequest() (request *StopLifecycleDataTaskRequest)
func (*StopLifecycleDataTaskRequest) FromJsonString ¶ added in v1.1.3
func (r *StopLifecycleDataTaskRequest) 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 (*StopLifecycleDataTaskRequest) ToJsonString ¶ added in v1.1.3
func (r *StopLifecycleDataTaskRequest) ToJsonString() string
type StopLifecycleDataTaskRequestParams ¶ added in v1.1.3
type StopLifecycleDataTaskRequestParams struct {
// 任务ID
TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}
Predefined struct for user
type StopLifecycleDataTaskResponse ¶ added in v1.1.3
type StopLifecycleDataTaskResponse struct {
*tchttp.BaseResponse
Response *StopLifecycleDataTaskResponseParams `json:"Response"`
}
func NewStopLifecycleDataTaskResponse ¶ added in v1.1.3
func NewStopLifecycleDataTaskResponse() (response *StopLifecycleDataTaskResponse)
func (*StopLifecycleDataTaskResponse) FromJsonString ¶ added in v1.1.3
func (r *StopLifecycleDataTaskResponse) 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 (*StopLifecycleDataTaskResponse) ToJsonString ¶ added in v1.1.3
func (r *StopLifecycleDataTaskResponse) ToJsonString() string
type StopLifecycleDataTaskResponseParams ¶ added in v1.1.3
type StopLifecycleDataTaskResponseParams struct {
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type StopMigrationTaskRequest ¶ added in v1.0.639
type StopMigrationTaskRequest struct {
*tchttp.BaseRequest
// 迁移任务Id
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 {
// 迁移任务Id
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: 运行中;3: 终止中;4: 已终止;5: 创建失败;6: 运行失败;7: 结束中;8: 删除中;9: 等待中
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列表,用"," 分割,文件系统ID,通过查询文件系统列表获取;[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)
FileSystemIds *string `json:"FileSystemIds,omitnil,omitempty" name:"FileSystemIds"`
// 解绑的快照策略ID,可以通过[DescribeAutoSnapshotPolicies](https://cloud.tencent.com/document/api/582/80208) 查询获取
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列表,用"," 分割,文件系统ID,通过查询文件系统列表获取;[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)
FileSystemIds *string `json:"FileSystemIds,omitnil,omitempty" name:"FileSystemIds"`
// 解绑的快照策略ID,可以通过[DescribeAutoSnapshotPolicies](https://cloud.tencent.com/document/api/582/80208) 查询获取
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,可以通过[DescribeAutoSnapshotPolicies](https://cloud.tencent.com/document/api/582/80208) 查询获取
AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"`
// 快照策略名称,不超过64个字符
PolicyName *string `json:"PolicyName,omitnil,omitempty" name:"PolicyName"`
// 快照定期备份,按照星期一到星期日。 1代表星期一,7代表星期日,与DayOfMonth,IntervalDays 三者选一个
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,IntervalDays 三者选一
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,可以通过[DescribeAutoSnapshotPolicies](https://cloud.tencent.com/document/api/582/80208) 查询获取
AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"`
// 快照策略名称,不超过64个字符
PolicyName *string `json:"PolicyName,omitnil,omitempty" name:"PolicyName"`
// 快照定期备份,按照星期一到星期日。 1代表星期一,7代表星期日,与DayOfMonth,IntervalDays 三者选一个
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,IntervalDays 三者选一
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,通过[查询文件系统接口](https://cloud.tencent.com/document/api/582/38170)获取
FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
// 用户自定义文件系统名称,64字节内的中文字母数字或者 _,-,与CreationToken 至少填一个
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,通过[查询文件系统接口](https://cloud.tencent.com/document/api/582/38170)获取
FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
// 用户自定义文件系统名称,64字节内的中文字母数字或者 _,-,与CreationToken 至少填一个
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,可通过[DescribeCfsPGroups接口](https://cloud.tencent.com/document/api/582/38157)获取
PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"`
// 文件系统 ID,通过[查询文件系统接口](https://cloud.tencent.com/document/api/582/38170)获取
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,可通过[DescribeCfsPGroups接口](https://cloud.tencent.com/document/api/582/38157)获取
PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"`
// 文件系统 ID,通过[查询文件系统接口](https://cloud.tencent.com/document/api/582/38170)获取
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,可通过[DescribeCfsPGroups接口](https://cloud.tencent.com/document/api/582/38157)获取
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,可通过[DescribeCfsPGroups接口](https://cloud.tencent.com/document/api/582/38157)获取
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,可通过[DescribeCfsPGroups接口](https://cloud.tencent.com/document/api/582/38157)获取
PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"`
// 规则 ID,可通过[DescribeCfsRules](https://cloud.tencent.com/document/api/582/38156)接口获取
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,默认值为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为最低,默认值为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,可通过[DescribeCfsPGroups接口](https://cloud.tencent.com/document/api/582/38157)获取
PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"`
// 规则 ID,可通过[DescribeCfsRules](https://cloud.tencent.com/document/api/582/38156)接口获取
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,默认值为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为最低,默认值为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,可以通过[DescribeCfsSnapshots](https://cloud.tencent.com/document/api/582/80206) 查询获取
SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"`
// 文件系统快照名称,与AliveDays 必须填一个,快照名称,支持不超过64字符长度,支持中文、数字、_、-
SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"`
// 文件系统快照保留天数,与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,可以通过[DescribeCfsSnapshots](https://cloud.tencent.com/document/api/582/80206) 查询获取
SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"`
// 文件系统快照名称,与AliveDays 必须填一个,快照名称,支持不超过64字符长度,支持中文、数字、_、-
SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"`
// 文件系统快照保留天数,与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,可通过[DescribeCfsFileSystems](https://cloud.tencent.com/document/api/582/38170)接口获取
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,可通过[DescribeCfsFileSystems](https://cloud.tencent.com/document/api/582/38170)接口获取
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"`
}