Memanggil ModifyImageAttribute untuk mengubah informasi atribut image.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:ModifyImageAttribute |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ImageId |
string |
Yes |
ID image. |
m-5t4xwkfkbs0uxv0kymdb6uip7 |
| ImageName |
string |
Yes |
Nama image. |
镜像名称 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
Kode bisnis. 0 dikembalikan jika panggilan berhasil. Kode kesalahan dikembalikan jika panggilan gagal. |
0 |
| RequestId |
string |
ID permintaan. |
AC66B8F3-0B0A-5FB1-9EA2-DC03B2CD5B04 |
Contoh
Respons sukses
JSONformat
{
"Code": 0,
"RequestId": "AC66B8F3-0B0A-5FB1-9EA2-DC03B2CD5B04"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter | The input parameters that is mandatory for processing this request is not supplied. | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.