Mengkueri informasi tentang Fileset yang telah dibuat.
Deskripsi operasi
Hanya CPFS 2.2.0 dan versi lebih baru serta CPFS for Lingjun 2.7.0 dan versi lebih baru yang mendukung Fileset. Anda dapat melihat informasi versi pada halaman detail sistem file di Konsol.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:GetFileset |
get |
*全部资源
|
None | None |
Sintaks permintaan
GET HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| FileSystemId |
string |
Yes |
ID sistem file.
|
cpfs-099394bd928c**** |
| FsetId |
string |
Yes |
ID Fileset. Catatan
Parameter ini wajib diisi jika tipe sistem file adalah CPFS. |
fset-1902718ea0ae**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Informasi tanggapan. |
||
| RequestId |
string |
ID permintaan. |
BC7C825C-5F65-4B56-BEF6-98C56C7C**** |
| Data |
object |
Detail data. |
|
| Description |
string |
Deskripsi Fileset. |
Description |
| FileSystemPath |
string |
Jalur Fileset di sistem file CPFS. |
pathtoroot/fset/ |
| FsetId |
string |
ID Fileset. Catatan
Parameter ini wajib diisi jika tipe sistem file adalah CPFS. |
fset-03250e8fe78d**** |
| Status |
string |
Status Fileset. Nilai valid:
|
CREATED |
| CreateTime |
string |
Waktu pembuatan Fileset. format: |
2025-11-21 12:49:25 |
| UpdateTime |
string |
Waktu pembaruan terakhir Fileset. format: |
2025-11-22 12:49:25 |
| DeletionProtection |
boolean |
Properti perlindungan penghapusan, yang menentukan apakah instans dapat dirilis menggunakan Konsol atau operasi DeleteFileset.
Catatan
Properti ini hanya berlaku untuk operasi pelepasan manual dan tidak berlaku untuk operasi pelepasan yang diinisiasi sistem. |
false |
| FileCountUsage |
integer |
Penggunaan jumlah file. Catatan
Hanya CPFS for Lingjun 2.7.0 dan versi lebih baru yang mendukung parameter ini. |
1024 |
| SpaceUsage |
integer |
Penggunaan kapasitas. Unit: bytes. Catatan
Hanya CPFS for Lingjun 2.7.0 dan versi lebih baru yang mendukung parameter ini. |
1024 |
| Quota |
object |
Informasi kuota. Catatan
Hanya CPFS for Lingjun 2.7.0 dan versi lebih baru yang mendukung parameter ini. |
|
| SizeLimit |
integer |
The total quota capacity limit. Unit: bytes. Valid values:
|
10,737,418,240 |
| FileCountLimit |
integer |
The file quantity quota. Valid values:
|
10001 |
| FileSystemId |
string |
ID sistem file.
|
cpfs-0244729a8ef8**** |
Contoh
Respons sukses
JSONformat
{
"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****"
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalCharacters | The parameter contains illegal characters. | |
| 400 | MissingFileSystemId | FileSystemId is mandatory for this action. | |
| 403 | OperationDenied.FilesetNotSupported | The operation is not supported. | |
| 404 | InvalidFileSystem.NotFound | The specified filesystem does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.