alicloud logo
Alibaba Cloud v3.34.0, Mar 17 23

alicloud.vpc.getRouteEntries

This data source provides a list of Route Entries owned by an Alibaba Cloud account.

NOTE: Available in 1.37.0+.

Example Usage

using System.Collections.Generic;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var defaultZones = AliCloud.GetZones.Invoke(new()
    {
        AvailableResourceCreation = "VSwitch",
    });

    var defaultInstanceTypes = AliCloud.Ecs.GetInstanceTypes.Invoke(new()
    {
        AvailabilityZone = defaultZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
        CpuCoreCount = 1,
        MemorySize = 2,
    });

    var defaultImages = AliCloud.Ecs.GetImages.Invoke(new()
    {
        MostRecent = true,
        NameRegex = "^ubuntu_18.*64",
        Owners = "system",
    });

    var config = new Config();
    var name = config.Get("name") ?? "tf-testAccRouteEntryConfig";
    var fooNetwork = new AliCloud.Vpc.Network("fooNetwork", new()
    {
        CidrBlock = "10.1.0.0/21",
    });

    var fooSwitch = new AliCloud.Vpc.Switch("fooSwitch", new()
    {
        AvailabilityZone = defaultZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
        CidrBlock = "10.1.1.0/24",
        VpcId = fooNetwork.Id,
        VswitchName = name,
    });

    var tfTestFoo = new AliCloud.Ecs.SecurityGroup("tfTestFoo", new()
    {
        Description = "foo",
        VpcId = fooNetwork.Id,
    });

    var fooInstance = new AliCloud.Ecs.Instance("fooInstance", new()
    {
        AllocatePublicIp = true,
        ImageId = defaultImages.Apply(getImagesResult => getImagesResult.Images[0]?.Id),
        InstanceChargeType = "PostPaid",
        InstanceName = name,
        InstanceType = defaultInstanceTypes.Apply(getInstanceTypesResult => getInstanceTypesResult.InstanceTypes[0]?.Id),
        InternetChargeType = "PayByTraffic",
        InternetMaxBandwidthOut = 5,
        SecurityGroups = new[]
        {
            tfTestFoo.Id,
        },
        SystemDiskCategory = "cloud_efficiency",
        VswitchId = fooSwitch.Id,
    });

    var fooRouteEntry = new AliCloud.Vpc.RouteEntry("fooRouteEntry", new()
    {
        DestinationCidrblock = "172.11.1.1/32",
        NexthopId = fooInstance.Id,
        NexthopType = "Instance",
        RouteTableId = fooNetwork.RouteTableId,
    });

    var ingress = new AliCloud.Ecs.SecurityGroupRule("ingress", new()
    {
        CidrIp = "0.0.0.0/0",
        IpProtocol = "tcp",
        NicType = "intranet",
        Policy = "accept",
        PortRange = "22/22",
        Priority = 1,
        SecurityGroupId = tfTestFoo.Id,
        Type = "ingress",
    });

    var fooRouteEntries = AliCloud.Vpc.GetRouteEntries.Invoke(new()
    {
        RouteTableId = fooRouteEntry.RouteTableId,
    });

});
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultZones, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
			AvailableResourceCreation: pulumi.StringRef("VSwitch"),
		}, nil)
		if err != nil {
			return err
		}
		defaultInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{
			AvailabilityZone: pulumi.StringRef(defaultZones.Zones[0].Id),
			CpuCoreCount:     pulumi.IntRef(1),
			MemorySize:       pulumi.Float64Ref(2),
		}, nil)
		if err != nil {
			return err
		}
		defaultImages, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{
			MostRecent: pulumi.BoolRef(true),
			NameRegex:  pulumi.StringRef("^ubuntu_18.*64"),
			Owners:     pulumi.StringRef("system"),
		}, nil)
		if err != nil {
			return err
		}
		cfg := config.New(ctx, "")
		name := "tf-testAccRouteEntryConfig"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		fooNetwork, err := vpc.NewNetwork(ctx, "fooNetwork", &vpc.NetworkArgs{
			CidrBlock: pulumi.String("10.1.0.0/21"),
		})
		if err != nil {
			return err
		}
		fooSwitch, err := vpc.NewSwitch(ctx, "fooSwitch", &vpc.SwitchArgs{
			AvailabilityZone: *pulumi.String(defaultZones.Zones[0].Id),
			CidrBlock:        pulumi.String("10.1.1.0/24"),
			VpcId:            fooNetwork.ID(),
			VswitchName:      pulumi.String(name),
		})
		if err != nil {
			return err
		}
		tfTestFoo, err := ecs.NewSecurityGroup(ctx, "tfTestFoo", &ecs.SecurityGroupArgs{
			Description: pulumi.String("foo"),
			VpcId:       fooNetwork.ID(),
		})
		if err != nil {
			return err
		}
		fooInstance, err := ecs.NewInstance(ctx, "fooInstance", &ecs.InstanceArgs{
			AllocatePublicIp:        pulumi.Bool(true),
			ImageId:                 *pulumi.String(defaultImages.Images[0].Id),
			InstanceChargeType:      pulumi.String("PostPaid"),
			InstanceName:            pulumi.String(name),
			InstanceType:            *pulumi.String(defaultInstanceTypes.InstanceTypes[0].Id),
			InternetChargeType:      pulumi.String("PayByTraffic"),
			InternetMaxBandwidthOut: pulumi.Int(5),
			SecurityGroups: pulumi.StringArray{
				tfTestFoo.ID(),
			},
			SystemDiskCategory: pulumi.String("cloud_efficiency"),
			VswitchId:          fooSwitch.ID(),
		})
		if err != nil {
			return err
		}
		fooRouteEntry, err := vpc.NewRouteEntry(ctx, "fooRouteEntry", &vpc.RouteEntryArgs{
			DestinationCidrblock: pulumi.String("172.11.1.1/32"),
			NexthopId:            fooInstance.ID(),
			NexthopType:          pulumi.String("Instance"),
			RouteTableId:         fooNetwork.RouteTableId,
		})
		if err != nil {
			return err
		}
		_, err = ecs.NewSecurityGroupRule(ctx, "ingress", &ecs.SecurityGroupRuleArgs{
			CidrIp:          pulumi.String("0.0.0.0/0"),
			IpProtocol:      pulumi.String("tcp"),
			NicType:         pulumi.String("intranet"),
			Policy:          pulumi.String("accept"),
			PortRange:       pulumi.String("22/22"),
			Priority:        pulumi.Int(1),
			SecurityGroupId: tfTestFoo.ID(),
			Type:            pulumi.String("ingress"),
		})
		if err != nil {
			return err
		}
		_ = vpc.GetRouteEntriesOutput(ctx, vpc.GetRouteEntriesOutputArgs{
			RouteTableId: fooRouteEntry.RouteTableId,
		}, nil)
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.inputs.GetZonesArgs;
import com.pulumi.alicloud.ecs.EcsFunctions;
import com.pulumi.alicloud.ecs.inputs.GetInstanceTypesArgs;
import com.pulumi.alicloud.ecs.inputs.GetImagesArgs;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.Switch;
import com.pulumi.alicloud.vpc.SwitchArgs;
import com.pulumi.alicloud.ecs.SecurityGroup;
import com.pulumi.alicloud.ecs.SecurityGroupArgs;
import com.pulumi.alicloud.ecs.Instance;
import com.pulumi.alicloud.ecs.InstanceArgs;
import com.pulumi.alicloud.vpc.RouteEntry;
import com.pulumi.alicloud.vpc.RouteEntryArgs;
import com.pulumi.alicloud.ecs.SecurityGroupRule;
import com.pulumi.alicloud.ecs.SecurityGroupRuleArgs;
import com.pulumi.alicloud.vpc.VpcFunctions;
import com.pulumi.alicloud.vpc.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 config = ctx.config();
        final var defaultZones = AlicloudFunctions.getZones(GetZonesArgs.builder()
            .availableResourceCreation("VSwitch")
            .build());

        final var defaultInstanceTypes = EcsFunctions.getInstanceTypes(GetInstanceTypesArgs.builder()
            .availabilityZone(defaultZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
            .cpuCoreCount(1)
            .memorySize(2)
            .build());

        final var defaultImages = EcsFunctions.getImages(GetImagesArgs.builder()
            .mostRecent(true)
            .nameRegex("^ubuntu_18.*64")
            .owners("system")
            .build());

        final var name = config.get("name").orElse("tf-testAccRouteEntryConfig");
        var fooNetwork = new Network("fooNetwork", NetworkArgs.builder()        
            .cidrBlock("10.1.0.0/21")
            .build());

        var fooSwitch = new Switch("fooSwitch", SwitchArgs.builder()        
            .availabilityZone(defaultZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
            .cidrBlock("10.1.1.0/24")
            .vpcId(fooNetwork.id())
            .vswitchName(name)
            .build());

        var tfTestFoo = new SecurityGroup("tfTestFoo", SecurityGroupArgs.builder()        
            .description("foo")
            .vpcId(fooNetwork.id())
            .build());

        var fooInstance = new Instance("fooInstance", InstanceArgs.builder()        
            .allocatePublicIp(true)
            .imageId(defaultImages.applyValue(getImagesResult -> getImagesResult.images()[0].id()))
            .instanceChargeType("PostPaid")
            .instanceName(name)
            .instanceType(defaultInstanceTypes.applyValue(getInstanceTypesResult -> getInstanceTypesResult.instanceTypes()[0].id()))
            .internetChargeType("PayByTraffic")
            .internetMaxBandwidthOut(5)
            .securityGroups(tfTestFoo.id())
            .systemDiskCategory("cloud_efficiency")
            .vswitchId(fooSwitch.id())
            .build());

        var fooRouteEntry = new RouteEntry("fooRouteEntry", RouteEntryArgs.builder()        
            .destinationCidrblock("172.11.1.1/32")
            .nexthopId(fooInstance.id())
            .nexthopType("Instance")
            .routeTableId(fooNetwork.routeTableId())
            .build());

        var ingress = new SecurityGroupRule("ingress", SecurityGroupRuleArgs.builder()        
            .cidrIp("0.0.0.0/0")
            .ipProtocol("tcp")
            .nicType("intranet")
            .policy("accept")
            .portRange("22/22")
            .priority(1)
            .securityGroupId(tfTestFoo.id())
            .type("ingress")
            .build());

        final var fooRouteEntries = VpcFunctions.getRouteEntries(GetRouteEntriesArgs.builder()
            .routeTableId(fooRouteEntry.routeTableId())
            .build());

    }
}
import pulumi
import pulumi_alicloud as alicloud

default_zones = alicloud.get_zones(available_resource_creation="VSwitch")
default_instance_types = alicloud.ecs.get_instance_types(availability_zone=default_zones.zones[0].id,
    cpu_core_count=1,
    memory_size=2)
default_images = alicloud.ecs.get_images(most_recent=True,
    name_regex="^ubuntu_18.*64",
    owners="system")
config = pulumi.Config()
name = config.get("name")
if name is None:
    name = "tf-testAccRouteEntryConfig"
foo_network = alicloud.vpc.Network("fooNetwork", cidr_block="10.1.0.0/21")
foo_switch = alicloud.vpc.Switch("fooSwitch",
    availability_zone=default_zones.zones[0].id,
    cidr_block="10.1.1.0/24",
    vpc_id=foo_network.id,
    vswitch_name=name)
tf_test_foo = alicloud.ecs.SecurityGroup("tfTestFoo",
    description="foo",
    vpc_id=foo_network.id)
foo_instance = alicloud.ecs.Instance("fooInstance",
    allocate_public_ip=True,
    image_id=default_images.images[0].id,
    instance_charge_type="PostPaid",
    instance_name=name,
    instance_type=default_instance_types.instance_types[0].id,
    internet_charge_type="PayByTraffic",
    internet_max_bandwidth_out=5,
    security_groups=[tf_test_foo.id],
    system_disk_category="cloud_efficiency",
    vswitch_id=foo_switch.id)
foo_route_entry = alicloud.vpc.RouteEntry("fooRouteEntry",
    destination_cidrblock="172.11.1.1/32",
    nexthop_id=foo_instance.id,
    nexthop_type="Instance",
    route_table_id=foo_network.route_table_id)
ingress = alicloud.ecs.SecurityGroupRule("ingress",
    cidr_ip="0.0.0.0/0",
    ip_protocol="tcp",
    nic_type="intranet",
    policy="accept",
    port_range="22/22",
    priority=1,
    security_group_id=tf_test_foo.id,
    type="ingress")
foo_route_entries = alicloud.vpc.get_route_entries_output(route_table_id=foo_route_entry.route_table_id)
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const defaultZones = alicloud.getZones({
    availableResourceCreation: "VSwitch",
});
const defaultInstanceTypes = defaultZones.then(defaultZones => alicloud.ecs.getInstanceTypes({
    availabilityZone: defaultZones.zones?.[0]?.id,
    cpuCoreCount: 1,
    memorySize: 2,
}));
const defaultImages = alicloud.ecs.getImages({
    mostRecent: true,
    nameRegex: "^ubuntu_18.*64",
    owners: "system",
});
const config = new pulumi.Config();
const name = config.get("name") || "tf-testAccRouteEntryConfig";
const fooNetwork = new alicloud.vpc.Network("fooNetwork", {cidrBlock: "10.1.0.0/21"});
const fooSwitch = new alicloud.vpc.Switch("fooSwitch", {
    availabilityZone: defaultZones.then(defaultZones => defaultZones.zones?.[0]?.id),
    cidrBlock: "10.1.1.0/24",
    vpcId: fooNetwork.id,
    vswitchName: name,
});
const tfTestFoo = new alicloud.ecs.SecurityGroup("tfTestFoo", {
    description: "foo",
    vpcId: fooNetwork.id,
});
const fooInstance = new alicloud.ecs.Instance("fooInstance", {
    allocatePublicIp: true,
    imageId: defaultImages.then(defaultImages => defaultImages.images?.[0]?.id),
    instanceChargeType: "PostPaid",
    instanceName: name,
    instanceType: defaultInstanceTypes.then(defaultInstanceTypes => defaultInstanceTypes.instanceTypes?.[0]?.id),
    internetChargeType: "PayByTraffic",
    internetMaxBandwidthOut: 5,
    securityGroups: [tfTestFoo.id],
    systemDiskCategory: "cloud_efficiency",
    vswitchId: fooSwitch.id,
});
const fooRouteEntry = new alicloud.vpc.RouteEntry("fooRouteEntry", {
    destinationCidrblock: "172.11.1.1/32",
    nexthopId: fooInstance.id,
    nexthopType: "Instance",
    routeTableId: fooNetwork.routeTableId,
});
const ingress = new alicloud.ecs.SecurityGroupRule("ingress", {
    cidrIp: "0.0.0.0/0",
    ipProtocol: "tcp",
    nicType: "intranet",
    policy: "accept",
    portRange: "22/22",
    priority: 1,
    securityGroupId: tfTestFoo.id,
    type: "ingress",
});
const fooRouteEntries = alicloud.vpc.getRouteEntriesOutput({
    routeTableId: fooRouteEntry.routeTableId,
});
configuration:
  name:
    type: string
    default: tf-testAccRouteEntryConfig
resources:
  fooNetwork:
    type: alicloud:vpc:Network
    properties:
      cidrBlock: 10.1.0.0/21
  fooSwitch:
    type: alicloud:vpc:Switch
    properties:
      availabilityZone: ${defaultZones.zones[0].id}
      cidrBlock: 10.1.1.0/24
      vpcId: ${fooNetwork.id}
      vswitchName: ${name}
  fooRouteEntry:
    type: alicloud:vpc:RouteEntry
    properties:
      destinationCidrblock: 172.11.1.1/32
      nexthopId: ${fooInstance.id}
      nexthopType: Instance
      routeTableId: ${fooNetwork.routeTableId}
  tfTestFoo:
    type: alicloud:ecs:SecurityGroup
    properties:
      description: foo
      vpcId: ${fooNetwork.id}
  ingress:
    type: alicloud:ecs:SecurityGroupRule
    properties:
      cidrIp: 0.0.0.0/0
      ipProtocol: tcp
      nicType: intranet
      policy: accept
      portRange: 22/22
      priority: 1
      securityGroupId: ${tfTestFoo.id}
      type: ingress
  fooInstance:
    type: alicloud:ecs:Instance
    properties:
      allocatePublicIp: true
      imageId: ${defaultImages.images[0].id}
      # series III
      instanceChargeType: PostPaid
      instanceName: ${name}
      instanceType: ${defaultInstanceTypes.instanceTypes[0].id}
      internetChargeType: PayByTraffic
      internetMaxBandwidthOut: 5
      # cn-beijing
      securityGroups:
        - ${tfTestFoo.id}
      systemDiskCategory: cloud_efficiency
      vswitchId: ${fooSwitch.id}
variables:
  defaultZones:
    fn::invoke:
      Function: alicloud:getZones
      Arguments:
        availableResourceCreation: VSwitch
  defaultInstanceTypes:
    fn::invoke:
      Function: alicloud:ecs:getInstanceTypes
      Arguments:
        availabilityZone: ${defaultZones.zones[0].id}
        cpuCoreCount: 1
        memorySize: 2
  defaultImages:
    fn::invoke:
      Function: alicloud:ecs:getImages
      Arguments:
        mostRecent: true
        nameRegex: ^ubuntu_18.*64
        owners: system
  fooRouteEntries:
    fn::invoke:
      Function: alicloud:vpc:getRouteEntries
      Arguments:
        routeTableId: ${fooRouteEntry.routeTableId}

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(cidr_block: Optional[str] = None,
                      instance_id: Optional[str] = None,
                      output_file: Optional[str] = None,
                      route_table_id: Optional[str] = None,
                      type: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetRouteEntriesResult
def get_route_entries_output(cidr_block: Optional[pulumi.Input[str]] = None,
                      instance_id: Optional[pulumi.Input[str]] = None,
                      output_file: Optional[pulumi.Input[str]] = None,
                      route_table_id: Optional[pulumi.Input[str]] = None,
                      type: 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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: alicloud:vpc/getRouteEntries:getRouteEntries
  arguments:
    # arguments dictionary

The following arguments are supported:

RouteTableId string

The ID of the router table to which the route entry belongs.

CidrBlock string

The destination CIDR block of the route entry.

InstanceId string

The instance ID of the next hop.

OutputFile string
Type string

The type of the route entry.

RouteTableId string

The ID of the router table to which the route entry belongs.

CidrBlock string

The destination CIDR block of the route entry.

InstanceId string

The instance ID of the next hop.

OutputFile string
Type string

The type of the route entry.

routeTableId String

The ID of the router table to which the route entry belongs.

cidrBlock String

The destination CIDR block of the route entry.

instanceId String

The instance ID of the next hop.

outputFile String
type String

The type of the route entry.

routeTableId string

The ID of the router table to which the route entry belongs.

cidrBlock string

The destination CIDR block of the route entry.

instanceId string

The instance ID of the next hop.

outputFile string
type string

The type of the route entry.

route_table_id str

The ID of the router table to which the route entry belongs.

cidr_block str

The destination CIDR block of the route entry.

instance_id str

The instance ID of the next hop.

output_file str
type str

The type of the route entry.

routeTableId String

The ID of the router table to which the route entry belongs.

cidrBlock String

The destination CIDR block of the route entry.

instanceId String

The instance ID of the next hop.

outputFile String
type String

The type of the route entry.

getRouteEntries Result

The following output properties are available:

Entries List<Pulumi.AliCloud.Vpc.Outputs.GetRouteEntriesEntry>

A list of Route Entries. Each element contains the following attributes:

Id string

The provider-assigned unique ID for this managed resource.

RouteTableId string

The ID of the router table to which the route entry belongs.

CidrBlock string

The destination CIDR block of the route entry.

InstanceId string

The instance ID of the next hop.

OutputFile string
Type string

The type of the route entry.

Entries []GetRouteEntriesEntry

A list of Route Entries. Each element contains the following attributes:

Id string

The provider-assigned unique ID for this managed resource.

RouteTableId string

The ID of the router table to which the route entry belongs.

CidrBlock string

The destination CIDR block of the route entry.

InstanceId string

The instance ID of the next hop.

OutputFile string
Type string

The type of the route entry.

entries List<GetRouteEntriesEntry>

A list of Route Entries. Each element contains the following attributes:

id String

The provider-assigned unique ID for this managed resource.

routeTableId String

The ID of the router table to which the route entry belongs.

cidrBlock String

The destination CIDR block of the route entry.

instanceId String

The instance ID of the next hop.

outputFile String
type String

The type of the route entry.

entries GetRouteEntriesEntry[]

A list of Route Entries. Each element contains the following attributes:

id string

The provider-assigned unique ID for this managed resource.

routeTableId string

The ID of the router table to which the route entry belongs.

cidrBlock string

The destination CIDR block of the route entry.

instanceId string

The instance ID of the next hop.

outputFile string
type string

The type of the route entry.

entries Sequence[GetRouteEntriesEntry]

A list of Route Entries. Each element contains the following attributes:

id str

The provider-assigned unique ID for this managed resource.

route_table_id str

The ID of the router table to which the route entry belongs.

cidr_block str

The destination CIDR block of the route entry.

instance_id str

The instance ID of the next hop.

output_file str
type str

The type of the route entry.

entries List<Property Map>

A list of Route Entries. Each element contains the following attributes:

id String

The provider-assigned unique ID for this managed resource.

routeTableId String

The ID of the router table to which the route entry belongs.

cidrBlock String

The destination CIDR block of the route entry.

instanceId String

The instance ID of the next hop.

outputFile String
type String

The type of the route entry.

Supporting Types

GetRouteEntriesEntry

CidrBlock string

The destination CIDR block of the route entry.

InstanceId string

The instance ID of the next hop.

NextHopType string

The type of the next hop.

RouteTableId string

The ID of the router table to which the route entry belongs.

Status string

The status of the route entry.

Type string

The type of the route entry.

CidrBlock string

The destination CIDR block of the route entry.

InstanceId string

The instance ID of the next hop.

NextHopType string

The type of the next hop.

RouteTableId string

The ID of the router table to which the route entry belongs.

Status string

The status of the route entry.

Type string

The type of the route entry.

cidrBlock String

The destination CIDR block of the route entry.

instanceId String

The instance ID of the next hop.

nextHopType String

The type of the next hop.

routeTableId String

The ID of the router table to which the route entry belongs.

status String

The status of the route entry.

type String

The type of the route entry.

cidrBlock string

The destination CIDR block of the route entry.

instanceId string

The instance ID of the next hop.

nextHopType string

The type of the next hop.

routeTableId string

The ID of the router table to which the route entry belongs.

status string

The status of the route entry.

type string

The type of the route entry.

cidr_block str

The destination CIDR block of the route entry.

instance_id str

The instance ID of the next hop.

next_hop_type str

The type of the next hop.

route_table_id str

The ID of the router table to which the route entry belongs.

status str

The status of the route entry.

type str

The type of the route entry.

cidrBlock String

The destination CIDR block of the route entry.

instanceId String

The instance ID of the next hop.

nextHopType String

The type of the next hop.

routeTableId String

The ID of the router table to which the route entry belongs.

status String

The status of the route entry.

type String

The type of the route entry.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.