RouteProps
Properties for defining a Route.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-route
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs"
&alicloudroscdkecs.RouteProps {
DestinationCidrBlock: interface{},
RouteTableId: interface{},
NextHopId: interface{},
NextHopList: interface{},
NextHopType: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
DestinationCidrBlock |
interface{} |
Property destinationCidrBlock: The RouteEntry's target network segment. |
RouteTableId |
interface{} |
Property routeTableId: RouteTableId of created route entry. |
NextHopId |
interface{} |
Property nextHopId: The route entry's next hop. |
NextHopList |
interface{} |
Property nextHopList: The route entry's next hop list. |
NextHopType |
interface{} |
Property nextHopType: The next hop type. |
DestinationCidrBlockRequired
DestinationCidrBlock interface{}
- Type: interface{}
Property destinationCidrBlock: The RouteEntry's target network segment.
RouteTableIdRequired
RouteTableId interface{}
- Type: interface{}
Property routeTableId: RouteTableId of created route entry.
NextHopIdOptional
NextHopId interface{}
- Type: interface{}
Property nextHopId: The route entry's next hop.
When the NextHopList is specified, the value will be ignored.
NextHopListOptional
NextHopList interface{}
- Type: interface{}
Property nextHopList: The route entry's next hop list.
If router is virtual border router, the value will be ignore. The list should contain 2-4 next hop. NextHopId of each next hop must be RouterInterface that VRouter forwards to VBR.
NextHopTypeOptional
NextHopType interface{}
- Type: interface{}
Property nextHopType: The next hop type.
Now support 'Instance|HaVip|RouterInterface|NetworkInterface|VpnGateway|IPv6Gateway|NatGateway|Attachment'. The default value is Instance.When the NextHopList is specified, the value will be ignored.