Class RouteEntry
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Vpn
Assembly: Pulumi.AliCloud.dll
Syntax
public class RouteEntry : CustomResource
Constructors
View SourceRouteEntry(String, RouteEntryArgs, CustomResourceOptions)
Create a RouteEntry resource with the given unique name, arguments, and options.
Declaration
public RouteEntry(string name, RouteEntryArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| RouteEntryArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceNextHop
The next hop of the destination route.
Declaration
public Output<string> NextHop { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PublishVpc
Whether to issue the destination route to the VPC.
Declaration
public Output<bool> PublishVpc { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Boolean> |
RouteDest
The destination network segment of the destination route.
Declaration
public Output<string> RouteDest { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
VpnGatewayId
The id of the vpn gateway.
Declaration
public Output<string> VpnGatewayId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Weight
The value should be 0 or 100.
Declaration
public Output<int> Weight { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
Methods
View SourceGet(String, Input<String>, RouteEntryState, CustomResourceOptions)
Get an existing RouteEntry resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static RouteEntry Get(string name, Input<string> id, RouteEntryState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| RouteEntryState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| RouteEntry |