Memanggil operasi UnassociateRouteTable untuk melepaskan tabel entri rute dari vSwitch.
Deskripsi operasi
- UnassociateRouteTable adalah operasi asinkron. Setelah permintaan dikirim, sistem mengembalikan ID permintaan dan menjalankan tugas di latar belakang. Tabel entri rute tidak langsung dilepaskan. Anda dapat memanggil operasi DescribeVSwitchAttributes untuk mengkueri status tabel entri rute:
Jika vSwitch berada dalam status Pending, tabel entri rute sedang dilepaskan.
Jika vSwitch berada dalam status Available, tabel entri rute telah dilepaskan.
Anda tidak dapat memanggil operasi UnassociateRouteTable berulang kali untuk melepaskan tabel entri rute dari vSwitch dalam periode waktu tertentu.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah tempat VPC yang memiliki tabel entri rute berada. Anda dapat memanggil operasi DescribeRegions untuk mengkueri ID wilayah. |
cn-hangzhou |
| RouteTableId |
string |
Yes |
ID tabel entri rute. |
vtb-bp145q7glnuzdvzu2**** |
| VSwitchId |
string |
Yes |
ID vSwitch yang akan dilepaskan. |
vsw-25naue4**** |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk menghasilkan nilai ini, tetapi Anda harus memastikan bahwa nilai tersebut unik di antara permintaan yang berbeda. Token hanya dapat berisi karakter ASCII. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan RequestId dari permintaan API sebagai ClientToken. RequestId dari setiap permintaan API mungkin berbeda. |
02fb3da4-130e-11e9-8e44-0016e04115b |
| RegionId |
string |
Yes |
The ID of the region to which the VPC that the route table belongs. You can call the DescribeRegions operation to query the region ID. |
cn-hangzhou |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
62172DD5-6BAC-45DF-8D44-xxxxxxx |
Contoh
Respons sukses
JSONformat
{
"RequestId": "62172DD5-6BAC-45DF-8D44-xxxxxxx"
}
Respons error
JSONformat
{
"RequestId": "62172DD5-6BAC-45DF-8D44-xxxxxxxx"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidRegionId.NotFound | Specified value of RegionId is not supported. | |
| 400 | InvalidParameter.Action | This vpc feature is not supported in this region | |
| 400 | IncorrectVSwitchStatus | The current status of the virtual switch does not support this operation. | |
| 400 | OperationUnsupported.SystemRouteTable | System route table can not be unassociated. | |
| 400 | InvalidStatus.VSwitch | Specified vswitch is not in stable status and cannot operate. | |
| 404 | InvalidRouteTableId.NotFound | Specified route table does not exist. | |
| 404 | InvalidVSwitchId.NotFound | Specified VSwitch does not exist. | |
| 404 | InvalidBindingStatus.RouteTable | The specified virtual switch and route table does not bind | |
| 404 | OperationFailed.VSwitchNotAssociate | Specified vswitch is not associated with the routeTable and cannot operate. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.