Memanggil DissociateRouteTableFromGateway untuk melepas tabel rute gateway dari instance IPv4 gateway atau IPv6 gateway.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID region dari tabel rute gateway dan instance IPv4 gateway yang akan dilepas. Anda dapat memanggil operasi DescribeRegions untuk menanyakan ID region. |
ap-southeast-6 |
| RouteTableId |
string |
Yes |
ID tabel rute gateway yang akan dilepas. |
vtb-5ts0ohchwkp3dydt2**** |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk menghasilkan nilai, tetapi Anda harus memastikan bahwa nilai tersebut unik di antara permintaan yang berbeda. Nilai dapat berisi hingga 64 karakter ASCII. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan RequestId dari permintaan API sebagai ClientToken. RequestId dapat berbeda untuk setiap permintaan API. |
123e4567-e89b-12d3-a456-426655440000 |
| DryRun |
boolean |
No |
Menentukan apakah hanya akan melakukan dry run, tanpa menjalankan permintaan yang sebenarnya. Nilai yang valid:
|
false |
| GatewayId |
string |
Yes |
ID instance IPv4 gateway yang akan dilepas. |
ipv4gw-5tsnc6s4ogsedtp3k**** |
| GatewayType |
string |
No |
Tipe instance gateway yang akan dilepas. |
Ipv4Gateway |
| RegionId |
string |
Yes |
ID region dari tabel rute gateway dan instance IPv4 gateway yang akan dilepas. Anda dapat memanggil operasi DescribeRegions untuk menanyakan ID region. |
ap-southeast-6 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Informasi yang dikembalikan. |
||
| RequestId |
string |
ID permintaan. |
C5644C9A-7480-13B6-AECB-30FF142E3724 |
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | OperationFailed.NotExistAssociateRelation | The operation is not failed because of not exist this associate relation. | The system failed to disassociate the route table from the gateway because the route table is not associated with the gateway. |
| 400 | ResourceNotFound.Ipv4Gateway | The specified resource ipv4Gateway is not found. | The IPv4 gateway is not found and cannot be deleted. |
| 400 | IncorrectStatus.Ipv4Gateway | The status of %s [%s] is incorrect. | The IPv4 gateway is in an invalid state. Try again later. |
| 400 | ResourceNotFound.GatewayRouteTable | The specified resource GatewayRouteTable is not found. | The gateway route table cannot be found. |
| 400 | IncorrectStatus.GatewayRouteTable | The status of %s [%s] is incorrect. | The gateway route table is in an invalid state. Try again later. |
| 400 | ResourceNotFound.RouteTable | The specified resource gatewayRouteTable is not found. | The gateway route table does not exist. |
| 400 | OperationDenied.RouteTableTypeIncorrect | The operation is not allowed because of %s. | The gateway route table is not a border gateway route table. |
| 400 | IncorrectStatus.Ipv6Gateway | The status of %s [%s] is incorrect. | The IPv6 gateway is in an unstable state. Try again later. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.