Documentation ¶
Index ¶
- Constants
- type AutoSnapshotPolicyInfo
- type AvailableProtoStatus
- type AvailableRegion
- type AvailableType
- type AvailableZone
- type BindAutoSnapshotPolicyRequest
- type BindAutoSnapshotPolicyRequestParams
- type BindAutoSnapshotPolicyResponse
- type BindAutoSnapshotPolicyResponseParams
- 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) 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) 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) 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) 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) SignUpCfsService(request *SignUpCfsServiceRequest) (response *SignUpCfsServiceResponse, err error)
- func (c *Client) SignUpCfsServiceWithContext(ctx context.Context, request *SignUpCfsServiceRequest) (response *SignUpCfsServiceResponse, 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 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 DeleteMountTargetRequest
- type DeleteMountTargetRequestParams
- type DeleteMountTargetResponse
- type DeleteMountTargetResponseParams
- type DescribeAutoSnapshotPoliciesRequest
- type DescribeAutoSnapshotPoliciesRequestParams
- type DescribeAutoSnapshotPoliciesResponse
- type DescribeAutoSnapshotPoliciesResponseParams
- type DescribeAvailableZoneInfoRequest
- type DescribeAvailableZoneInfoRequestParams
- type DescribeAvailableZoneInfoResponse
- type DescribeAvailableZoneInfoResponseParams
- 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 DescribeMountTargetsRequest
- type DescribeMountTargetsRequestParams
- type DescribeMountTargetsResponse
- type DescribeMountTargetsResponseParams
- type DescribeSnapshotOperationLogsRequest
- type DescribeSnapshotOperationLogsRequestParams
- type DescribeSnapshotOperationLogsResponse
- type DescribeSnapshotOperationLogsResponseParams
- type FileSystemByPolicy
- type FileSystemClient
- type FileSystemInfo
- type Filter
- type MountInfo
- type PGroup
- type PGroupInfo
- type PGroupRuleInfo
- type SignUpCfsServiceRequest
- type SignUpCfsServiceRequestParams
- type SignUpCfsServiceResponse
- type SignUpCfsServiceResponseParams
- type SnapshotInfo
- type SnapshotOperateLog
- type SnapshotStatistics
- 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" // 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" // 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" // Incorrect rule IP. INVALIDPARAMETERVALUE_INVALIDAUTHCLIENTIP = "InvalidParameterValue.InvalidAuthClientIp" // The string used to ensure the idempotency of the request is incorrect. INVALIDPARAMETERVALUE_INVALIDCLIENTTOKEN = "InvalidParameterValue.InvalidClientToken" // 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" // 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" // 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" // 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" // 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" // 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 resource does not exist. RESOURCENOTFOUND = "ResourceNotFound" // The file system does not exist. RESOURCENOTFOUND_FILESYSTEMNOTFOUND = "ResourceNotFound.FileSystemNotFound" // The mount target does not exist. RESOURCENOTFOUND_MOUNTTARGETNOTFOUND = "ResourceNotFound.MountTargetNotFound" // The permission group does not exist. RESOURCENOTFOUND_PGROUPNOTFOUND = "ResourceNotFound.PgroupNotFound" // The permission rule does not exist. RESOURCENOTFOUND_RULENOTFOUND = "ResourceNotFound.RuleNotFound" // The snapshot ID does not exist. RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound" // Unsupported operation. UNSUPPORTEDOPERATION = "UnsupportedOperation" // This AZ does not support the basic network. UNSUPPORTEDOPERATION_BASICNETINTERFACENOTSUPPORTED = "UnsupportedOperation.BasicNetInterfaceNotSupported" // 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 AutoSnapshotPolicyInfo ¶
type AutoSnapshotPolicyInfo struct { // Snapshot policy ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitempty" name:"AutoSnapshotPolicyId"` // Snapshot policy name PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"` // Snapshot policy creation time CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"` // Number of bound file systems FileSystemNums *uint64 `json:"FileSystemNums,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,omitempty" name:"DayOfWeek"` // The hour of a day at which to regularly back up the snapshot Hour *string `json:"Hour,omitempty" name:"Hour"` // Whether to activate the scheduled snapshot feature IsActivated *uint64 `json:"IsActivated,omitempty" name:"IsActivated"` // Next time to trigger snapshot NextActiveTime *string `json:"NextActiveTime,omitempty" name:"NextActiveTime"` // Snapshot policy status Status *string `json:"Status,omitempty" name:"Status"` // Account ID AppId *uint64 `json:"AppId,omitempty" name:"AppId"` // Retention period AliveDays *uint64 `json:"AliveDays,omitempty" name:"AliveDays"` // Region RegionName *string `json:"RegionName,omitempty" name:"RegionName"` // File system information FileSystems []*FileSystemByPolicy `json:"FileSystems,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,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,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,omitempty" name:"SaleStatus"` // Protocol type. Valid values: NFS, CIFS Protocol *string `json:"Protocol,omitempty" name:"Protocol"` }
type AvailableRegion ¶
type AvailableRegion struct { // Region name, such as "ap-beijing" Region *string `json:"Region,omitempty" name:"Region"` // Region name, such as "bj" RegionName *string `json:"RegionName,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,omitempty" name:"RegionStatus"` // Array of AZs Zones []*AvailableZone `json:"Zones,omitempty" name:"Zones"` // Region name, such as "Guangzhou" RegionCnName *string `json:"RegionCnName,omitempty" name:"RegionCnName"` }
type AvailableType ¶
type AvailableType struct { // Protocol and sale details Protocols []*AvailableProtoStatus `json:"Protocols,omitempty" name:"Protocols"` // Storage class. Valid values: `SD` (standard storage) and `HP` (high-performance storage) Type *string `json:"Type,omitempty" name:"Type"` // Indicates whether prepaid is supported. `true`: yes; `false`: no Prepayment *bool `json:"Prepayment,omitempty" name:"Prepayment"` }
type AvailableZone ¶
type AvailableZone struct { // AZ name Zone *string `json:"Zone,omitempty" name:"Zone"` // AZ ID ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"` // Chinese name of an AZ ZoneCnName *string `json:"ZoneCnName,omitempty" name:"ZoneCnName"` // Array of classes Types []*AvailableType `json:"Types,omitempty" name:"Types"` // Chinese and English names of an AZ ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"` }
type BindAutoSnapshotPolicyRequest ¶
type BindAutoSnapshotPolicyRequest struct { *tchttp.BaseRequest // Snapshot policy ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitempty" name:"AutoSnapshotPolicyId"` // List of file systems FileSystemIds *string `json:"FileSystemIds,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,omitempty" name:"AutoSnapshotPolicyId"` // List of file systems FileSystemIds *string `json:"FileSystemIds,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,omitempty" name:"AutoSnapshotPolicyId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
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_INVALIDPARAMDAYOFMONTH = "InvalidParameterValue.InvalidParamDayOfMonth" INVALIDPARAMETERVALUE_INVALIDPARAMINTERVALDAYS = "InvalidParameterValue.InvalidParamIntervalDays" 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_INVALIDPARAMDAYOFMONTH = "InvalidParameterValue.InvalidParamDayOfMonth" INVALIDPARAMETERVALUE_INVALIDPARAMINTERVALDAYS = "InvalidParameterValue.InvalidParamIntervalDays" 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_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_TAGKEYLIMITEXCEEDED = "InvalidParameterValue.TagKeyLimitExceeded" 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" 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_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_TAGKEYLIMITEXCEEDED = "InvalidParameterValue.TagKeyLimitExceeded" 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" 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) 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) 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) 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) 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) 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) 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_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_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,omitempty" name:"Hour"` // Policy name PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"` // The day of the week on which to repeat the snapshot operation DayOfWeek *string `json:"DayOfWeek,omitempty" name:"DayOfWeek"` // Snapshot retention period AliveDays *uint64 `json:"AliveDays,omitempty" name:"AliveDays"` // The specific day (day 1 to day 31) of the month on which to create a snapshot. DayOfMonth *string `json:"DayOfMonth,omitempty" name:"DayOfMonth"` // The snapshot interval, in days. IntervalDays *uint64 `json:"IntervalDays,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,omitempty" name:"Hour"` // Policy name PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"` // The day of the week on which to repeat the snapshot operation DayOfWeek *string `json:"DayOfWeek,omitempty" name:"DayOfWeek"` // Snapshot retention period AliveDays *uint64 `json:"AliveDays,omitempty" name:"AliveDays"` // The specific day (day 1 to day 31) of the month on which to create a snapshot. DayOfMonth *string `json:"DayOfMonth,omitempty" name:"DayOfMonth"` // The snapshot interval, in days. IntervalDays *uint64 `json:"IntervalDays,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,omitempty" name:"AutoSnapshotPolicyId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,omitempty" name:"Zone"` // Network type. Valid values: `VPC` (private network), `BASIC` (classic network), `CCN` (Cloud Connect Network). You must set this parameter to `CCN` if you use the Turbo series. Classic network will be phased out and is not recommended. NetInterface *string `json:"NetInterface,omitempty" name:"NetInterface"` // Permission group ID (required for Standard and High-Performance). For the Turbo series, set it to `pgroupbasic`. PGroupId *string `json:"PGroupId,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,omitempty" name:"Protocol"` // Storage class of the file system. Valid values: `SD` (Standard), `HP` (High-Performance), `TB` (Standard Turbo), `TP` (High-Performance Turbo) StorageType *string `json:"StorageType,omitempty" name:"StorageType"` // VPC ID. This field is required if network type is VPC. VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID. This field is required if network type is VPC. SubnetId *string `json:"SubnetId,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,omitempty" name:"MountIP"` // Custom file system name FsName *string `json:"FsName,omitempty" name:"FsName"` // File system tag ResourceTags []*TagInfo `json:"ResourceTags,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,omitempty" name:"ClientToken"` // CCN instance ID (required if the network type is CCN) CcnId *string `json:"CcnId,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,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,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,omitempty" name:"Zone"` // Network type. Valid values: `VPC` (private network), `BASIC` (classic network), `CCN` (Cloud Connect Network). You must set this parameter to `CCN` if you use the Turbo series. Classic network will be phased out and is not recommended. NetInterface *string `json:"NetInterface,omitempty" name:"NetInterface"` // Permission group ID (required for Standard and High-Performance). For the Turbo series, set it to `pgroupbasic`. PGroupId *string `json:"PGroupId,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,omitempty" name:"Protocol"` // Storage class of the file system. Valid values: `SD` (Standard), `HP` (High-Performance), `TB` (Standard Turbo), `TP` (High-Performance Turbo) StorageType *string `json:"StorageType,omitempty" name:"StorageType"` // VPC ID. This field is required if network type is VPC. VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID. This field is required if network type is VPC. SubnetId *string `json:"SubnetId,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,omitempty" name:"MountIP"` // Custom file system name FsName *string `json:"FsName,omitempty" name:"FsName"` // File system tag ResourceTags []*TagInfo `json:"ResourceTags,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,omitempty" name:"ClientToken"` // CCN instance ID (required if the network type is CCN) CcnId *string `json:"CcnId,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,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,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,omitempty" name:"CreationTime"` // Custom file system name CreationToken *string `json:"CreationToken,omitempty" name:"CreationToken"` // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // File system status. Valid values: `creating`, `create_failed`, `available`, `unserviced`, `upgrading`, `deleting` LifeCycleState *string `json:"LifeCycleState,omitempty" name:"LifeCycleState"` // Storage used by the file system, in bytes SizeByte *uint64 `json:"SizeByte,omitempty" name:"SizeByte"` // AZ ID ZoneId *uint64 `json:"ZoneId,omitempty" name:"ZoneId"` // Custom file system name FsName *string `json:"FsName,omitempty" name:"FsName"` // Whether a file system is encrypted Encrypted *bool `json:"Encrypted,omitempty" name:"Encrypted"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,omitempty" name:"Name"` // Permission group description, which can contain 1-255 characters DescInfo *string `json:"DescInfo,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,omitempty" name:"Name"` // Permission group description, which can contain 1-255 characters DescInfo *string `json:"DescInfo,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,omitempty" name:"PGroupId"` // Permission group name Name *string `json:"Name,omitempty" name:"Name"` // Permission group description DescInfo *string `json:"DescInfo,omitempty" name:"DescInfo"` // The number of file systems bound to this permission group BindCfsNum *int64 `json:"BindCfsNum,omitempty" name:"BindCfsNum"` // Permission group creation time CDate *string `json:"CDate,omitempty" name:"CDate"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCfsRuleRequest ¶
type CreateCfsRuleRequest struct { *tchttp.BaseRequest // Permission group ID PGroupId *string `json:"PGroupId,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,omitempty" name:"AuthClientIp"` // Rule priority. Value range: 1-100. 1 represents the highest priority, while 100 the lowest Priority *int64 `json:"Priority,omitempty" name:"Priority"` // Read/write permission. Valid values: RO (read-only), RW (read & write). Default value: RO RWPermission *string `json:"RWPermission,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,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,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,omitempty" name:"AuthClientIp"` // Rule priority. Value range: 1-100. 1 represents the highest priority, while 100 the lowest Priority *int64 `json:"Priority,omitempty" name:"Priority"` // Read/write permission. Valid values: RO (read-only), RW (read & write). Default value: RO RWPermission *string `json:"RWPermission,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,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,omitempty" name:"RuleId"` // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // Client IP AuthClientIp *string `json:"AuthClientIp,omitempty" name:"AuthClientIp"` // Read & write permissions RWPermission *string `json:"RWPermission,omitempty" name:"RWPermission"` // User permission UserPermission *string `json:"UserPermission,omitempty" name:"UserPermission"` // Priority Priority *int64 `json:"Priority,omitempty" name:"Priority"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCfsSnapshotRequest ¶
type CreateCfsSnapshotRequest struct { *tchttp.BaseRequest // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // Snapshot name SnapshotName *string `json:"SnapshotName,omitempty" name:"SnapshotName"` // Snapshot tag ResourceTags []*TagInfo `json:"ResourceTags,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,omitempty" name:"FileSystemId"` // Snapshot name SnapshotName *string `json:"SnapshotName,omitempty" name:"SnapshotName"` // Snapshot tag ResourceTags []*TagInfo `json:"ResourceTags,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,omitempty" name:"SnapshotId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteAutoSnapshotPolicyRequest ¶
type DeleteAutoSnapshotPolicyRequest struct { *tchttp.BaseRequest // Snapshot policy ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,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,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,omitempty" name:"AutoSnapshotPolicyId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,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,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,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteCfsPGroupRequest ¶
type DeleteCfsPGroupRequest struct { *tchttp.BaseRequest // Permission group ID PGroupId *string `json:"PGroupId,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,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,omitempty" name:"PGroupId"` // User ID AppId *int64 `json:"AppId,omitempty" name:"AppId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteCfsRuleRequest ¶
type DeleteCfsRuleRequest struct { *tchttp.BaseRequest // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // Rule ID RuleId *string `json:"RuleId,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,omitempty" name:"PGroupId"` // Rule ID RuleId *string `json:"RuleId,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,omitempty" name:"RuleId"` // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteCfsSnapshotRequest ¶
type DeleteCfsSnapshotRequest struct { *tchttp.BaseRequest // File system snapshot ID SnapshotId *string `json:"SnapshotId,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,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,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,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,omitempty" name:"SnapshotId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteMountTargetRequest ¶
type DeleteMountTargetRequest struct { *tchttp.BaseRequest // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // Mount target ID MountTargetId *string `json:"MountTargetId,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,omitempty" name:"FileSystemId"` // Mount target ID MountTargetId *string `json:"MountTargetId,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,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAutoSnapshotPoliciesRequest ¶
type DescribeAutoSnapshotPoliciesRequest struct { *tchttp.BaseRequest // Snapshot policy ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitempty" name:"AutoSnapshotPolicyId"` // Page offset Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Page length Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Filters Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // Ascending or descending order Order *string `json:"Order,omitempty" name:"Order"` // Sorting field OrderField *string `json:"OrderField,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,omitempty" name:"AutoSnapshotPolicyId"` // Page offset Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Page length Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Filters Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // Ascending or descending order Order *string `json:"Order,omitempty" name:"Order"` // Sorting field OrderField *string `json:"OrderField,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,omitempty" name:"TotalCount"` // Snapshot policy information AutoSnapshotPolicies []*AutoSnapshotPolicyInfo `json:"AutoSnapshotPolicies,omitempty" name:"AutoSnapshotPolicies"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,omitempty" name:"RegionZones"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCfsFileSystemClientsRequest ¶
type DescribeCfsFileSystemClientsRequest struct { *tchttp.BaseRequest // File system ID FileSystemId *string `json:"FileSystemId,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,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,omitempty" name:"ClientList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCfsFileSystemsRequest ¶
type DescribeCfsFileSystemsRequest struct { *tchttp.BaseRequest // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` }
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,omitempty" name:"FileSystemId"` // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` }
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,omitempty" name:"FileSystems"` // Total number of file systems TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,omitempty" name:"PGroupList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCfsRulesRequest ¶
type DescribeCfsRulesRequest struct { *tchttp.BaseRequest // Permission group ID PGroupId *string `json:"PGroupId,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,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,omitempty" name:"RuleList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,omitempty" name:"CfsServiceStatus"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,omitempty" name:"StatisticsList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCfsSnapshotsRequest ¶
type DescribeCfsSnapshotsRequest struct { *tchttp.BaseRequest // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // Snapshot ID SnapshotId *string `json:"SnapshotId,omitempty" name:"SnapshotId"` // The starting position of paging Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Page length Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Filters Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // Order field OrderField *string `json:"OrderField,omitempty" name:"OrderField"` // Sorting order (ascending or descending) Order *string `json:"Order,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,omitempty" name:"FileSystemId"` // Snapshot ID SnapshotId *string `json:"SnapshotId,omitempty" name:"SnapshotId"` // The starting position of paging Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Page length Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Filters Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // Order field OrderField *string `json:"OrderField,omitempty" name:"OrderField"` // Sorting order (ascending or descending) Order *string `json:"Order,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,omitempty" name:"TotalCount"` // Snapshot information description Snapshots []*SnapshotInfo `json:"Snapshots,omitempty" name:"Snapshots"` // Total size of snapshots TotalSize *uint64 `json:"TotalSize,omitempty" name:"TotalSize"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMountTargetsRequest ¶
type DescribeMountTargetsRequest struct { *tchttp.BaseRequest // File system ID FileSystemId *string `json:"FileSystemId,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,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,omitempty" name:"MountTargets"` // The number of mount targets NumberOfMountTargets *int64 `json:"NumberOfMountTargets,omitempty" name:"NumberOfMountTargets"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSnapshotOperationLogsRequest ¶
type DescribeSnapshotOperationLogsRequest struct { *tchttp.BaseRequest // File system snapshot ID SnapshotId *string `json:"SnapshotId,omitempty" name:"SnapshotId"` // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,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,omitempty" name:"SnapshotId"` // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,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,omitempty" name:"SnapshotId"` // Operation log SnapshotOperates []*SnapshotOperateLog `json:"SnapshotOperates,omitempty" name:"SnapshotOperates"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type FileSystemByPolicy ¶
type FileSystemByPolicy struct { // File system name CreationToken *string `json:"CreationToken,omitempty" name:"CreationToken"` // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // File system size SizeByte *uint64 `json:"SizeByte,omitempty" name:"SizeByte"` // Storage class StorageType *string `json:"StorageType,omitempty" name:"StorageType"` // Total snapshot size TotalSnapshotSize *uint64 `json:"TotalSnapshotSize,omitempty" name:"TotalSnapshotSize"` // File system creation time CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"` // Region ID of the file system ZoneId *uint64 `json:"ZoneId,omitempty" name:"ZoneId"` }
type FileSystemClient ¶
type FileSystemClient struct { // IP address of the file system CfsVip *string `json:"CfsVip,omitempty" name:"CfsVip"` // Client IP ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"` // File system VPCID VpcId *string `json:"VpcId,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,omitempty" name:"Zone"` // AZ name ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"` // Path in which the file system is mounted to the client MountDirectory *string `json:"MountDirectory,omitempty" name:"MountDirectory"` }
type FileSystemInfo ¶
type FileSystemInfo struct { // Creation time CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"` // Custom name CreationToken *string `json:"CreationToken,omitempty" name:"CreationToken"` // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // File system status LifeCycleState *string `json:"LifeCycleState,omitempty" name:"LifeCycleState"` // Used file system capacity SizeByte *uint64 `json:"SizeByte,omitempty" name:"SizeByte"` // Maximum storage limit of a file system SizeLimit *uint64 `json:"SizeLimit,omitempty" name:"SizeLimit"` // Region ID ZoneId *uint64 `json:"ZoneId,omitempty" name:"ZoneId"` // Region name Zone *string `json:"Zone,omitempty" name:"Zone"` // File system protocol type Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // File system storage class StorageType *string `json:"StorageType,omitempty" name:"StorageType"` // Prepaid storage pack bound with the file system StorageResourcePkg *string `json:"StorageResourcePkg,omitempty" name:"StorageResourcePkg"` // Prepaid bandwidth pack bound to a file system (not supported currently) BandwidthResourcePkg *string `json:"BandwidthResourcePkg,omitempty" name:"BandwidthResourcePkg"` // Information of permission groups bound to a file system PGroup *PGroup `json:"PGroup,omitempty" name:"PGroup"` // Custom name FsName *string `json:"FsName,omitempty" name:"FsName"` // Whether a file system is encrypted Encrypted *bool `json:"Encrypted,omitempty" name:"Encrypted"` // Key used for encryption, which can be the key ID or ARN KmsKeyId *string `json:"KmsKeyId,omitempty" name:"KmsKeyId"` // Application ID AppId *int64 `json:"AppId,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,omitempty" name:"BandwidthLimit"` // Total capacity of the file system Capacity *uint64 `json:"Capacity,omitempty" name:"Capacity"` // File system tag list Tags []*TagInfo `json:"Tags,omitempty" name:"Tags"` // The lifecycle management status of a file system. TieringState *string `json:"TieringState,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,omitempty" name:"TieringDetail"` }
type MountInfo ¶
type MountInfo struct { // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // Mount target ID MountTargetId *string `json:"MountTargetId,omitempty" name:"MountTargetId"` // Mount target IP IpAddress *string `json:"IpAddress,omitempty" name:"IpAddress"` // Mount root-directory FSID *string `json:"FSID,omitempty" name:"FSID"` // Mount target status LifeCycleState *string `json:"LifeCycleState,omitempty" name:"LifeCycleState"` // Network type NetworkInterface *string `json:"NetworkInterface,omitempty" name:"NetworkInterface"` // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // VPC name VpcName *string `json:"VpcName,omitempty" name:"VpcName"` // Subnet ID SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Subnet name SubnetName *string `json:"SubnetName,omitempty" name:"SubnetName"` // CCN instance ID used by CFS Turbo CcnID *string `json:"CcnID,omitempty" name:"CcnID"` // CCN IP range used by CFS Turbo CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"` }
type PGroupInfo ¶
type PGroupInfo struct { // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // Permission group name Name *string `json:"Name,omitempty" name:"Name"` // Description DescInfo *string `json:"DescInfo,omitempty" name:"DescInfo"` // Creation time CDate *string `json:"CDate,omitempty" name:"CDate"` // The number of bound file system BindCfsNum *int64 `json:"BindCfsNum,omitempty" name:"BindCfsNum"` }
type PGroupRuleInfo ¶
type PGroupRuleInfo struct { // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Client IP allowed for access AuthClientIp *string `json:"AuthClientIp,omitempty" name:"AuthClientIp"` // Read/write permission. ro: read-only; rw: read & write RWPermission *string `json:"RWPermission,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,omitempty" name:"UserPermission"` // Rule priority. Value range: 1-100. 1 represents the highest priority, while 100 the lowest Priority *int64 `json:"Priority,omitempty" name:"Priority"` }
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,omitempty" name:"CfsServiceStatus"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type SnapshotInfo ¶
type SnapshotInfo struct { // Snapshot creation time CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"` // Snapshot name SnapshotName *string `json:"SnapshotName,omitempty" name:"SnapshotName"` // Snapshot ID SnapshotId *string `json:"SnapshotId,omitempty" name:"SnapshotId"` // Snapshot status Status *string `json:"Status,omitempty" name:"Status"` // Region name RegionName *string `json:"RegionName,omitempty" name:"RegionName"` // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // Snapshot size Size *uint64 `json:"Size,omitempty" name:"Size"` // Retention period in days AliveDay *uint64 `json:"AliveDay,omitempty" name:"AliveDay"` // Snapshot progress Percent *uint64 `json:"Percent,omitempty" name:"Percent"` // Account ID AppId *uint64 `json:"AppId,omitempty" name:"AppId"` // Snapshot deletion time DeleteTime *string `json:"DeleteTime,omitempty" name:"DeleteTime"` // File system name FsName *string `json:"FsName,omitempty" name:"FsName"` // Snapshot tag Tags []*TagInfo `json:"Tags,omitempty" name:"Tags"` }
type SnapshotOperateLog ¶
type SnapshotOperateLog struct { // Operation type Action *string `json:"Action,omitempty" name:"Action"` // Operation time ActionTime *string `json:"ActionTime,omitempty" name:"ActionTime"` // Operation name ActionName *string `json:"ActionName,omitempty" name:"ActionName"` // Operator Operator *string `json:"Operator,omitempty" name:"Operator"` // Result Result *uint64 `json:"Result,omitempty" name:"Result"` }
type SnapshotStatistics ¶
type SnapshotStatistics struct { // Region Region *string `json:"Region,omitempty" name:"Region"` // Total number of snapshots SnapshotNumber *uint64 `json:"SnapshotNumber,omitempty" name:"SnapshotNumber"` // Total snapshot size SnapshotSize *uint64 `json:"SnapshotSize,omitempty" name:"SnapshotSize"` }
type TieringDetailInfo ¶
type TieringDetailInfo struct { }
type UnbindAutoSnapshotPolicyRequest ¶
type UnbindAutoSnapshotPolicyRequest struct { *tchttp.BaseRequest // List of IDs of the file systems to be unbound, separated by comma FileSystemIds *string `json:"FileSystemIds,omitempty" name:"FileSystemIds"` // ID of the snapshot to be unbound AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,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,omitempty" name:"FileSystemIds"` // ID of the snapshot to be unbound AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,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,omitempty" name:"AutoSnapshotPolicyId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateAutoSnapshotPolicyRequest ¶
type UpdateAutoSnapshotPolicyRequest struct { *tchttp.BaseRequest // Snapshot policy ID AutoSnapshotPolicyId *string `json:"AutoSnapshotPolicyId,omitempty" name:"AutoSnapshotPolicyId"` // Snapshot policy name PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"` // The day of the week on which to regularly back up the snapshot DayOfWeek *string `json:"DayOfWeek,omitempty" name:"DayOfWeek"` // The hour of a day at which to regularly back up the snapshot Hour *string `json:"Hour,omitempty" name:"Hour"` // Snapshot retention period AliveDays *uint64 `json:"AliveDays,omitempty" name:"AliveDays"` // Whether to activate the scheduled snapshot feature IsActivated *uint64 `json:"IsActivated,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,omitempty" name:"DayOfMonth"` // The snapshot interval. This parameter is mutually exclusive with `DayOfWeek` and `DayOfMonth`. IntervalDays *uint64 `json:"IntervalDays,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,omitempty" name:"AutoSnapshotPolicyId"` // Snapshot policy name PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"` // The day of the week on which to regularly back up the snapshot DayOfWeek *string `json:"DayOfWeek,omitempty" name:"DayOfWeek"` // The hour of a day at which to regularly back up the snapshot Hour *string `json:"Hour,omitempty" name:"Hour"` // Snapshot retention period AliveDays *uint64 `json:"AliveDays,omitempty" name:"AliveDays"` // Whether to activate the scheduled snapshot feature IsActivated *uint64 `json:"IsActivated,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,omitempty" name:"DayOfMonth"` // The snapshot interval. This parameter is mutually exclusive with `DayOfWeek` and `DayOfMonth`. IntervalDays *uint64 `json:"IntervalDays,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,omitempty" name:"AutoSnapshotPolicyId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateCfsFileSystemNameRequest ¶
type UpdateCfsFileSystemNameRequest struct { *tchttp.BaseRequest // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // Custom file system name FsName *string `json:"FsName,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,omitempty" name:"FileSystemId"` // Custom file system name FsName *string `json:"FsName,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,omitempty" name:"CreationToken"` // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // Custom file system name FsName *string `json:"FsName,omitempty" name:"FsName"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateCfsFileSystemPGroupRequest ¶
type UpdateCfsFileSystemPGroupRequest struct { *tchttp.BaseRequest // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // File system ID FileSystemId *string `json:"FileSystemId,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,omitempty" name:"PGroupId"` // File system ID FileSystemId *string `json:"FileSystemId,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,omitempty" name:"PGroupId"` // File system ID FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,omitempty" name:"FsLimit"` // File system ID. Currently, only Standard file systems are supported. FileSystemId *string `json:"FileSystemId,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,omitempty" name:"FsLimit"` // File system ID. Currently, only Standard file systems are supported. FileSystemId *string `json:"FileSystemId,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,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateCfsPGroupRequest ¶
type UpdateCfsPGroupRequest struct { *tchttp.BaseRequest // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // Permission group name, which can contain 1-64 Chinese characters, letters, numbers, underscores, or dashes Name *string `json:"Name,omitempty" name:"Name"` // Permission group description, which can contain 1-255 characters DescInfo *string `json:"DescInfo,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,omitempty" name:"PGroupId"` // Permission group name, which can contain 1-64 Chinese characters, letters, numbers, underscores, or dashes Name *string `json:"Name,omitempty" name:"Name"` // Permission group description, which can contain 1-255 characters DescInfo *string `json:"DescInfo,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,omitempty" name:"PGroupId"` // Permission group name Name *string `json:"Name,omitempty" name:"Name"` // Description DescInfo *string `json:"DescInfo,omitempty" name:"DescInfo"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateCfsRuleRequest ¶
type UpdateCfsRuleRequest struct { *tchttp.BaseRequest // Permission group ID PGroupId *string `json:"PGroupId,omitempty" name:"PGroupId"` // Rule ID RuleId *string `json:"RuleId,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,omitempty" name:"AuthClientIp"` // Read/write permission. Valid values: RO (read-only), RW (read & write). Default value: RO RWPermission *string `json:"RWPermission,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,omitempty" name:"UserPermission"` // Rule priority. Value range: 1-100. 1 represents the highest priority, while 100 the lowest Priority *int64 `json:"Priority,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,omitempty" name:"PGroupId"` // Rule ID RuleId *string `json:"RuleId,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,omitempty" name:"AuthClientIp"` // Read/write permission. Valid values: RO (read-only), RW (read & write). Default value: RO RWPermission *string `json:"RWPermission,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,omitempty" name:"UserPermission"` // Rule priority. Value range: 1-100. 1 represents the highest priority, while 100 the lowest Priority *int64 `json:"Priority,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,omitempty" name:"PGroupId"` // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Client IP or IP range allowed for access AuthClientIp *string `json:"AuthClientIp,omitempty" name:"AuthClientIp"` // Read & write permission RWPermission *string `json:"RWPermission,omitempty" name:"RWPermission"` // User permission UserPermission *string `json:"UserPermission,omitempty" name:"UserPermission"` // Priority Priority *int64 `json:"Priority,omitempty" name:"Priority"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateCfsSnapshotAttributeRequest ¶
type UpdateCfsSnapshotAttributeRequest struct { *tchttp.BaseRequest // File system snapshot ID SnapshotId *string `json:"SnapshotId,omitempty" name:"SnapshotId"` // File system snapshot name SnapshotName *string `json:"SnapshotName,omitempty" name:"SnapshotName"` // File system snapshot retention period in days AliveDays *uint64 `json:"AliveDays,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,omitempty" name:"SnapshotId"` // File system snapshot name SnapshotName *string `json:"SnapshotName,omitempty" name:"SnapshotName"` // File system snapshot retention period in days AliveDays *uint64 `json:"AliveDays,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,omitempty" name:"SnapshotId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user