Memanggil UnassignPrivateIpAddresses untuk menghapus satu atau beberapa alamat IP privat sekunder dari ENI.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:UnassignPrivateIpAddresses |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| NetworkInterfaceId |
string |
Yes |
ID ENI. |
eni-f8z57orgmt6d144t**** |
| PrivateIpAddress |
array |
Yes |
Satu atau beberapa alamat IP privat sekunder yang ingin Anda hapus. |
|
|
string |
No |
Satu atau beberapa alamat IP privat sekunder yang ingin Anda hapus. |
192.168.XX.XX |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons. |
||
| RequestId |
string |
ID permintaan. |
1ECC937A-AE0E-4626-BE51-DED1D6D1C888 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "1ECC937A-AE0E-4626-BE51-DED1D6D1C888"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Invalid%s | The specified parameter %s is invalid. | |
| 400 | Missing%s | You must specify the parameter %s. | |
| 400 | ens.interface.error | An error occurred while calling the API. | |
| 400 | InvalidEniId.NotFound | The specified NetworkInterfaceId does not exist. | |
| 400 | InvalidPrivateIpAddress.NotFound | The specified privateIpAddress does not exist. | |
| 400 | IncorrectPrivateIpAddressStatus | The current status of the resource does not support this operation. | |
| 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.