Menghapus sirkuit Express Connect.
Deskripsi operasi
Anda hanya dapat menghapus sirkuit Express Connect yang berada dalam status Allocated, Confirmed, Rejected, Canceled, AllocationFailed, atau Terminated.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:DeletePhysicalConnection |
delete |
*PhysicalConnection.
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah sirkuit Express Connect. Anda dapat memanggil operasi DescribeRegions untuk mengkueri ID wilayah. |
cn-shanghai |
| PhysicalConnectionId |
string |
Yes |
ID instans sirkuit Express Connect. |
pc-119mfjzm7********* |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Nilai dihasilkan oleh klien. Nilai harus unik di antara berbagai permintaan dan tidak boleh melebihi 64 karakter ASCII. |
02fb3da4-130e-11e9-8e44-0016e04115b |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidPhysicalConnectionId.NotMatched | instance id not matched. | |
| 400 | Forbidden.VBRExists | physical connection owner's vbr still exists. | |
| 400 | Forbidden.AssociateToVBR | The physical connection still associate to VBR. | |
| 400 | OperationDenied.NeedVpconnOwner | The operation is denied. | Penghapusan gagal. Pengguna yang memiliki port bersama harus melakukan penghapusan. |
| 400 | OperationDenied.NeedPconnOwner | The operation is denied. | Penghapusan gagal. Pengguna yang memiliki port fisik harus melakukan penghapusan. |
| 400 | Forbidden.NotInAllowDeleteStatus | Only physical connection in the Cancelled, Rejected, Terminated, Allocated, or AllocationFailed states can be deleted. | Hanya sirkuit Express Connect dengan status Canceled, Rejected, Terminated, Allocated, atau Allocation Failed yang dapat dihapus. |
| 400 | ResourceAlreadyAssociated.PconnQos | The specified resource of PconnQos is already associated. | Sirkuit Express Connect sudah diasosiasikan dengan kebijakan QoS lain. |
| 400 | ResourceNotFound.PhysicalConnectionId | PhysicalConnection is not found. | PhysicalConnection tidak ada. |
| 400 | OperationDenied.NeedVpconnOwnerOrPconnOwner | The deletion failed. Only the owner of virtual physical connection or physical connection can delete it. | Penghapusan gagal. Port bersama atau port khusus harus dihapus oleh pemiliknya. |
| 400 | OperationDenied.ExistVbrInPhysicalConnection | It cannot be deleted when VBR exists. | Port fisik tidak dapat dihapus karena Virtual Border Router ada di atasnya. |
| 400 | OperationDenied.MacsecAttached | The operation is not allowed because of MacsecAttached. | Operasi ditolak karena kunci MACSec masih terhubung dengan sirkuit Express Connect. |
| 400 | IncorrectStatus.PhysicalConnection | Invalid physical connection status. | Status saat ini dari sirkuit Express Connect tidak mendukung operasi ini. |
| 404 | InvalidPhysicalConnectionId.NotFound | The PhysicalConnectionId provided does not exist in our records. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.