RouteEntryArgs

data class RouteEntryArgs(val destinationCidrblock: Output<String>? = null, val name: Output<String>? = null, val nexthopId: Output<String>? = null, val nexthopType: Output<String>? = null, val routeTableId: Output<String>? = null, val routerId: Output<String>? = null) : ConvertibleToJava<RouteEntryArgs>

Import

Router entry can be imported using the id, e.g (formatted as).

$ pulumi import alicloud:vpc/routeEntry:RouteEntry example vtb-123456:vrt-123456:0.0.0.0/0:NatGateway:ngw-123456

Constructors

Link copied to clipboard
fun RouteEntryArgs(destinationCidrblock: Output<String>? = null, name: Output<String>? = null, nexthopId: Output<String>? = null, nexthopType: Output<String>? = null, routeTableId: Output<String>? = null, routerId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): RouteEntryArgs

Properties

Link copied to clipboard
val destinationCidrblock: Output<String>? = null

The RouteEntry's target network segment.

Link copied to clipboard
val name: Output<String>? = null

The name of the route entry. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://.

Link copied to clipboard
val nexthopId: Output<String>? = null

The route entry's next hop. ECS instance ID or VPC router interface ID.

Link copied to clipboard
val nexthopType: Output<String>? = null

The next hop type. Available values:

Link copied to clipboard
val routerId: Output<String>? = null

This argument has been deprecated. Please use other arguments to launch a custom route entry.

Link copied to clipboard
val routeTableId: Output<String>? = null

The ID of the route table.