turbot/alicloud

GitHub
steampipe plugin install alicloudsteampipe plugin install alicloud
alicloud_accountalicloud_action_trailalicloud_cas_certificatealicloud_cms_monitor_hostalicloud_cs_kubernetes_clusteralicloud_cs_kubernetes_cluster_nodealicloud_ecs_auto_provisioning_groupalicloud_ecs_autoscaling_groupalicloud_ecs_diskalicloud_ecs_disk_metric_read_iopsalicloud_ecs_disk_metric_read_iops_dailyalicloud_ecs_disk_metric_read_iops_hourlyalicloud_ecs_disk_metric_write_iopsalicloud_ecs_disk_metric_write_iops_dailyalicloud_ecs_disk_metric_write_iops_hourlyalicloud_ecs_imagealicloud_ecs_instancealicloud_ecs_instance_metric_cpu_utilization_dailyalicloud_ecs_instance_metric_cpu_utilization_hourlyalicloud_ecs_key_pairalicloud_ecs_launch_templatealicloud_ecs_network_interfacealicloud_ecs_regionalicloud_ecs_security_groupalicloud_ecs_snapshotalicloud_ecs_zonealicloud_kms_keyalicloud_kms_secretalicloud_oss_bucketalicloud_ram_access_keyalicloud_ram_credential_reportalicloud_ram_groupalicloud_ram_password_policyalicloud_ram_policyalicloud_ram_rolealicloud_ram_security_preferencealicloud_ram_useralicloud_rds_backupalicloud_rds_databasealicloud_rds_instancealicloud_rds_instance_metric_connectionsalicloud_rds_instance_metric_connections_dailyalicloud_rds_instance_metric_cpu_utilizationalicloud_rds_instance_metric_cpu_utilization_dailyalicloud_rds_instance_metric_cpu_utilization_hourlyalicloud_security_center_field_statisticsalicloud_security_center_versionalicloud_slb_load_balanceralicloud_vpcalicloud_vpc_dhcp_options_setalicloud_vpc_eipalicloud_vpc_flow_logalicloud_vpc_nat_gatewayalicloud_vpc_network_aclalicloud_vpc_route_entryalicloud_vpc_route_tablealicloud_vpc_ssl_vpn_client_certalicloud_vpc_ssl_vpn_serveralicloud_vpc_vpn_connectionalicloud_vpc_vpn_customer_gatewayalicloud_vpc_vpn_gatewayalicloud_vpc_vswitch

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
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
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.