Documentation ¶
Index ¶
- Constants
- type AutoScaleUpRule
- type AutoSnapshotPolicyInfo
- type AvailableProtoStatus
- type AvailableRegion
- type AvailableType
- type AvailableZone
- type BindAutoSnapshotPolicyRequest
- type BindAutoSnapshotPolicyRequestParams
- type BindAutoSnapshotPolicyResponse
- type BindAutoSnapshotPolicyResponseParams
- type BucketInfo
- type Client
- func (c *Client) BindAutoSnapshotPolicy(request *BindAutoSnapshotPolicyRequest) (response *BindAutoSnapshotPolicyResponse, err error)
- func (c *Client) BindAutoSnapshotPolicyWithContext(ctx context.Context, request *BindAutoSnapshotPolicyRequest) (response *BindAutoSnapshotPolicyResponse, err error)
- func (c *Client) CreateAutoSnapshotPolicy(request *CreateAutoSnapshotPolicyRequest) (response *CreateAutoSnapshotPolicyResponse, err error)
- func (c *Client) CreateAutoSnapshotPolicyWithContext(ctx context.Context, request *CreateAutoSnapshotPolicyRequest) (response *CreateAutoSnapshotPolicyResponse, err error)
- func (c *Client) CreateCfsFileSystem(request *CreateCfsFileSystemRequest) (response *CreateCfsFileSystemResponse, err error)
- func (c *Client) CreateCfsFileSystemWithContext(ctx context.Context, request *CreateCfsFileSystemRequest) (response *CreateCfsFileSystemResponse, err error)
- func (c *Client) CreateCfsPGroup(request *CreateCfsPGroupRequest) (response *CreateCfsPGroupResponse, err error)
- func (c *Client) CreateCfsPGroupWithContext(ctx context.Context, request *CreateCfsPGroupRequest) (response *CreateCfsPGroupResponse, err error)
- func (c *Client) CreateCfsRule(request *CreateCfsRuleRequest) (response *CreateCfsRuleResponse, err error)
- func (c *Client) CreateCfsRuleWithContext(ctx context.Context, request *CreateCfsRuleRequest) (response *CreateCfsRuleResponse, err error)
- func (c *Client) CreateCfsSnapshot(request *CreateCfsSnapshotRequest) (response *CreateCfsSnapshotResponse, err error)
- func (c *Client) CreateCfsSnapshotWithContext(ctx context.Context, request *CreateCfsSnapshotRequest) (response *CreateCfsSnapshotResponse, err error)
- func (c *Client) CreateMigrationTask(request *CreateMigrationTaskRequest) (response *CreateMigrationTaskResponse, err error)
- func (c *Client) CreateMigrationTaskWithContext(ctx context.Context, request *CreateMigrationTaskRequest) (response *CreateMigrationTaskResponse, err error)
- func (c *Client) DeleteAutoSnapshotPolicy(request *DeleteAutoSnapshotPolicyRequest) (response *DeleteAutoSnapshotPolicyResponse, err error)
- func (c *Client) DeleteAutoSnapshotPolicyWithContext(ctx context.Context, request *DeleteAutoSnapshotPolicyRequest) (response *DeleteAutoSnapshotPolicyResponse, err error)
- func (c *Client) DeleteCfsFileSystem(request *DeleteCfsFileSystemRequest) (response *DeleteCfsFileSystemResponse, err error)
- func (c *Client) DeleteCfsFileSystemWithContext(ctx context.Context, request *DeleteCfsFileSystemRequest) (response *DeleteCfsFileSystemResponse, err error)
- func (c *Client) DeleteCfsPGroup(request *DeleteCfsPGroupRequest) (response *DeleteCfsPGroupResponse, err error)
- func (c *Client) DeleteCfsPGroupWithContext(ctx context.Context, request *DeleteCfsPGroupRequest) (response *DeleteCfsPGroupResponse, err error)
- func (c *Client) DeleteCfsRule(request *DeleteCfsRuleRequest) (response *DeleteCfsRuleResponse, err error)
- func (c *Client) DeleteCfsRuleWithContext(ctx context.Context, request *DeleteCfsRuleRequest) (response *DeleteCfsRuleResponse, err error)
- func (c *Client) DeleteCfsSnapshot(request *DeleteCfsSnapshotRequest) (response *DeleteCfsSnapshotResponse, err error)
- func (c *Client) DeleteCfsSnapshotWithContext(ctx context.Context, request *DeleteCfsSnapshotRequest) (response *DeleteCfsSnapshotResponse, err error)
- func (c *Client) DeleteMigrationTask(request *DeleteMigrationTaskRequest) (response *DeleteMigrationTaskResponse, err error)
- func (c *Client) DeleteMigrationTaskWithContext(ctx context.Context, request *DeleteMigrationTaskRequest) (response *DeleteMigrationTaskResponse, err error)
- func (c *Client) DeleteMountTarget(request *DeleteMountTargetRequest) (response *DeleteMountTargetResponse, err error)
- func (c *Client) DeleteMountTargetWithContext(ctx context.Context, request *DeleteMountTargetRequest) (response *DeleteMountTargetResponse, err error)
- func (c *Client) DescribeAutoSnapshotPolicies(request *DescribeAutoSnapshotPoliciesRequest) (response *DescribeAutoSnapshotPoliciesResponse, err error)
- func (c *Client) DescribeAutoSnapshotPoliciesWithContext(ctx context.Context, request *DescribeAutoSnapshotPoliciesRequest) (response *DescribeAutoSnapshotPoliciesResponse, err error)
- func (c *Client) DescribeAvailableZoneInfo(request *DescribeAvailableZoneInfoRequest) (response *DescribeAvailableZoneInfoResponse, err error)
- func (c *Client) DescribeAvailableZoneInfoWithContext(ctx context.Context, request *DescribeAvailableZoneInfoRequest) (response *DescribeAvailableZoneInfoResponse, err error)
- func (c *Client) DescribeBucketList(request *DescribeBucketListRequest) (response *DescribeBucketListResponse, err error)
- func (c *Client) DescribeBucketListWithContext(ctx context.Context, request *DescribeBucketListRequest) (response *DescribeBucketListResponse, err error)
- func (c *Client) DescribeCfsFileSystemClients(request *DescribeCfsFileSystemClientsRequest) (response *DescribeCfsFileSystemClientsResponse, err error)
- func (c *Client) DescribeCfsFileSystemClientsWithContext(ctx context.Context, request *DescribeCfsFileSystemClientsRequest) (response *DescribeCfsFileSystemClientsResponse, err error)
- func (c *Client) DescribeCfsFileSystems(request *DescribeCfsFileSystemsRequest) (response *DescribeCfsFileSystemsResponse, err error)
- func (c *Client) DescribeCfsFileSystemsWithContext(ctx context.Context, request *DescribeCfsFileSystemsRequest) (response *DescribeCfsFileSystemsResponse, err error)
- func (c *Client) DescribeCfsPGroups(request *DescribeCfsPGroupsRequest) (response *DescribeCfsPGroupsResponse, err error)
- func (c *Client) DescribeCfsPGroupsWithContext(ctx context.Context, request *DescribeCfsPGroupsRequest) (response *DescribeCfsPGroupsResponse, err error)
- func (c *Client) DescribeCfsRules(request *DescribeCfsRulesRequest) (response *DescribeCfsRulesResponse, err error)
- func (c *Client) DescribeCfsRulesWithContext(ctx context.Context, request *DescribeCfsRulesRequest) (response *DescribeCfsRulesResponse, err error)
- func (c *Client) DescribeCfsServiceStatus(request *DescribeCfsServiceStatusRequest) (response *DescribeCfsServiceStatusResponse, err error)
- func (c *Client) DescribeCfsServiceStatusWithContext(ctx context.Context, request *DescribeCfsServiceStatusRequest) (response *DescribeCfsServiceStatusResponse, err error)
- func (c *Client) DescribeCfsSnapshotOverview(request *DescribeCfsSnapshotOverviewRequest) (response *DescribeCfsSnapshotOverviewResponse, err error)
- func (c *Client) DescribeCfsSnapshotOverviewWithContext(ctx context.Context, request *DescribeCfsSnapshotOverviewRequest) (response *DescribeCfsSnapshotOverviewResponse, err error)
- func (c *Client) DescribeCfsSnapshots(request *DescribeCfsSnapshotsRequest) (response *DescribeCfsSnapshotsResponse, err error)
- func (c *Client) DescribeCfsSnapshotsWithContext(ctx context.Context, request *DescribeCfsSnapshotsRequest) (response *DescribeCfsSnapshotsResponse, err error)
- func (c *Client) DescribeMigrationTasks(request *DescribeMigrationTasksRequest) (response *DescribeMigrationTasksResponse, err error)
- func (c *Client) DescribeMigrationTasksWithContext(ctx context.Context, request *DescribeMigrationTasksRequest) (response *DescribeMigrationTasksResponse, err error)
- func (c *Client) DescribeMountTargets(request *DescribeMountTargetsRequest) (response *DescribeMountTargetsResponse, err error)
- func (c *Client) DescribeMountTargetsWithContext(ctx context.Context, request *DescribeMountTargetsRequest) (response *DescribeMountTargetsResponse, err error)
- func (c *Client) DescribeSnapshotOperationLogs(request *DescribeSnapshotOperationLogsRequest) (response *DescribeSnapshotOperationLogsResponse, err error)
- func (c *Client) DescribeSnapshotOperationLogsWithContext(ctx context.Context, request *DescribeSnapshotOperationLogsRequest) (response *DescribeSnapshotOperationLogsResponse, err error)
- func (c *Client) ModifyFileSystemAutoScaleUpRule(request *ModifyFileSystemAutoScaleUpRuleRequest) (response *ModifyFileSystemAutoScaleUpRuleResponse, err error)
- func (c *Client) ModifyFileSystemAutoScaleUpRuleWithContext(ctx context.Context, request *ModifyFileSystemAutoScaleUpRuleRequest) (response *ModifyFileSystemAutoScaleUpRuleResponse, err error)
- func (c *Client) ScaleUpFileSystem(request *ScaleUpFileSystemRequest) (response *ScaleUpFileSystemResponse, err error)
- func (c *Client) ScaleUpFileSystemWithContext(ctx context.Context, request *ScaleUpFileSystemRequest) (response *ScaleUpFileSystemResponse, err error)
- func (c *Client) SignUpCfsService(request *SignUpCfsServiceRequest) (response *SignUpCfsServiceResponse, err error)
- func (c *Client) SignUpCfsServiceWithContext(ctx context.Context, request *SignUpCfsServiceRequest) (response *SignUpCfsServiceResponse, err error)
- func (c *Client) StopMigrationTask(request *StopMigrationTaskRequest) (response *StopMigrationTaskResponse, err error)
- func (c *Client) StopMigrationTaskWithContext(ctx context.Context, request *StopMigrationTaskRequest) (response *StopMigrationTaskResponse, err error)
- func (c *Client) UnbindAutoSnapshotPolicy(request *UnbindAutoSnapshotPolicyRequest) (response *UnbindAutoSnapshotPolicyResponse, err error)
- func (c *Client) UnbindAutoSnapshotPolicyWithContext(ctx context.Context, request *UnbindAutoSnapshotPolicyRequest) (response *UnbindAutoSnapshotPolicyResponse, err error)
- func (c *Client) UpdateAutoSnapshotPolicy(request *UpdateAutoSnapshotPolicyRequest) (response *UpdateAutoSnapshotPolicyResponse, err error)
- func (c *Client) UpdateAutoSnapshotPolicyWithContext(ctx context.Context, request *UpdateAutoSnapshotPolicyRequest) (response *UpdateAutoSnapshotPolicyResponse, err error)
- func (c *Client) UpdateCfsFileSystemName(request *UpdateCfsFileSystemNameRequest) (response *UpdateCfsFileSystemNameResponse, err error)
- func (c *Client) UpdateCfsFileSystemNameWithContext(ctx context.Context, request *UpdateCfsFileSystemNameRequest) (response *UpdateCfsFileSystemNameResponse, err error)
- func (c *Client) UpdateCfsFileSystemPGroup(request *UpdateCfsFileSystemPGroupRequest) (response *UpdateCfsFileSystemPGroupResponse, err error)
- func (c *Client) UpdateCfsFileSystemPGroupWithContext(ctx context.Context, request *UpdateCfsFileSystemPGroupRequest) (response *UpdateCfsFileSystemPGroupResponse, err error)
- func (c *Client) UpdateCfsFileSystemSizeLimit(request *UpdateCfsFileSystemSizeLimitRequest) (response *UpdateCfsFileSystemSizeLimitResponse, err error)
- func (c *Client) UpdateCfsFileSystemSizeLimitWithContext(ctx context.Context, request *UpdateCfsFileSystemSizeLimitRequest) (response *UpdateCfsFileSystemSizeLimitResponse, err error)
- func (c *Client) UpdateCfsPGroup(request *UpdateCfsPGroupRequest) (response *UpdateCfsPGroupResponse, err error)
- func (c *Client) UpdateCfsPGroupWithContext(ctx context.Context, request *UpdateCfsPGroupRequest) (response *UpdateCfsPGroupResponse, err error)
- func (c *Client) UpdateCfsRule(request *UpdateCfsRuleRequest) (response *UpdateCfsRuleResponse, err error)
- func (c *Client) UpdateCfsRuleWithContext(ctx context.Context, request *UpdateCfsRuleRequest) (response *UpdateCfsRuleResponse, err error)
- func (c *Client) UpdateCfsSnapshotAttribute(request *UpdateCfsSnapshotAttributeRequest) (response *UpdateCfsSnapshotAttributeResponse, err error)
- func (c *Client) UpdateCfsSnapshotAttributeWithContext(ctx context.Context, request *UpdateCfsSnapshotAttributeRequest) (response *UpdateCfsSnapshotAttributeResponse, err error)
- type CreateAutoSnapshotPolicyRequest
- type CreateAutoSnapshotPolicyRequestParams
- type CreateAutoSnapshotPolicyResponse
- type CreateAutoSnapshotPolicyResponseParams
- type CreateCfsFileSystemRequest
- type CreateCfsFileSystemRequestParams
- type CreateCfsFileSystemResponse
- type CreateCfsFileSystemResponseParams
- type CreateCfsPGroupRequest
- type CreateCfsPGroupRequestParams
- type CreateCfsPGroupResponse
- type CreateCfsPGroupResponseParams
- type CreateCfsRuleRequest
- type CreateCfsRuleRequestParams
- type CreateCfsRuleResponse
- type CreateCfsRuleResponseParams
- type CreateCfsSnapshotRequest
- type CreateCfsSnapshotRequestParams
- type CreateCfsSnapshotResponse
- type CreateCfsSnapshotResponseParams
- type CreateMigrationTaskRequest
- type CreateMigrationTaskRequestParams
- type CreateMigrationTaskResponse
- type CreateMigrationTaskResponseParams
- type DeleteAutoSnapshotPolicyRequest
- type DeleteAutoSnapshotPolicyRequestParams
- type DeleteAutoSnapshotPolicyResponse
- type DeleteAutoSnapshotPolicyResponseParams
- type DeleteCfsFileSystemRequest
- type DeleteCfsFileSystemRequestParams
- type DeleteCfsFileSystemResponse
- type DeleteCfsFileSystemResponseParams
- type DeleteCfsPGroupRequest
- type DeleteCfsPGroupRequestParams
- type DeleteCfsPGroupResponse
- type DeleteCfsPGroupResponseParams
- type DeleteCfsRuleRequest
- type DeleteCfsRuleRequestParams
- type DeleteCfsRuleResponse
- type DeleteCfsRuleResponseParams
- type DeleteCfsSnapshotRequest
- type DeleteCfsSnapshotRequestParams
- type DeleteCfsSnapshotResponse
- type DeleteCfsSnapshotResponseParams
- type DeleteMigrationTaskRequest
- type DeleteMigrationTaskRequestParams
- type DeleteMigrationTaskResponse
- type DeleteMigrationTaskResponseParams
- type DeleteMountTargetRequest
- type DeleteMountTargetRequestParams
- type DeleteMountTargetResponse
- type DeleteMountTargetResponseParams
- type DescribeAutoSnapshotPoliciesRequest
- type DescribeAutoSnapshotPoliciesRequestParams
- type DescribeAutoSnapshotPoliciesResponse
- type DescribeAutoSnapshotPoliciesResponseParams
- type DescribeAvailableZoneInfoRequest
- type DescribeAvailableZoneInfoRequestParams
- type DescribeAvailableZoneInfoResponse
- type DescribeAvailableZoneInfoResponseParams
- type DescribeBucketListRequest
- type DescribeBucketListRequestParams
- type DescribeBucketListResponse
- type DescribeBucketListResponseParams
- type DescribeCfsFileSystemClientsRequest
- type DescribeCfsFileSystemClientsRequestParams
- type DescribeCfsFileSystemClientsResponse
- type DescribeCfsFileSystemClientsResponseParams
- type DescribeCfsFileSystemsRequest
- type DescribeCfsFileSystemsRequestParams
- type DescribeCfsFileSystemsResponse
- type DescribeCfsFileSystemsResponseParams
- type DescribeCfsPGroupsRequest
- type DescribeCfsPGroupsRequestParams
- type DescribeCfsPGroupsResponse
- type DescribeCfsPGroupsResponseParams
- type DescribeCfsRulesRequest
- type DescribeCfsRulesRequestParams
- type DescribeCfsRulesResponse
- type DescribeCfsRulesResponseParams
- type DescribeCfsServiceStatusRequest
- type DescribeCfsServiceStatusRequestParams
- type DescribeCfsServiceStatusResponse
- type DescribeCfsServiceStatusResponseParams
- type DescribeCfsSnapshotOverviewRequest
- type DescribeCfsSnapshotOverviewRequestParams
- type DescribeCfsSnapshotOverviewResponse
- type DescribeCfsSnapshotOverviewResponseParams
- type DescribeCfsSnapshotsRequest
- type DescribeCfsSnapshotsRequestParams
- type DescribeCfsSnapshotsResponse
- type DescribeCfsSnapshotsResponseParams
- type DescribeMigrationTasksRequest
- type DescribeMigrationTasksRequestParams
- type DescribeMigrationTasksResponse
- type DescribeMigrationTasksResponseParams
- type DescribeMountTargetsRequest
- type DescribeMountTargetsRequestParams
- type DescribeMountTargetsResponse
- type DescribeMountTargetsResponseParams
- type DescribeSnapshotOperationLogsRequest
- type DescribeSnapshotOperationLogsRequestParams
- type DescribeSnapshotOperationLogsResponse
- type DescribeSnapshotOperationLogsResponseParams
- type FileSystemByPolicy
- type FileSystemClient
- type FileSystemInfo
- type Filter
- type MigrationTaskInfo
- type ModifyFileSystemAutoScaleUpRuleRequest
- type ModifyFileSystemAutoScaleUpRuleRequestParams
- type ModifyFileSystemAutoScaleUpRuleResponse
- type ModifyFileSystemAutoScaleUpRuleResponseParams
- type MountInfo
- type PGroup
- type PGroupInfo
- type PGroupRuleInfo
- type ScaleUpFileSystemRequest
- type ScaleUpFileSystemRequestParams
- type ScaleUpFileSystemResponse
- type ScaleUpFileSystemResponseParams
- type SignUpCfsServiceRequest
- type SignUpCfsServiceRequestParams
- type SignUpCfsServiceResponse
- type SignUpCfsServiceResponseParams
- type SnapshotInfo
- type SnapshotOperateLog
- type SnapshotStatistics
- type StopMigrationTaskRequest
- type StopMigrationTaskRequestParams
- type StopMigrationTaskResponse
- type StopMigrationTaskResponseParams
- type TagInfo
- type TieringDetailInfo
- type UnbindAutoSnapshotPolicyRequest
- type UnbindAutoSnapshotPolicyRequestParams
- type UnbindAutoSnapshotPolicyResponse
- type UnbindAutoSnapshotPolicyResponseParams
- type UpdateAutoSnapshotPolicyRequest
- type UpdateAutoSnapshotPolicyRequestParams
- type UpdateAutoSnapshotPolicyResponse
- type UpdateAutoSnapshotPolicyResponseParams
- type UpdateCfsFileSystemNameRequest
- type UpdateCfsFileSystemNameRequestParams
- type UpdateCfsFileSystemNameResponse
- type UpdateCfsFileSystemNameResponseParams
- type UpdateCfsFileSystemPGroupRequest
- type UpdateCfsFileSystemPGroupRequestParams
- type UpdateCfsFileSystemPGroupResponse
- type UpdateCfsFileSystemPGroupResponseParams
- type UpdateCfsFileSystemSizeLimitRequest
- type UpdateCfsFileSystemSizeLimitRequestParams
- type UpdateCfsFileSystemSizeLimitResponse
- type UpdateCfsFileSystemSizeLimitResponseParams
- type UpdateCfsPGroupRequest
- type UpdateCfsPGroupRequestParams
- type UpdateCfsPGroupResponse
- type UpdateCfsPGroupResponseParams
- type UpdateCfsRuleRequest
- type UpdateCfsRuleRequestParams
- type UpdateCfsRuleResponse
- type UpdateCfsRuleResponseParams
- type UpdateCfsSnapshotAttributeRequest
- type UpdateCfsSnapshotAttributeRequestParams
- type UpdateCfsSnapshotAttributeResponse
- type UpdateCfsSnapshotAttributeResponseParams
Constants ¶
const ( // A CAM signature/authentication error occurred. AUTHFAILURE = "AuthFailure" // Failed to get the CFS service role. AUTHFAILURE_GETROLEFAILED = "AuthFailure.GetRoleFailed" // Request unauthorized. AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" // Operation failed. FAILEDOPERATION = "FailedOperation" // Failed to bind the resource pack to the file system. FAILEDOPERATION_BINDRESOURCEPKGFAILED = "FailedOperation.BindResourcePkgFailed" // The resource is being created. FAILEDOPERATION_CLIENTTOKENINUSE = "FailedOperation.ClientTokenInUse" // There are mount targets on the file system. FAILEDOPERATION_MOUNTTARGETEXISTS = "FailedOperation.MountTargetExists" // The permission group has been bound to a file system. FAILEDOPERATION_PGROUPINUSE = "FailedOperation.PgroupInUse" // The permission group is being updated. FAILEDOPERATION_PGROUPISUPDATING = "FailedOperation.PgroupIsUpdating" // The permission group has been associated with a legacy instance. Please unassociate it and try again. FAILEDOPERATION_PGROUPLINKCFSV10 = "FailedOperation.PgroupLinkCfsv10" // Failed to unbind the resource tag. FAILEDOPERATION_UNTAGRESOURCEFAILED = "FailedOperation.UntagResourceFailed" // Internal error. INTERNALERROR = "InternalError" // Failed to create the file system. INTERNALERROR_CREATEFSFAILED = "InternalError.CreateFsFailed" // Failed to get the payment status of the user. INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" // Invalid parameter. INVALIDPARAMETER = "InvalidParameter" // The snapshot policy was not found. INVALIDPARAMETER_AUTOPOLICYNOTFOUND = "InvalidParameter.AutoPolicyNotFound" // The snapshot retention period is invalid. INVALIDPARAMETER_INVALIDALIVEDDAYS = "InvalidParameter.InvalidAlivedDays" // The scheduled day of the week parameter is invalid. INVALIDPARAMETER_INVALIDPARAMDAYOFWEEK = "InvalidParameter.InvalidParamDayofWeek" // The value of the scheduled hour parameter is incorrect. INVALIDPARAMETER_INVALIDPARAMHOUR = "InvalidParameter.InvalidParamHour" // The snapshot policy is invalid. INVALIDPARAMETER_INVALIDSNAPPOLICYSTATUS = "InvalidParameter.InvalidSnapPolicyStatus" // The file system snapshot parameter name is invalid. INVALIDPARAMETER_INVALIDSNAPSHOTNAME = "InvalidParameter.InvalidSnapshotName" // The file system snapshot policy name is invalid. INVALIDPARAMETER_INVALIDSNAPSHOTPOLICYNAME = "InvalidParameter.InvalidSnapshotPolicyName" // The policy parameter is missing. INVALIDPARAMETER_MISSINGPOLICYPARAM = "InvalidParameter.MissingPolicyParam" // The file system snapshot name exceeds the upper limit. INVALIDPARAMETER_SNAPSHOTNAMELIMITEXCEEDED = "InvalidParameter.SnapshotNameLimitExceeded" // The file system snapshot policy name exceeds the limit. INVALIDPARAMETER_SNAPSHOTPOLICYNAMELIMITEXCEEDED = "InvalidParameter.SnapshotPolicyNameLimitExceeded" // The parameter value is incorrect. INVALIDPARAMETERVALUE = "InvalidParameterValue" // INVALIDPARAMETERVALUE_AUTOPOLICYNOTFOUND = "InvalidParameterValue.AutoPolicyNotFound" // The length of the string used to ensure the idempotency of the request exceeds the upper limit of 64 bytes. INVALIDPARAMETERVALUE_CLIENTTOKENLIMITEXCEEDED = "InvalidParameterValue.ClientTokenLimitExceeded" // The permission group name already exists. INVALIDPARAMETERVALUE_DUPLICATEDPGROUPNAME = "InvalidParameterValue.DuplicatedPgroupName" // The rule IP already exists. INVALIDPARAMETERVALUE_DUPLICATEDRULEAUTHCLIENTIP = "InvalidParameterValue.DuplicatedRuleAuthClientIp" // Duplicate tag key. INVALIDPARAMETERVALUE_DUPLICATEDTAGKEY = "InvalidParameterValue.DuplicatedTagKey" // The length of the custom file system name exceeds the limit (64 bytes). INVALIDPARAMETERVALUE_FSNAMELIMITEXCEEDED = "InvalidParameterValue.FsNameLimitExceeded" // The file system quota exceeds the upper limit. INVALIDPARAMETERVALUE_FSSIZELIMITEXCEEDED = "InvalidParameterValue.FsSizeLimitExceeded" // INVALIDPARAMETERVALUE_INVALIDALIVEDAYS = "InvalidParameterValue.InvalidAliveDays" // Incorrect rule IP. INVALIDPARAMETERVALUE_INVALIDAUTHCLIENTIP = "InvalidParameterValue.InvalidAuthClientIp" // Invalid scaling policy parameters. INVALIDPARAMETERVALUE_INVALIDAUTOSCALEUPPARAMS = "InvalidParameterValue.InvalidAutoScaleUpParams" // The string used to ensure the idempotency of the request is incorrect. INVALIDPARAMETERVALUE_INVALIDCLIENTTOKEN = "InvalidParameterValue.InvalidClientToken" // INVALIDPARAMETERVALUE_INVALIDDESTINATIONREGIONS = "InvalidParameterValue.InvalidDestinationRegions" // Invalid encryption parameter. INVALIDPARAMETERVALUE_INVALIDENCRYPTED = "InvalidParameterValue.InvalidEncrypted" // `FileSystemId` is invalid. INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" // Invalid custom name. INVALIDPARAMETERVALUE_INVALIDFSNAME = "InvalidParameterValue.InvalidFsName" // Invalid file system quota. INVALIDPARAMETERVALUE_INVALIDFSSIZELIMIT = "InvalidParameterValue.InvalidFsSizeLimit" // Invalid file system status. INVALIDPARAMETERVALUE_INVALIDFSSTATUS = "InvalidParameterValue.InvalidFsStatus" // Incorrect mount target IP. INVALIDPARAMETERVALUE_INVALIDMOUNTTARGETIP = "InvalidParameterValue.InvalidMountTargetIp" // Invalid network type. INVALIDPARAMETERVALUE_INVALIDNETINTERFACE = "InvalidParameterValue.InvalidNetInterface" // Invalid value of `DayOfMonth`. INVALIDPARAMETERVALUE_INVALIDPARAMDAYOFMONTH = "InvalidParameterValue.InvalidParamDayOfMonth" // INVALIDPARAMETERVALUE_INVALIDPARAMDAYOFWEEK = "InvalidParameterValue.InvalidParamDayOfWeek" // Invalid value of `IntervalDays`. INVALIDPARAMETERVALUE_INVALIDPARAMINTERVALDAYS = "InvalidParameterValue.InvalidParamIntervalDays" // The permission group is not under this user. INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" // Invalid permission group ID. INVALIDPARAMETERVALUE_INVALIDPGROUPID = "InvalidParameterValue.InvalidPgroupId" // Invalid permission group name. INVALIDPARAMETERVALUE_INVALIDPGROUPNAME = "InvalidParameterValue.InvalidPgroupName" // Incorrect priority settings. INVALIDPARAMETERVALUE_INVALIDPRIORITY = "InvalidParameterValue.InvalidPriority" // Invalid protocol parameter. INVALIDPARAMETERVALUE_INVALIDPROTOCOL = "InvalidParameterValue.InvalidProtocol" // Either `ZoneName` or `ZoneId, Region` must be selected. INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" // Invalid parameter value: invalid resource tag value. INVALIDPARAMETERVALUE_INVALIDRESOURCETAGS = "InvalidParameterValue.InvalidResourceTags" // Incorrect read/write permission settings. INVALIDPARAMETERVALUE_INVALIDRWPERMISSION = "InvalidParameterValue.InvalidRwPermission" // Invalid target capacity. INVALIDPARAMETERVALUE_INVALIDSCALEUPTARGETCAPACITY = "InvalidParameterValue.InvalidScaleupTargetCapacity" // INVALIDPARAMETERVALUE_INVALIDSNAPPOLICYSTATUS = "InvalidParameterValue.InvalidSnapPolicyStatus" // INVALIDPARAMETERVALUE_INVALIDSNAPSHOTNAME = "InvalidParameterValue.InvalidSnapshotName" // INVALIDPARAMETERVALUE_INVALIDSNAPSHOTPOLICYNAME = "InvalidParameterValue.InvalidSnapshotPolicyName" // The snapshot is invalid. INVALIDPARAMETERVALUE_INVALIDSNAPSHOTSTATUS = "InvalidParameterValue.InvalidSnapshotStatus" // The resource pack does not exist or has been bound. INVALIDPARAMETERVALUE_INVALIDSTORAGERESOURCEPKG = "InvalidParameterValue.InvalidStorageResourcePkg" // Invalid storage class parameter. INVALIDPARAMETERVALUE_INVALIDSTORAGETYPE = "InvalidParameterValue.InvalidStorageType" // Invalid subnet ID. INVALIDPARAMETERVALUE_INVALIDSUBNETID = "InvalidParameterValue.InvalidSubnetId" // The tag key cannot be empty. INVALIDPARAMETERVALUE_INVALIDTAGKEY = "InvalidParameterValue.InvalidTagKey" // The tag value is empty or the character is invalid. INVALIDPARAMETERVALUE_INVALIDTAGVALUE = "InvalidParameterValue.InvalidTagValue" // The capacity value is invalid. INVALIDPARAMETERVALUE_INVALIDTURBOCAPACITY = "InvalidParameterValue.InvalidTurboCapacity" // Incorrect user permission settings. INVALIDPARAMETERVALUE_INVALIDUSERPERMISSION = "InvalidParameterValue.InvalidUserPermission" // The specified VIP is unavailable. INVALIDPARAMETERVALUE_INVALIDVIP = "InvalidParameterValue.InvalidVip" // Invalid VPCID. INVALIDPARAMETERVALUE_INVALIDVPCID = "InvalidParameterValue.InvalidVpcId" // Invalid VPC parameter. INVALIDPARAMETERVALUE_INVALIDVPCPARAMETER = "InvalidParameterValue.InvalidVpcParameter" // Invalid AZ. INVALIDPARAMETERVALUE_INVALIDZONEID = "InvalidParameterValue.InvalidZoneId" // Invalid AZ or AZ ID. INVALIDPARAMETERVALUE_INVALIDZONEORZONEID = "InvalidParameterValue.InvalidZoneOrZoneId" // `FileSystemId` is missing. INVALIDPARAMETERVALUE_MISSINGFILESYSTEMID = "InvalidParameterValue.MissingFileSystemId" // Either `FileSystemId` or `Region` must be selected. INVALIDPARAMETERVALUE_MISSINGFILESYSTEMIDORREGION = "InvalidParameterValue.MissingFileSystemIdOrRegion" // `FileSystem` is missing. INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" // Key ID or ARN is missing. INVALIDPARAMETERVALUE_MISSINGKMSKEYID = "InvalidParameterValue.MissingKmsKeyId" // The permission group name and description cannot both be empty. INVALIDPARAMETERVALUE_MISSINGNAMEORDESCINFO = "InvalidParameterValue.MissingNameOrDescinfo" // The permission group name cannot be empty. INVALIDPARAMETERVALUE_MISSINGPGROUPNAME = "InvalidParameterValue.MissingPgroupName" // Snapshot policy parameters missing. INVALIDPARAMETERVALUE_MISSINGPOLICYPARAM = "InvalidParameterValue.MissingPolicyParam" // INVALIDPARAMETERVALUE_MISSINGSNAPNAMEORALIVEDAY = "InvalidParameterValue.MissingSnapNameOrAliveDay" // No storage pack is bound to. INVALIDPARAMETERVALUE_MISSINGSTORAGERESOURCEPKG = "InvalidParameterValue.MissingStorageResourcePkg" // `SUBNETID` and `UNSUBNETID` cannot both be empty. INVALIDPARAMETERVALUE_MISSINGSUBNETIDORUNSUBNETID = "InvalidParameterValue.MissingSubnetidOrUnsubnetid" // A VPC parameter is missing. INVALIDPARAMETERVALUE_MISSINGVPCPARAMETER = "InvalidParameterValue.MissingVpcParameter" // `VPCID` and `UNVPCID` cannot both be empty. INVALIDPARAMETERVALUE_MISSINGVPCIDORUNVPCID = "InvalidParameterValue.MissingVpcidOrUnvpcid" // `ZoneID` is missing. INVALIDPARAMETERVALUE_MISSINGZONEID = "InvalidParameterValue.MissingZoneId" // Either `Zone` or `Zone_id` must be selected. INVALIDPARAMETERVALUE_MISSINGZONEORZONEID = "InvalidParameterValue.MissingZoneOrZoneId" // The length of the permission group description exceeds the limit (255 bytes). INVALIDPARAMETERVALUE_PGROUPDESCINFOLIMITEXCEEDED = "InvalidParameterValue.PgroupDescinfoLimitExceeded" // The length of the permission group name exceeds the limit (64 bytes). INVALIDPARAMETERVALUE_PGROUPNAMELIMITEXCEEDED = "InvalidParameterValue.PgroupNameLimitExceeded" // The permission group rule and permission group do not match. INVALIDPARAMETERVALUE_RULENOTMATCHPGROUP = "InvalidParameterValue.RuleNotMatchPgroup" // INVALIDPARAMETERVALUE_SNAPSHOTNAMELIMITEXCEEDED = "InvalidParameterValue.SnapshotNameLimitExceeded" // INVALIDPARAMETERVALUE_SNAPSHOTPOLICYNAMELIMITEXCEEDED = "InvalidParameterValue.SnapshotPolicyNameLimitExceeded" // Invalid parameter value: the number of tag keys exceeds the upper limit (6). INVALIDPARAMETERVALUE_TAGKEYFILTERLIMITEXCEEDED = "InvalidParameterValue.TagKeyFilterLimitExceeded" // The length of the tag key exceeds the upper limit of 127 bytes. INVALIDPARAMETERVALUE_TAGKEYLIMITEXCEEDED = "InvalidParameterValue.TagKeyLimitExceeded" // The number of tag values exceeds the maximum (10). INVALIDPARAMETERVALUE_TAGVALUEFILTERLIMITEXCEEDED = "InvalidParameterValue.TagValueFilterLimitExceeded" // The length of the tag value exceeds the upper limit of 255 bytes. INVALIDPARAMETERVALUE_TAGVALUELIMITEXCEEDED = "InvalidParameterValue.TagValueLimitExceeded" // Services are unavailable in this AZ. INVALIDPARAMETERVALUE_UNAVAILABLEREGION = "InvalidParameterValue.UnavailableRegion" // Services are unavailable in this region. INVALIDPARAMETERVALUE_UNAVAILABLEZONE = "InvalidParameterValue.UnavailableZone" // `ZoneId` and `Region` do not match. INVALIDPARAMETERVALUE_ZONEIDREGIONNOTMATCH = "InvalidParameterValue.ZoneIdRegionNotMatch" // Missing parameter. MISSINGPARAMETER = "MissingParameter" // Operation denied. OPERATIONDENIED = "OperationDenied" // The resource is in use. RESOURCEINUSE = "ResourceInUse" // The number of file systems has reached the upper limit. RESOURCEINSUFFICIENT_FILESYSTEMLIMITEXCEEDED = "ResourceInsufficient.FileSystemLimitExceeded" // The number of permission groups has reached the upper limit. RESOURCEINSUFFICIENT_PGROUPNUMBERLIMITEXCEEDED = "ResourceInsufficient.PgroupNumberLimitExceeded" // Resources in the region have been sold out. RESOURCEINSUFFICIENT_REGIONSOLDOUT = "ResourceInsufficient.RegionSoldOut" // The number of rules exceeds the upper limit. RESOURCEINSUFFICIENT_RULELIMITEXCEEDED = "ResourceInsufficient.RuleLimitExceeded" // Snapshots are not supported because the file system is too large. RESOURCEINSUFFICIENT_SNAPSHOTSIZELIMITEXCEEDED = "ResourceInsufficient.SnapshotSizeLimitExceeded" // There is no IP available in this subnet. RESOURCEINSUFFICIENT_SUBNETIPALLOCCUPIED = "ResourceInsufficient.SubnetIpAllOccupied" // The quantity of the resource tags reached the upper limit. RESOURCEINSUFFICIENT_TAGLIMITEXCEEDED = "ResourceInsufficient.TagLimitExceeded" // The tag quota is insufficient. RESOURCEINSUFFICIENT_TAGQUOTASEXCEEDED = "ResourceInsufficient.TagQuotasExceeded" // The number of Turbo file systems with special capacity has reached the upper limit. RESOURCEINSUFFICIENT_TURBOSPECIALCAPACITYFILESYSTEMCOUNTLIMIT = "ResourceInsufficient.TurboSpecialCapacityFileSystemCountLimit" // The resource does not exist. RESOURCENOTFOUND = "ResourceNotFound" // The file system does not exist. RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" // The file system does not exist. RESOURCENOTFOUND_FSNOTEXIST = "ResourceNotFound.FsNotExist" // The mount target does not exist. RESOURCENOTFOUND_MOUNTTARGETNOTFOUND = "ResourceNotFound.MountTargetNotFound" // The permission group does not exist. RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" // The resource does not exist: The resource ID cannot be found. RESOURCENOTFOUND_RESOURCEPACKAGENOTFOUND = "ResourceNotFound.ResourcePackageNotFound" // The permission rule does not exist. RESOURCENOTFOUND_RULENOTFOUND = "ResourceNotFound.RuleNotFound" // The snapshot ID does not exist. RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound" // Unauthorized operation. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // Unsupported operation. UNSUPPORTEDOPERATION = "UnsupportedOperation" // This AZ does not support the basic network. UNSUPPORTEDOPERATION_BASICNETINTERFACENOTSUPPORTED = "UnsupportedOperation.BasicNetInterfaceNotSupported" // The appid is not on the allowlist of the KMS (the KMS allowlist is currently enabled). UNSUPPORTEDOPERATION_MISSINGKMSACCESSPERMISSION = "UnsupportedOperation.MissingKmsAccessPermission" // Your account is in arrears. Please top up and try again. UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" // The CFS role was not authorized. UNSUPPORTEDOPERATION_UNAUTHORIZEDCFSQCSROLE = "UnsupportedOperation.UnauthorizedCfsQcsRole" // Unverified user. UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser" )
const APIVersion = "2019-07-19"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoScaleUpRule ¶
type AutoSnapshotPolicyInfo ¶
type AutoSnapshotPolicyInfo struct { // Snapshot policy ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // Snapshot policy name PolicyName *string `json:"PolicyName,omitnil,omitempty" name:"PolicyName"` // Snapshot policy creation time CreationTime *string `json:"CreationTime,omitnil,omitempty" name:"CreationTime"` // Number of bound file systems FileSystemNums *uint64 `json:"FileSystemNums,omitnil,omitempty" name:"FileSystemNums"` // The specific day of the week on which to create a snapshot. This parameter is mutually exclusive with `DayOfMonth` and `IntervalDays`. DayOfWeek *string `json:"DayOfWeek,omitnil,omitempty" name:"DayOfWeek"` // The hour of a day at which to regularly back up the snapshot Hour *string `json:"Hour,omitnil,omitempty" name:"Hour"` // Whether to activate the scheduled snapshot feature IsActivated *uint64 `json:"IsActivated,omitnil,omitempty" name:"IsActivated"` // Next time to trigger snapshot NextActiveTime *string `json:"NextActiveTime,omitnil,omitempty" name:"NextActiveTime"` // Snapshot policy status Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Account ID AppId *uint64 `json:"AppId,omitnil,omitempty" name:"AppId"` // Retention period AliveDays *uint64 `json:"AliveDays,omitnil,omitempty" name:"AliveDays"` // Region RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"` // File system information FileSystems []*FileSystemByPolicy `json:"FileSystems,omitnil,omitempty" name:"FileSystems"` // The specific day of the month on which to create a snapshot. This parameter is mutually exclusive with `DayOfWeek` and `IntervalDays`. // Note: This field may return null, indicating that no valid values can be obtained. DayOfMonth *string `json:"DayOfMonth,omitnil,omitempty" name:"DayOfMonth"` // The snapshot interval (1 to 365 days). This parameter is mutually exclusive with `DayOfWeek` and `DayOfMonth`. // Note: This field may return null, indicating that no valid values can be obtained. IntervalDays *uint64 `json:"IntervalDays,omitnil,omitempty" name:"IntervalDays"` }
type AvailableProtoStatus ¶
type AvailableProtoStatus struct { // Sale status. Valid values: sale_out (sold out), saling (purchasable), no_saling (non-purchasable) SaleStatus *string `json:"SaleStatus,omitnil,omitempty" name:"SaleStatus"` // Protocol type. Valid values: NFS, CIFS Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` }
type AvailableRegion ¶
type AvailableRegion struct { // Region name, such as "ap-beijing" Region *string `json:"Region,omitnil,omitempty" name:"Region"` // Region name, such as "bj" RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"` // Region availability. If a region has at least one AZ where resources are purchasable, this value will be `AVAILABLE`; otherwise, it will be `UNAVAILABLE` RegionStatus *string `json:"RegionStatus,omitnil,omitempty" name:"RegionStatus"` // Array of AZs Zones []*AvailableZone `json:"Zones,omitnil,omitempty" name:"Zones"` // Region name, such as "Guangzhou" RegionCnName *string `json:"RegionCnName,omitnil,omitempty" name:"RegionCnName"` }
type AvailableType ¶
type AvailableType struct { // Protocol and sale details Protocols []*AvailableProtoStatus `json:"Protocols,omitnil,omitempty" name:"Protocols"` // Storage class. Valid values: `SD` (standard storage) and `HP` (high-performance storage) Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Indicates whether prepaid is supported. `true`: yes; `false`: no Prepayment *bool `json:"Prepayment,omitnil,omitempty" name:"Prepayment"` }
type AvailableZone ¶
type AvailableZone struct { // AZ name Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // AZ ID ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // Chinese name of an AZ ZoneCnName *string `json:"ZoneCnName,omitnil,omitempty" name:"ZoneCnName"` // Array of classes Types []*AvailableType `json:"Types,omitnil,omitempty" name:"Types"` // Chinese and English names of an AZ ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"` }
type BindAutoSnapshotPolicyRequest ¶
type BindAutoSnapshotPolicyRequest struct { *tchttp.BaseRequest // Snapshot policy ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // List of file systems FileSystemIds *string `json:"FileSystemIds,omitnil,omitempty" name:"FileSystemIds"` }
func NewBindAutoSnapshotPolicyRequest ¶
func NewBindAutoSnapshotPolicyRequest() (request *BindAutoSnapshotPolicyRequest)
func (*BindAutoSnapshotPolicyRequest) FromJsonString ¶
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 ¶
func (r *BindAutoSnapshotPolicyRequest) ToJsonString() string
type BindAutoSnapshotPolicyRequestParams ¶
type BindAutoSnapshotPolicyRequestParams struct { // Snapshot policy ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // List of file systems FileSystemIds *string `json:"FileSystemIds,omitnil,omitempty" name:"FileSystemIds"` }
Predefined struct for user
type BindAutoSnapshotPolicyResponse ¶
type BindAutoSnapshotPolicyResponse struct { *tchttp.BaseResponse Response *BindAutoSnapshotPolicyResponseParams `json:"Response"` }
func NewBindAutoSnapshotPolicyResponse ¶
func NewBindAutoSnapshotPolicyResponse() (response *BindAutoSnapshotPolicyResponse)
func (*BindAutoSnapshotPolicyResponse) FromJsonString ¶
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 ¶
func (r *BindAutoSnapshotPolicyResponse) ToJsonString() string
type BindAutoSnapshotPolicyResponseParams ¶
type BindAutoSnapshotPolicyResponseParams struct { // Snapshot policy ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type BucketInfo ¶
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) BindAutoSnapshotPolicy ¶
func (c *Client) BindAutoSnapshotPolicy(request *BindAutoSnapshotPolicyRequest) (response *BindAutoSnapshotPolicyResponse, err error)
BindAutoSnapshotPolicy This API is used to bind one or multiple file systems to a snapshot policy. A file system can be bound to only one policy.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_AUTOPOLICYNOTFOUND = "InvalidParameter.AutoPolicyNotFound" INVALIDPARAMETER_INVALIDSNAPPOLICYSTATUS = "InvalidParameter.InvalidSnapPolicyStatus" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" RESOURCEINSUFFICIENT_SNAPSHOTSIZELIMITEXCEEDED = "ResourceInsufficient.SnapshotSizeLimitExceeded" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) BindAutoSnapshotPolicyWithContext ¶
func (c *Client) BindAutoSnapshotPolicyWithContext(ctx context.Context, request *BindAutoSnapshotPolicyRequest) (response *BindAutoSnapshotPolicyResponse, err error)
BindAutoSnapshotPolicy This API is used to bind one or multiple file systems to a snapshot policy. A file system can be bound to only one policy.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_AUTOPOLICYNOTFOUND = "InvalidParameter.AutoPolicyNotFound" INVALIDPARAMETER_INVALIDSNAPPOLICYSTATUS = "InvalidParameter.InvalidSnapPolicyStatus" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" RESOURCEINSUFFICIENT_SNAPSHOTSIZELIMITEXCEEDED = "ResourceInsufficient.SnapshotSizeLimitExceeded" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) CreateAutoSnapshotPolicy ¶
func (c *Client) CreateAutoSnapshotPolicy(request *CreateAutoSnapshotPolicyRequest) (response *CreateAutoSnapshotPolicyResponse, err error)
CreateAutoSnapshotPolicy This API is used to create a scheduled snapshot policy.
error code that may be returned:
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_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 ¶
func (c *Client) CreateAutoSnapshotPolicyWithContext(ctx context.Context, request *CreateAutoSnapshotPolicyRequest) (response *CreateAutoSnapshotPolicyResponse, err error)
CreateAutoSnapshotPolicy This API is used to create a scheduled snapshot policy.
error code that may be returned:
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_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 This API is used to create a file system.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BINDRESOURCEPKGFAILED = "FailedOperation.BindResourcePkgFailed" FAILEDOPERATION_CLIENTTOKENINUSE = "FailedOperation.ClientTokenInUse" INTERNALERROR = "InternalError" INTERNALERROR_CREATEFSFAILED = "InternalError.CreateFsFailed" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_AUTOPOLICYNOTFOUND = "InvalidParameter.AutoPolicyNotFound" INVALIDPARAMETERVALUE_CLIENTTOKENLIMITEXCEEDED = "InvalidParameterValue.ClientTokenLimitExceeded" INVALIDPARAMETERVALUE_DUPLICATEDTAGKEY = "InvalidParameterValue.DuplicatedTagKey" INVALIDPARAMETERVALUE_FSNAMELIMITEXCEEDED = "InvalidParameterValue.FsNameLimitExceeded" INVALIDPARAMETERVALUE_INVALIDCLIENTTOKEN = "InvalidParameterValue.InvalidClientToken" INVALIDPARAMETERVALUE_INVALIDENCRYPTED = "InvalidParameterValue.InvalidEncrypted" INVALIDPARAMETERVALUE_INVALIDFSNAME = "InvalidParameterValue.InvalidFsName" INVALIDPARAMETERVALUE_INVALIDMOUNTTARGETIP = "InvalidParameterValue.InvalidMountTargetIp" INVALIDPARAMETERVALUE_INVALIDNETINTERFACE = "InvalidParameterValue.InvalidNetInterface" INVALIDPARAMETERVALUE_INVALIDPGROUPID = "InvalidParameterValue.InvalidPgroupId" INVALIDPARAMETERVALUE_INVALIDPROTOCOL = "InvalidParameterValue.InvalidProtocol" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_INVALIDRESOURCETAGS = "InvalidParameterValue.InvalidResourceTags" INVALIDPARAMETERVALUE_INVALIDSNAPSHOTSTATUS = "InvalidParameterValue.InvalidSnapshotStatus" INVALIDPARAMETERVALUE_INVALIDSTORAGERESOURCEPKG = "InvalidParameterValue.InvalidStorageResourcePkg" INVALIDPARAMETERVALUE_INVALIDSTORAGETYPE = "InvalidParameterValue.InvalidStorageType" INVALIDPARAMETERVALUE_INVALIDSUBNETID = "InvalidParameterValue.InvalidSubnetId" INVALIDPARAMETERVALUE_INVALIDTAGKEY = "InvalidParameterValue.InvalidTagKey" INVALIDPARAMETERVALUE_INVALIDTAGVALUE = "InvalidParameterValue.InvalidTagValue" INVALIDPARAMETERVALUE_INVALIDTURBOCAPACITY = "InvalidParameterValue.InvalidTurboCapacity" INVALIDPARAMETERVALUE_INVALIDVIP = "InvalidParameterValue.InvalidVip" INVALIDPARAMETERVALUE_INVALIDVPCID = "InvalidParameterValue.InvalidVpcId" INVALIDPARAMETERVALUE_INVALIDVPCPARAMETER = "InvalidParameterValue.InvalidVpcParameter" INVALIDPARAMETERVALUE_INVALIDZONEID = "InvalidParameterValue.InvalidZoneId" INVALIDPARAMETERVALUE_INVALIDZONEORZONEID = "InvalidParameterValue.InvalidZoneOrZoneId" INVALIDPARAMETERVALUE_MISSINGKMSKEYID = "InvalidParameterValue.MissingKmsKeyId" INVALIDPARAMETERVALUE_MISSINGSTORAGERESOURCEPKG = "InvalidParameterValue.MissingStorageResourcePkg" INVALIDPARAMETERVALUE_MISSINGSUBNETIDORUNSUBNETID = "InvalidParameterValue.MissingSubnetidOrUnsubnetid" INVALIDPARAMETERVALUE_MISSINGVPCPARAMETER = "InvalidParameterValue.MissingVpcParameter" INVALIDPARAMETERVALUE_MISSINGVPCIDORUNVPCID = "InvalidParameterValue.MissingVpcidOrUnvpcid" INVALIDPARAMETERVALUE_MISSINGZONEID = "InvalidParameterValue.MissingZoneId" INVALIDPARAMETERVALUE_MISSINGZONEORZONEID = "InvalidParameterValue.MissingZoneOrZoneId" INVALIDPARAMETERVALUE_TAGKEYFILTERLIMITEXCEEDED = "InvalidParameterValue.TagKeyFilterLimitExceeded" INVALIDPARAMETERVALUE_TAGKEYLIMITEXCEEDED = "InvalidParameterValue.TagKeyLimitExceeded" INVALIDPARAMETERVALUE_TAGVALUEFILTERLIMITEXCEEDED = "InvalidParameterValue.TagValueFilterLimitExceeded" INVALIDPARAMETERVALUE_TAGVALUELIMITEXCEEDED = "InvalidParameterValue.TagValueLimitExceeded" INVALIDPARAMETERVALUE_UNAVAILABLEREGION = "InvalidParameterValue.UnavailableRegion" INVALIDPARAMETERVALUE_UNAVAILABLEZONE = "InvalidParameterValue.UnavailableZone" INVALIDPARAMETERVALUE_ZONEIDREGIONNOTMATCH = "InvalidParameterValue.ZoneIdRegionNotMatch" RESOURCEINSUFFICIENT_FILESYSTEMLIMITEXCEEDED = "ResourceInsufficient.FileSystemLimitExceeded" RESOURCEINSUFFICIENT_REGIONSOLDOUT = "ResourceInsufficient.RegionSoldOut" RESOURCEINSUFFICIENT_SUBNETIPALLOCCUPIED = "ResourceInsufficient.SubnetIpAllOccupied" RESOURCEINSUFFICIENT_TAGLIMITEXCEEDED = "ResourceInsufficient.TagLimitExceeded" RESOURCEINSUFFICIENT_TAGQUOTASEXCEEDED = "ResourceInsufficient.TagQuotasExceeded" RESOURCEINSUFFICIENT_TURBOSPECIALCAPACITYFILESYSTEMCOUNTLIMIT = "ResourceInsufficient.TurboSpecialCapacityFileSystemCountLimit" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BASICNETINTERFACENOTSUPPORTED = "UnsupportedOperation.BasicNetInterfaceNotSupported" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) CreateCfsFileSystemWithContext ¶
func (c *Client) CreateCfsFileSystemWithContext(ctx context.Context, request *CreateCfsFileSystemRequest) (response *CreateCfsFileSystemResponse, err error)
CreateCfsFileSystem This API is used to create a file system.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BINDRESOURCEPKGFAILED = "FailedOperation.BindResourcePkgFailed" FAILEDOPERATION_CLIENTTOKENINUSE = "FailedOperation.ClientTokenInUse" INTERNALERROR = "InternalError" INTERNALERROR_CREATEFSFAILED = "InternalError.CreateFsFailed" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_AUTOPOLICYNOTFOUND = "InvalidParameter.AutoPolicyNotFound" INVALIDPARAMETERVALUE_CLIENTTOKENLIMITEXCEEDED = "InvalidParameterValue.ClientTokenLimitExceeded" INVALIDPARAMETERVALUE_DUPLICATEDTAGKEY = "InvalidParameterValue.DuplicatedTagKey" INVALIDPARAMETERVALUE_FSNAMELIMITEXCEEDED = "InvalidParameterValue.FsNameLimitExceeded" INVALIDPARAMETERVALUE_INVALIDCLIENTTOKEN = "InvalidParameterValue.InvalidClientToken" INVALIDPARAMETERVALUE_INVALIDENCRYPTED = "InvalidParameterValue.InvalidEncrypted" INVALIDPARAMETERVALUE_INVALIDFSNAME = "InvalidParameterValue.InvalidFsName" INVALIDPARAMETERVALUE_INVALIDMOUNTTARGETIP = "InvalidParameterValue.InvalidMountTargetIp" INVALIDPARAMETERVALUE_INVALIDNETINTERFACE = "InvalidParameterValue.InvalidNetInterface" INVALIDPARAMETERVALUE_INVALIDPGROUPID = "InvalidParameterValue.InvalidPgroupId" INVALIDPARAMETERVALUE_INVALIDPROTOCOL = "InvalidParameterValue.InvalidProtocol" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_INVALIDRESOURCETAGS = "InvalidParameterValue.InvalidResourceTags" INVALIDPARAMETERVALUE_INVALIDSNAPSHOTSTATUS = "InvalidParameterValue.InvalidSnapshotStatus" INVALIDPARAMETERVALUE_INVALIDSTORAGERESOURCEPKG = "InvalidParameterValue.InvalidStorageResourcePkg" INVALIDPARAMETERVALUE_INVALIDSTORAGETYPE = "InvalidParameterValue.InvalidStorageType" INVALIDPARAMETERVALUE_INVALIDSUBNETID = "InvalidParameterValue.InvalidSubnetId" INVALIDPARAMETERVALUE_INVALIDTAGKEY = "InvalidParameterValue.InvalidTagKey" INVALIDPARAMETERVALUE_INVALIDTAGVALUE = "InvalidParameterValue.InvalidTagValue" INVALIDPARAMETERVALUE_INVALIDTURBOCAPACITY = "InvalidParameterValue.InvalidTurboCapacity" INVALIDPARAMETERVALUE_INVALIDVIP = "InvalidParameterValue.InvalidVip" INVALIDPARAMETERVALUE_INVALIDVPCID = "InvalidParameterValue.InvalidVpcId" INVALIDPARAMETERVALUE_INVALIDVPCPARAMETER = "InvalidParameterValue.InvalidVpcParameter" INVALIDPARAMETERVALUE_INVALIDZONEID = "InvalidParameterValue.InvalidZoneId" INVALIDPARAMETERVALUE_INVALIDZONEORZONEID = "InvalidParameterValue.InvalidZoneOrZoneId" INVALIDPARAMETERVALUE_MISSINGKMSKEYID = "InvalidParameterValue.MissingKmsKeyId" INVALIDPARAMETERVALUE_MISSINGSTORAGERESOURCEPKG = "InvalidParameterValue.MissingStorageResourcePkg" INVALIDPARAMETERVALUE_MISSINGSUBNETIDORUNSUBNETID = "InvalidParameterValue.MissingSubnetidOrUnsubnetid" INVALIDPARAMETERVALUE_MISSINGVPCPARAMETER = "InvalidParameterValue.MissingVpcParameter" INVALIDPARAMETERVALUE_MISSINGVPCIDORUNVPCID = "InvalidParameterValue.MissingVpcidOrUnvpcid" INVALIDPARAMETERVALUE_MISSINGZONEID = "InvalidParameterValue.MissingZoneId" INVALIDPARAMETERVALUE_MISSINGZONEORZONEID = "InvalidParameterValue.MissingZoneOrZoneId" INVALIDPARAMETERVALUE_TAGKEYFILTERLIMITEXCEEDED = "InvalidParameterValue.TagKeyFilterLimitExceeded" INVALIDPARAMETERVALUE_TAGKEYLIMITEXCEEDED = "InvalidParameterValue.TagKeyLimitExceeded" INVALIDPARAMETERVALUE_TAGVALUEFILTERLIMITEXCEEDED = "InvalidParameterValue.TagValueFilterLimitExceeded" INVALIDPARAMETERVALUE_TAGVALUELIMITEXCEEDED = "InvalidParameterValue.TagValueLimitExceeded" INVALIDPARAMETERVALUE_UNAVAILABLEREGION = "InvalidParameterValue.UnavailableRegion" INVALIDPARAMETERVALUE_UNAVAILABLEZONE = "InvalidParameterValue.UnavailableZone" INVALIDPARAMETERVALUE_ZONEIDREGIONNOTMATCH = "InvalidParameterValue.ZoneIdRegionNotMatch" RESOURCEINSUFFICIENT_FILESYSTEMLIMITEXCEEDED = "ResourceInsufficient.FileSystemLimitExceeded" RESOURCEINSUFFICIENT_REGIONSOLDOUT = "ResourceInsufficient.RegionSoldOut" RESOURCEINSUFFICIENT_SUBNETIPALLOCCUPIED = "ResourceInsufficient.SubnetIpAllOccupied" RESOURCEINSUFFICIENT_TAGLIMITEXCEEDED = "ResourceInsufficient.TagLimitExceeded" RESOURCEINSUFFICIENT_TAGQUOTASEXCEEDED = "ResourceInsufficient.TagQuotasExceeded" RESOURCEINSUFFICIENT_TURBOSPECIALCAPACITYFILESYSTEMCOUNTLIMIT = "ResourceInsufficient.TurboSpecialCapacityFileSystemCountLimit" RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BASICNETINTERFACENOTSUPPORTED = "UnsupportedOperation.BasicNetInterfaceNotSupported" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) CreateCfsPGroup ¶
func (c *Client) CreateCfsPGroup(request *CreateCfsPGroupRequest) (response *CreateCfsPGroupResponse, err error)
CreateCfsPGroup This API is used to create a permission group.
error code that may be returned:
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 ¶
func (c *Client) CreateCfsPGroupWithContext(ctx context.Context, request *CreateCfsPGroupRequest) (response *CreateCfsPGroupResponse, err error)
CreateCfsPGroup This API is used to create a permission group.
error code that may be returned:
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 This API is used to create a permission group rule.
error code that may be returned:
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 ¶
func (c *Client) CreateCfsRuleWithContext(ctx context.Context, request *CreateCfsRuleRequest) (response *CreateCfsRuleResponse, err error)
CreateCfsRule This API is used to create a permission group rule.
error code that may be returned:
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 ¶
func (c *Client) CreateCfsSnapshot(request *CreateCfsSnapshotRequest) (response *CreateCfsSnapshotResponse, err error)
CreateCfsSnapshot This API is used to create a file system snapshot.
error code that may be returned:
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_TAGLIMITEXCEEDED = "ResourceInsufficient.TagLimitExceeded" RESOURCEINSUFFICIENT_TAGQUOTASEXCEEDED = "ResourceInsufficient.TagQuotasExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) CreateCfsSnapshotWithContext ¶
func (c *Client) CreateCfsSnapshotWithContext(ctx context.Context, request *CreateCfsSnapshotRequest) (response *CreateCfsSnapshotResponse, err error)
CreateCfsSnapshot This API is used to create a file system snapshot.
error code that may be returned:
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_TAGLIMITEXCEEDED = "ResourceInsufficient.TagLimitExceeded" RESOURCEINSUFFICIENT_TAGQUOTASEXCEEDED = "ResourceInsufficient.TagQuotasExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) CreateMigrationTask ¶
func (c *Client) CreateMigrationTask(request *CreateMigrationTaskRequest) (response *CreateMigrationTaskResponse, err error)
CreateMigrationTask This API is used to create a migration task.
To use this API, submit a ticket for us to add you to the allowlist.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) CreateMigrationTaskWithContext ¶
func (c *Client) CreateMigrationTaskWithContext(ctx context.Context, request *CreateMigrationTaskRequest) (response *CreateMigrationTaskResponse, err error)
CreateMigrationTask This API is used to create a migration task.
To use this API, submit a ticket for us to add you to the allowlist.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) DeleteAutoSnapshotPolicy ¶
func (c *Client) DeleteAutoSnapshotPolicy(request *DeleteAutoSnapshotPolicyRequest) (response *DeleteAutoSnapshotPolicyResponse, err error)
DeleteAutoSnapshotPolicy This API is used to delete a scheduled snapshot policy.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_AUTOPOLICYNOTFOUND = "InvalidParameter.AutoPolicyNotFound" INVALIDPARAMETER_INVALIDSNAPPOLICYSTATUS = "InvalidParameter.InvalidSnapPolicyStatus" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNAUTHORIZEDCFSQCSROLE = "UnsupportedOperation.UnauthorizedCfsQcsRole" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DeleteAutoSnapshotPolicyWithContext ¶
func (c *Client) DeleteAutoSnapshotPolicyWithContext(ctx context.Context, request *DeleteAutoSnapshotPolicyRequest) (response *DeleteAutoSnapshotPolicyResponse, err error)
DeleteAutoSnapshotPolicy This API is used to delete a scheduled snapshot policy.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_AUTOPOLICYNOTFOUND = "InvalidParameter.AutoPolicyNotFound" INVALIDPARAMETER_INVALIDSNAPPOLICYSTATUS = "InvalidParameter.InvalidSnapPolicyStatus" INVALIDPARAMETERVALUE = "InvalidParameterValue" 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 This API is used to delete a file system.
error code that may be returned:
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 ¶
func (c *Client) DeleteCfsFileSystemWithContext(ctx context.Context, request *DeleteCfsFileSystemRequest) (response *DeleteCfsFileSystemResponse, err error)
DeleteCfsFileSystem This API is used to delete a file system.
error code that may be returned:
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 This API is used to delete a permission group.
error code that may be returned:
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 ¶
func (c *Client) DeleteCfsPGroupWithContext(ctx context.Context, request *DeleteCfsPGroupRequest) (response *DeleteCfsPGroupResponse, err error)
DeleteCfsPGroup This API is used to delete a permission group.
error code that may be returned:
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 This API is used to delete a permission group rule.
error code that may be returned:
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 ¶
func (c *Client) DeleteCfsRuleWithContext(ctx context.Context, request *DeleteCfsRuleRequest) (response *DeleteCfsRuleResponse, err error)
DeleteCfsRule This API is used to delete a permission group rule.
error code that may be returned:
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 ¶
func (c *Client) DeleteCfsSnapshot(request *DeleteCfsSnapshotRequest) (response *DeleteCfsSnapshotResponse, err error)
DeleteCfsSnapshot This API is used to delete a file system snapshot.
error code that may be returned:
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 ¶
func (c *Client) DeleteCfsSnapshotWithContext(ctx context.Context, request *DeleteCfsSnapshotRequest) (response *DeleteCfsSnapshotResponse, err error)
DeleteCfsSnapshot This API is used to delete a file system snapshot.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDSNAPSHOTSTATUS = "InvalidParameterValue.InvalidSnapshotStatus" RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNAUTHORIZEDCFSQCSROLE = "UnsupportedOperation.UnauthorizedCfsQcsRole" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DeleteMigrationTask ¶
func (c *Client) DeleteMigrationTask(request *DeleteMigrationTaskRequest) (response *DeleteMigrationTaskResponse, err error)
DeleteMigrationTask This API is used to delete a migration task.
To use this API, submit a ticket for us to add you to the allowlist.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteMigrationTaskWithContext ¶
func (c *Client) DeleteMigrationTaskWithContext(ctx context.Context, request *DeleteMigrationTaskRequest) (response *DeleteMigrationTaskResponse, err error)
DeleteMigrationTask This API is used to delete a migration task.
To use this API, submit a ticket for us to add you to the allowlist.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteMountTarget ¶
func (c *Client) DeleteMountTarget(request *DeleteMountTargetRequest) (response *DeleteMountTargetResponse, err error)
DeleteMountTarget This API is used to delete a mount target.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" RESOURCENOTFOUND_MOUNTTARGETNOTFOUND = "ResourceNotFound.MountTargetNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DeleteMountTargetWithContext ¶
func (c *Client) DeleteMountTargetWithContext(ctx context.Context, request *DeleteMountTargetRequest) (response *DeleteMountTargetResponse, err error)
DeleteMountTarget This API is used to delete a mount target.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" INVALIDPARAMETERVALUE_INVALIDREGIONZONEINFO = "InvalidParameterValue.InvalidRegionZoneInfo" INVALIDPARAMETERVALUE_MISSINGFSPARAMETER = "InvalidParameterValue.MissingFsParameter" RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" RESOURCENOTFOUND_MOUNTTARGETNOTFOUND = "ResourceNotFound.MountTargetNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeAutoSnapshotPolicies ¶
func (c *Client) DescribeAutoSnapshotPolicies(request *DescribeAutoSnapshotPoliciesRequest) (response *DescribeAutoSnapshotPoliciesResponse, err error)
DescribeAutoSnapshotPolicies This API is used to query the list of scheduled snapshot policies of a file system.
error code that may be returned:
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 ¶
func (c *Client) DescribeAutoSnapshotPoliciesWithContext(ctx context.Context, request *DescribeAutoSnapshotPoliciesRequest) (response *DescribeAutoSnapshotPoliciesResponse, err error)
DescribeAutoSnapshotPolicies This API is used to query the list of scheduled snapshot policies of a file system.
error code that may be returned:
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 This API is used to query the availability of a region.
error code that may be returned:
AUTHFAILURE_GETROLEFAILED = "AuthFailure.GetRoleFailed" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeAvailableZoneInfoWithContext ¶
func (c *Client) DescribeAvailableZoneInfoWithContext(ctx context.Context, request *DescribeAvailableZoneInfoRequest) (response *DescribeAvailableZoneInfoResponse, err error)
DescribeAvailableZoneInfo This API is used to query the availability of a region.
error code that may be returned:
AUTHFAILURE_GETROLEFAILED = "AuthFailure.GetRoleFailed" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeBucketList ¶
func (c *Client) DescribeBucketList(request *DescribeBucketListRequest) (response *DescribeBucketListResponse, err error)
DescribeBucketList This API is used to get the list of data source buckets.
To use this API, submit a ticket for us to add you to the allowlist.
error code that may be returned:
AUTHFAILURE_GETROLEFAILED = "AuthFailure.GetRoleFailed" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeBucketListWithContext ¶
func (c *Client) DescribeBucketListWithContext(ctx context.Context, request *DescribeBucketListRequest) (response *DescribeBucketListResponse, err error)
DescribeBucketList This API is used to get the list of data source buckets.
To use this API, submit a ticket for us to add you to the allowlist.
error code that may be returned:
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 This API is used to query clients on which this file system is mounted. To do so, the client needs to have the CFS monitoring plugin installed.
error code that may be returned:
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 ¶
func (c *Client) DescribeCfsFileSystemClientsWithContext(ctx context.Context, request *DescribeCfsFileSystemClientsRequest) (response *DescribeCfsFileSystemClientsResponse, err error)
DescribeCfsFileSystemClients This API is used to query clients on which this file system is mounted. To do so, the client needs to have the CFS monitoring plugin installed.
error code that may be returned:
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 This API is used to query file systems.
error code that may be returned:
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 ¶
func (c *Client) DescribeCfsFileSystemsWithContext(ctx context.Context, request *DescribeCfsFileSystemsRequest) (response *DescribeCfsFileSystemsResponse, err error)
DescribeCfsFileSystems This API is used to query file systems.
error code that may be returned:
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 This API is used to query the list of permission groups.
error code that may be returned:
INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsPGroupsWithContext ¶
func (c *Client) DescribeCfsPGroupsWithContext(ctx context.Context, request *DescribeCfsPGroupsRequest) (response *DescribeCfsPGroupsResponse, err error)
DescribeCfsPGroups This API is used to query the list of permission groups.
error code that may be returned:
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 This API is used to query the list of permission group rules.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETERVALUE_INVALIDPGROUP = "InvalidParameterValue.InvalidPgroup" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsRulesWithContext ¶
func (c *Client) DescribeCfsRulesWithContext(ctx context.Context, request *DescribeCfsRulesRequest) (response *DescribeCfsRulesResponse, err error)
DescribeCfsRules This API is used to query the list of permission group rules.
error code that may be returned:
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 This API is used to query the status of the CFS service.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsServiceStatusWithContext ¶
func (c *Client) DescribeCfsServiceStatusWithContext(ctx context.Context, request *DescribeCfsServiceStatusRequest) (response *DescribeCfsServiceStatusResponse, err error)
DescribeCfsServiceStatus This API is used to query the status of the CFS service.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsSnapshotOverview ¶
func (c *Client) DescribeCfsSnapshotOverview(request *DescribeCfsSnapshotOverviewRequest) (response *DescribeCfsSnapshotOverviewResponse, err error)
DescribeCfsSnapshotOverview This API is used to get the snapshot overview of a file system.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNAUTHORIZEDCFSQCSROLE = "UnsupportedOperation.UnauthorizedCfsQcsRole" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsSnapshotOverviewWithContext ¶
func (c *Client) DescribeCfsSnapshotOverviewWithContext(ctx context.Context, request *DescribeCfsSnapshotOverviewRequest) (response *DescribeCfsSnapshotOverviewResponse, err error)
DescribeCfsSnapshotOverview This API is used to get the snapshot overview of a file system.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNAUTHORIZEDCFSQCSROLE = "UnsupportedOperation.UnauthorizedCfsQcsRole" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeCfsSnapshots ¶
func (c *Client) DescribeCfsSnapshots(request *DescribeCfsSnapshotsRequest) (response *DescribeCfsSnapshotsResponse, err error)
DescribeCfsSnapshots This API is used to query the list of snapshots of a file system.
error code that may be returned:
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 ¶
func (c *Client) DescribeCfsSnapshotsWithContext(ctx context.Context, request *DescribeCfsSnapshotsRequest) (response *DescribeCfsSnapshotsResponse, err error)
DescribeCfsSnapshots This API is used to query the list of snapshots of a file system.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeMigrationTasks ¶
func (c *Client) DescribeMigrationTasks(request *DescribeMigrationTasksRequest) (response *DescribeMigrationTasksResponse, err error)
DescribeMigrationTasks This API is used to get the list of migration tasks.
To use this API, submit a ticket for us to add you to the allowlist.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeMigrationTasksWithContext ¶
func (c *Client) DescribeMigrationTasksWithContext(ctx context.Context, request *DescribeMigrationTasksRequest) (response *DescribeMigrationTasksResponse, err error)
DescribeMigrationTasks This API is used to get the list of migration tasks.
To use this API, submit a ticket for us to add you to the allowlist.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDFILESYSTEMID = "InvalidParameterValue.InvalidFileSystemId" RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) DescribeMountTargets ¶
func (c *Client) DescribeMountTargets(request *DescribeMountTargetsRequest) (response *DescribeMountTargetsResponse, err error)
DescribeMountTargets This API is used to query the mount targets of a file system.
error code that may be returned:
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 ¶
func (c *Client) DescribeMountTargetsWithContext(ctx context.Context, request *DescribeMountTargetsRequest) (response *DescribeMountTargetsResponse, err error)
DescribeMountTargets This API is used to query the mount targets of a file system.
error code that may be returned:
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 ¶
func (c *Client) DescribeSnapshotOperationLogs(request *DescribeSnapshotOperationLogsRequest) (response *DescribeSnapshotOperationLogsResponse, err error)
DescribeSnapshotOperationLogs This API is used to query the operation logs of a snapshot.
error code that may be returned:
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 ¶
func (c *Client) DescribeSnapshotOperationLogsWithContext(ctx context.Context, request *DescribeSnapshotOperationLogsRequest) (response *DescribeSnapshotOperationLogsResponse, err error)
DescribeSnapshotOperationLogs This API is used to query the operation logs of a snapshot.
error code that may be returned:
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) ModifyFileSystemAutoScaleUpRule ¶
func (c *Client) ModifyFileSystemAutoScaleUpRule(request *ModifyFileSystemAutoScaleUpRuleRequest) (response *ModifyFileSystemAutoScaleUpRuleResponse, err error)
ModifyFileSystemAutoScaleUpRule This API is used to modify the scaling policy of a file system.
error code that may be returned:
AUTHFAILURE_GETROLEFAILED = "AuthFailure.GetRoleFailed" INVALIDPARAMETERVALUE_INVALIDAUTOSCALEUPPARAMS = "InvalidParameterValue.InvalidAutoScaleUpParams" INVALIDPARAMETERVALUE_INVALIDFSSTATUS = "InvalidParameterValue.InvalidFsStatus" RESOURCENOTFOUND_FSNOTEXIST = "ResourceNotFound.FsNotExist" RESOURCENOTFOUND_RESOURCEPACKAGENOTFOUND = "ResourceNotFound.ResourcePackageNotFound"
func (*Client) ModifyFileSystemAutoScaleUpRuleWithContext ¶
func (c *Client) ModifyFileSystemAutoScaleUpRuleWithContext(ctx context.Context, request *ModifyFileSystemAutoScaleUpRuleRequest) (response *ModifyFileSystemAutoScaleUpRuleResponse, err error)
ModifyFileSystemAutoScaleUpRule This API is used to modify the scaling policy of a file system.
error code that may be returned:
AUTHFAILURE_GETROLEFAILED = "AuthFailure.GetRoleFailed" INVALIDPARAMETERVALUE_INVALIDAUTOSCALEUPPARAMS = "InvalidParameterValue.InvalidAutoScaleUpParams" INVALIDPARAMETERVALUE_INVALIDFSSTATUS = "InvalidParameterValue.InvalidFsStatus" RESOURCENOTFOUND_FSNOTEXIST = "ResourceNotFound.FsNotExist" RESOURCENOTFOUND_RESOURCEPACKAGENOTFOUND = "ResourceNotFound.ResourcePackageNotFound"
func (*Client) ScaleUpFileSystem ¶
func (c *Client) ScaleUpFileSystem(request *ScaleUpFileSystemRequest) (response *ScaleUpFileSystemResponse, err error)
ScaleUpFileSystem This API is used to scale up a Turbo file system.
error code that may be returned:
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 ¶
func (c *Client) ScaleUpFileSystemWithContext(ctx context.Context, request *ScaleUpFileSystemRequest) (response *ScaleUpFileSystemResponse, err error)
ScaleUpFileSystem This API is used to scale up a Turbo file system.
error code that may be returned:
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) SignUpCfsService ¶
func (c *Client) SignUpCfsService(request *SignUpCfsServiceRequest) (response *SignUpCfsServiceResponse, err error)
SignUpCfsService This API is used to activate the CFS service.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) SignUpCfsServiceWithContext ¶
func (c *Client) SignUpCfsServiceWithContext(ctx context.Context, request *SignUpCfsServiceRequest) (response *SignUpCfsServiceResponse, err error)
SignUpCfsService This API is used to activate the CFS service.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) StopMigrationTask ¶
func (c *Client) StopMigrationTask(request *StopMigrationTaskRequest) (response *StopMigrationTaskResponse, err error)
StopMigrationTask This API is used to stop a migration task.
To use this API, submit a ticket for us to add you to the allowlist.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) StopMigrationTaskWithContext ¶
func (c *Client) StopMigrationTaskWithContext(ctx context.Context, request *StopMigrationTaskRequest) (response *StopMigrationTaskResponse, err error)
StopMigrationTask This API is used to stop a migration task.
To use this API, submit a ticket for us to add you to the allowlist.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService" UNSUPPORTEDOPERATION_UNVERIFIEDUSER = "UnsupportedOperation.UnverifiedUser"
func (*Client) UnbindAutoSnapshotPolicy ¶
func (c *Client) UnbindAutoSnapshotPolicy(request *UnbindAutoSnapshotPolicyRequest) (response *UnbindAutoSnapshotPolicyResponse, err error)
UnbindAutoSnapshotPolicy This API is used to unbind a snapshot policy from a file system.
error code that may be returned:
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 ¶
func (c *Client) UnbindAutoSnapshotPolicyWithContext(ctx context.Context, request *UnbindAutoSnapshotPolicyRequest) (response *UnbindAutoSnapshotPolicyResponse, err error)
UnbindAutoSnapshotPolicy This API is used to unbind a snapshot policy from a file system.
error code that may be returned:
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 ¶
func (c *Client) UpdateAutoSnapshotPolicy(request *UpdateAutoSnapshotPolicyRequest) (response *UpdateAutoSnapshotPolicyResponse, err error)
UpdateAutoSnapshotPolicy This API is used to update a scheduled snapshot policy.
error code that may be returned:
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 ¶
func (c *Client) UpdateAutoSnapshotPolicyWithContext(ctx context.Context, request *UpdateAutoSnapshotPolicyRequest) (response *UpdateAutoSnapshotPolicyResponse, err error)
UpdateAutoSnapshotPolicy This API is used to update a scheduled snapshot policy.
error code that may be returned:
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 This API is used to update a file system name.
error code that may be returned:
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 ¶
func (c *Client) UpdateCfsFileSystemNameWithContext(ctx context.Context, request *UpdateCfsFileSystemNameRequest) (response *UpdateCfsFileSystemNameResponse, err error)
UpdateCfsFileSystemName This API is used to update a file system name.
error code that may be returned:
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 This API is used to update the permission group used by a file system.
error code that may be returned:
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 ¶
func (c *Client) UpdateCfsFileSystemPGroupWithContext(ctx context.Context, request *UpdateCfsFileSystemPGroupRequest) (response *UpdateCfsFileSystemPGroupResponse, err error)
UpdateCfsFileSystemPGroup This API is used to update the permission group used by a file system.
error code that may be returned:
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 This API is used to update the capacity limit of a file system.
error code that may be returned:
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 ¶
func (c *Client) UpdateCfsFileSystemSizeLimitWithContext(ctx context.Context, request *UpdateCfsFileSystemSizeLimitRequest) (response *UpdateCfsFileSystemSizeLimitResponse, err error)
UpdateCfsFileSystemSizeLimit This API is used to update the capacity limit of a file system.
error code that may be returned:
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 This API is used to update the information of a permission group.
error code that may be returned:
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 ¶
func (c *Client) UpdateCfsPGroupWithContext(ctx context.Context, request *UpdateCfsPGroupRequest) (response *UpdateCfsPGroupResponse, err error)
UpdateCfsPGroup This API is used to update the information of a permission group.
error code that may be returned:
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 This API is used to update a permission rule.
error code that may be returned:
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 ¶
func (c *Client) UpdateCfsRuleWithContext(ctx context.Context, request *UpdateCfsRuleRequest) (response *UpdateCfsRuleResponse, err error)
UpdateCfsRule This API is used to update a permission rule.
error code that may be returned:
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 ¶
func (c *Client) UpdateCfsSnapshotAttribute(request *UpdateCfsSnapshotAttributeRequest) (response *UpdateCfsSnapshotAttributeResponse, err error)
UpdateCfsSnapshotAttribute This API is used to update the name and retention period of a file system snapshot.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDSNAPSHOTNAME = "InvalidParameter.InvalidSnapshotName" INVALIDPARAMETER_SNAPSHOTNAMELIMITEXCEEDED = "InvalidParameter.SnapshotNameLimitExceeded" INVALIDPARAMETERVALUE_INVALIDSNAPSHOTSTATUS = "InvalidParameterValue.InvalidSnapshotStatus" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService"
func (*Client) UpdateCfsSnapshotAttributeWithContext ¶
func (c *Client) UpdateCfsSnapshotAttributeWithContext(ctx context.Context, request *UpdateCfsSnapshotAttributeRequest) (response *UpdateCfsSnapshotAttributeResponse, err error)
UpdateCfsSnapshotAttribute This API is used to update the name and retention period of a file system snapshot.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_GETACCOUNTSTATUSFAILED = "InternalError.GetAccountStatusFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDSNAPSHOTNAME = "InvalidParameter.InvalidSnapshotName" INVALIDPARAMETER_SNAPSHOTNAMELIMITEXCEEDED = "InvalidParameter.SnapshotNameLimitExceeded" INVALIDPARAMETERVALUE_INVALIDSNAPSHOTSTATUS = "InvalidParameterValue.InvalidSnapshotStatus" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound" UNSUPPORTEDOPERATION_OUTOFSERVICE = "UnsupportedOperation.OutOfService"
type CreateAutoSnapshotPolicyRequest ¶
type CreateAutoSnapshotPolicyRequest struct { *tchttp.BaseRequest // The time point when to repeat the snapshot operation Hour *string `json:"Hour,omitnil,omitempty" name:"Hour"` // Policy name PolicyName *string `json:"PolicyName,omitnil,omitempty" name:"PolicyName"` // The day of the week on which to repeat the snapshot operation DayOfWeek *string `json:"DayOfWeek,omitnil,omitempty" name:"DayOfWeek"` // Snapshot retention period AliveDays *uint64 `json:"AliveDays,omitnil,omitempty" name:"AliveDays"` // The specific day (day 1 to day 31) of the month on which to automatically create a snapshot. DayOfMonth *string `json:"DayOfMonth,omitnil,omitempty" name:"DayOfMonth"` // The snapshot interval, in days. IntervalDays *uint64 `json:"IntervalDays,omitnil,omitempty" name:"IntervalDays"` }
func NewCreateAutoSnapshotPolicyRequest ¶
func NewCreateAutoSnapshotPolicyRequest() (request *CreateAutoSnapshotPolicyRequest)
func (*CreateAutoSnapshotPolicyRequest) FromJsonString ¶
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 ¶
func (r *CreateAutoSnapshotPolicyRequest) ToJsonString() string
type CreateAutoSnapshotPolicyRequestParams ¶
type CreateAutoSnapshotPolicyRequestParams struct { // The time point when to repeat the snapshot operation Hour *string `json:"Hour,omitnil,omitempty" name:"Hour"` // Policy name PolicyName *string `json:"PolicyName,omitnil,omitempty" name:"PolicyName"` // The day of the week on which to repeat the snapshot operation DayOfWeek *string `json:"DayOfWeek,omitnil,omitempty" name:"DayOfWeek"` // Snapshot retention period AliveDays *uint64 `json:"AliveDays,omitnil,omitempty" name:"AliveDays"` // The specific day (day 1 to day 31) of the month on which to automatically create a snapshot. DayOfMonth *string `json:"DayOfMonth,omitnil,omitempty" name:"DayOfMonth"` // The snapshot interval, in days. IntervalDays *uint64 `json:"IntervalDays,omitnil,omitempty" name:"IntervalDays"` }
Predefined struct for user
type CreateAutoSnapshotPolicyResponse ¶
type CreateAutoSnapshotPolicyResponse struct { *tchttp.BaseResponse Response *CreateAutoSnapshotPolicyResponseParams `json:"Response"` }
func NewCreateAutoSnapshotPolicyResponse ¶
func NewCreateAutoSnapshotPolicyResponse() (response *CreateAutoSnapshotPolicyResponse)
func (*CreateAutoSnapshotPolicyResponse) FromJsonString ¶
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 ¶
func (r *CreateAutoSnapshotPolicyResponse) ToJsonString() string
type CreateAutoSnapshotPolicyResponseParams ¶
type CreateAutoSnapshotPolicyResponseParams struct { // Snapshot policy ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCfsFileSystemRequest ¶
type CreateCfsFileSystemRequest struct { *tchttp.BaseRequest // AZ name, such as "ap-beijing-1". For the list of regions and AZs, please see [Overview](https://intl.cloud.tencent.com/document/product/582/13225?from_cn_redirect=1) Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // Network type. Valid values: `VPC` and `CCN`. Select `VPC` for a Standard or High-Performance file system, and `CCN` for a Standard Turbo or High-Performance Turbo one. NetInterface *string `json:"NetInterface,omitnil,omitempty" name:"NetInterface"` // Permission group ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // File system protocol. Valid values: `NFS`, `CIFS`, `TURBO`. If this parameter is left empty, `NFS` is used by default. For the Turbo series, you must set this parameter to `TURBO`. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Storage type of the file system. Valid values: `SD` (Standard), `HP` (High-Performance), `TB` (Standard Turbo), and `TP` (High-Performance Turbo). Default value: `SD`. StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` // VPC ID. This field is required if network type is VPC. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Subnet ID. This field is required if network type is VPC. SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // IP address (this parameter supports only the VPC network type, and the Turbo series is not supported). If this parameter is left empty, a random IP in the subnet will be assigned. MountIP *string `json:"MountIP,omitnil,omitempty" name:"MountIP"` // Custom file system name FsName *string `json:"FsName,omitnil,omitempty" name:"FsName"` // File system tag ResourceTags []*TagInfo `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"` // A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idempotency of the request cannot be guaranteed. This string is valid for 2 hours. ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // CCN instance ID (required if the network type is CCN) CcnId *string `json:"CcnId,omitnil,omitempty" name:"CcnId"` // CCN IP range used by the CFS (required if the network type is CCN), which cannot conflict with other IP ranges bound in CCN CidrBlock *string `json:"CidrBlock,omitnil,omitempty" name:"CidrBlock"` // File system capacity, in GiB (required for the Turbo series). For Standard Turbo, the minimum purchase required is 40,960 GiB (40 TiB) and the expansion increment is 20,480 GiB (20 TiB). For High-Performance Turbo, the minimum purchase required is 20,480 GiB (20 TiB) and the expansion increment is 10,240 GiB (10 TiB). Capacity *uint64 `json:"Capacity,omitnil,omitempty" name:"Capacity"` }
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 ¶
type CreateCfsFileSystemRequestParams struct { // AZ name, such as "ap-beijing-1". For the list of regions and AZs, please see [Overview](https://intl.cloud.tencent.com/document/product/582/13225?from_cn_redirect=1) Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // Network type. Valid values: `VPC` and `CCN`. Select `VPC` for a Standard or High-Performance file system, and `CCN` for a Standard Turbo or High-Performance Turbo one. NetInterface *string `json:"NetInterface,omitnil,omitempty" name:"NetInterface"` // Permission group ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // File system protocol. Valid values: `NFS`, `CIFS`, `TURBO`. If this parameter is left empty, `NFS` is used by default. For the Turbo series, you must set this parameter to `TURBO`. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Storage type of the file system. Valid values: `SD` (Standard), `HP` (High-Performance), `TB` (Standard Turbo), and `TP` (High-Performance Turbo). Default value: `SD`. StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` // VPC ID. This field is required if network type is VPC. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Subnet ID. This field is required if network type is VPC. SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // IP address (this parameter supports only the VPC network type, and the Turbo series is not supported). If this parameter is left empty, a random IP in the subnet will be assigned. MountIP *string `json:"MountIP,omitnil,omitempty" name:"MountIP"` // Custom file system name FsName *string `json:"FsName,omitnil,omitempty" name:"FsName"` // File system tag ResourceTags []*TagInfo `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"` // A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idempotency of the request cannot be guaranteed. This string is valid for 2 hours. ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // CCN instance ID (required if the network type is CCN) CcnId *string `json:"CcnId,omitnil,omitempty" name:"CcnId"` // CCN IP range used by the CFS (required if the network type is CCN), which cannot conflict with other IP ranges bound in CCN CidrBlock *string `json:"CidrBlock,omitnil,omitempty" name:"CidrBlock"` // File system capacity, in GiB (required for the Turbo series). For Standard Turbo, the minimum purchase required is 40,960 GiB (40 TiB) and the expansion increment is 20,480 GiB (20 TiB). For High-Performance Turbo, the minimum purchase required is 20,480 GiB (20 TiB) and the expansion increment is 10,240 GiB (10 TiB). Capacity *uint64 `json:"Capacity,omitnil,omitempty" name:"Capacity"` }
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 ¶
type CreateCfsFileSystemResponseParams struct { // File system creation time CreationTime *string `json:"CreationTime,omitnil,omitempty" name:"CreationTime"` // Custom file system name CreationToken *string `json:"CreationToken,omitnil,omitempty" name:"CreationToken"` // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // File system status. Valid values: `creating`, `create_failed`, `available`, `unserviced`, `upgrading`, `deleting` LifeCycleState *string `json:"LifeCycleState,omitnil,omitempty" name:"LifeCycleState"` // Storage used by the file system, in bytes SizeByte *uint64 `json:"SizeByte,omitnil,omitempty" name:"SizeByte"` // AZ ID ZoneId *uint64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // Custom file system name FsName *string `json:"FsName,omitnil,omitempty" name:"FsName"` // Whether a file system is encrypted Encrypted *bool `json:"Encrypted,omitnil,omitempty" name:"Encrypted"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCfsPGroupRequest ¶
type CreateCfsPGroupRequest struct { *tchttp.BaseRequest // Permission group name, which can contain 1-64 Chinese characters, letters, numbers, underscores, or dashes Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Permission group description, which can contain 1-255 characters 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 ¶
type CreateCfsPGroupRequestParams struct { // Permission group name, which can contain 1-64 Chinese characters, letters, numbers, underscores, or dashes Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Permission group description, which can contain 1-255 characters 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 ¶
type CreateCfsPGroupResponseParams struct { // Permission group ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // Permission group name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Permission group description DescInfo *string `json:"DescInfo,omitnil,omitempty" name:"DescInfo"` // The number of file systems bound to this permission group BindCfsNum *int64 `json:"BindCfsNum,omitnil,omitempty" name:"BindCfsNum"` // Permission group creation time CDate *string `json:"CDate,omitnil,omitempty" name:"CDate"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCfsRuleRequest ¶
type CreateCfsRuleRequest struct { *tchttp.BaseRequest // Permission group ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // You can enter a single IP or IP range, such as 10.1.10.11 or 10.10.1.0/24. The default visiting address is `*`, indicating that all IPs are allowed. Please note that you need to enter the CVM instance's private IP here. AuthClientIp *string `json:"AuthClientIp,omitnil,omitempty" name:"AuthClientIp"` // Rule priority. Value range: 1-100. 1 represents the highest priority, while 100 the lowest Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"` // Read/write permission. Valid values: RO (read-only), RW (read & write). Default value: RO RWPermission *string `json:"RWPermission,omitnil,omitempty" name:"RWPermission"` // User permission. Valid values: all_squash, no_all_squash, root_squash, no_root_squash. Specifically, all_squash: any visiting user will be mapped to an anonymous user or user group; no_all_squash: a visiting user will be first matched with a local user, and if the match fails, it will be mapped to an anonymous user or user group; root_squash: a visiting root user will be mapped to an anonymous user or user group; no_root_squash: a visiting root user will be allowed to maintain root account permissions. Default value: root_squash. 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 ¶
type CreateCfsRuleRequestParams struct { // Permission group ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // You can enter a single IP or IP range, such as 10.1.10.11 or 10.10.1.0/24. The default visiting address is `*`, indicating that all IPs are allowed. Please note that you need to enter the CVM instance's private IP here. AuthClientIp *string `json:"AuthClientIp,omitnil,omitempty" name:"AuthClientIp"` // Rule priority. Value range: 1-100. 1 represents the highest priority, while 100 the lowest Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"` // Read/write permission. Valid values: RO (read-only), RW (read & write). Default value: RO RWPermission *string `json:"RWPermission,omitnil,omitempty" name:"RWPermission"` // User permission. Valid values: all_squash, no_all_squash, root_squash, no_root_squash. Specifically, all_squash: any visiting user will be mapped to an anonymous user or user group; no_all_squash: a visiting user will be first matched with a local user, and if the match fails, it will be mapped to an anonymous user or user group; root_squash: a visiting root user will be mapped to an anonymous user or user group; no_root_squash: a visiting root user will be allowed to maintain root account permissions. Default value: root_squash. 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 ¶
type CreateCfsRuleResponseParams struct { // Rule ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // Permission group ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // Client IP AuthClientIp *string `json:"AuthClientIp,omitnil,omitempty" name:"AuthClientIp"` // Read & write permissions RWPermission *string `json:"RWPermission,omitnil,omitempty" name:"RWPermission"` // User permission UserPermission *string `json:"UserPermission,omitnil,omitempty" name:"UserPermission"` // Priority Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCfsSnapshotRequest ¶
type CreateCfsSnapshotRequest struct { *tchttp.BaseRequest // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // Snapshot name SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"` // Snapshot tag ResourceTags []*TagInfo `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"` }
func NewCreateCfsSnapshotRequest ¶
func NewCreateCfsSnapshotRequest() (request *CreateCfsSnapshotRequest)
func (*CreateCfsSnapshotRequest) FromJsonString ¶
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 ¶
func (r *CreateCfsSnapshotRequest) ToJsonString() string
type CreateCfsSnapshotRequestParams ¶
type CreateCfsSnapshotRequestParams struct { // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // Snapshot name SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"` // Snapshot tag ResourceTags []*TagInfo `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"` }
Predefined struct for user
type CreateCfsSnapshotResponse ¶
type CreateCfsSnapshotResponse struct { *tchttp.BaseResponse Response *CreateCfsSnapshotResponseParams `json:"Response"` }
func NewCreateCfsSnapshotResponse ¶
func NewCreateCfsSnapshotResponse() (response *CreateCfsSnapshotResponse)
func (*CreateCfsSnapshotResponse) FromJsonString ¶
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 ¶
func (r *CreateCfsSnapshotResponse) ToJsonString() string
type CreateCfsSnapshotResponseParams ¶
type CreateCfsSnapshotResponseParams struct { // File system snapshot ID SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateMigrationTaskRequest ¶
type CreateMigrationTaskRequest struct { *tchttp.BaseRequest // Migration task name TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // Migration type. Valid values: `0` (bucket) and `1` (list). Default value: `0`. MigrationType *uint64 `json:"MigrationType,omitnil,omitempty" name:"MigrationType"` // Migration mode. Default value: `0` (full migration). MigrationMode *uint64 `json:"MigrationMode,omitnil,omitempty" name:"MigrationMode"` // SecretId of the data source account SrcSecretId *string `json:"SrcSecretId,omitnil,omitempty" name:"SrcSecretId"` // SecretKey of the data source account SrcSecretKey *string `json:"SrcSecretKey,omitnil,omitempty" name:"SrcSecretKey"` // File system instance ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // File system path FsPath *string `json:"FsPath,omitnil,omitempty" name:"FsPath"` // Overwrite policy for files with the same name. Valid values: `0` (retain the file with the latest modified time), `1` (overwrite); and `2` (not overwrite). Default value: `0`. CoverType *uint64 `json:"CoverType,omitnil,omitempty" name:"CoverType"` // Data source service provider. Valid values: `COS` (Tencent Cloud COS), `OSS` (Alibaba Cloud OSS), and `OBS` (Huawei Cloud OBS). SrcService *string `json:"SrcService,omitnil,omitempty" name:"SrcService"` // Data source bucket name. Specify at least one of the bucket name or address. BucketName *string `json:"BucketName,omitnil,omitempty" name:"BucketName"` // Data source bucket region BucketRegion *string `json:"BucketRegion,omitnil,omitempty" name:"BucketRegion"` // Data source bucket address. Specify at least one of the bucket name or address. BucketAddress *string `json:"BucketAddress,omitnil,omitempty" name:"BucketAddress"` // List address. This parameter is required if `MigrationType` is set to `1` (list). ListAddress *string `json:"ListAddress,omitnil,omitempty" name:"ListAddress"` // Target file system name FsName *string `json:"FsName,omitnil,omitempty" name:"FsName"` // Source bucket path, which defaults to `/` BucketPath *string `json:"BucketPath,omitnil,omitempty" name:"BucketPath"` }
func NewCreateMigrationTaskRequest ¶
func NewCreateMigrationTaskRequest() (request *CreateMigrationTaskRequest)
func (*CreateMigrationTaskRequest) FromJsonString ¶
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 ¶
func (r *CreateMigrationTaskRequest) ToJsonString() string
type CreateMigrationTaskRequestParams ¶
type CreateMigrationTaskRequestParams struct { // Migration task name TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // Migration type. Valid values: `0` (bucket) and `1` (list). Default value: `0`. MigrationType *uint64 `json:"MigrationType,omitnil,omitempty" name:"MigrationType"` // Migration mode. Default value: `0` (full migration). MigrationMode *uint64 `json:"MigrationMode,omitnil,omitempty" name:"MigrationMode"` // SecretId of the data source account SrcSecretId *string `json:"SrcSecretId,omitnil,omitempty" name:"SrcSecretId"` // SecretKey of the data source account SrcSecretKey *string `json:"SrcSecretKey,omitnil,omitempty" name:"SrcSecretKey"` // File system instance ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // File system path FsPath *string `json:"FsPath,omitnil,omitempty" name:"FsPath"` // Overwrite policy for files with the same name. Valid values: `0` (retain the file with the latest modified time), `1` (overwrite); and `2` (not overwrite). Default value: `0`. CoverType *uint64 `json:"CoverType,omitnil,omitempty" name:"CoverType"` // Data source service provider. Valid values: `COS` (Tencent Cloud COS), `OSS` (Alibaba Cloud OSS), and `OBS` (Huawei Cloud OBS). SrcService *string `json:"SrcService,omitnil,omitempty" name:"SrcService"` // Data source bucket name. Specify at least one of the bucket name or address. BucketName *string `json:"BucketName,omitnil,omitempty" name:"BucketName"` // Data source bucket region BucketRegion *string `json:"BucketRegion,omitnil,omitempty" name:"BucketRegion"` // Data source bucket address. Specify at least one of the bucket name or address. BucketAddress *string `json:"BucketAddress,omitnil,omitempty" name:"BucketAddress"` // List address. This parameter is required if `MigrationType` is set to `1` (list). ListAddress *string `json:"ListAddress,omitnil,omitempty" name:"ListAddress"` // Target file system name FsName *string `json:"FsName,omitnil,omitempty" name:"FsName"` // Source bucket path, which defaults to `/` BucketPath *string `json:"BucketPath,omitnil,omitempty" name:"BucketPath"` }
Predefined struct for user
type CreateMigrationTaskResponse ¶
type CreateMigrationTaskResponse struct { *tchttp.BaseResponse Response *CreateMigrationTaskResponseParams `json:"Response"` }
func NewCreateMigrationTaskResponse ¶
func NewCreateMigrationTaskResponse() (response *CreateMigrationTaskResponse)
func (*CreateMigrationTaskResponse) FromJsonString ¶
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 ¶
func (r *CreateMigrationTaskResponse) ToJsonString() string
type CreateMigrationTaskResponseParams ¶
type CreateMigrationTaskResponseParams struct { // Migration task ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteAutoSnapshotPolicyRequest ¶
type DeleteAutoSnapshotPolicyRequest struct { *tchttp.BaseRequest // Snapshot policy ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` }
func NewDeleteAutoSnapshotPolicyRequest ¶
func NewDeleteAutoSnapshotPolicyRequest() (request *DeleteAutoSnapshotPolicyRequest)
func (*DeleteAutoSnapshotPolicyRequest) FromJsonString ¶
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 ¶
func (r *DeleteAutoSnapshotPolicyRequest) ToJsonString() string
type DeleteAutoSnapshotPolicyRequestParams ¶
type DeleteAutoSnapshotPolicyRequestParams struct { // Snapshot policy ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` }
Predefined struct for user
type DeleteAutoSnapshotPolicyResponse ¶
type DeleteAutoSnapshotPolicyResponse struct { *tchttp.BaseResponse Response *DeleteAutoSnapshotPolicyResponseParams `json:"Response"` }
func NewDeleteAutoSnapshotPolicyResponse ¶
func NewDeleteAutoSnapshotPolicyResponse() (response *DeleteAutoSnapshotPolicyResponse)
func (*DeleteAutoSnapshotPolicyResponse) FromJsonString ¶
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 ¶
func (r *DeleteAutoSnapshotPolicyResponse) ToJsonString() string
type DeleteAutoSnapshotPolicyResponseParams ¶
type DeleteAutoSnapshotPolicyResponseParams struct { // Snapshot policy ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteCfsFileSystemRequest ¶
type DeleteCfsFileSystemRequest struct { *tchttp.BaseRequest // File system ID. Note: please call the `DeleteMountTarget` API to delete the mount target first before deleting a file system; otherwise, the delete operation will fail. 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 ¶
type DeleteCfsFileSystemRequestParams struct { // File system ID. Note: please call the `DeleteMountTarget` API to delete the mount target first before deleting a file system; otherwise, the delete operation will fail. 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 ¶
type DeleteCfsFileSystemResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteCfsPGroupRequest ¶
type DeleteCfsPGroupRequest struct { *tchttp.BaseRequest // Permission group ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` }
func NewDeleteCfsPGroupRequest ¶
func NewDeleteCfsPGroupRequest() (request *DeleteCfsPGroupRequest)
func (*DeleteCfsPGroupRequest) FromJsonString ¶
func (r *DeleteCfsPGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCfsPGroupRequest) ToJsonString ¶
func (r *DeleteCfsPGroupRequest) ToJsonString() string
type DeleteCfsPGroupRequestParams ¶
type DeleteCfsPGroupRequestParams struct { // Permission group ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` }
Predefined struct for user
type DeleteCfsPGroupResponse ¶
type DeleteCfsPGroupResponse struct { *tchttp.BaseResponse Response *DeleteCfsPGroupResponseParams `json:"Response"` }
func NewDeleteCfsPGroupResponse ¶
func NewDeleteCfsPGroupResponse() (response *DeleteCfsPGroupResponse)
func (*DeleteCfsPGroupResponse) FromJsonString ¶
func (r *DeleteCfsPGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCfsPGroupResponse) ToJsonString ¶
func (r *DeleteCfsPGroupResponse) ToJsonString() string
type DeleteCfsPGroupResponseParams ¶
type DeleteCfsPGroupResponseParams struct { // Permission group ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // User ID AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteCfsRuleRequest ¶
type DeleteCfsRuleRequest struct { *tchttp.BaseRequest // Permission group ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // Rule ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` }
func NewDeleteCfsRuleRequest ¶
func NewDeleteCfsRuleRequest() (request *DeleteCfsRuleRequest)
func (*DeleteCfsRuleRequest) FromJsonString ¶
func (r *DeleteCfsRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCfsRuleRequest) ToJsonString ¶
func (r *DeleteCfsRuleRequest) ToJsonString() string
type DeleteCfsRuleRequestParams ¶
type DeleteCfsRuleRequestParams struct { // Permission group ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // Rule ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` }
Predefined struct for user
type DeleteCfsRuleResponse ¶
type DeleteCfsRuleResponse struct { *tchttp.BaseResponse Response *DeleteCfsRuleResponseParams `json:"Response"` }
func NewDeleteCfsRuleResponse ¶
func NewDeleteCfsRuleResponse() (response *DeleteCfsRuleResponse)
func (*DeleteCfsRuleResponse) FromJsonString ¶
func (r *DeleteCfsRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCfsRuleResponse) ToJsonString ¶
func (r *DeleteCfsRuleResponse) ToJsonString() string
type DeleteCfsRuleResponseParams ¶
type DeleteCfsRuleResponseParams struct { // Rule ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // Permission group ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteCfsSnapshotRequest ¶
type DeleteCfsSnapshotRequest struct { *tchttp.BaseRequest // File system snapshot ID SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // The list of the IDs of the file system snapshots to be deleted. At least one of `SnapshotId` and `SnapshotIds` must be specified. SnapshotIds []*string `json:"SnapshotIds,omitnil,omitempty" name:"SnapshotIds"` }
func NewDeleteCfsSnapshotRequest ¶
func NewDeleteCfsSnapshotRequest() (request *DeleteCfsSnapshotRequest)
func (*DeleteCfsSnapshotRequest) FromJsonString ¶
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 ¶
func (r *DeleteCfsSnapshotRequest) ToJsonString() string
type DeleteCfsSnapshotRequestParams ¶
type DeleteCfsSnapshotRequestParams struct { // File system snapshot ID SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // The list of the IDs of the file system snapshots to be deleted. At least one of `SnapshotId` and `SnapshotIds` must be specified. SnapshotIds []*string `json:"SnapshotIds,omitnil,omitempty" name:"SnapshotIds"` }
Predefined struct for user
type DeleteCfsSnapshotResponse ¶
type DeleteCfsSnapshotResponse struct { *tchttp.BaseResponse Response *DeleteCfsSnapshotResponseParams `json:"Response"` }
func NewDeleteCfsSnapshotResponse ¶
func NewDeleteCfsSnapshotResponse() (response *DeleteCfsSnapshotResponse)
func (*DeleteCfsSnapshotResponse) FromJsonString ¶
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 ¶
func (r *DeleteCfsSnapshotResponse) ToJsonString() string
type DeleteCfsSnapshotResponseParams ¶
type DeleteCfsSnapshotResponseParams struct { // File system ID SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteMigrationTaskRequest ¶
type DeleteMigrationTaskRequest struct { *tchttp.BaseRequest // Migration task ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
func NewDeleteMigrationTaskRequest ¶
func NewDeleteMigrationTaskRequest() (request *DeleteMigrationTaskRequest)
func (*DeleteMigrationTaskRequest) FromJsonString ¶
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 ¶
func (r *DeleteMigrationTaskRequest) ToJsonString() string
type DeleteMigrationTaskRequestParams ¶
type DeleteMigrationTaskRequestParams struct { // Migration task ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
Predefined struct for user
type DeleteMigrationTaskResponse ¶
type DeleteMigrationTaskResponse struct { *tchttp.BaseResponse Response *DeleteMigrationTaskResponseParams `json:"Response"` }
func NewDeleteMigrationTaskResponse ¶
func NewDeleteMigrationTaskResponse() (response *DeleteMigrationTaskResponse)
func (*DeleteMigrationTaskResponse) FromJsonString ¶
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 ¶
func (r *DeleteMigrationTaskResponse) ToJsonString() string
type DeleteMigrationTaskResponseParams ¶
type DeleteMigrationTaskResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteMountTargetRequest ¶
type DeleteMountTargetRequest struct { *tchttp.BaseRequest // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // Mount target ID MountTargetId *string `json:"MountTargetId,omitnil,omitempty" name:"MountTargetId"` }
func NewDeleteMountTargetRequest ¶
func NewDeleteMountTargetRequest() (request *DeleteMountTargetRequest)
func (*DeleteMountTargetRequest) FromJsonString ¶
func (r *DeleteMountTargetRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteMountTargetRequest) ToJsonString ¶
func (r *DeleteMountTargetRequest) ToJsonString() string
type DeleteMountTargetRequestParams ¶
type DeleteMountTargetRequestParams struct { // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // Mount target ID MountTargetId *string `json:"MountTargetId,omitnil,omitempty" name:"MountTargetId"` }
Predefined struct for user
type DeleteMountTargetResponse ¶
type DeleteMountTargetResponse struct { *tchttp.BaseResponse Response *DeleteMountTargetResponseParams `json:"Response"` }
func NewDeleteMountTargetResponse ¶
func NewDeleteMountTargetResponse() (response *DeleteMountTargetResponse)
func (*DeleteMountTargetResponse) FromJsonString ¶
func (r *DeleteMountTargetResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteMountTargetResponse) ToJsonString ¶
func (r *DeleteMountTargetResponse) ToJsonString() string
type DeleteMountTargetResponseParams ¶
type DeleteMountTargetResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAutoSnapshotPoliciesRequest ¶
type DescribeAutoSnapshotPoliciesRequest struct { *tchttp.BaseRequest // Snapshot policy ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // Page offset Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Page length Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Filters Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Ascending or descending order Order *string `json:"Order,omitnil,omitempty" name:"Order"` // Sorting field OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` }
func NewDescribeAutoSnapshotPoliciesRequest ¶
func NewDescribeAutoSnapshotPoliciesRequest() (request *DescribeAutoSnapshotPoliciesRequest)
func (*DescribeAutoSnapshotPoliciesRequest) FromJsonString ¶
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 ¶
func (r *DescribeAutoSnapshotPoliciesRequest) ToJsonString() string
type DescribeAutoSnapshotPoliciesRequestParams ¶
type DescribeAutoSnapshotPoliciesRequestParams struct { // Snapshot policy ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // Page offset Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Page length Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Filters Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Ascending or descending order Order *string `json:"Order,omitnil,omitempty" name:"Order"` // Sorting field OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` }
Predefined struct for user
type DescribeAutoSnapshotPoliciesResponse ¶
type DescribeAutoSnapshotPoliciesResponse struct { *tchttp.BaseResponse Response *DescribeAutoSnapshotPoliciesResponseParams `json:"Response"` }
func NewDescribeAutoSnapshotPoliciesResponse ¶
func NewDescribeAutoSnapshotPoliciesResponse() (response *DescribeAutoSnapshotPoliciesResponse)
func (*DescribeAutoSnapshotPoliciesResponse) FromJsonString ¶
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 ¶
func (r *DescribeAutoSnapshotPoliciesResponse) ToJsonString() string
type DescribeAutoSnapshotPoliciesResponseParams ¶
type DescribeAutoSnapshotPoliciesResponseParams struct { // Total number of snapshot policies TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Snapshot policy information AutoSnapshotPolicies []*AutoSnapshotPolicyInfo `json:"AutoSnapshotPolicies,omitnil,omitempty" name:"AutoSnapshotPolicies"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. 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 ¶
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 ¶
type DescribeAvailableZoneInfoResponseParams struct { // Information such as resource availability in each AZ and the supported storage classes and protocols RegionZones []*AvailableRegion `json:"RegionZones,omitnil,omitempty" name:"RegionZones"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBucketListRequest ¶
type DescribeBucketListRequest struct { *tchttp.BaseRequest // Data source service provider. Valid values: `COS` (Tencent Cloud COS), `OSS` (Alibaba Cloud OSS), and `OBS` (Huawei Cloud OBS). SrcService *string `json:"SrcService,omitnil,omitempty" name:"SrcService"` // SecretId of the data source account SrcSecretId *string `json:"SrcSecretId,omitnil,omitempty" name:"SrcSecretId"` // SecretKey of the data source account SrcSecretKey *string `json:"SrcSecretKey,omitnil,omitempty" name:"SrcSecretKey"` }
func NewDescribeBucketListRequest ¶
func NewDescribeBucketListRequest() (request *DescribeBucketListRequest)
func (*DescribeBucketListRequest) FromJsonString ¶
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 ¶
func (r *DescribeBucketListRequest) ToJsonString() string
type DescribeBucketListRequestParams ¶
type DescribeBucketListRequestParams struct { // Data source service provider. Valid values: `COS` (Tencent Cloud COS), `OSS` (Alibaba Cloud OSS), and `OBS` (Huawei Cloud OBS). SrcService *string `json:"SrcService,omitnil,omitempty" name:"SrcService"` // SecretId of the data source account SrcSecretId *string `json:"SrcSecretId,omitnil,omitempty" name:"SrcSecretId"` // SecretKey of the data source account SrcSecretKey *string `json:"SrcSecretKey,omitnil,omitempty" name:"SrcSecretKey"` }
Predefined struct for user
type DescribeBucketListResponse ¶
type DescribeBucketListResponse struct { *tchttp.BaseResponse Response *DescribeBucketListResponseParams `json:"Response"` }
func NewDescribeBucketListResponse ¶
func NewDescribeBucketListResponse() (response *DescribeBucketListResponse)
func (*DescribeBucketListResponse) FromJsonString ¶
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 ¶
func (r *DescribeBucketListResponse) ToJsonString() string
type DescribeBucketListResponseParams ¶
type DescribeBucketListResponseParams struct { // Number of buckets TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Bucket list BucketList []*BucketInfo `json:"BucketList,omitnil,omitempty" name:"BucketList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCfsFileSystemClientsRequest ¶
type DescribeCfsFileSystemClientsRequest struct { *tchttp.BaseRequest // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` }
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 ¶
type DescribeCfsFileSystemClientsRequestParams struct { // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` }
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 ¶
type DescribeCfsFileSystemClientsResponseParams struct { // Client list ClientList []*FileSystemClient `json:"ClientList,omitnil,omitempty" name:"ClientList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCfsFileSystemsRequest ¶
type DescribeCfsFileSystemsRequest struct { *tchttp.BaseRequest // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // VPC ID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Subnet ID SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` 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 ¶
type DescribeCfsFileSystemsRequestParams struct { // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // VPC ID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Subnet ID SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` 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 ¶
type DescribeCfsFileSystemsResponseParams struct { // File system information FileSystems []*FileSystemInfo `json:"FileSystems,omitnil,omitempty" name:"FileSystems"` // Total number of file systems TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. 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 ¶
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 ¶
type DescribeCfsPGroupsResponseParams struct { // Permission group information list PGroupList []*PGroupInfo `json:"PGroupList,omitnil,omitempty" name:"PGroupList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCfsRulesRequest ¶
type DescribeCfsRulesRequest struct { *tchttp.BaseRequest // Permission group ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` }
func NewDescribeCfsRulesRequest ¶
func NewDescribeCfsRulesRequest() (request *DescribeCfsRulesRequest)
func (*DescribeCfsRulesRequest) FromJsonString ¶
func (r *DescribeCfsRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCfsRulesRequest) ToJsonString ¶
func (r *DescribeCfsRulesRequest) ToJsonString() string
type DescribeCfsRulesRequestParams ¶
type DescribeCfsRulesRequestParams struct { // Permission group ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` }
Predefined struct for user
type DescribeCfsRulesResponse ¶
type DescribeCfsRulesResponse struct { *tchttp.BaseResponse Response *DescribeCfsRulesResponseParams `json:"Response"` }
func NewDescribeCfsRulesResponse ¶
func NewDescribeCfsRulesResponse() (response *DescribeCfsRulesResponse)
func (*DescribeCfsRulesResponse) FromJsonString ¶
func (r *DescribeCfsRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCfsRulesResponse) ToJsonString ¶
func (r *DescribeCfsRulesResponse) ToJsonString() string
type DescribeCfsRulesResponseParams ¶
type DescribeCfsRulesResponseParams struct { // List of permission group rules RuleList []*PGroupRuleInfo `json:"RuleList,omitnil,omitempty" name:"RuleList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. 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 ¶
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 ¶
type DescribeCfsServiceStatusResponseParams struct { // Current status of the CFS service for this user. Valid values: none (not activated), creating (activating), created (activated) CfsServiceStatus *string `json:"CfsServiceStatus,omitnil,omitempty" name:"CfsServiceStatus"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCfsSnapshotOverviewRequest ¶
type DescribeCfsSnapshotOverviewRequest struct {
*tchttp.BaseRequest
}
func NewDescribeCfsSnapshotOverviewRequest ¶
func NewDescribeCfsSnapshotOverviewRequest() (request *DescribeCfsSnapshotOverviewRequest)
func (*DescribeCfsSnapshotOverviewRequest) FromJsonString ¶
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 ¶
func (r *DescribeCfsSnapshotOverviewRequest) ToJsonString() string
type DescribeCfsSnapshotOverviewRequestParams ¶
type DescribeCfsSnapshotOverviewRequestParams struct { }
Predefined struct for user
type DescribeCfsSnapshotOverviewResponse ¶
type DescribeCfsSnapshotOverviewResponse struct { *tchttp.BaseResponse Response *DescribeCfsSnapshotOverviewResponseParams `json:"Response"` }
func NewDescribeCfsSnapshotOverviewResponse ¶
func NewDescribeCfsSnapshotOverviewResponse() (response *DescribeCfsSnapshotOverviewResponse)
func (*DescribeCfsSnapshotOverviewResponse) FromJsonString ¶
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 ¶
func (r *DescribeCfsSnapshotOverviewResponse) ToJsonString() string
type DescribeCfsSnapshotOverviewResponseParams ¶
type DescribeCfsSnapshotOverviewResponseParams struct { // Statistics StatisticsList []*SnapshotStatistics `json:"StatisticsList,omitnil,omitempty" name:"StatisticsList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCfsSnapshotsRequest ¶
type DescribeCfsSnapshotsRequest struct { *tchttp.BaseRequest // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // Snapshot ID SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // The starting position of paging Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Page length Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Filters Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Order field OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // Sorting order (ascending or descending) Order *string `json:"Order,omitnil,omitempty" name:"Order"` }
func NewDescribeCfsSnapshotsRequest ¶
func NewDescribeCfsSnapshotsRequest() (request *DescribeCfsSnapshotsRequest)
func (*DescribeCfsSnapshotsRequest) FromJsonString ¶
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 ¶
func (r *DescribeCfsSnapshotsRequest) ToJsonString() string
type DescribeCfsSnapshotsRequestParams ¶
type DescribeCfsSnapshotsRequestParams struct { // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // Snapshot ID SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // The starting position of paging Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Page length Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Filters Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Order field OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // Sorting order (ascending or descending) Order *string `json:"Order,omitnil,omitempty" name:"Order"` }
Predefined struct for user
type DescribeCfsSnapshotsResponse ¶
type DescribeCfsSnapshotsResponse struct { *tchttp.BaseResponse Response *DescribeCfsSnapshotsResponseParams `json:"Response"` }
func NewDescribeCfsSnapshotsResponse ¶
func NewDescribeCfsSnapshotsResponse() (response *DescribeCfsSnapshotsResponse)
func (*DescribeCfsSnapshotsResponse) FromJsonString ¶
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 ¶
func (r *DescribeCfsSnapshotsResponse) ToJsonString() string
type DescribeCfsSnapshotsResponseParams ¶
type DescribeCfsSnapshotsResponseParams struct { // Total number TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Snapshot information description Snapshots []*SnapshotInfo `json:"Snapshots,omitnil,omitempty" name:"Snapshots"` // Total size of snapshots TotalSize *uint64 `json:"TotalSize,omitnil,omitempty" name:"TotalSize"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMigrationTasksRequest ¶
type DescribeMigrationTasksRequest struct { *tchttp.BaseRequest // The pagination offset. Default value: 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // <br><li> taskId // // Filter by **migration task ID** // Type: String // // Required: No // // <br><li> taskName // // Fuzzy filter by **migration task name** // Type: String // // Required: No // // Each request can have up to 10 `Filters` and 100 `Filter.Values`. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeMigrationTasksRequest ¶
func NewDescribeMigrationTasksRequest() (request *DescribeMigrationTasksRequest)
func (*DescribeMigrationTasksRequest) FromJsonString ¶
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 ¶
func (r *DescribeMigrationTasksRequest) ToJsonString() string
type DescribeMigrationTasksRequestParams ¶
type DescribeMigrationTasksRequestParams struct { // The pagination offset. Default value: 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // <br><li> taskId // // Filter by **migration task ID** // Type: String // // Required: No // // <br><li> taskName // // Fuzzy filter by **migration task name** // Type: String // // Required: No // // Each request can have up to 10 `Filters` and 100 `Filter.Values`. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeMigrationTasksResponse ¶
type DescribeMigrationTasksResponse struct { *tchttp.BaseResponse Response *DescribeMigrationTasksResponseParams `json:"Response"` }
func NewDescribeMigrationTasksResponse ¶
func NewDescribeMigrationTasksResponse() (response *DescribeMigrationTasksResponse)
func (*DescribeMigrationTasksResponse) FromJsonString ¶
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 ¶
func (r *DescribeMigrationTasksResponse) ToJsonString() string
type DescribeMigrationTasksResponseParams ¶
type DescribeMigrationTasksResponseParams struct { // Number of migration tasks TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Migration task details MigrationTasks []*MigrationTaskInfo `json:"MigrationTasks,omitnil,omitempty" name:"MigrationTasks"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMountTargetsRequest ¶
type DescribeMountTargetsRequest struct { *tchttp.BaseRequest // File system 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 ¶
type DescribeMountTargetsRequestParams struct { // File system 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 ¶
type DescribeMountTargetsResponseParams struct { // Mount target details MountTargets []*MountInfo `json:"MountTargets,omitnil,omitempty" name:"MountTargets"` // The number of mount targets NumberOfMountTargets *int64 `json:"NumberOfMountTargets,omitnil,omitempty" name:"NumberOfMountTargets"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSnapshotOperationLogsRequest ¶
type DescribeSnapshotOperationLogsRequest struct { *tchttp.BaseRequest // File system snapshot ID SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // Start time StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
func NewDescribeSnapshotOperationLogsRequest ¶
func NewDescribeSnapshotOperationLogsRequest() (request *DescribeSnapshotOperationLogsRequest)
func (*DescribeSnapshotOperationLogsRequest) FromJsonString ¶
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 ¶
func (r *DescribeSnapshotOperationLogsRequest) ToJsonString() string
type DescribeSnapshotOperationLogsRequestParams ¶
type DescribeSnapshotOperationLogsRequestParams struct { // File system snapshot ID SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // Start time StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
Predefined struct for user
type DescribeSnapshotOperationLogsResponse ¶
type DescribeSnapshotOperationLogsResponse struct { *tchttp.BaseResponse Response *DescribeSnapshotOperationLogsResponseParams `json:"Response"` }
func NewDescribeSnapshotOperationLogsResponse ¶
func NewDescribeSnapshotOperationLogsResponse() (response *DescribeSnapshotOperationLogsResponse)
func (*DescribeSnapshotOperationLogsResponse) FromJsonString ¶
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 ¶
func (r *DescribeSnapshotOperationLogsResponse) ToJsonString() string
type DescribeSnapshotOperationLogsResponseParams ¶
type DescribeSnapshotOperationLogsResponseParams struct { // Snapshot ID SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // Operation log SnapshotOperates []*SnapshotOperateLog `json:"SnapshotOperates,omitnil,omitempty" name:"SnapshotOperates"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type FileSystemByPolicy ¶
type FileSystemByPolicy struct { // File system name CreationToken *string `json:"CreationToken,omitnil,omitempty" name:"CreationToken"` // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // File system size SizeByte *uint64 `json:"SizeByte,omitnil,omitempty" name:"SizeByte"` // Storage class StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` // Total snapshot size TotalSnapshotSize *uint64 `json:"TotalSnapshotSize,omitnil,omitempty" name:"TotalSnapshotSize"` // File system creation time CreationTime *string `json:"CreationTime,omitnil,omitempty" name:"CreationTime"` // Region ID of the file system ZoneId *uint64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` }
type FileSystemClient ¶
type FileSystemClient struct { // IP address of the file system CfsVip *string `json:"CfsVip,omitnil,omitempty" name:"CfsVip"` // Client IP ClientIp *string `json:"ClientIp,omitnil,omitempty" name:"ClientIp"` // File system VPCID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Name of the availability zone, e.g. ap-beijing-1. For more information, see regions and availability zones in the Overview document Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // AZ name ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"` // Path in which the file system is mounted to the client MountDirectory *string `json:"MountDirectory,omitnil,omitempty" name:"MountDirectory"` }
type FileSystemInfo ¶
type FileSystemInfo struct { // Creation time CreationTime *string `json:"CreationTime,omitnil,omitempty" name:"CreationTime"` // Custom name CreationToken *string `json:"CreationToken,omitnil,omitempty" name:"CreationToken"` // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // File system status. Valid values: // - creating // - mounting // - create_failed // - available // - unserviced // - upgrading LifeCycleState *string `json:"LifeCycleState,omitnil,omitempty" name:"LifeCycleState"` // Used file system capacity SizeByte *uint64 `json:"SizeByte,omitnil,omitempty" name:"SizeByte"` // Maximum storage limit of a file system SizeLimit *uint64 `json:"SizeLimit,omitnil,omitempty" name:"SizeLimit"` // Region ID ZoneId *uint64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // Region name Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // File system protocol type Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // File system storage class StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` // Prepaid storage pack bound with the file system StorageResourcePkg *string `json:"StorageResourcePkg,omitnil,omitempty" name:"StorageResourcePkg"` // Prepaid bandwidth pack bound to a file system (not supported currently) BandwidthResourcePkg *string `json:"BandwidthResourcePkg,omitnil,omitempty" name:"BandwidthResourcePkg"` // Information of permission groups bound to a file system PGroup *PGroup `json:"PGroup,omitnil,omitempty" name:"PGroup"` // Custom name FsName *string `json:"FsName,omitnil,omitempty" name:"FsName"` // Whether a file system is encrypted Encrypted *bool `json:"Encrypted,omitnil,omitempty" name:"Encrypted"` // Key used for encryption, which can be the key ID or ARN KmsKeyId *string `json:"KmsKeyId,omitnil,omitempty" name:"KmsKeyId"` // Application ID AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // The upper limit on the file system’s throughput, which is determined based on its current usage, and bound resource packs for both storage and throughput BandwidthLimit *float64 `json:"BandwidthLimit,omitnil,omitempty" name:"BandwidthLimit"` AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` SnapStatus *string `json:"SnapStatus,omitnil,omitempty" name:"SnapStatus"` // Total capacity of the file system Capacity *uint64 `json:"Capacity,omitnil,omitempty" name:"Capacity"` // File system tag list Tags []*TagInfo `json:"Tags,omitnil,omitempty" name:"Tags"` // The lifecycle management status of a file system. TieringState *string `json:"TieringState,omitnil,omitempty" name:"TieringState"` // The details about tiered storage. // Note: This field may return null, indicating that no valid values can be obtained. TieringDetail *TieringDetailInfo `json:"TieringDetail,omitnil,omitempty" name:"TieringDetail"` AutoScaleUpRule *AutoScaleUpRule `json:"AutoScaleUpRule,omitnil,omitempty" name:"AutoScaleUpRule"` }
type MigrationTaskInfo ¶
type MigrationTaskInfo struct { // Migration task name TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // Migration task ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Migration type. Valid values: `0` (bucket) and `1` (list). Default value: `0`. MigrationType *uint64 `json:"MigrationType,omitnil,omitempty" name:"MigrationType"` // Migration mode. Default value: `0` (full migration). MigrationMode *uint64 `json:"MigrationMode,omitnil,omitempty" name:"MigrationMode"` // Data source bucket name // Note: This field may return null, indicating that no valid values can be obtained. BucketName *string `json:"BucketName,omitnil,omitempty" name:"BucketName"` // Data source bucket region // Note: This field may return null, indicating that no valid values can be obtained. BucketRegion *string `json:"BucketRegion,omitnil,omitempty" name:"BucketRegion"` // Data source bucket address // Note: This field may return null, indicating that no valid values can be obtained. BucketAddress *string `json:"BucketAddress,omitnil,omitempty" name:"BucketAddress"` // List address // Note: This field may return null, indicating that no valid values can be obtained. ListAddress *string `json:"ListAddress,omitnil,omitempty" name:"ListAddress"` // File system instance name // Note: This field may return null, indicating that no valid values can be obtained. FsName *string `json:"FsName,omitnil,omitempty" name:"FsName"` // File system instance ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // File system path FsPath *string `json:"FsPath,omitnil,omitempty" name:"FsPath"` // Overwrite policy for files with the same name. Valid values: `0` (retain the file with the latest modified time), `1` (overwrite); and `2` (not overwrite). Default value: `0`. CoverType *uint64 `json:"CoverType,omitnil,omitempty" name:"CoverType"` // Creation time CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // End time // Note: This field may return null, indicating that no valid values can be obtained. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Migration status. Valid values: `0` (completed), `1` (in progress), and `2` (stopped). Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // Number of files // Note: This field may return null, indicating that no valid values can be obtained. FileTotalCount *uint64 `json:"FileTotalCount,omitnil,omitempty" name:"FileTotalCount"` // Number of migrated files // Note: This field may return null, indicating that no valid values can be obtained. FileMigratedCount *uint64 `json:"FileMigratedCount,omitnil,omitempty" name:"FileMigratedCount"` // Number of files that failed to be migrated // Note: This field may return null, indicating that no valid values can be obtained. FileFailedCount *uint64 `json:"FileFailedCount,omitnil,omitempty" name:"FileFailedCount"` // File size, in bytes // Note: This field may return null, indicating that no valid values can be obtained. FileTotalSize *int64 `json:"FileTotalSize,omitnil,omitempty" name:"FileTotalSize"` // Size of migrated files, in bytes // Note: This field may return null, indicating that no valid values can be obtained. FileMigratedSize *int64 `json:"FileMigratedSize,omitnil,omitempty" name:"FileMigratedSize"` // Size of files that failed to be migrated, in bytes // Note: This field may return null, indicating that no valid values can be obtained. FileFailedSize *int64 `json:"FileFailedSize,omitnil,omitempty" name:"FileFailedSize"` // List of all files // Note: This field may return null, indicating that no valid values can be obtained. FileTotalList *string `json:"FileTotalList,omitnil,omitempty" name:"FileTotalList"` // List of migrated files // Note: This field may return null, indicating that no valid values can be obtained. FileCompletedList *string `json:"FileCompletedList,omitnil,omitempty" name:"FileCompletedList"` // List of files that failed to be migrated // Note: This field may return null, indicating that no valid values can be obtained. FileFailedList *string `json:"FileFailedList,omitnil,omitempty" name:"FileFailedList"` // Source bucket path // Note: This field may return null, indicating that no valid values can be obtained. BucketPath *string `json:"BucketPath,omitnil,omitempty" name:"BucketPath"` }
type ModifyFileSystemAutoScaleUpRuleRequest ¶
type ModifyFileSystemAutoScaleUpRuleRequest struct { *tchttp.BaseRequest // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // Threshold for triggering scaling. Value range: 10-90 ScaleUpThreshold *uint64 `json:"ScaleUpThreshold,omitnil,omitempty" name:"ScaleUpThreshold"` // Target threshold after scaling. Value range: 10-90. The value of this parameter must be smaller than that of `ScaleUpThreshold`. TargetThreshold *uint64 `json:"TargetThreshold,omitnil,omitempty" name:"TargetThreshold"` // Rule status. Valid values: `0` (disabled) and `1` (enabled). Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` }
func NewModifyFileSystemAutoScaleUpRuleRequest ¶
func NewModifyFileSystemAutoScaleUpRuleRequest() (request *ModifyFileSystemAutoScaleUpRuleRequest)
func (*ModifyFileSystemAutoScaleUpRuleRequest) FromJsonString ¶
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 ¶
func (r *ModifyFileSystemAutoScaleUpRuleRequest) ToJsonString() string
type ModifyFileSystemAutoScaleUpRuleRequestParams ¶
type ModifyFileSystemAutoScaleUpRuleRequestParams struct { // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // Threshold for triggering scaling. Value range: 10-90 ScaleUpThreshold *uint64 `json:"ScaleUpThreshold,omitnil,omitempty" name:"ScaleUpThreshold"` // Target threshold after scaling. Value range: 10-90. The value of this parameter must be smaller than that of `ScaleUpThreshold`. TargetThreshold *uint64 `json:"TargetThreshold,omitnil,omitempty" name:"TargetThreshold"` // Rule status. Valid values: `0` (disabled) and `1` (enabled). Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` }
Predefined struct for user
type ModifyFileSystemAutoScaleUpRuleResponse ¶
type ModifyFileSystemAutoScaleUpRuleResponse struct { *tchttp.BaseResponse Response *ModifyFileSystemAutoScaleUpRuleResponseParams `json:"Response"` }
func NewModifyFileSystemAutoScaleUpRuleResponse ¶
func NewModifyFileSystemAutoScaleUpRuleResponse() (response *ModifyFileSystemAutoScaleUpRuleResponse)
func (*ModifyFileSystemAutoScaleUpRuleResponse) FromJsonString ¶
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 ¶
func (r *ModifyFileSystemAutoScaleUpRuleResponse) ToJsonString() string
type ModifyFileSystemAutoScaleUpRuleResponseParams ¶
type ModifyFileSystemAutoScaleUpRuleResponseParams struct { // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // Rule status. Valid values: `0` (disabled) and `1` (enabled). Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // Threshold for triggering scaling. Value range: 10-90 ScaleUpThreshold *uint64 `json:"ScaleUpThreshold,omitnil,omitempty" name:"ScaleUpThreshold"` // Target threshold after scaling. Value range: 10-90 TargetThreshold *uint64 `json:"TargetThreshold,omitnil,omitempty" name:"TargetThreshold"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type MountInfo ¶
type MountInfo struct { // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // Mount target ID MountTargetId *string `json:"MountTargetId,omitnil,omitempty" name:"MountTargetId"` // Mount target IP IpAddress *string `json:"IpAddress,omitnil,omitempty" name:"IpAddress"` // Mount root-directory FSID *string `json:"FSID,omitnil,omitempty" name:"FSID"` // Mount target status LifeCycleState *string `json:"LifeCycleState,omitnil,omitempty" name:"LifeCycleState"` // Network type NetworkInterface *string `json:"NetworkInterface,omitnil,omitempty" name:"NetworkInterface"` // VPC ID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // VPC name VpcName *string `json:"VpcName,omitnil,omitempty" name:"VpcName"` // Subnet ID SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // Subnet name SubnetName *string `json:"SubnetName,omitnil,omitempty" name:"SubnetName"` // CCN instance ID used by CFS Turbo CcnID *string `json:"CcnID,omitnil,omitempty" name:"CcnID"` // CCN IP range used by CFS Turbo CidrBlock *string `json:"CidrBlock,omitnil,omitempty" name:"CidrBlock"` }
type PGroupInfo ¶
type PGroupInfo struct { // Permission group ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // Permission group name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Description DescInfo *string `json:"DescInfo,omitnil,omitempty" name:"DescInfo"` // Creation time CDate *string `json:"CDate,omitnil,omitempty" name:"CDate"` // The number of bound file system BindCfsNum *int64 `json:"BindCfsNum,omitnil,omitempty" name:"BindCfsNum"` }
type PGroupRuleInfo ¶
type PGroupRuleInfo struct { // Rule ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // Client IP allowed for access AuthClientIp *string `json:"AuthClientIp,omitnil,omitempty" name:"AuthClientIp"` // Read/write permission. ro: read-only; rw: read & write RWPermission *string `json:"RWPermission,omitnil,omitempty" name:"RWPermission"` // User permission. all_squash: any visiting user will be mapped to an anonymous user or user group; no_all_squash: a visiting user will be first matched with a local user, and if the match fails, it will be mapped to an anonymous user or user group; root_squash: a visiting root user will be mapped to an anonymous user or user group; no_root_squash: a visiting root user will be allowed to maintain root account permissions. UserPermission *string `json:"UserPermission,omitnil,omitempty" name:"UserPermission"` // Rule priority. Value range: 1-100. 1 represents the highest priority, while 100 the lowest Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"` }
type ScaleUpFileSystemRequest ¶
type ScaleUpFileSystemRequest struct { *tchttp.BaseRequest // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // Target capacity after scaling TargetCapacity *uint64 `json:"TargetCapacity,omitnil,omitempty" name:"TargetCapacity"` }
func NewScaleUpFileSystemRequest ¶
func NewScaleUpFileSystemRequest() (request *ScaleUpFileSystemRequest)
func (*ScaleUpFileSystemRequest) FromJsonString ¶
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 ¶
func (r *ScaleUpFileSystemRequest) ToJsonString() string
type ScaleUpFileSystemRequestParams ¶
type ScaleUpFileSystemRequestParams struct { // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // Target capacity after scaling TargetCapacity *uint64 `json:"TargetCapacity,omitnil,omitempty" name:"TargetCapacity"` }
Predefined struct for user
type ScaleUpFileSystemResponse ¶
type ScaleUpFileSystemResponse struct { *tchttp.BaseResponse Response *ScaleUpFileSystemResponseParams `json:"Response"` }
func NewScaleUpFileSystemResponse ¶
func NewScaleUpFileSystemResponse() (response *ScaleUpFileSystemResponse)
func (*ScaleUpFileSystemResponse) FromJsonString ¶
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 ¶
func (r *ScaleUpFileSystemResponse) ToJsonString() string
type ScaleUpFileSystemResponseParams ¶
type ScaleUpFileSystemResponseParams struct { // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // Target capacity after scaling TargetCapacity *uint64 `json:"TargetCapacity,omitnil,omitempty" name:"TargetCapacity"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. 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 ¶
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 ¶
type SignUpCfsServiceResponseParams struct { // Current status of the CFS service for this user. Valid values: `creating` (activating); `created` (activated) CfsServiceStatus *string `json:"CfsServiceStatus,omitnil,omitempty" name:"CfsServiceStatus"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SnapshotInfo ¶
type SnapshotInfo struct { // Snapshot creation time CreationTime *string `json:"CreationTime,omitnil,omitempty" name:"CreationTime"` // Snapshot name SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"` // Snapshot ID SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // Snapshot status Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Region name RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"` // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // Snapshot size Size *uint64 `json:"Size,omitnil,omitempty" name:"Size"` // Retention period in days AliveDay *uint64 `json:"AliveDay,omitnil,omitempty" name:"AliveDay"` // Snapshot progress Percent *uint64 `json:"Percent,omitnil,omitempty" name:"Percent"` // Account ID AppId *uint64 `json:"AppId,omitnil,omitempty" name:"AppId"` // Snapshot deletion time DeleteTime *string `json:"DeleteTime,omitnil,omitempty" name:"DeleteTime"` // File system name FsName *string `json:"FsName,omitnil,omitempty" name:"FsName"` // Snapshot tag Tags []*TagInfo `json:"Tags,omitnil,omitempty" name:"Tags"` // Snapshot type // Note: This field may return null, indicating that no valid values can be obtained. SnapshotType *string `json:"SnapshotType,omitnil,omitempty" name:"SnapshotType"` }
type SnapshotOperateLog ¶
type SnapshotOperateLog struct { // Operation type Action *string `json:"Action,omitnil,omitempty" name:"Action"` // Operation time ActionTime *string `json:"ActionTime,omitnil,omitempty" name:"ActionTime"` // Operation name ActionName *string `json:"ActionName,omitnil,omitempty" name:"ActionName"` // Operator Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` // Result Result *uint64 `json:"Result,omitnil,omitempty" name:"Result"` }
type SnapshotStatistics ¶
type SnapshotStatistics struct { // Region Region *string `json:"Region,omitnil,omitempty" name:"Region"` // Total number of snapshots SnapshotNumber *uint64 `json:"SnapshotNumber,omitnil,omitempty" name:"SnapshotNumber"` // Total snapshot size SnapshotSize *uint64 `json:"SnapshotSize,omitnil,omitempty" name:"SnapshotSize"` }
type StopMigrationTaskRequest ¶
type StopMigrationTaskRequest struct { *tchttp.BaseRequest // Migration task name TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
func NewStopMigrationTaskRequest ¶
func NewStopMigrationTaskRequest() (request *StopMigrationTaskRequest)
func (*StopMigrationTaskRequest) FromJsonString ¶
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 ¶
func (r *StopMigrationTaskRequest) ToJsonString() string
type StopMigrationTaskRequestParams ¶
type StopMigrationTaskRequestParams struct { // Migration task name TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
Predefined struct for user
type StopMigrationTaskResponse ¶
type StopMigrationTaskResponse struct { *tchttp.BaseResponse Response *StopMigrationTaskResponseParams `json:"Response"` }
func NewStopMigrationTaskResponse ¶
func NewStopMigrationTaskResponse() (response *StopMigrationTaskResponse)
func (*StopMigrationTaskResponse) FromJsonString ¶
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 ¶
func (r *StopMigrationTaskResponse) ToJsonString() string
type StopMigrationTaskResponseParams ¶
type StopMigrationTaskResponseParams struct { // Migration task ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Migration status. Valid values: `0` (completed), `1` (in progress), and `2` (stopped). Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type TieringDetailInfo ¶
type TieringDetailInfo struct { // STANDARD_IA storage usage // Note: This field may return null, indicating that no valid values can be obtained. TieringSizeInBytes *int64 `json:"TieringSizeInBytes,omitnil,omitempty" name:"TieringSizeInBytes"` }
type UnbindAutoSnapshotPolicyRequest ¶
type UnbindAutoSnapshotPolicyRequest struct { *tchttp.BaseRequest // List of IDs of the file systems to be unbound, separated by comma FileSystemIds *string `json:"FileSystemIds,omitnil,omitempty" name:"FileSystemIds"` // ID of the snapshot to be unbound AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` }
func NewUnbindAutoSnapshotPolicyRequest ¶
func NewUnbindAutoSnapshotPolicyRequest() (request *UnbindAutoSnapshotPolicyRequest)
func (*UnbindAutoSnapshotPolicyRequest) FromJsonString ¶
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 ¶
func (r *UnbindAutoSnapshotPolicyRequest) ToJsonString() string
type UnbindAutoSnapshotPolicyRequestParams ¶
type UnbindAutoSnapshotPolicyRequestParams struct { // List of IDs of the file systems to be unbound, separated by comma FileSystemIds *string `json:"FileSystemIds,omitnil,omitempty" name:"FileSystemIds"` // ID of the snapshot to be unbound AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` }
Predefined struct for user
type UnbindAutoSnapshotPolicyResponse ¶
type UnbindAutoSnapshotPolicyResponse struct { *tchttp.BaseResponse Response *UnbindAutoSnapshotPolicyResponseParams `json:"Response"` }
func NewUnbindAutoSnapshotPolicyResponse ¶
func NewUnbindAutoSnapshotPolicyResponse() (response *UnbindAutoSnapshotPolicyResponse)
func (*UnbindAutoSnapshotPolicyResponse) FromJsonString ¶
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 ¶
func (r *UnbindAutoSnapshotPolicyResponse) ToJsonString() string
type UnbindAutoSnapshotPolicyResponseParams ¶
type UnbindAutoSnapshotPolicyResponseParams struct { // Snapshot policy ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateAutoSnapshotPolicyRequest ¶
type UpdateAutoSnapshotPolicyRequest struct { *tchttp.BaseRequest // Snapshot policy ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // Snapshot policy name PolicyName *string `json:"PolicyName,omitnil,omitempty" name:"PolicyName"` // The day of the week on which to regularly back up the snapshot DayOfWeek *string `json:"DayOfWeek,omitnil,omitempty" name:"DayOfWeek"` // The hour of a day at which to regularly back up the snapshot Hour *string `json:"Hour,omitnil,omitempty" name:"Hour"` // Snapshot retention period AliveDays *uint64 `json:"AliveDays,omitnil,omitempty" name:"AliveDays"` // Whether to activate the scheduled snapshot feature IsActivated *uint64 `json:"IsActivated,omitnil,omitempty" name:"IsActivated"` // The specific day of the month on which to create a snapshot. This parameter is mutually exclusive with `DayOfWeek`. DayOfMonth *string `json:"DayOfMonth,omitnil,omitempty" name:"DayOfMonth"` // The snapshot interval. This parameter is mutually exclusive with `DayOfWeek` and `DayOfMonth`. IntervalDays *uint64 `json:"IntervalDays,omitnil,omitempty" name:"IntervalDays"` }
func NewUpdateAutoSnapshotPolicyRequest ¶
func NewUpdateAutoSnapshotPolicyRequest() (request *UpdateAutoSnapshotPolicyRequest)
func (*UpdateAutoSnapshotPolicyRequest) FromJsonString ¶
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 ¶
func (r *UpdateAutoSnapshotPolicyRequest) ToJsonString() string
type UpdateAutoSnapshotPolicyRequestParams ¶
type UpdateAutoSnapshotPolicyRequestParams struct { // Snapshot policy ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // Snapshot policy name PolicyName *string `json:"PolicyName,omitnil,omitempty" name:"PolicyName"` // The day of the week on which to regularly back up the snapshot DayOfWeek *string `json:"DayOfWeek,omitnil,omitempty" name:"DayOfWeek"` // The hour of a day at which to regularly back up the snapshot Hour *string `json:"Hour,omitnil,omitempty" name:"Hour"` // Snapshot retention period AliveDays *uint64 `json:"AliveDays,omitnil,omitempty" name:"AliveDays"` // Whether to activate the scheduled snapshot feature IsActivated *uint64 `json:"IsActivated,omitnil,omitempty" name:"IsActivated"` // The specific day of the month on which to create a snapshot. This parameter is mutually exclusive with `DayOfWeek`. DayOfMonth *string `json:"DayOfMonth,omitnil,omitempty" name:"DayOfMonth"` // The snapshot interval. This parameter is mutually exclusive with `DayOfWeek` and `DayOfMonth`. IntervalDays *uint64 `json:"IntervalDays,omitnil,omitempty" name:"IntervalDays"` }
Predefined struct for user
type UpdateAutoSnapshotPolicyResponse ¶
type UpdateAutoSnapshotPolicyResponse struct { *tchttp.BaseResponse Response *UpdateAutoSnapshotPolicyResponseParams `json:"Response"` }
func NewUpdateAutoSnapshotPolicyResponse ¶
func NewUpdateAutoSnapshotPolicyResponse() (response *UpdateAutoSnapshotPolicyResponse)
func (*UpdateAutoSnapshotPolicyResponse) FromJsonString ¶
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 ¶
func (r *UpdateAutoSnapshotPolicyResponse) ToJsonString() string
type UpdateAutoSnapshotPolicyResponseParams ¶
type UpdateAutoSnapshotPolicyResponseParams struct { // Snapshot policy ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitnil,omitempty" name:"AutoSnapshotPolicyId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateCfsFileSystemNameRequest ¶
type UpdateCfsFileSystemNameRequest struct { *tchttp.BaseRequest // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // Custom file system name 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 ¶
type UpdateCfsFileSystemNameRequestParams struct { // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // Custom file system name 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 ¶
type UpdateCfsFileSystemNameResponseParams struct { // Custom file system name CreationToken *string `json:"CreationToken,omitnil,omitempty" name:"CreationToken"` // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // Custom file system name FsName *string `json:"FsName,omitnil,omitempty" name:"FsName"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateCfsFileSystemPGroupRequest ¶
type UpdateCfsFileSystemPGroupRequest struct { *tchttp.BaseRequest // Permission group ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` }
func NewUpdateCfsFileSystemPGroupRequest ¶
func NewUpdateCfsFileSystemPGroupRequest() (request *UpdateCfsFileSystemPGroupRequest)
func (*UpdateCfsFileSystemPGroupRequest) FromJsonString ¶
func (r *UpdateCfsFileSystemPGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateCfsFileSystemPGroupRequest) ToJsonString ¶
func (r *UpdateCfsFileSystemPGroupRequest) ToJsonString() string
type UpdateCfsFileSystemPGroupRequestParams ¶
type UpdateCfsFileSystemPGroupRequestParams struct { // Permission group ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` }
Predefined struct for user
type UpdateCfsFileSystemPGroupResponse ¶
type UpdateCfsFileSystemPGroupResponse struct { *tchttp.BaseResponse Response *UpdateCfsFileSystemPGroupResponseParams `json:"Response"` }
func NewUpdateCfsFileSystemPGroupResponse ¶
func NewUpdateCfsFileSystemPGroupResponse() (response *UpdateCfsFileSystemPGroupResponse)
func (*UpdateCfsFileSystemPGroupResponse) FromJsonString ¶
func (r *UpdateCfsFileSystemPGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateCfsFileSystemPGroupResponse) ToJsonString ¶
func (r *UpdateCfsFileSystemPGroupResponse) ToJsonString() string
type UpdateCfsFileSystemPGroupResponseParams ¶
type UpdateCfsFileSystemPGroupResponseParams struct { // Permission group ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // File system ID FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateCfsFileSystemSizeLimitRequest ¶
type UpdateCfsFileSystemSizeLimitRequest struct { *tchttp.BaseRequest // File system capacity limit in GB. Value range: 0-1,073,741,824. If 0 is entered, no limit will be imposed on the file system capacity. FsLimit *uint64 `json:"FsLimit,omitnil,omitempty" name:"FsLimit"` // File system ID. Currently, only Standard file systems are supported. 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 ¶
type UpdateCfsFileSystemSizeLimitRequestParams struct { // File system capacity limit in GB. Value range: 0-1,073,741,824. If 0 is entered, no limit will be imposed on the file system capacity. FsLimit *uint64 `json:"FsLimit,omitnil,omitempty" name:"FsLimit"` // File system ID. Currently, only Standard file systems are supported. 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 ¶
type UpdateCfsFileSystemSizeLimitResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateCfsPGroupRequest ¶
type UpdateCfsPGroupRequest struct { *tchttp.BaseRequest // Permission group ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // Permission group name, which can contain 1-64 Chinese characters, letters, numbers, underscores, or dashes Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Permission group description, which can contain 1-255 characters 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 ¶
type UpdateCfsPGroupRequestParams struct { // Permission group ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // Permission group name, which can contain 1-64 Chinese characters, letters, numbers, underscores, or dashes Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Permission group description, which can contain 1-255 characters 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 ¶
type UpdateCfsPGroupResponseParams struct { // Permission group ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // Permission group name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Description DescInfo *string `json:"DescInfo,omitnil,omitempty" name:"DescInfo"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateCfsRuleRequest ¶
type UpdateCfsRuleRequest struct { *tchttp.BaseRequest // Permission group ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // Rule ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // You can enter a single IP or IP range, such as 10.1.10.11 or 10.10.1.0/24. The default visiting address is `*`, indicating that all IPs are allowed. Please note that you need to enter the CVM instance's private IP here. AuthClientIp *string `json:"AuthClientIp,omitnil,omitempty" name:"AuthClientIp"` // Read/write permission. Valid values: RO (read-only), RW (read & write). Default value: RO RWPermission *string `json:"RWPermission,omitnil,omitempty" name:"RWPermission"` // User permission. Valid values: all_squash, no_all_squash, root_squash, no_root_squash. Specifically, all_squash: any visiting user will be mapped to an anonymous user or user group; no_all_squash: a visiting user will be first matched with a local user, and if the match fails, it will be mapped to an anonymous user or user group; root_squash: a visiting root user will be mapped to an anonymous user or user group; no_root_squash: a visiting root user will be allowed to maintain root account permissions. Default value: root_squash. UserPermission *string `json:"UserPermission,omitnil,omitempty" name:"UserPermission"` // Rule priority. Value range: 1-100. 1 represents the highest priority, while 100 the lowest 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 ¶
type UpdateCfsRuleRequestParams struct { // Permission group ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // Rule ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // You can enter a single IP or IP range, such as 10.1.10.11 or 10.10.1.0/24. The default visiting address is `*`, indicating that all IPs are allowed. Please note that you need to enter the CVM instance's private IP here. AuthClientIp *string `json:"AuthClientIp,omitnil,omitempty" name:"AuthClientIp"` // Read/write permission. Valid values: RO (read-only), RW (read & write). Default value: RO RWPermission *string `json:"RWPermission,omitnil,omitempty" name:"RWPermission"` // User permission. Valid values: all_squash, no_all_squash, root_squash, no_root_squash. Specifically, all_squash: any visiting user will be mapped to an anonymous user or user group; no_all_squash: a visiting user will be first matched with a local user, and if the match fails, it will be mapped to an anonymous user or user group; root_squash: a visiting root user will be mapped to an anonymous user or user group; no_root_squash: a visiting root user will be allowed to maintain root account permissions. Default value: root_squash. UserPermission *string `json:"UserPermission,omitnil,omitempty" name:"UserPermission"` // Rule priority. Value range: 1-100. 1 represents the highest priority, while 100 the lowest 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 ¶
type UpdateCfsRuleResponseParams struct { // Permission group ID PGroupId *string `json:"PGroupId,omitnil,omitempty" name:"PGroupId"` // Rule ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // Client IP or IP range allowed for access AuthClientIp *string `json:"AuthClientIp,omitnil,omitempty" name:"AuthClientIp"` // Read & write permission RWPermission *string `json:"RWPermission,omitnil,omitempty" name:"RWPermission"` // User permission UserPermission *string `json:"UserPermission,omitnil,omitempty" name:"UserPermission"` // Priority Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateCfsSnapshotAttributeRequest ¶
type UpdateCfsSnapshotAttributeRequest struct { *tchttp.BaseRequest // File system snapshot ID SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // File system snapshot name SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"` // File system snapshot retention period in days AliveDays *uint64 `json:"AliveDays,omitnil,omitempty" name:"AliveDays"` }
func NewUpdateCfsSnapshotAttributeRequest ¶
func NewUpdateCfsSnapshotAttributeRequest() (request *UpdateCfsSnapshotAttributeRequest)
func (*UpdateCfsSnapshotAttributeRequest) FromJsonString ¶
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 ¶
func (r *UpdateCfsSnapshotAttributeRequest) ToJsonString() string
type UpdateCfsSnapshotAttributeRequestParams ¶
type UpdateCfsSnapshotAttributeRequestParams struct { // File system snapshot ID SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // File system snapshot name SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"` // File system snapshot retention period in days AliveDays *uint64 `json:"AliveDays,omitnil,omitempty" name:"AliveDays"` }
Predefined struct for user
type UpdateCfsSnapshotAttributeResponse ¶
type UpdateCfsSnapshotAttributeResponse struct { *tchttp.BaseResponse Response *UpdateCfsSnapshotAttributeResponseParams `json:"Response"` }
func NewUpdateCfsSnapshotAttributeResponse ¶
func NewUpdateCfsSnapshotAttributeResponse() (response *UpdateCfsSnapshotAttributeResponse)
func (*UpdateCfsSnapshotAttributeResponse) FromJsonString ¶
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 ¶
func (r *UpdateCfsSnapshotAttributeResponse) ToJsonString() string
type UpdateCfsSnapshotAttributeResponseParams ¶
type UpdateCfsSnapshotAttributeResponseParams struct { // File system snapshot ID SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user