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. |
DestinationCidrBlock
Required
DestinationCidrBlock interface{}
- Type: interface{}
Property destinationCidrBlock: The RouteEntry's target network segment.
RouteTableId
Required
RouteTableId interface{}
- Type: interface{}
Property routeTableId: RouteTableId of created route entry.
NextHopId
Optional
NextHopId interface{}
- Type: interface{}
Property nextHopId: The route entry's next hop.
When the NextHopList is specified, the value will be ignored.
NextHopList
Optional
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.
NextHopType
Optional
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.