Mengkueri log error tugas perbaikan image yang gagal.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeTaskErrorLog |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| BuildTaskId |
string |
Yes |
ID tugas perbaikan image. Catatan
Panggil operasi DescribeImageFixTask untuk mengkueri tugas perbaikan kerentanan image dan mendapatkan BuildTaskId. |
ivf-6e520160-205d-4801-b8e9-9e7e**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Hasil permintaan. |
||
| RequestId |
string |
ID permintaan. |
F929E952-EBFC-56C3-BD35-BF8B59024C69 |
| Logs |
array<object> |
Daftar log error. |
|
|
object |
Log. |
||
| Text |
string |
Konten teks log. |
mv: cannot move 'CentOS-Base.repo' to 'CentOS-Base.repo.backup': Permission denied |
Contoh
Respons sukses
JSONformat
{
"RequestId": "F929E952-EBFC-56C3-BD35-BF8B59024C69",
"Logs": [
{
"Text": "mv: cannot move 'CentOS-Base.repo' to 'CentOS-Base.repo.backup': Permission denied"
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.