1. Packages
  2. Volcengine
  3. API Docs
  4. transit_router
  5. RouteEntries
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

volcengine.transit_router.RouteEntries

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

    Use this data source to query detailed information of transit router route entries

    Example Usage

    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 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
    	})
    }
    
    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());
    
        }
    }
    
    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")
    
    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",
    });
    
    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) RouteEntriesResultOutput
    public 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:transit_router:RouteEntries
      arguments:
        # arguments dictionary

    The following arguments are supported:

    TransitRouterRouteTableId string
    The id of the route table.
    DestinationCidrBlock string
    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.
    TransitRouterRouteEntryName string
    The name of the route entry.
    TransitRouterRouteTableId string
    The id of the route table.
    DestinationCidrBlock string
    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.
    TransitRouterRouteEntryName string
    The name of the route entry.
    transitRouterRouteTableId String
    The id of the route table.
    destinationCidrBlock String
    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.
    transitRouterRouteEntryName String
    The name of the route entry.
    transitRouterRouteTableId string
    The id of the route table.
    destinationCidrBlock string
    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.
    transitRouterRouteEntryName string
    The name of the route entry.
    transit_router_route_table_id str
    The id of the route table.
    destination_cidr_block str
    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_route_entry_name str
    The name of the route entry.
    transitRouterRouteTableId String
    The id of the route table.
    destinationCidrBlock String
    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.
    transitRouterRouteEntryName String
    The name of the route entry.

    RouteEntries Result

    The following output properties are available:

    Entries List<RouteEntriesEntry>
    The list of route entries.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of data query.
    TransitRouterRouteTableId string
    DestinationCidrBlock string
    The target network segment of the route entry.
    Ids List<string>
    OutputFile string
    Status string
    The status of the route entry.
    TransitRouterRouteEntryName string
    The name of the route entry.
    Entries []RouteEntriesEntry
    The list of route entries.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of data query.
    TransitRouterRouteTableId string
    DestinationCidrBlock string
    The target network segment of the route entry.
    Ids []string
    OutputFile string
    Status string
    The status of the route entry.
    TransitRouterRouteEntryName string
    The name of the route entry.
    entries List<RouteEntriesEntry>
    The list of route entries.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Integer
    The total count of data query.
    transitRouterRouteTableId String
    destinationCidrBlock String
    The target network segment of the route entry.
    ids List<String>
    outputFile String
    status String
    The status of the route entry.
    transitRouterRouteEntryName String
    The name of the route entry.
    entries RouteEntriesEntry[]
    The list of route entries.
    id string
    The provider-assigned unique ID for this managed resource.
    totalCount number
    The total count of data query.
    transitRouterRouteTableId string
    destinationCidrBlock string
    The target network segment of the route entry.
    ids string[]
    outputFile string
    status string
    The status of the route entry.
    transitRouterRouteEntryName string
    The name of the route entry.
    entries Sequence[RouteEntriesEntry]
    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_route_table_id str
    destination_cidr_block str
    The target network segment of the route entry.
    ids Sequence[str]
    output_file str
    status str
    The status of the route entry.
    transit_router_route_entry_name str
    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.
    transitRouterRouteTableId String
    destinationCidrBlock String
    The target network segment of the route entry.
    ids List<String>
    outputFile String
    status String
    The status of the route entry.
    transitRouterRouteEntryName String
    The name of the route entry.

    Supporting Types

    RouteEntriesEntry

    CreationTime string
    The creation time of the route entry.
    Description string
    Description of the transit router route entry.
    DestinationCidrBlock string
    The target network segment of the route entry.
    Status string
    The status of the route entry.
    TransitRouterRouteEntryId string
    The id of the route entry.
    TransitRouterRouteEntryName string
    The name of the route entry.
    TransitRouterRouteEntryNextHopId string
    The next hot id of the routing entry.
    TransitRouterRouteEntryNextHopType string
    The next hop type of the routing entry. The value can be Attachment or BlackHole.
    TransitRouterRouteEntryType string
    The type of the route entry.
    UpdateTime string
    The update time of the route entry.
    CreationTime string
    The creation time of the route entry.
    Description string
    Description of the transit router route entry.
    DestinationCidrBlock string
    The target network segment of the route entry.
    Status string
    The status of the route entry.
    TransitRouterRouteEntryId string
    The id of the route entry.
    TransitRouterRouteEntryName string
    The name of the route entry.
    TransitRouterRouteEntryNextHopId string
    The next hot id of the routing entry.
    TransitRouterRouteEntryNextHopType string
    The next hop type of the routing entry. The value can be Attachment or BlackHole.
    TransitRouterRouteEntryType string
    The type of the route entry.
    UpdateTime string
    The update time of the route entry.
    creationTime String
    The creation time of the route entry.
    description String
    Description of the transit router route entry.
    destinationCidrBlock String
    The target network segment of the route entry.
    status String
    The status of the route entry.
    transitRouterRouteEntryId String
    The id of the route entry.
    transitRouterRouteEntryName String
    The name of the route entry.
    transitRouterRouteEntryNextHopId String
    The next hot id of the routing entry.
    transitRouterRouteEntryNextHopType String
    The next hop type of the routing entry. The value can be Attachment or BlackHole.
    transitRouterRouteEntryType String
    The type of the route entry.
    updateTime String
    The update time of the route entry.
    creationTime string
    The creation time of the route entry.
    description string
    Description of the transit router route entry.
    destinationCidrBlock string
    The target network segment of the route entry.
    status string
    The status of the route entry.
    transitRouterRouteEntryId string
    The id of the route entry.
    transitRouterRouteEntryName string
    The name of the route entry.
    transitRouterRouteEntryNextHopId string
    The next hot id of the routing entry.
    transitRouterRouteEntryNextHopType string
    The next hop type of the routing entry. The value can be Attachment or BlackHole.
    transitRouterRouteEntryType string
    The type of the route entry.
    updateTime string
    The update time 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_block str
    The target network segment of the route entry.
    status str
    The status of the route entry.
    transit_router_route_entry_id str
    The id of the route entry.
    transit_router_route_entry_name str
    The name of the route entry.
    transit_router_route_entry_next_hop_id str
    The next hot id of the routing entry.
    transit_router_route_entry_next_hop_type str
    The next hop type of the routing entry. The value can be Attachment or BlackHole.
    transit_router_route_entry_type str
    The type of the route entry.
    update_time str
    The update time of the route entry.
    creationTime String
    The creation time of the route entry.
    description String
    Description of the transit router route entry.
    destinationCidrBlock String
    The target network segment of the route entry.
    status String
    The status of the route entry.
    transitRouterRouteEntryId String
    The id of the route entry.
    transitRouterRouteEntryName String
    The name of the route entry.
    transitRouterRouteEntryNextHopId String
    The next hot id of the routing entry.
    transitRouterRouteEntryNextHopType String
    The next hop type of the routing entry. The value can be Attachment or BlackHole.
    transitRouterRouteEntryType String
    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 volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine