alicloud_cen_transit_router_route_entries
更新时间:
This data source provides CEN Transit Router Route Entries available to the user.What is Cen Transit Router Route Entries
-> NOTE: Available in 1.126.0+
Example Usage
data "alicloud_cen_transit_router_route_entries" "entry" {
transit_router_route_table_id = "vtb-*********"
}
output "transit_router_route_entry_destination_cidr_block"" {
value = data.alicloud_cen_transit_router_route_entries.transit_router_route_entries.0.transit_router_route_entry_destination_cidr_block
}
Argument Reference
The following arguments are supported:
transit_router_route_table_id
- (Required) ID of the CEN Transit Router Route Table.transit_router_route_entry_destination_cidr_block
- (Optional) The target network segment of the route entry.transit_router_route_entry_status
- (Optional) The status of the resource.Valid valuesCreating
,Active
andDeleting
.transit_router_route_entry_names
- (Optional) A list of name of the cen transit router route entry.transit_router_route_entry_ids
- (Optional) A list of ID of the cen transit router route entry.output_file
- (Optional) File name where to save data source results (after runningterraform plan
).
Attributes Reference
The following attributes are exported in addition to the arguments listed above:
ids
- A list of CEN Transit Router Route Entry IDs.names
- A list of CEN Transit Router Route Entry Names.entries
- A list of CEN Route Entries. Each element contains the following attributes:transit_router_route_entry_destination_cidr_block
- The destination CIDR block of the route entry.transit_router_route_entry_next_hop_id
- ID of the next hop.transit_router_route_entry_next_hop_type
- Type of the next hop.transit_router_route_entry_type
- Type of the route entry.transit_router_route_entry_status
- The status of the route entry in CEN.
文档内容是否对您有帮助?