Mengkueri daftar tabel rute dengan memanggil operasi DescribeRouteTableList.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RouterType |
string |
No |
Tipe router tempat tabel rute berada. Nilai valid:
|
VRouter |
| RouterId |
string |
No |
ID router tempat tabel rute berada. |
vrt-bp1lhl0taikrteen8**** |
| VpcId |
string |
No |
ID VPC tempat tabel rute berada. Jika Anda menentukan parameter ini, nilai RouterType secara otomatis diatur ke VRouter. |
vpc-bp15zckdt37pq72**** |
| RouteTableId |
string |
No |
ID tabel rute yang ingin Anda kueri. |
vtb-bp145q7glnuzdvzu2**** |
| RouteTableName |
string |
No |
Nama tabel rute yang ingin Anda kueri. |
doctest |
| PageNumber |
integer |
No |
Nomor halaman. Nilai default: 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman dalam kueri berhalaman. Nilai maksimum: 50. Nilai default: 10. |
10 |
| ResourceGroupId |
string |
No |
ID kelompok sumber daya tempat tabel rute berada. |
rg-acfmxazb4ph**** |
| RegionId |
string |
Yes |
ID wilayah VPC tempat tabel rute berada. Anda dapat memanggil operasi DescribeRegions untuk mengkueri daftar wilayah terbaru. |
ap-southeast-6 |
| Tag |
array<object> |
No |
Tag sumber daya. |
|
|
object |
No |
Tag. |
||
| Key |
string |
No |
Kunci tag sumber daya. Anda dapat menentukan hingga 20 kunci tag. Kunci tag tidak boleh berupa string kosong. Panjang kunci tag dapat mencapai 128 karakter dan tidak boleh diawali dengan |
FinanceDept |
| Value |
string |
No |
Nilai tag sumber daya. Anda dapat menentukan hingga 20 nilai tag. Nilai tag dapat berupa string kosong. Panjang nilai tag dapat mencapai 128 karakter dan tidak boleh diawali dengan |
FinanceJoshua |
| RouteTableType |
string |
No |
Tipe tabel rute. Nilai valid:
|
System |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Informasi detail tentang tabel rute yang dikueri. |
||
| RequestId |
string |
ID permintaan. |
DC668356-BCB4-42FD-9BC3-FA2B2E04B634 |
| PageSize |
integer |
Jumlah entri per halaman. |
10 |
| PageNumber |
integer |
Nomor halaman saat ini. |
1 |
| TotalCount |
integer |
Jumlah total entri yang dikembalikan. |
1 |
| RouterTableList |
object |
||
| RouterTableListType |
array<object> |
Informasi detail tentang tabel rute. |
|
|
array<object> |
Informasi detail tentang tabel rute. |
||
| VpcId |
string |
The ID of the VPC to which the route table belongs. |
vpc-bp15zckdt37pq72**** |
| CreationTime |
string |
The time when the route table was created. |
2021-08-22T10:40:25Z |
| Status |
string |
The status of the route table. Valid values:
|
Available |
| RouterId |
string |
The ID of the vRouter to which the route table belongs. |
vrt-bp1lhl0taikrteen8**** |
| AssociateType |
string |
The type of the cloud resource with which the route table is associated. Valid values:
|
VSwitch |
| RouteTableId |
string |
The ID of the route table. |
vtb-bp145q7glnuzdvzu2**** |
| OwnerId |
integer |
The ID of the Alibaba Cloud account to which the route table belongs. |
253460731706911258 |
| Description |
string |
The information about the route table. |
This is Route Table. |
| RouteTableType |
string |
The type of the route table. Valid values:
|
System |
| ResourceGroupId |
string |
The ID of the resource group to which the route table belongs. |
rg-acfmxazb4ph**** |
| RouterType |
string |
The type of the vRouter to which the route table belongs. Valid values:
|
VRouter |
| RouteTableName |
string |
The name of the route table. |
doctest |
| Tags |
object |
||
| Tag |
array<object> |
The tags. |
|
|
object |
The tags. |
||
| Key |
string |
The key of the tag that is added to the route table. |
type |
| Value |
string |
The value of the tag that is added to the route table. |
ingress |
| VSwitchIds |
object |
||
| VSwitchId |
array |
The vSwitch IDs. |
|
|
string |
The vSwitch IDs. |
vsw-bp12mw1f8k3jgygk9**** |
|
| GatewayIds |
object |
||
| GatewayIds |
array |
The detailed information about the IPv4 gateway. |
|
|
string |
The detailed information about the IPv4 gateway. |
ipv4gw-5tsnc6s4ogsedtp3k**** |
|
| RoutePropagationEnable |
boolean |
Whether to receive the propagation routes. Valid Values:
|
true |
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidTagKey | The tag keys are not valid. | The tag index is invalid. |
| 400 | InvalidTagValue | The tag values are not valid. | The tag value is invalid. |
| 400 | IellgalParameter.OwnerAccount | The specified parameter OwnerAccount is not valid. | The specified parameter OwnerAccount is illegal. |
| 403 | Forbbiden | User not authorized to operate on the specified resource. | User not authorized to operate on the specified resource. |
| 403 | Abs.InvalidPayType | Specified pay type is not valid. | |
| 403 | Abs.InstanceNotExist | Specified instance not exist. | |
| 403 | Abs.Forbidden | Specified instance cannot change pay type. | |
| 403 | Abs.InvalidPayPeriod | Specified pay period not valid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.