Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.vpc.RouteEntries
Explore with Pulumi AI
Use this data source to query detailed information of route entries
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.vpc.RouteEntries({
    ids: [],
    routeTableId: "vtb-274e19skkuhog7fap8u4i8ird",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.vpc.route_entries(ids=[],
    route_table_id="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
	})
}
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 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());
    }
}
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)
public static Output<RouteEntriesResult> routeEntries(RouteEntriesArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:vpc:RouteEntries
  arguments:
    # arguments dictionaryThe following arguments are supported:
- RouteTable stringId 
- An id of route table.
- DestinationCidr stringBlock 
- A destination CIDR block of route entry.
- Ids List<string>
- A list of route entry ids.
- NextHop stringId 
- An id of next hop.
- NextHop stringType 
- A type of next hop, Optional choice contains Instance,NetworkInterface,NatGW,VpnGW.
- OutputFile string
- File name where to save data source results.
- RouteEntry stringName 
- A name of route entry.
- RouteEntry stringType 
- A type of route entry.
- RouteTable stringId 
- An id of route table.
- DestinationCidr stringBlock 
- A destination CIDR block of route entry.
- Ids []string
- A list of route entry ids.
- NextHop stringId 
- An id of next hop.
- NextHop stringType 
- A type of next hop, Optional choice contains Instance,NetworkInterface,NatGW,VpnGW.
- OutputFile string
- File name where to save data source results.
- RouteEntry stringName 
- A name of route entry.
- RouteEntry stringType 
- A type of route entry.
- routeTable StringId 
- An id of route table.
- destinationCidr StringBlock 
- A destination CIDR block of route entry.
- ids List<String>
- A list of route entry ids.
- nextHop StringId 
- An id of next hop.
- nextHop StringType 
- A type of next hop, Optional choice contains Instance,NetworkInterface,NatGW,VpnGW.
- outputFile String
- File name where to save data source results.
- routeEntry StringName 
- A name of route entry.
- routeEntry StringType 
- A type of route entry.
- routeTable stringId 
- An id of route table.
- destinationCidr stringBlock 
- A destination CIDR block of route entry.
- ids string[]
- A list of route entry ids.
- nextHop stringId 
- An id of next hop.
- nextHop stringType 
- A type of next hop, Optional choice contains Instance,NetworkInterface,NatGW,VpnGW.
- outputFile string
- File name where to save data source results.
- routeEntry stringName 
- A name of route entry.
- routeEntry 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.
- routeTable StringId 
- An id of route table.
- destinationCidr StringBlock 
- A destination CIDR block of route entry.
- ids List<String>
- A list of route entry ids.
- nextHop StringId 
- An id of next hop.
- nextHop StringType 
- A type of next hop, Optional choice contains Instance,NetworkInterface,NatGW,VpnGW.
- outputFile String
- File name where to save data source results.
- routeEntry StringName 
- A name of route entry.
- routeEntry 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.
- RouteEntries List<RouteEntries Route Entry> 
- The collection of route tables.
- RouteTable stringId 
- The id of the route table to which the route entry belongs.
- TotalCount int
- The total count of route entry query.
- DestinationCidr stringBlock 
- The destination CIDR block of the route entry.
- Ids List<string>
- NextHop stringId 
- The id of the next hop.
- NextHop stringType 
- The type of the next hop.
- OutputFile string
- RouteEntry stringName 
- The name of the route entry.
- RouteEntry stringType 
- Id string
- The provider-assigned unique ID for this managed resource.
- RouteEntries []RouteEntries Route Entry 
- The collection of route tables.
- RouteTable stringId 
- The id of the route table to which the route entry belongs.
- TotalCount int
- The total count of route entry query.
- DestinationCidr stringBlock 
- The destination CIDR block of the route entry.
- Ids []string
- NextHop stringId 
- The id of the next hop.
- NextHop stringType 
- The type of the next hop.
- OutputFile string
- RouteEntry stringName 
- The name of the route entry.
- RouteEntry stringType 
- id String
- The provider-assigned unique ID for this managed resource.
- routeEntries List<RouteEntries Route Entry> 
- The collection of route tables.
- routeTable StringId 
- The id of the route table to which the route entry belongs.
- totalCount Integer
- The total count of route entry query.
- destinationCidr StringBlock 
- The destination CIDR block of the route entry.
- ids List<String>
- nextHop StringId 
- The id of the next hop.
- nextHop StringType 
- The type of the next hop.
- outputFile String
- routeEntry StringName 
- The name of the route entry.
- routeEntry StringType 
- id string
- The provider-assigned unique ID for this managed resource.
- routeEntries RouteEntries Route Entry[] 
- The collection of route tables.
- routeTable stringId 
- The id of the route table to which the route entry belongs.
- totalCount number
- The total count of route entry query.
- destinationCidr stringBlock 
- The destination CIDR block of the route entry.
- ids string[]
- nextHop stringId 
- The id of the next hop.
- nextHop stringType 
- The type of the next hop.
- outputFile string
- routeEntry stringName 
- The name of the route entry.
- routeEntry 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.
- routeEntries List<Property Map>
- The collection of route tables.
- routeTable StringId 
- The id of the route table to which the route entry belongs.
- totalCount Number
- The total count of route entry query.
- destinationCidr StringBlock 
- The destination CIDR block of the route entry.
- ids List<String>
- nextHop StringId 
- The id of the next hop.
- nextHop StringType 
- The type of the next hop.
- outputFile String
- routeEntry StringName 
- The name of the route entry.
- routeEntry StringType 
Supporting Types
RouteEntriesRouteEntry   
- Description string
- The description of the route entry.
- DestinationCidr stringBlock 
- A destination CIDR block of route entry.
- Id string
- The id of the route entry.
- NextHop stringId 
- An id of next hop.
- NextHop stringName 
- The name of the next hop.
- NextHop stringType 
- A type of next hop, Optional choice contains Instance,NetworkInterface,NatGW,VpnGW.
- RouteEntry stringId 
- The id of the route entry.
- RouteEntry stringName 
- A name of route entry.
- RouteTable stringId 
- An id of route table.
- Status string
- The status of the route entry.
- Type string
- The type of the route entry.
- VpcId string
- The id of the virtual private cloud (VPC) to which the route entry belongs.
- Description string
- The description of the route entry.
- DestinationCidr stringBlock 
- A destination CIDR block of route entry.
- Id string
- The id of the route entry.
- NextHop stringId 
- An id of next hop.
- NextHop stringName 
- The name of the next hop.
- NextHop stringType 
- A type of next hop, Optional choice contains Instance,NetworkInterface,NatGW,VpnGW.
- RouteEntry stringId 
- The id of the route entry.
- RouteEntry stringName 
- A name of route entry.
- RouteTable stringId 
- An id of route table.
- Status string
- The status of the route entry.
- Type string
- The type of the route entry.
- VpcId string
- The id of the virtual private cloud (VPC) to which the route entry belongs.
- description String
- The description of the route entry.
- destinationCidr StringBlock 
- A destination CIDR block of route entry.
- id String
- The id of the route entry.
- nextHop StringId 
- An id of next hop.
- nextHop StringName 
- The name of the next hop.
- nextHop StringType 
- A type of next hop, Optional choice contains Instance,NetworkInterface,NatGW,VpnGW.
- routeEntry StringId 
- The id of the route entry.
- routeEntry StringName 
- A name of route entry.
- routeTable StringId 
- An id of route table.
- status String
- The status of the route entry.
- type String
- The type of the route entry.
- vpcId String
- The id of the virtual private cloud (VPC) to which the route entry belongs.
- description string
- The description of the route entry.
- destinationCidr stringBlock 
- A destination CIDR block of route entry.
- id string
- The id of the route entry.
- nextHop stringId 
- An id of next hop.
- nextHop stringName 
- The name of the next hop.
- nextHop stringType 
- A type of next hop, Optional choice contains Instance,NetworkInterface,NatGW,VpnGW.
- routeEntry stringId 
- The id of the route entry.
- routeEntry stringName 
- A name of route entry.
- routeTable stringId 
- An id of route table.
- status string
- The status of the route entry.
- type string
- The type of the route entry.
- vpcId 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.
- destinationCidr StringBlock 
- A destination CIDR block of route entry.
- id String
- The id of the route entry.
- nextHop StringId 
- An id of next hop.
- nextHop StringName 
- The name of the next hop.
- nextHop StringType 
- A type of next hop, Optional choice contains Instance,NetworkInterface,NatGW,VpnGW.
- routeEntry StringId 
- The id of the route entry.
- routeEntry StringName 
- A name of route entry.
- routeTable StringId 
- An id of route table.
- status String
- The status of the route entry.
- type String
- The type of the route entry.
- vpcId 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.