Queries the information about a created Fileset.
Operation description
Only CPFS 2.2.0 and CPFS for Lingjun 2.7.0 and later support Fileset. You can view the version information on the file system details page in the console.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:GetFileset |
get |
*All Resource
|
None | None |
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| FileSystemId |
string |
Yes |
The ID of the file system.
|
cpfs-099394bd928c**** |
| FsetId |
string |
Yes |
The ID of the Fileset. Note
This parameter is required when the file system type is CPFS. |
fset-1902718ea0ae**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response information. |
||
| RequestId |
string |
The ID of the request. |
BC7C825C-5F65-4B56-BEF6-98C56C7C**** |
| Data |
object |
The data details. |
|
| Description |
string |
The description of the Fileset. |
Description |
| FileSystemPath |
string |
The path of the Fileset in the CPFS file system. |
pathtoroot/fset/ |
| FsetId |
string |
The ID of the Fileset. Note
This parameter is required when the file system type is CPFS. |
fset-03250e8fe78d**** |
| Status |
string |
The status of the Fileset. Valid values:
|
CREATED |
| CreateTime |
string |
The time when the Fileset was created. Format: |
2025-11-21 12:49:25 |
| UpdateTime |
string |
The time when the Fileset was last updated. Format: |
2025-11-22 12:49:25 |
| DeletionProtection |
boolean |
The release protection property of the instance. This parameter specifies whether the instance can be released by using the console or by calling the DeleteFileset operation.
Note
This property only restricts manual release operations and does not take effect on system release operations. |
false |
| FileCountUsage |
integer |
The number of used files. Note
This parameter is supported only by CPFS for Lingjun 2.7.0 and later. |
1024 |
| SpaceUsage |
integer |
The used storage capacity. Unit: bytes. Note
This parameter is supported only by CPFS for Lingjun 2.7.0 and later. |
1024 |
| Quota |
object |
The quota information. Note
This parameter is supported only by CPFS for Lingjun 2.7.0 and later. |
|
| SizeLimit |
integer |
The total capacity limit of the quota. Unit: bytes. Valid values:
|
10,737,418,240 |
| FileCountLimit |
integer |
The file count limit of the quota. Valid values:
|
10001 |
| FileSystemId |
string |
The ID of the file system.
|
cpfs-0244729a8ef8**** |
Examples
Success response
JSON format
{
"RequestId": "BC7C825C-5F65-4B56-BEF6-98C56C7C****",
"Data": {
"Description": "Description",
"FileSystemPath": "pathtoroot/fset/",
"FsetId": "fset-03250e8fe78d****",
"Status": "CREATED",
"CreateTime": "2025-11-21 12:49:25",
"UpdateTime": "2025-11-22 12:49:25",
"DeletionProtection": false,
"FileCountUsage": 1024,
"SpaceUsage": 1024,
"Quota": {
"SizeLimit": 0,
"FileCountLimit": 10001
},
"FileSystemId": "cpfs-0244729a8ef8****"
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalCharacters | The parameter contains illegal characters. | The parameter contains illegal characters. |
| 400 | MissingFileSystemId | FileSystemId is mandatory for this action. | The FileSystemId parameter is not specified. |
| 403 | OperationDenied.FilesetNotSupported | The operation is not supported. | The file system does not support Fileset. |
| 404 | InvalidFileSystem.NotFound | The specified filesystem does not exist. | The specified file system does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.