turbot/alicloud

steampipe plugin install alicloudsteampipe plugin install alicloud

Table: alicloud_vpc_route_entry

Routes are set of rules that are used to determine where network traffic from the vswitch or gateway is directed.

Examples

Basic info

select
name,
route_table_id,
description,
instance_id,
route_entry_id,
destination_cidr_block,
type,
status
from
alicloud_vpc_route_entry;

List custom route entries

select
name,
route_table_id,
description,
instance_id,
route_entry_id,
destination_cidr_block,
type,
status
from
alicloud_vpc_route_entry
where
type = 'Custom';

List route entries that have a next hop type of VPN gateway

select
name,
route_table_id,
description,
route_entry_id,
destination_cidr_block,
type,
status
from
alicloud_vpc_route_entry,
jsonb_array_elements(next_hops) as next_hop
where
next_hop ->> 'NextHopType' = 'VpnGateway';

.inspect alicloud_vpc_route_entry

Alicloud VPC Route Entry

NameTypeDescription
account_idtextThe Alicloud Account ID in which the resource is located.
akasjsonbArray of globally unique identifier strings (also known as) for the resource.
descriptiontextThe description of the VRouter.
destination_cidr_blockcidrThe destination Classless Inter-Domain Routing (CIDR) block of the route entry.
instance_idtextThe ID of the instance associated with the next hop.
ip_versiontextThe version of the IP protocol.
nametextThe name of the route entry.
next_hop_oppsite_instance_idtextThe ID of the instance associated with the next hop.
next_hop_oppsite_region_idtextThe region where the next hop instance is deployed.
next_hop_oppsite_typetextThe type of the next hop.
next_hop_region_idtextThe region where the next hop instance is deployed.
next_hop_typetextThe type of the next hop.
next_hopsjsonbThe information about the next hop.
private_ip_addressinetSpecifies the private ip address for the route entry.
regiontextThe Alicloud region in which the resource is located.
route_entry_idtextThe ID of the route entry.
route_table_idtextThe ID of the route table.
statustextThe status of the route entry.
titletextTitle of the resource.
typetextThe type of the route entry.