Skip to content

RouteTableProps

Properties for defining a RouteTable.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-routetable

Initializer

using AlibabaCloud.SDK.ROS.CDK.Vpc;
new RouteTableProps {
    object VpcId,
    object AssociateType = null,
    object Description = null,
    object RouteTableName = null,
    TagsProperty[] Tags = null
};

Properties

Name Type Description
VpcId object Property vpcId: The ID of the VPC to which the custom route table belongs.
AssociateType object Property associateType: The type of the route table.
Description object Property description: The description of the route table.
RouteTableName object Property routeTableName: The name of the route table.
Tags TagsProperty[] Property tags: Tags to attach to routetable.

VpcIdRequired

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

Property vpcId: The ID of the VPC to which the custom route table belongs.


AssociateTypeOptional

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

Property associateType: The type of the route table.

Valid values:

  • VSwitch (default): vSwitch route table
  • Gateway: gateway route table

DescriptionOptional

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

Property description: The description of the route table.

The description must be 1 to 256 characters in length, and cannot start with http:\/\/ or https:\/\/.


RouteTableNameOptional

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

Property routeTableName: The name of the route table.

The name must be 1 to 128 characters in length, and cannot start with http:\/\/ or https:\/\/.


TagsOptional

public TagsProperty[] Tags { get; set; }

Property tags: Tags to attach to routetable.

Max support 20 tags to add during create routetable. Each tag with two properties Key and Value, and Key is required.