Mengubah konfigurasi pembersihan untuk host offline. Hanya host non-Alibaba Cloud yang didukung.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ModifyAssetCleanConfig |
update |
*All Resources
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| AssetCleanConfigs |
array<object> |
No |
Daftar konfigurasi pembersihan aset. |
|
|
object |
No |
Detail konfigurasi pembersihan aset. |
||
| Type |
integer |
No |
Tipe host yang akan dibersihkan. Nilai valid:
|
1 |
| CleanDays |
integer |
No |
Jumlah hari offline setelah host non-Alibaba Cloud dibersihkan secara otomatis. Nilai valid: bilangan bulat dari 1 hingga 30. |
7 |
| Status |
integer |
No |
Apakah akan mengaktifkan pembersihan otomatis untuk host non-Alibaba Cloud yang offline. Nilai valid:
|
1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
952776BD-5546-59FC-8AF3-B54EBAD57*** |
| Data |
boolean |
Hasil pemrosesan. Nilai valid:
|
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "952776BD-5546-59FC-8AF3-B54EBAD57***",
"Data": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | A service failure occurred. Try again later. |
| 403 | NoPermission | caller has no permission | The operation is not authorized. Contact the Alibaba Cloud account to perform authorization in the RAM console and try again. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.