Menghapus koneksi peering VPC.
Deskripsi operasi
-
Anda dapat menghapus koneksi peering VPC. Setelah Anda menghapus instance, layanan Anda terganggu. Pastikan operasi ini tidak memengaruhi bisnis Anda.
-
Jika Anda memaksa menghapus instance, sistem juga menghapus rute yang mengarah ke koneksi peering VPC dari tabel rute.
-
Jika Anda tidak memaksa menghapus instance, sistem tidak menghapus rute yang mengarah ke koneksi peering VPC dari tabel rute. Anda harus menghapus rute ini secara manual.
-
-
DeleteVpcPeerConnection adalah operasi asinkron. Setelah Anda mengirim permintaan, sistem mengembalikan request ID, sambil menjalankan tugas di latar belakang. Panggil operasi GetVpcPeerConnectionAttribute untuk menanyakan status koneksi peering VPC.
-
Deleting menunjukkan instance sedang dihapus.
-
Deleted menunjukkan instance sudah dihapus.
-
-
Anda tidak dapat mengirim permintaan secara bersamaan untuk menghapus instance koneksi peering VPC yang sama.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:DeleteVpcPeerConnection |
delete |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID koneksi peering VPC. |
pcc-lnk0m24khwvtkm**** |
| Force |
boolean |
No |
Menentukan apakah akan memaksa menghapus koneksi peering VPC. Nilai yang valid:
|
false |
| DryRun |
boolean |
No |
Menentukan apakah akan melakukan dry run. Nilai yang valid:
|
false |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Hasilkan nilai untuk parameter ini dari klien Anda untuk memastikan bahwa nilainya unik di antara permintaan yang berbeda. Token klien hanya dapat berisi karakter ASCII. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan request ID sebagai client token. request ID mungkin berbeda untuk setiap permintaan. |
02fb3da4-130e-11e9-8e44-001**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter respons. |
||
| RequestId |
string |
ID permintaan. |
54B48E3D-DF70-471B-AA93-08E683A1B45 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "54B48E3D-DF70-471B-AA93-08E683A1B45"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ResourceNotFound.InstanceId | The specified resource of %s is not found. | The specified instance is not found |
| 400 | IncorrectStatus.VpcPeer | The status of %s [%s] is incorrect. | The status of the peer-to-peer connection instance does not meet the requirements. In this status, the peer-to-peer connection instance cannot be received. |
| 400 | OperationDenied.RouteEntryExist | The operation is not allowed because of existing routeEntry point to VpcPeer. | The VPC peering connection cannot be deleted because a route points to the VPC peering connection. |
| 400 | OperationDenied.ServiceManagedInstance | Operation is denied because the specified instance belongs to service manager. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.