All Products
Search
Document Center

:CancelFilesetQuota

Last Updated:Dec 19, 2024

Cancels the quota set for a fileset.

Operation description

Only Cloud Parallel File Storage (CPFS) for LINGJUN V2.7.0 and later support this operation.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
FileSystemIdstringYes

The ID of the CPFS for LINGJUN file system. The IDs of CPFS for LINGJUN file systems must start with bmcpfs-. Example: bmcpfs-290w65p03ok64ya****.

bmcpfs-290w65p03ok64ya****
FsetIdstringYes

The fileset ID.

fset-1902718ea0ae****
DryRunbooleanNo

Specifies whether to perform a dry run.

During the dry run, the system checks whether the request parameters are valid and whether the requested resources are available. During the dry run, no fileset quota is canceled and no fee is incurred.

Valid values:

  • true: performs a dry run. The system checks the required parameters, request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the HTTP status code 200 is returned. No value is returned for the DataFlowld parameter.
  • false (default): performs a dry run and sends the request. If the request passes the dry run, the fileset quota is canceled.
false
ClientTokenstringNo

The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests.

The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see How do I ensure the idempotence?

Note If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
123e4567-e89b-12d3-a456-42665544****

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

98696EF0-1607-4E9D-B01D-F20930B6****

Examples

Sample success responses

JSONformat

{
  "RequestId": "98696EF0-1607-4E9D-B01D-F20930B6****\n"
}

Error codes

HTTP status codeError codeError messageDescription
400IllegalCharactersThe parameter contains illegal characters.The parameter contains illegal characters.
400MissingFileSystemIdFileSystemId is mandatory for this action.-
400MissingFsetIdFsetId is mandatory for this action.-
400InvalidFilesetId.NotFoundInvalid FilesetId.Fileset does not exist
403OperationDenied.DependencyViolationThe operation is denied due to dependancy violation.-
403OperationDenied.FilesetNotSupportedThe operation is not supported.-
404InvalidFileSystem.NotFoundThe specified file system does not exist.The specified file system does not exist.
404InvalidFsetId.NotFoundThe specified Fileset ID does not exist.-
429Throttling.ApiRequest was denied due to api flow control.The request is throttled.

For a list of error codes, visit the Service error codes.