Skip to content

RouteEntriesProps

Properties for defining a RouteEntries.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-routeentries

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc/datasource"
&datasource.RouteEntriesProps {
    RouteTableId: interface{},
    DestinationCidrBlock: interface{},
    IpVersion: interface{},
    NextHopId: interface{},
    NextHopType: interface{},
    RefreshOptions: interface{},
    RouteEntryId: interface{},
    RouteEntryName: interface{},
    RouteEntryType: interface{},
}

Properties

Name Type Description
RouteTableId interface{} Property routeTableId: The ID of the route table.
DestinationCidrBlock interface{} Property destinationCidrBlock: The destination CIDR block of the route.
IpVersion interface{} Property ipVersion: The IP version.
NextHopId interface{} Property nextHopId: The ID of the next hop.
NextHopType interface{} Property nextHopType: The type of the next hop.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
RouteEntryId interface{} Property routeEntryId: The ID of the route.
RouteEntryName interface{} Property routeEntryName: The name of the route.
RouteEntryType interface{} Property routeEntryType: The type of the route.

RouteTableIdRequired

RouteTableId interface{}
  • Type: interface{}

Property routeTableId: The ID of the route table.


DestinationCidrBlockOptional

DestinationCidrBlock interface{}
  • Type: interface{}

Property destinationCidrBlock: The destination CIDR block of the route.

IPv4 and IPv6 CIDR blocks are supported.


IpVersionOptional

IpVersion interface{}
  • Type: interface{}

Property ipVersion: The IP version.

Valid values: IPv4: IPv4 IPv6: IPv6


NextHopIdOptional

NextHopId interface{}
  • Type: interface{}

Property nextHopId: The ID of the next hop.


NextHopTypeOptional

NextHopType interface{}
  • Type: interface{}

Property nextHopType: The type of the next hop.

Valid values: Instance (default): an Elastic Compute Service (ECS) instance HaVip: a high-availability virtual IP address (HAVIP) VpnGateway: a VPN gateway NatGateway: a NAT gateway NetworkInterface: a secondary elastic network interface (ENI) RouterInterface: a router interface IPv6Gateway: an IPv6 gateway Attachment: a transit router


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

RouteEntryIdOptional

RouteEntryId interface{}
  • Type: interface{}

Property routeEntryId: The ID of the route.


RouteEntryNameOptional

RouteEntryName interface{}
  • Type: interface{}

Property routeEntryName: The name of the route.


RouteEntryTypeOptional

RouteEntryType interface{}
  • Type: interface{}

Property routeEntryType: The type of the route.

Valid values: Custom: a custom route System: a system route BGP: a Border Gateway Protocol (BGP) route CEN: a Cloud Enterprise Network (CEN) route