Skip to content

RouteEntriesProps

Properties for defining a RouteEntries.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Vpc;
new RouteEntriesProps {
    object RouteTableId,
    object DestinationCidrBlock = null,
    object IpVersion = null,
    object NextHopId = null,
    object NextHopType = null,
    object RefreshOptions = null,
    object RouteEntryId = null,
    object RouteEntryName = null,
    object RouteEntryType = null
};

Properties

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

RouteTableIdRequired

public object RouteTableId { get; set; }
  • Type: object

Property routeTableId: The ID of the route table.


DestinationCidrBlockOptional

public object DestinationCidrBlock { get; set; }
  • Type: object

Property destinationCidrBlock: The destination CIDR block of the route.

IPv4 and IPv6 CIDR blocks are supported.


IpVersionOptional

public object IpVersion { get; set; }
  • Type: object

Property ipVersion: The IP version.

Valid values: IPv4: IPv4 IPv6: IPv6


NextHopIdOptional

public object NextHopId { get; set; }
  • Type: object

Property nextHopId: The ID of the next hop.


NextHopTypeOptional

public object NextHopType { get; set; }
  • Type: object

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

public object RefreshOptions { get; set; }
  • Type: object

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

public object RouteEntryId { get; set; }
  • Type: object

Property routeEntryId: The ID of the route.


RouteEntryNameOptional

public object RouteEntryName { get; set; }
  • Type: object

Property routeEntryName: The name of the route.


RouteEntryTypeOptional

public object RouteEntryType { get; set; }
  • Type: object

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