Memanggil ModifyEnsEipAddressAttribute untuk mengubah nama, deskripsi, dan bandwidth puncak dari EIP yang ditentukan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:ModifyEnsEipAddressAttribute |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| AllocationId |
string |
Yes |
ID dari EIP. |
eip-5sw5dxzgi6umq4uexxkt8wpma |
| Name |
string |
No |
Nama EIP yang akan diubah. Nama harus memiliki panjang 2 hingga 128 karakter dan tidak boleh dimulai dengan http:// atau https://. |
test-api-modify |
| Description |
string |
No |
Deskripsi EIP yang akan diubah. Deskripsi harus memiliki panjang 2 hingga 256 karakter dan tidak boleh dimulai dengan http:// atau https://. |
abc |
| Bandwidth |
integer |
No |
Bandwidth puncak dari EIP. Nilai default: 5. Nilai yang valid: 5 hingga 10000. Unit: Mbit/s. |
50 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons |
||
| RequestId |
string |
ID permintaan. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
Contoh
Respons sukses
JSONformat
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ens.interface.error | An error occurred while call the API. | |
| 400 | EipNotFound | The input parameter allocationId that is not found. | |
| 400 | Invalid%s | The specified parameter %s is invalid. | |
| 400 | Missing%s | You must specify the parameter %s. | |
| 400 | IncorrectEipStatus | The current status of the resource does not support this operation. | |
| 400 | InvalidParameter | 需要修改的带宽未发生变化。 | |
| 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.