Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Use this data source to query detailed information of transit router route entries
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.transit_router.getRouteEntries({
ids: ["tr-rte-12b7qd5eo3h1c17q7y1sq5ixv"],
transitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.transit_router.get_route_entries(ids=["tr-rte-12b7qd5eo3h1c17q7y1sq5ixv"],
transit_router_route_table_id="tr-rtb-12b7qd3fmzf2817q7y2jkbd55")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/transit_router"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := transit_router.GetRouteEntries(ctx, &transit_router.GetRouteEntriesArgs{
Ids: []string{
"tr-rte-12b7qd5eo3h1c17q7y1sq5ixv",
},
TransitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Transit_router.GetRouteEntries.Invoke(new()
{
Ids = new[]
{
"tr-rte-12b7qd5eo3h1c17q7y1sq5ixv",
},
TransitRouterRouteTableId = "tr-rtb-12b7qd3fmzf2817q7y2jkbd55",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.transit_router.Transit_routerFunctions;
import com.pulumi.volcengine.transit_router.inputs.GetRouteEntriesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var default = Transit_routerFunctions.getRouteEntries(GetRouteEntriesArgs.builder()
.ids("tr-rte-12b7qd5eo3h1c17q7y1sq5ixv")
.transitRouterRouteTableId("tr-rtb-12b7qd3fmzf2817q7y2jkbd55")
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:transit_router:getRouteEntries
Arguments:
ids:
- tr-rte-12b7qd5eo3h1c17q7y1sq5ixv
transitRouterRouteTableId: tr-rtb-12b7qd3fmzf2817q7y2jkbd55
Using getRouteEntries
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRouteEntries(args: GetRouteEntriesArgs, opts?: InvokeOptions): Promise<GetRouteEntriesResult>
function getRouteEntriesOutput(args: GetRouteEntriesOutputArgs, opts?: InvokeOptions): Output<GetRouteEntriesResult>def get_route_entries(destination_cidr_block: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
output_file: Optional[str] = None,
status: Optional[str] = None,
transit_router_route_entry_name: Optional[str] = None,
transit_router_route_table_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRouteEntriesResult
def get_route_entries_output(destination_cidr_block: Optional[pulumi.Input[str]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
output_file: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
transit_router_route_entry_name: Optional[pulumi.Input[str]] = None,
transit_router_route_table_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRouteEntriesResult]func GetRouteEntries(ctx *Context, args *GetRouteEntriesArgs, opts ...InvokeOption) (*GetRouteEntriesResult, error)
func GetRouteEntriesOutput(ctx *Context, args *GetRouteEntriesOutputArgs, opts ...InvokeOption) GetRouteEntriesResultOutput> Note: This function is named GetRouteEntries in the Go SDK.
public static class GetRouteEntries
{
public static Task<GetRouteEntriesResult> InvokeAsync(GetRouteEntriesArgs args, InvokeOptions? opts = null)
public static Output<GetRouteEntriesResult> Invoke(GetRouteEntriesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRouteEntriesResult> getRouteEntries(GetRouteEntriesArgs args, InvokeOptions options)
public static Output<GetRouteEntriesResult> getRouteEntries(GetRouteEntriesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:transit_router/getRouteEntries:getRouteEntries
arguments:
# arguments dictionaryThe following arguments are supported:
- Transit
Router stringRoute Table Id - The id of the route table.
- Destination
Cidr stringBlock - The target network segment of the route entry.
- Ids List<string>
- The ids of the transit router route entry.
- Output
File string - File name where to save data source results.
- Status string
- The status of the route entry.
- Transit
Router stringRoute Entry Name - The name of the route entry.
- Transit
Router stringRoute Table Id - The id of the route table.
- Destination
Cidr stringBlock - The target network segment of the route entry.
- Ids []string
- The ids of the transit router route entry.
- Output
File string - File name where to save data source results.
- Status string
- The status of the route entry.
- Transit
Router stringRoute Entry Name - The name of the route entry.
- transit
Router StringRoute Table Id - The id of the route table.
- destination
Cidr StringBlock - The target network segment of the route entry.
- ids List<String>
- The ids of the transit router route entry.
- output
File String - File name where to save data source results.
- status String
- The status of the route entry.
- transit
Router StringRoute Entry Name - The name of the route entry.
- transit
Router stringRoute Table Id - The id of the route table.
- destination
Cidr stringBlock - The target network segment of the route entry.
- ids string[]
- The ids of the transit router route entry.
- output
File string - File name where to save data source results.
- status string
- The status of the route entry.
- transit
Router stringRoute Entry Name - The name of the route entry.
- transit_
router_ strroute_ table_ id - The id of the route table.
- destination_
cidr_ strblock - The target network segment of the route entry.
- ids Sequence[str]
- The ids of the transit router route entry.
- output_
file str - File name where to save data source results.
- status str
- The status of the route entry.
- transit_
router_ strroute_ entry_ name - The name of the route entry.
- transit
Router StringRoute Table Id - The id of the route table.
- destination
Cidr StringBlock - The target network segment of the route entry.
- ids List<String>
- The ids of the transit router route entry.
- output
File String - File name where to save data source results.
- status String
- The status of the route entry.
- transit
Router StringRoute Entry Name - The name of the route entry.
getRouteEntries Result
The following output properties are available:
- Entries
List<Get
Route Entries Entry> - The list of route entries.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of data query.
- Transit
Router stringRoute Table Id - Destination
Cidr stringBlock - The target network segment of the route entry.
- Ids List<string>
- Output
File string - Status string
- The status of the route entry.
- Transit
Router stringRoute Entry Name - The name of the route entry.
- Entries
[]Get
Route Entries Entry - The list of route entries.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of data query.
- Transit
Router stringRoute Table Id - Destination
Cidr stringBlock - The target network segment of the route entry.
- Ids []string
- Output
File string - Status string
- The status of the route entry.
- Transit
Router stringRoute Entry Name - The name of the route entry.
- entries
List<Get
Route Entries Entry> - The list of route entries.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of data query.
- transit
Router StringRoute Table Id - destination
Cidr StringBlock - The target network segment of the route entry.
- ids List<String>
- output
File String - status String
- The status of the route entry.
- transit
Router StringRoute Entry Name - The name of the route entry.
- entries
Get
Route Entries Entry[] - The list of route entries.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of data query.
- transit
Router stringRoute Table Id - destination
Cidr stringBlock - The target network segment of the route entry.
- ids string[]
- output
File string - status string
- The status of the route entry.
- transit
Router stringRoute Entry Name - The name of the route entry.
- entries
Sequence[Get
Route Entries Entry] - The list of route entries.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of data query.
- transit_
router_ strroute_ table_ id - destination_
cidr_ strblock - The target network segment of the route entry.
- ids Sequence[str]
- output_
file str - status str
- The status of the route entry.
- transit_
router_ strroute_ entry_ name - The name of the route entry.
- entries List<Property Map>
- The list of route entries.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of data query.
- transit
Router StringRoute Table Id - destination
Cidr StringBlock - The target network segment of the route entry.
- ids List<String>
- output
File String - status String
- The status of the route entry.
- transit
Router StringRoute Entry Name - The name of the route entry.
Supporting Types
GetRouteEntriesEntry
- As
Path string - The as path of the route entry.
- Creation
Time string - The creation time of the route entry.
- Description string
- Description of the transit router route entry.
- Destination
Cidr stringBlock - The target network segment of the route entry.
- Status string
- The status of the route entry.
- Transit
Router stringRoute Entry Id - The id of the route entry.
- Transit
Router stringRoute Entry Name - The name of the route entry.
- Transit
Router stringRoute Entry Next Hop Id - The next hot id of the routing entry.
- Transit
Router stringRoute Entry Next Hop Type - The next hop type of the routing entry. The value can be Attachment or BlackHole.
- Transit
Router stringRoute Entry Type - The type of the route entry.
- Update
Time string - The update time of the route entry.
- As
Path string - The as path of the route entry.
- Creation
Time string - The creation time of the route entry.
- Description string
- Description of the transit router route entry.
- Destination
Cidr stringBlock - The target network segment of the route entry.
- Status string
- The status of the route entry.
- Transit
Router stringRoute Entry Id - The id of the route entry.
- Transit
Router stringRoute Entry Name - The name of the route entry.
- Transit
Router stringRoute Entry Next Hop Id - The next hot id of the routing entry.
- Transit
Router stringRoute Entry Next Hop Type - The next hop type of the routing entry. The value can be Attachment or BlackHole.
- Transit
Router stringRoute Entry Type - The type of the route entry.
- Update
Time string - The update time of the route entry.
- as
Path String - The as path of the route entry.
- creation
Time String - The creation time of the route entry.
- description String
- Description of the transit router route entry.
- destination
Cidr StringBlock - The target network segment of the route entry.
- status String
- The status of the route entry.
- transit
Router StringRoute Entry Id - The id of the route entry.
- transit
Router StringRoute Entry Name - The name of the route entry.
- transit
Router StringRoute Entry Next Hop Id - The next hot id of the routing entry.
- transit
Router StringRoute Entry Next Hop Type - The next hop type of the routing entry. The value can be Attachment or BlackHole.
- transit
Router StringRoute Entry Type - The type of the route entry.
- update
Time String - The update time of the route entry.
- as
Path string - The as path of the route entry.
- creation
Time string - The creation time of the route entry.
- description string
- Description of the transit router route entry.
- destination
Cidr stringBlock - The target network segment of the route entry.
- status string
- The status of the route entry.
- transit
Router stringRoute Entry Id - The id of the route entry.
- transit
Router stringRoute Entry Name - The name of the route entry.
- transit
Router stringRoute Entry Next Hop Id - The next hot id of the routing entry.
- transit
Router stringRoute Entry Next Hop Type - The next hop type of the routing entry. The value can be Attachment or BlackHole.
- transit
Router stringRoute Entry Type - The type of the route entry.
- update
Time string - The update time of the route entry.
- as_
path str - The as path of the route entry.
- creation_
time str - The creation time of the route entry.
- description str
- Description of the transit router route entry.
- destination_
cidr_ strblock - The target network segment of the route entry.
- status str
- The status of the route entry.
- transit_
router_ strroute_ entry_ id - The id of the route entry.
- transit_
router_ strroute_ entry_ name - The name of the route entry.
- transit_
router_ strroute_ entry_ next_ hop_ id - The next hot id of the routing entry.
- transit_
router_ strroute_ entry_ next_ hop_ type - The next hop type of the routing entry. The value can be Attachment or BlackHole.
- transit_
router_ strroute_ entry_ type - The type of the route entry.
- update_
time str - The update time of the route entry.
- as
Path String - The as path of the route entry.
- creation
Time String - The creation time of the route entry.
- description String
- Description of the transit router route entry.
- destination
Cidr StringBlock - The target network segment of the route entry.
- status String
- The status of the route entry.
- transit
Router StringRoute Entry Id - The id of the route entry.
- transit
Router StringRoute Entry Name - The name of the route entry.
- transit
Router StringRoute Entry Next Hop Id - The next hot id of the routing entry.
- transit
Router StringRoute Entry Next Hop Type - The next hop type of the routing entry. The value can be Attachment or BlackHole.
- transit
Router StringRoute Entry Type - The type of the route entry.
- update
Time String - The update time of the route entry.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
