Mengkueri konfigurasi Keranjang daur ulang dari sistem file General-purpose NAS tertentu.
Deskripsi operasi
Hanya sistem file General-purpose NAS yang mendukung fitur ini.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:GetRecycleBinAttribute |
get |
*FileSystem
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| FileSystemId |
string |
Yes |
ID sistem file. |
1ca404**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema respons. |
||
| RequestId |
string |
ID permintaan. |
9E15E394-38A6-457A-A62A-D9797C9A**** |
| RecycleBinAttribute |
object |
Deskripsi Keranjang daur ulang. |
|
| Size |
integer |
Penggunaan penyimpanan file di Keranjang daur ulang. Unit: byte. |
100 |
| SecondarySize |
integer |
Penggunaan penyimpanan data Akses Jarang (IA) di Keranjang daur ulang. Unit: byte. |
100 |
| Status |
string |
Status Keranjang daur ulang. Nilai valid:
|
Disable |
| ReservedDays |
integer |
Periode retensi file di Keranjang daur ulang. Unit: hari. Jika Keranjang daur ulang dinonaktifkan, parameter ini mengembalikan 0. |
0 |
| EnableTime |
string |
Pengatur waktu saat Keranjang daur ulang diaktifkan. Pengatur waktu mengikuti standar ISO 8601 dalam UTC. Format: yyyy-MM-ddTHH:mm:ssZ. |
2021-05-30T10:08:08Z |
| ArchiveSize |
integer |
Penggunaan penyimpanan data arsip di Keranjang daur ulang. Unit: byte. |
1611661312 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "9E15E394-38A6-457A-A62A-D9797C9A****",
"RecycleBinAttribute": {
"Size": 100,
"SecondarySize": 100,
"Status": "Disable",
"ReservedDays": 0,
"EnableTime": "2021-05-30T10:08:08Z",
"ArchiveSize": 1611661312
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalCharacters | The parameter contains illegal characters. | Parameter yang ditentukan tidak valid. |
| 400 | MissingFileSystemId | FileSystemId is mandatory for this action. | Parameter FileSystemId tidak ditentukan. |
| 404 | InvalidFileSystem.NotFound | The specified file system does not exist. | Sistem file yang ditentukan tidak ada. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.