Melepaskan elastic IP address (EIP) tertentu.
Deskripsi operasi
Sebelum Anda memanggil operasi ini, perhatikan informasi berikut:
-
Sebelum merilis EIP, pastikan kondisi berikut terpenuhi:
-
Hanya EIP dalam status Available yang dapat dirilis.
-
Hanya EIP yang menggunakan metode penagihan pay-as-you-go yang dapat dirilis. EIP langganan tidak dapat dirilis.
-
-
Operasi ReleaseEipAddress bersifat asinkron. Setelah Anda mengirim permintaan, sistem akan mengembalikan ID permintaan. Namun, instans EIP tidak langsung dirilis karena node rilis masih berjalan di latar belakang. Anda dapat memanggil DescribeEipAddresses untuk mengkueri status instans EIP:
-
Jika instans EIP berada dalam status Releasing, instans EIP sedang dirilis. Dalam status ini, Anda hanya dapat menjalankan operasi kueri dan tidak dapat menjalankan operasi lain.
-
Jika instans EIP tidak ditemukan, instans EIP telah dirilis.
-
-
Operasi ReleaseEipAddress tidak mendukung rilis konkuren untuk instans EIP yang sama.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:ReleaseEipAddress |
update |
*Address.
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID wilayah dari EIP yang akan dirilis. Anda dapat memanggil operasi DescribeRegions untuk mengkueri ID wilayah. |
cn-hangzhou |
| AllocationId |
string |
Yes |
ID EIP yang akan dirilis. |
eip-2zeerraiwb7uj6i0d**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter tanggapan. |
||
| RequestId |
string |
ID permintaan. |
748C38F6-9A3D-482E-83FB-DB6C39C68AEA |
Contoh
Respons sukses
JSONformat
{
"RequestId": "748C38F6-9A3D-482E-83FB-DB6C39C68AEA"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IncorrectEipStatus | Current elastic IP status does not support this operation. | |
| 400 | Forbidden.ChargeTypeIsPrepaid | It's forbidden to release a prepaid EIP | |
| 400 | TaskConflict.AssociateGlobalAccelerationInstance | Operate too frequent. | |
| 400 | InvalidOperation.DeletionProtection | The instance cannnot delete because of deletion protecion. | |
| 400 | Forbidden.ReleaseSegmentEip | Release single segment eip is forbidden. | |
| 400 | Forbidden | The eip instance owner error | Anda tidak memiliki izin untuk mengoperasikan Sumber daya yang ditentukan. Ajukan izin yang diperlukan dan coba lagi. |
| 400 | Mismatch.%sAnd%s | The %s and %s are mismatched. | Parameter tidak cocok. Periksa parameter. |
| 400 | Forbidden.MinimumHoldingPeriod | The EIP is within its minimum holding period. | Sirkuit Express Connect tipe ISP Lokal hanya dapat dirilis 30 hari setelah pembuatan. Coba lagi setelah 30 hari. |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 404 | InvalidAllocationId.NotFound | Specified allocation ID is not found. | |
| 404 | Forbidden.RegionNotFound | Specified region is not found during access authentication. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.