RouteEntry

Create a RouteEntry Resource

def RouteEntry(resource_name, opts=None, next_hop=None, publish_vpc=None, route_dest=None, vpn_gateway_id=None, weight=None, __props__=None);
func NewRouteEntry(ctx *Context, name string, args RouteEntryArgs, opts ...ResourceOption) (*RouteEntry, error)
public RouteEntry(string name, RouteEntryArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args RouteEntryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args RouteEntryArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args RouteEntryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

RouteEntry Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The RouteEntry resource accepts the following input properties:

NextHop string

The next hop of the destination route.

PublishVpc bool

Whether to issue the destination route to the VPC.

RouteDest string

The destination network segment of the destination route.

VpnGatewayId string

The id of the vpn gateway.

Weight int

The value should be 0 or 100.

NextHop string

The next hop of the destination route.

PublishVpc bool

Whether to issue the destination route to the VPC.

RouteDest string

The destination network segment of the destination route.

VpnGatewayId string

The id of the vpn gateway.

Weight int

The value should be 0 or 100.

nextHop string

The next hop of the destination route.

publishVpc boolean

Whether to issue the destination route to the VPC.

routeDest string

The destination network segment of the destination route.

vpnGatewayId string

The id of the vpn gateway.

weight number

The value should be 0 or 100.

next_hop str

The next hop of the destination route.

publish_vpc bool

Whether to issue the destination route to the VPC.

route_dest str

The destination network segment of the destination route.

vpn_gateway_id str

The id of the vpn gateway.

weight float

The value should be 0 or 100.

Outputs

All input properties are implicitly available as output properties. Additionally, the RouteEntry resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing RouteEntry Resource

Get an existing RouteEntry resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: RouteEntryState, opts?: CustomResourceOptions): RouteEntry
static get(resource_name, id, opts=None, next_hop=None, publish_vpc=None, route_dest=None, vpn_gateway_id=None, weight=None, __props__=None);
func GetRouteEntry(ctx *Context, name string, id IDInput, state *RouteEntryState, opts ...ResourceOption) (*RouteEntry, error)
public static RouteEntry Get(string name, Input<string> id, RouteEntryState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

NextHop string

The next hop of the destination route.

PublishVpc bool

Whether to issue the destination route to the VPC.

RouteDest string

The destination network segment of the destination route.

VpnGatewayId string

The id of the vpn gateway.

Weight int

The value should be 0 or 100.

NextHop string

The next hop of the destination route.

PublishVpc bool

Whether to issue the destination route to the VPC.

RouteDest string

The destination network segment of the destination route.

VpnGatewayId string

The id of the vpn gateway.

Weight int

The value should be 0 or 100.

nextHop string

The next hop of the destination route.

publishVpc boolean

Whether to issue the destination route to the VPC.

routeDest string

The destination network segment of the destination route.

vpnGatewayId string

The id of the vpn gateway.

weight number

The value should be 0 or 100.

next_hop str

The next hop of the destination route.

publish_vpc bool

Whether to issue the destination route to the VPC.

route_dest str

The destination network segment of the destination route.

vpn_gateway_id str

The id of the vpn gateway.

weight float

The value should be 0 or 100.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.