Menghentikan akses ke sirkuit Express Connect setelah sirkuit diaktifkan.
Deskripsi operasi
Setelah Anda memanggil operasi TerminatePhysicalConnection, sirkuit Express Connect akan memasuki status Terminating. Setelah operasi selesai, sirkuit akan memasuki status Terminated. Saat Anda memanggil operasi ini untuk menghentikan tugas sirkuit Express Connect, perhatikan hal-hal berikut:
Anda hanya dapat menghentikan tugas sirkuit Express Connect yang berada dalam status Enabled.
Sebelum Anda menghentikan tugas sirkuit Express Connect, Anda harus menghapus VBR yang terkait dengan sirkuit tersebut.
Coba sekarang
Test
RAM authorization
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-hangzhou |
| PhysicalConnectionId |
string |
Yes |
ID instans sirkuit Express Connect. |
pc-119mfjzm**** |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk menghasilkan token, tetapi Anda harus memastikan bahwa token tersebut unik di antara permintaan yang berbeda. Nilai ClientToken hanya dapat berisi karakter ASCII. Catatan
Jika Anda tidak menentukan parameter ini, sistem akan menggunakan RequestId dari permintaan API sebagai ClientToken. RequestId dari setiap permintaan API berbeda. |
02fb3da4-130e-11e9-8e44-0016e04115b |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
ID permintaan. |
||
| RequestId |
string |
ID permintaan. |
4EC47282-1B74-4534-BD0E-403F3EE64CAF |
Contoh
Respons sukses
JSONformat
{
"RequestId": "4EC47282-1B74-4534-BD0E-403F3EE64CAF"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Forbidden.NotAllowedInState | The request does not allow in this state. | |
| 400 | Forbidden.VbrAttached | Cannot terminate physical connection when virtual border routers are still attached. | |
| 400 | OperationFailed.VpconnAttached | Cannot terminate physical connection when vpconn are still attached. | |
| 400 | OperationDenied.MacsecAttached | The operation is not allowed because of MacsecAttached. | |
| 400 | OperationFailed.ResourceLockedBySystem | The specified resource is locked by system. | |
| 404 | InvalidRegionId.NotFound | The RegionId provided does not exist in our records. | |
| 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.