Mengubah periode retensi data di Keranjang daur ulang.
Deskripsi operasi
Hanya sistem file NAS General-purpose yang mendukung fitur ini.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:UpdateRecycleBinAttribute |
update |
*FileSystem
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| FileSystemId |
string |
Yes |
ID sistem file. |
1ca404**** |
| ReservedDays |
integer |
Yes |
Periode retensi file di Keranjang daur ulang. Unit: hari. Nilai valid: 1 hingga 180. Nilai default: 3. |
3 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons. |
||
| RequestId |
string |
ID permintaan. |
BC7C825C-5F65-4B56-BEF6-98C5****546E |
Contoh
Respons sukses
JSONformat
{
"RequestId": "BC7C825C-5F65-4B56-BEF6-98C5****546E"
}
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.RecycleBinDisabled | The operation is denied because the recycle bin is disabled. | |
| 404 | InvalidFileSystem.NotFound | The specified file system does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.