Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.transit_router.RouteEntries
Explore with Pulumi AI
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.RouteEntries({
    ids: ["tr-rte-12b7qd5eo3h1c17q7y1sq5ixv"],
    transitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.transit_router.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.RouteEntries(ctx, &transit_router.RouteEntriesArgs{
			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.RouteEntries.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.RouteEntriesArgs;
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.RouteEntries(RouteEntriesArgs.builder()
            .ids("tr-rte-12b7qd5eo3h1c17q7y1sq5ixv")
            .transitRouterRouteTableId("tr-rtb-12b7qd3fmzf2817q7y2jkbd55")
            .build());
    }
}
variables:
  default:
    fn::invoke:
      Function: volcengine:transit_router:RouteEntries
      Arguments:
        ids:
          - tr-rte-12b7qd5eo3h1c17q7y1sq5ixv
        transitRouterRouteTableId: tr-rtb-12b7qd3fmzf2817q7y2jkbd55
Using RouteEntries
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 routeEntries(args: RouteEntriesArgs, opts?: InvokeOptions): Promise<RouteEntriesResult>
function routeEntriesOutput(args: RouteEntriesOutputArgs, opts?: InvokeOptions): Output<RouteEntriesResult>def 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) -> RouteEntriesResult
def 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[RouteEntriesResult]func RouteEntries(ctx *Context, args *RouteEntriesArgs, opts ...InvokeOption) (*RouteEntriesResult, error)
func RouteEntriesOutput(ctx *Context, args *RouteEntriesOutputArgs, opts ...InvokeOption) RouteEntriesResultOutputpublic static class RouteEntries 
{
    public static Task<RouteEntriesResult> InvokeAsync(RouteEntriesArgs args, InvokeOptions? opts = null)
    public static Output<RouteEntriesResult> Invoke(RouteEntriesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<RouteEntriesResult> routeEntries(RouteEntriesArgs args, InvokeOptions options)
public static Output<RouteEntriesResult> routeEntries(RouteEntriesArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:transit_router:RouteEntries
  arguments:
    # arguments dictionaryThe following arguments are supported:
- TransitRouter stringRoute Table Id 
- The id of the route table.
- DestinationCidr stringBlock 
- The target network segment of the route entry.
- Ids List<string>
- The ids of the transit router route entry.
- OutputFile string
- File name where to save data source results.
- Status string
- The status of the route entry.
- TransitRouter stringRoute Entry Name 
- The name of the route entry.
- TransitRouter stringRoute Table Id 
- The id of the route table.
- DestinationCidr stringBlock 
- The target network segment of the route entry.
- Ids []string
- The ids of the transit router route entry.
- OutputFile string
- File name where to save data source results.
- Status string
- The status of the route entry.
- TransitRouter stringRoute Entry Name 
- The name of the route entry.
- transitRouter StringRoute Table Id 
- The id of the route table.
- destinationCidr StringBlock 
- The target network segment of the route entry.
- ids List<String>
- The ids of the transit router route entry.
- outputFile String
- File name where to save data source results.
- status String
- The status of the route entry.
- transitRouter StringRoute Entry Name 
- The name of the route entry.
- transitRouter stringRoute Table Id 
- The id of the route table.
- destinationCidr stringBlock 
- The target network segment of the route entry.
- ids string[]
- The ids of the transit router route entry.
- outputFile string
- File name where to save data source results.
- status string
- The status of the route entry.
- transitRouter 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.
- transitRouter StringRoute Table Id 
- The id of the route table.
- destinationCidr StringBlock 
- The target network segment of the route entry.
- ids List<String>
- The ids of the transit router route entry.
- outputFile String
- File name where to save data source results.
- status String
- The status of the route entry.
- transitRouter StringRoute Entry Name 
- The name of the route entry.
RouteEntries Result
The following output properties are available:
- Entries
List<RouteEntries Entry> 
- The list of route entries.
- Id string
- The provider-assigned unique ID for this managed resource.
- TotalCount int
- The total count of data query.
- TransitRouter stringRoute Table Id 
- DestinationCidr stringBlock 
- The target network segment of the route entry.
- Ids List<string>
- OutputFile string
- Status string
- The status of the route entry.
- TransitRouter stringRoute Entry Name 
- The name of the route entry.
- Entries
[]RouteEntries Entry 
- The list of route entries.
- Id string
- The provider-assigned unique ID for this managed resource.
- TotalCount int
- The total count of data query.
- TransitRouter stringRoute Table Id 
- DestinationCidr stringBlock 
- The target network segment of the route entry.
- Ids []string
- OutputFile string
- Status string
- The status of the route entry.
- TransitRouter stringRoute Entry Name 
- The name of the route entry.
- entries
List<RouteEntries Entry> 
- The list of route entries.
- id String
- The provider-assigned unique ID for this managed resource.
- totalCount Integer
- The total count of data query.
- transitRouter StringRoute Table Id 
- destinationCidr StringBlock 
- The target network segment of the route entry.
- ids List<String>
- outputFile String
- status String
- The status of the route entry.
- transitRouter StringRoute Entry Name 
- The name of the route entry.
- entries
RouteEntries Entry[] 
- The list of route entries.
- id string
- The provider-assigned unique ID for this managed resource.
- totalCount number
- The total count of data query.
- transitRouter stringRoute Table Id 
- destinationCidr stringBlock 
- The target network segment of the route entry.
- ids string[]
- outputFile string
- status string
- The status of the route entry.
- transitRouter stringRoute Entry Name 
- The name of the route entry.
- entries
Sequence[RouteEntries 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.
- totalCount Number
- The total count of data query.
- transitRouter StringRoute Table Id 
- destinationCidr StringBlock 
- The target network segment of the route entry.
- ids List<String>
- outputFile String
- status String
- The status of the route entry.
- transitRouter StringRoute Entry Name 
- The name of the route entry.
Supporting Types
RouteEntriesEntry  
- AsPath string
- The as path of the route entry.
- CreationTime string
- The creation time of the route entry.
- Description string
- Description of the transit router route entry.
- DestinationCidr stringBlock 
- The target network segment of the route entry.
- Status string
- The status of the route entry.
- TransitRouter stringRoute Entry Id 
- The id of the route entry.
- TransitRouter stringRoute Entry Name 
- The name of the route entry.
- TransitRouter stringRoute Entry Next Hop Id 
- The next hot id of the routing entry.
- TransitRouter stringRoute Entry Next Hop Type 
- The next hop type of the routing entry. The value can be Attachment or BlackHole.
- TransitRouter stringRoute Entry Type 
- The type of the route entry.
- UpdateTime string
- The update time of the route entry.
- AsPath string
- The as path of the route entry.
- CreationTime string
- The creation time of the route entry.
- Description string
- Description of the transit router route entry.
- DestinationCidr stringBlock 
- The target network segment of the route entry.
- Status string
- The status of the route entry.
- TransitRouter stringRoute Entry Id 
- The id of the route entry.
- TransitRouter stringRoute Entry Name 
- The name of the route entry.
- TransitRouter stringRoute Entry Next Hop Id 
- The next hot id of the routing entry.
- TransitRouter stringRoute Entry Next Hop Type 
- The next hop type of the routing entry. The value can be Attachment or BlackHole.
- TransitRouter stringRoute Entry Type 
- The type of the route entry.
- UpdateTime string
- The update time of the route entry.
- asPath String
- The as path of the route entry.
- creationTime String
- The creation time of the route entry.
- description String
- Description of the transit router route entry.
- destinationCidr StringBlock 
- The target network segment of the route entry.
- status String
- The status of the route entry.
- transitRouter StringRoute Entry Id 
- The id of the route entry.
- transitRouter StringRoute Entry Name 
- The name of the route entry.
- transitRouter StringRoute Entry Next Hop Id 
- The next hot id of the routing entry.
- transitRouter StringRoute Entry Next Hop Type 
- The next hop type of the routing entry. The value can be Attachment or BlackHole.
- transitRouter StringRoute Entry Type 
- The type of the route entry.
- updateTime String
- The update time of the route entry.
- asPath string
- The as path of the route entry.
- creationTime string
- The creation time of the route entry.
- description string
- Description of the transit router route entry.
- destinationCidr stringBlock 
- The target network segment of the route entry.
- status string
- The status of the route entry.
- transitRouter stringRoute Entry Id 
- The id of the route entry.
- transitRouter stringRoute Entry Name 
- The name of the route entry.
- transitRouter stringRoute Entry Next Hop Id 
- The next hot id of the routing entry.
- transitRouter stringRoute Entry Next Hop Type 
- The next hop type of the routing entry. The value can be Attachment or BlackHole.
- transitRouter stringRoute Entry Type 
- The type of the route entry.
- updateTime 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.
- asPath String
- The as path of the route entry.
- creationTime String
- The creation time of the route entry.
- description String
- Description of the transit router route entry.
- destinationCidr StringBlock 
- The target network segment of the route entry.
- status String
- The status of the route entry.
- transitRouter StringRoute Entry Id 
- The id of the route entry.
- transitRouter StringRoute Entry Name 
- The name of the route entry.
- transitRouter StringRoute Entry Next Hop Id 
- The next hot id of the routing entry.
- transitRouter StringRoute Entry Next Hop Type 
- The next hop type of the routing entry. The value can be Attachment or BlackHole.
- transitRouter StringRoute Entry Type 
- The type of the route entry.
- updateTime 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.