RouteEntry
Create a RouteEntry Resource
new RouteEntry(name: string, args: RouteEntryArgs, opts?: CustomResourceOptions);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:
- Next
Hop string The next hop of the destination route.
- Publish
Vpc bool Whether to issue the destination route to the VPC.
- Route
Dest string The destination network segment of the destination route.
- Vpn
Gateway stringId The id of the vpn gateway.
- Weight int
The value should be 0 or 100.
- Next
Hop string The next hop of the destination route.
- Publish
Vpc bool Whether to issue the destination route to the VPC.
- Route
Dest string The destination network segment of the destination route.
- Vpn
Gateway stringId The id of the vpn gateway.
- Weight int
The value should be 0 or 100.
- next
Hop string The next hop of the destination route.
- publish
Vpc boolean Whether to issue the destination route to the VPC.
- route
Dest string The destination network segment of the destination route.
- vpn
Gateway stringId 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_ strid 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:
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): RouteEntrystatic 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:
- Next
Hop string The next hop of the destination route.
- Publish
Vpc bool Whether to issue the destination route to the VPC.
- Route
Dest string The destination network segment of the destination route.
- Vpn
Gateway stringId The id of the vpn gateway.
- Weight int
The value should be 0 or 100.
- Next
Hop string The next hop of the destination route.
- Publish
Vpc bool Whether to issue the destination route to the VPC.
- Route
Dest string The destination network segment of the destination route.
- Vpn
Gateway stringId The id of the vpn gateway.
- Weight int
The value should be 0 or 100.
- next
Hop string The next hop of the destination route.
- publish
Vpc boolean Whether to issue the destination route to the VPC.
- route
Dest string The destination network segment of the destination route.
- vpn
Gateway stringId 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_ strid 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
alicloudTerraform Provider.