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 sirkuit Express Connect. |
pc-119mfjzm7********* |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Klien menghasilkan nilai ini. Nilai harus unik di antara permintaan yang berbeda 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. | The deletion failed. The user of the shared port must perform the deletion. |
| 400 | OperationDenied.NeedPconnOwner | The operation is denied. | The deletion failed. The user of the physical port must perform the deletion. |
| 400 | Forbidden.NotInAllowDeleteStatus | Only physical connection in the Cancelled, Rejected, Terminated, Allocated, or AllocationFailed states can be deleted. | Only physical connections in the Canceled, Rejected, Terminated, Allocated, or AllocationFailed state can be deleted. |
| 400 | ResourceAlreadyAssociated.PconnQos | The specified resource of PconnQos is already associated. | The physical connection is already bound to another QoS policy. |
| 400 | ResourceNotFound.PhysicalConnectionId | PhysicalConnection is not found. | PhysicalConnectionId is not found. |
| 400 | OperationDenied.NeedVpconnOwnerOrPconnOwner | The deletion failed. Only the owner of virtual physical connection or physical connection can delete it. | The deletion failed. Only the user of the shared port or dedicated port can perform the deletion. |
| 400 | OperationDenied.ExistVbrInPhysicalConnection | It cannot be deleted when VBR exists. | The physical port cannot be deleted because a virtual border router (VBR) exists under it. |
| 400 | OperationDenied.MacsecAttached | The operation is not allowed because of MacsecAttached. | The operation is denied because MACsec keys are still bound to the physical connection. |
| 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.