Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine
volcengine.vpc.RouteEntries
Explore with Pulumi AI
Use this data source to query detailed information of route entries
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() => 
{
    var @default = Volcengine.Vpc.RouteEntries.Invoke(new()
    {
        Ids = new[] {},
        RouteTableId = "vtb-274e19skkuhog7fap8u4i8ird",
    });
});
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpc.RouteEntries(ctx, &vpc.RouteEntriesArgs{
			Ids:          []interface{}{},
			RouteTableId: "vtb-274e19skkuhog7fap8u4i8ird",
		}, 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.vpc.VpcFunctions;
import com.pulumi.volcengine.vpc.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 = VpcFunctions.RouteEntries(RouteEntriesArgs.builder()
            .ids()
            .routeTableId("vtb-274e19skkuhog7fap8u4i8ird")
            .build());
    }
}
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.vpc.route_entries(ids=[],
    route_table_id="vtb-274e19skkuhog7fap8u4i8ird")
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.vpc.RouteEntries({
    ids: [],
    routeTableId: "vtb-274e19skkuhog7fap8u4i8ird",
});
variables:
  default:
    fn::invoke:
      Function: volcengine:vpc:RouteEntries
      Arguments:
        ids: []
        routeTableId: vtb-274e19skkuhog7fap8u4i8ird
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,
                  next_hop_id: Optional[str] = None,
                  next_hop_type: Optional[str] = None,
                  output_file: Optional[str] = None,
                  route_entry_name: Optional[str] = None,
                  route_entry_type: Optional[str] = None,
                  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,
                  next_hop_id: Optional[pulumi.Input[str]] = None,
                  next_hop_type: Optional[pulumi.Input[str]] = None,
                  output_file: Optional[pulumi.Input[str]] = None,
                  route_entry_name: Optional[pulumi.Input[str]] = None,
                  route_entry_type: Optional[pulumi.Input[str]] = None,
                  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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: volcengine:vpc:RouteEntries
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Route
Table stringId  - An id of route table.
 - Destination
Cidr stringBlock  - A destination CIDR block of route entry.
 - Ids List<string>
 - A list of route entry ids.
 - Next
Hop stringId  - An id of next hop.
 - Next
Hop stringType  - A type of next hop, Optional choice contains 
Instance,NetworkInterface,NatGW,VpnGW. - Output
File string - File name where to save data source results.
 - Route
Entry stringName  - A name of route entry.
 - Route
Entry stringType  - A type of route entry.
 
- Route
Table stringId  - An id of route table.
 - Destination
Cidr stringBlock  - A destination CIDR block of route entry.
 - Ids []string
 - A list of route entry ids.
 - Next
Hop stringId  - An id of next hop.
 - Next
Hop stringType  - A type of next hop, Optional choice contains 
Instance,NetworkInterface,NatGW,VpnGW. - Output
File string - File name where to save data source results.
 - Route
Entry stringName  - A name of route entry.
 - Route
Entry stringType  - A type of route entry.
 
- route
Table StringId  - An id of route table.
 - destination
Cidr StringBlock  - A destination CIDR block of route entry.
 - ids List<String>
 - A list of route entry ids.
 - next
Hop StringId  - An id of next hop.
 - next
Hop StringType  - A type of next hop, Optional choice contains 
Instance,NetworkInterface,NatGW,VpnGW. - output
File String - File name where to save data source results.
 - route
Entry StringName  - A name of route entry.
 - route
Entry StringType  - A type of route entry.
 
- route
Table stringId  - An id of route table.
 - destination
Cidr stringBlock  - A destination CIDR block of route entry.
 - ids string[]
 - A list of route entry ids.
 - next
Hop stringId  - An id of next hop.
 - next
Hop stringType  - A type of next hop, Optional choice contains 
Instance,NetworkInterface,NatGW,VpnGW. - output
File string - File name where to save data source results.
 - route
Entry stringName  - A name of route entry.
 - route
Entry stringType  - A type of route entry.
 
- route_
table_ strid  - An id of route table.
 - destination_
cidr_ strblock  - A destination CIDR block of route entry.
 - ids Sequence[str]
 - A list of route entry ids.
 - next_
hop_ strid  - An id of next hop.
 - next_
hop_ strtype  - A type of next hop, Optional choice contains 
Instance,NetworkInterface,NatGW,VpnGW. - output_
file str - File name where to save data source results.
 - route_
entry_ strname  - A name of route entry.
 - route_
entry_ strtype  - A type of route entry.
 
- route
Table StringId  - An id of route table.
 - destination
Cidr StringBlock  - A destination CIDR block of route entry.
 - ids List<String>
 - A list of route entry ids.
 - next
Hop StringId  - An id of next hop.
 - next
Hop StringType  - A type of next hop, Optional choice contains 
Instance,NetworkInterface,NatGW,VpnGW. - output
File String - File name where to save data source results.
 - route
Entry StringName  - A name of route entry.
 - route
Entry StringType  - A type of route entry.
 
RouteEntries Result
The following output properties are available:
- Id string
 - The provider-assigned unique ID for this managed resource.
 - Route
Entries List<RouteEntries Route Entry>  - The collection of route tables.
 - Route
Table stringId  - The id of the route table to which the route entry belongs.
 - Total
Count int - The total count of route entry query.
 - Destination
Cidr stringBlock  - The destination CIDR block of the route entry.
 - Ids List<string>
 - Next
Hop stringId  - The id of the next hop.
 - Next
Hop stringType  - The type of the next hop.
 - Output
File string - Route
Entry stringName  - The name of the route entry.
 - Route
Entry stringType  
- Id string
 - The provider-assigned unique ID for this managed resource.
 - Route
Entries []RouteEntries Route Entry  - The collection of route tables.
 - Route
Table stringId  - The id of the route table to which the route entry belongs.
 - Total
Count int - The total count of route entry query.
 - Destination
Cidr stringBlock  - The destination CIDR block of the route entry.
 - Ids []string
 - Next
Hop stringId  - The id of the next hop.
 - Next
Hop stringType  - The type of the next hop.
 - Output
File string - Route
Entry stringName  - The name of the route entry.
 - Route
Entry stringType  
- id String
 - The provider-assigned unique ID for this managed resource.
 - route
Entries List<RouteEntries Route Entry>  - The collection of route tables.
 - route
Table StringId  - The id of the route table to which the route entry belongs.
 - total
Count Integer - The total count of route entry query.
 - destination
Cidr StringBlock  - The destination CIDR block of the route entry.
 - ids List<String>
 - next
Hop StringId  - The id of the next hop.
 - next
Hop StringType  - The type of the next hop.
 - output
File String - route
Entry StringName  - The name of the route entry.
 - route
Entry StringType  
- id string
 - The provider-assigned unique ID for this managed resource.
 - route
Entries RouteEntries Route Entry[]  - The collection of route tables.
 - route
Table stringId  - The id of the route table to which the route entry belongs.
 - total
Count number - The total count of route entry query.
 - destination
Cidr stringBlock  - The destination CIDR block of the route entry.
 - ids string[]
 - next
Hop stringId  - The id of the next hop.
 - next
Hop stringType  - The type of the next hop.
 - output
File string - route
Entry stringName  - The name of the route entry.
 - route
Entry stringType  
- id str
 - The provider-assigned unique ID for this managed resource.
 - route_
entries Sequence[RouteEntries Route Entry]  - The collection of route tables.
 - route_
table_ strid  - The id of the route table to which the route entry belongs.
 - total_
count int - The total count of route entry query.
 - destination_
cidr_ strblock  - The destination CIDR block of the route entry.
 - ids Sequence[str]
 - next_
hop_ strid  - The id of the next hop.
 - next_
hop_ strtype  - The type of the next hop.
 - output_
file str - route_
entry_ strname  - The name of the route entry.
 - route_
entry_ strtype  
- id String
 - The provider-assigned unique ID for this managed resource.
 - route
Entries List<Property Map> - The collection of route tables.
 - route
Table StringId  - The id of the route table to which the route entry belongs.
 - total
Count Number - The total count of route entry query.
 - destination
Cidr StringBlock  - The destination CIDR block of the route entry.
 - ids List<String>
 - next
Hop StringId  - The id of the next hop.
 - next
Hop StringType  - The type of the next hop.
 - output
File String - route
Entry StringName  - The name of the route entry.
 - route
Entry StringType  
Supporting Types
RouteEntriesRouteEntry   
- Description string
 - The description of the route entry.
 - Destination
Cidr stringBlock  - A destination CIDR block of route entry.
 - Id string
 - The id of the route entry.
 - Next
Hop stringId  - An id of next hop.
 - Next
Hop stringName  - The name of the next hop.
 - Next
Hop stringType  - A type of next hop, Optional choice contains 
Instance,NetworkInterface,NatGW,VpnGW. - Route
Entry stringId  - The id of the route entry.
 - Route
Entry stringName  - A name of route entry.
 - Route
Table stringId  - An id of route table.
 - Status string
 - The status of the route entry.
 - Type string
 - The type of the route entry.
 - Vpc
Id string - The id of the virtual private cloud (VPC) to which the route entry belongs.
 
- Description string
 - The description of the route entry.
 - Destination
Cidr stringBlock  - A destination CIDR block of route entry.
 - Id string
 - The id of the route entry.
 - Next
Hop stringId  - An id of next hop.
 - Next
Hop stringName  - The name of the next hop.
 - Next
Hop stringType  - A type of next hop, Optional choice contains 
Instance,NetworkInterface,NatGW,VpnGW. - Route
Entry stringId  - The id of the route entry.
 - Route
Entry stringName  - A name of route entry.
 - Route
Table stringId  - An id of route table.
 - Status string
 - The status of the route entry.
 - Type string
 - The type of the route entry.
 - Vpc
Id string - The id of the virtual private cloud (VPC) to which the route entry belongs.
 
- description String
 - The description of the route entry.
 - destination
Cidr StringBlock  - A destination CIDR block of route entry.
 - id String
 - The id of the route entry.
 - next
Hop StringId  - An id of next hop.
 - next
Hop StringName  - The name of the next hop.
 - next
Hop StringType  - A type of next hop, Optional choice contains 
Instance,NetworkInterface,NatGW,VpnGW. - route
Entry StringId  - The id of the route entry.
 - route
Entry StringName  - A name of route entry.
 - route
Table StringId  - An id of route table.
 - status String
 - The status of the route entry.
 - type String
 - The type of the route entry.
 - vpc
Id String - The id of the virtual private cloud (VPC) to which the route entry belongs.
 
- description string
 - The description of the route entry.
 - destination
Cidr stringBlock  - A destination CIDR block of route entry.
 - id string
 - The id of the route entry.
 - next
Hop stringId  - An id of next hop.
 - next
Hop stringName  - The name of the next hop.
 - next
Hop stringType  - A type of next hop, Optional choice contains 
Instance,NetworkInterface,NatGW,VpnGW. - route
Entry stringId  - The id of the route entry.
 - route
Entry stringName  - A name of route entry.
 - route
Table stringId  - An id of route table.
 - status string
 - The status of the route entry.
 - type string
 - The type of the route entry.
 - vpc
Id string - The id of the virtual private cloud (VPC) to which the route entry belongs.
 
- description str
 - The description of the route entry.
 - destination_
cidr_ strblock  - A destination CIDR block of route entry.
 - id str
 - The id of the route entry.
 - next_
hop_ strid  - An id of next hop.
 - next_
hop_ strname  - The name of the next hop.
 - next_
hop_ strtype  - A type of next hop, Optional choice contains 
Instance,NetworkInterface,NatGW,VpnGW. - route_
entry_ strid  - The id of the route entry.
 - route_
entry_ strname  - A name of route entry.
 - route_
table_ strid  - An id of route table.
 - status str
 - The status of the route entry.
 - type str
 - The type of the route entry.
 - vpc_
id str - The id of the virtual private cloud (VPC) to which the route entry belongs.
 
- description String
 - The description of the route entry.
 - destination
Cidr StringBlock  - A destination CIDR block of route entry.
 - id String
 - The id of the route entry.
 - next
Hop StringId  - An id of next hop.
 - next
Hop StringName  - The name of the next hop.
 - next
Hop StringType  - A type of next hop, Optional choice contains 
Instance,NetworkInterface,NatGW,VpnGW. - route
Entry StringId  - The id of the route entry.
 - route
Entry StringName  - A name of route entry.
 - route
Table StringId  - An id of route table.
 - status String
 - The status of the route entry.
 - type String
 - The type of the route entry.
 - vpc
Id String - The id of the virtual private cloud (VPC) to which the route entry belongs.
 
Package Details
- Repository
 - volcengine volcengine/pulumi-volcengine
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
volcengineTerraform Provider.