Class RouteEntryState
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.Vpc
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class RouteEntryState : ResourceArgs
Constructors
View SourceRouteEntryState()
Declaration
public RouteEntryState()
Properties
View SourceDestinationCidrblock
The RouteEntry's target network segment.
Declaration
public Input<string> DestinationCidrblock { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
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://.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NexthopId
The route entry's next hop. ECS instance ID or VPC router interface ID.
Declaration
public Input<string> NexthopId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NexthopType
The next hop type. Available values:
Instance(Default): Route the traffic destined for the destination CIDR block to an ECS instance in the VPC.RouterInterface: Route the traffic destined for the destination CIDR block to a router interface.VpnGateway: Route the traffic destined for the destination CIDR block to a VPN Gateway.HaVip: Route the traffic destined for the destination CIDR block to an HAVIP.NetworkInterface: Route the traffic destined for the destination CIDR block to an NetworkInterface.NatGateway: Route the traffic destined for the destination CIDR block to an Nat Gateway.
Declaration
public Input<string> NexthopType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RouterId
This argument has beeb deprecated. Please use other arguments to launch a custom route entry.
Declaration
public Input<string> RouterId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RouteTableId
The ID of the route table.
Declaration
public Input<string> RouteTableId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |