1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. vpc
  6. RouteTable
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine

    A route table consists of a series of route entries that specify the next hop cloud resource for private network traffic. Each subnet must be associated with only one route table, allowing resources within the subnet to forward traffic via the route table

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    resources:
      routeTableDemo:
        type: volcenginecc:vpc:RouteTable
        name: RouteTableDemo
        properties:
          vpcId: vpc-xxxxx
          routeTableName: routeTableDemo
          description: routeTableDemo description
          projectName: default
          subnetIds:
            - subnet-rrxxxxxx
          customRouteEntries:
            - destination_cidr_block: 192.168.x.0/30
              next_hop_type: Instance
              next_hop_id: i-xxxx
          tags:
            - key: env
              value: test
    

    Create RouteTable Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RouteTable(name: string, args: RouteTableArgs, opts?: CustomResourceOptions);
    @overload
    def RouteTable(resource_name: str,
                   args: RouteTableArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def RouteTable(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   vpc_id: Optional[str] = None,
                   associate_type: Optional[str] = None,
                   custom_route_entries: Optional[Sequence[RouteTableCustomRouteEntryArgs]] = None,
                   description: Optional[str] = None,
                   ipv4_gateway_id: Optional[str] = None,
                   ipv6_gateway_id: Optional[str] = None,
                   project_name: Optional[str] = None,
                   route_table_name: Optional[str] = None,
                   subnet_ids: Optional[Sequence[str]] = None,
                   tags: Optional[Sequence[RouteTableTagArgs]] = None)
    func NewRouteTable(ctx *Context, name string, args RouteTableArgs, opts ...ResourceOption) (*RouteTable, error)
    public RouteTable(string name, RouteTableArgs args, CustomResourceOptions? opts = null)
    public RouteTable(String name, RouteTableArgs args)
    public RouteTable(String name, RouteTableArgs args, CustomResourceOptions options)
    
    type: volcenginecc:vpc:RouteTable
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args RouteTableArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RouteTableArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RouteTableArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RouteTableArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RouteTableArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var routeTableResource = new Volcenginecc.Vpc.RouteTable("routeTableResource", new()
    {
        VpcId = "string",
        AssociateType = "string",
        CustomRouteEntries = new[]
        {
            new Volcenginecc.Vpc.Inputs.RouteTableCustomRouteEntryArgs
            {
                Description = "string",
                DestinationCidrBlock = "string",
                DestinationPrefixListId = "string",
                NextHopId = "string",
                NextHopName = "string",
                NextHopType = "string",
                RouteEntryName = "string",
            },
        },
        Description = "string",
        Ipv4GatewayId = "string",
        Ipv6GatewayId = "string",
        ProjectName = "string",
        RouteTableName = "string",
        SubnetIds = new[]
        {
            "string",
        },
        Tags = new[]
        {
            new Volcenginecc.Vpc.Inputs.RouteTableTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
    });
    
    example, err := vpc.NewRouteTable(ctx, "routeTableResource", &vpc.RouteTableArgs{
    	VpcId:         pulumi.String("string"),
    	AssociateType: pulumi.String("string"),
    	CustomRouteEntries: vpc.RouteTableCustomRouteEntryArray{
    		&vpc.RouteTableCustomRouteEntryArgs{
    			Description:             pulumi.String("string"),
    			DestinationCidrBlock:    pulumi.String("string"),
    			DestinationPrefixListId: pulumi.String("string"),
    			NextHopId:               pulumi.String("string"),
    			NextHopName:             pulumi.String("string"),
    			NextHopType:             pulumi.String("string"),
    			RouteEntryName:          pulumi.String("string"),
    		},
    	},
    	Description:    pulumi.String("string"),
    	Ipv4GatewayId:  pulumi.String("string"),
    	Ipv6GatewayId:  pulumi.String("string"),
    	ProjectName:    pulumi.String("string"),
    	RouteTableName: pulumi.String("string"),
    	SubnetIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Tags: vpc.RouteTableTagArray{
    		&vpc.RouteTableTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    })
    
    var routeTableResource = new RouteTable("routeTableResource", RouteTableArgs.builder()
        .vpcId("string")
        .associateType("string")
        .customRouteEntries(RouteTableCustomRouteEntryArgs.builder()
            .description("string")
            .destinationCidrBlock("string")
            .destinationPrefixListId("string")
            .nextHopId("string")
            .nextHopName("string")
            .nextHopType("string")
            .routeEntryName("string")
            .build())
        .description("string")
        .ipv4GatewayId("string")
        .ipv6GatewayId("string")
        .projectName("string")
        .routeTableName("string")
        .subnetIds("string")
        .tags(RouteTableTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .build());
    
    route_table_resource = volcenginecc.vpc.RouteTable("routeTableResource",
        vpc_id="string",
        associate_type="string",
        custom_route_entries=[{
            "description": "string",
            "destination_cidr_block": "string",
            "destination_prefix_list_id": "string",
            "next_hop_id": "string",
            "next_hop_name": "string",
            "next_hop_type": "string",
            "route_entry_name": "string",
        }],
        description="string",
        ipv4_gateway_id="string",
        ipv6_gateway_id="string",
        project_name="string",
        route_table_name="string",
        subnet_ids=["string"],
        tags=[{
            "key": "string",
            "value": "string",
        }])
    
    const routeTableResource = new volcenginecc.vpc.RouteTable("routeTableResource", {
        vpcId: "string",
        associateType: "string",
        customRouteEntries: [{
            description: "string",
            destinationCidrBlock: "string",
            destinationPrefixListId: "string",
            nextHopId: "string",
            nextHopName: "string",
            nextHopType: "string",
            routeEntryName: "string",
        }],
        description: "string",
        ipv4GatewayId: "string",
        ipv6GatewayId: "string",
        projectName: "string",
        routeTableName: "string",
        subnetIds: ["string"],
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    type: volcenginecc:vpc:RouteTable
    properties:
        associateType: string
        customRouteEntries:
            - description: string
              destinationCidrBlock: string
              destinationPrefixListId: string
              nextHopId: string
              nextHopName: string
              nextHopType: string
              routeEntryName: string
        description: string
        ipv4GatewayId: string
        ipv6GatewayId: string
        projectName: string
        routeTableName: string
        subnetIds:
            - string
        tags:
            - key: string
              value: string
        vpcId: string
    

    RouteTable Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The RouteTable resource accepts the following input properties:

    VpcId string
    ID of the VPC owning the route table
    AssociateType string
    Association type for route table creation input. 1. Subnet: Subnet association 2. Gateway: Gateway association
    CustomRouteEntries List<Volcengine.RouteTableCustomRouteEntry>
    Description string
    Route Table Description
    Ipv4GatewayId string
    IPv4 Gateway ID associated with the route table
    Ipv6GatewayId string
    IPv6 Gateway ID associated with the route table
    ProjectName string
    Name of the project owning the route table
    RouteTableName string
    Route Table Name
    SubnetIds List<string>
    List of associated subnet IDs
    Tags List<Volcengine.RouteTableTag>
    VpcId string
    ID of the VPC owning the route table
    AssociateType string
    Association type for route table creation input. 1. Subnet: Subnet association 2. Gateway: Gateway association
    CustomRouteEntries []RouteTableCustomRouteEntryArgs
    Description string
    Route Table Description
    Ipv4GatewayId string
    IPv4 Gateway ID associated with the route table
    Ipv6GatewayId string
    IPv6 Gateway ID associated with the route table
    ProjectName string
    Name of the project owning the route table
    RouteTableName string
    Route Table Name
    SubnetIds []string
    List of associated subnet IDs
    Tags []RouteTableTagArgs
    vpcId String
    ID of the VPC owning the route table
    associateType String
    Association type for route table creation input. 1. Subnet: Subnet association 2. Gateway: Gateway association
    customRouteEntries List<RouteTableCustomRouteEntry>
    description String
    Route Table Description
    ipv4GatewayId String
    IPv4 Gateway ID associated with the route table
    ipv6GatewayId String
    IPv6 Gateway ID associated with the route table
    projectName String
    Name of the project owning the route table
    routeTableName String
    Route Table Name
    subnetIds List<String>
    List of associated subnet IDs
    tags List<RouteTableTag>
    vpcId string
    ID of the VPC owning the route table
    associateType string
    Association type for route table creation input. 1. Subnet: Subnet association 2. Gateway: Gateway association
    customRouteEntries RouteTableCustomRouteEntry[]
    description string
    Route Table Description
    ipv4GatewayId string
    IPv4 Gateway ID associated with the route table
    ipv6GatewayId string
    IPv6 Gateway ID associated with the route table
    projectName string
    Name of the project owning the route table
    routeTableName string
    Route Table Name
    subnetIds string[]
    List of associated subnet IDs
    tags RouteTableTag[]
    vpc_id str
    ID of the VPC owning the route table
    associate_type str
    Association type for route table creation input. 1. Subnet: Subnet association 2. Gateway: Gateway association
    custom_route_entries Sequence[RouteTableCustomRouteEntryArgs]
    description str
    Route Table Description
    ipv4_gateway_id str
    IPv4 Gateway ID associated with the route table
    ipv6_gateway_id str
    IPv6 Gateway ID associated with the route table
    project_name str
    Name of the project owning the route table
    route_table_name str
    Route Table Name
    subnet_ids Sequence[str]
    List of associated subnet IDs
    tags Sequence[RouteTableTagArgs]
    vpcId String
    ID of the VPC owning the route table
    associateType String
    Association type for route table creation input. 1. Subnet: Subnet association 2. Gateway: Gateway association
    customRouteEntries List<Property Map>
    description String
    Route Table Description
    ipv4GatewayId String
    IPv4 Gateway ID associated with the route table
    ipv6GatewayId String
    IPv6 Gateway ID associated with the route table
    projectName String
    Name of the project owning the route table
    routeTableName String
    Route Table Name
    subnetIds List<String>
    List of associated subnet IDs
    tags List<Property Map>

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RouteTable resource produces the following output properties:

    AccountId string
    Account ID owning the route table
    CreatedTime string
    Route Table Creation Time
    Id string
    The provider-assigned unique ID for this managed resource.
    RouteTableId string
    Route Table ID
    RouteTableType string
    Route table type. 1. Custom: Custom route table 2. System: System route table
    SystemRouteEntries List<Volcengine.RouteTableSystemRouteEntry>
    UpdatedTime string
    Route Table Last Updated Time
    VpcName string
    VPC Name
    AccountId string
    Account ID owning the route table
    CreatedTime string
    Route Table Creation Time
    Id string
    The provider-assigned unique ID for this managed resource.
    RouteTableId string
    Route Table ID
    RouteTableType string
    Route table type. 1. Custom: Custom route table 2. System: System route table
    SystemRouteEntries []RouteTableSystemRouteEntry
    UpdatedTime string
    Route Table Last Updated Time
    VpcName string
    VPC Name
    accountId String
    Account ID owning the route table
    createdTime String
    Route Table Creation Time
    id String
    The provider-assigned unique ID for this managed resource.
    routeTableId String
    Route Table ID
    routeTableType String
    Route table type. 1. Custom: Custom route table 2. System: System route table
    systemRouteEntries List<RouteTableSystemRouteEntry>
    updatedTime String
    Route Table Last Updated Time
    vpcName String
    VPC Name
    accountId string
    Account ID owning the route table
    createdTime string
    Route Table Creation Time
    id string
    The provider-assigned unique ID for this managed resource.
    routeTableId string
    Route Table ID
    routeTableType string
    Route table type. 1. Custom: Custom route table 2. System: System route table
    systemRouteEntries RouteTableSystemRouteEntry[]
    updatedTime string
    Route Table Last Updated Time
    vpcName string
    VPC Name
    account_id str
    Account ID owning the route table
    created_time str
    Route Table Creation Time
    id str
    The provider-assigned unique ID for this managed resource.
    route_table_id str
    Route Table ID
    route_table_type str
    Route table type. 1. Custom: Custom route table 2. System: System route table
    system_route_entries Sequence[RouteTableSystemRouteEntry]
    updated_time str
    Route Table Last Updated Time
    vpc_name str
    VPC Name
    accountId String
    Account ID owning the route table
    createdTime String
    Route Table Creation Time
    id String
    The provider-assigned unique ID for this managed resource.
    routeTableId String
    Route Table ID
    routeTableType String
    Route table type. 1. Custom: Custom route table 2. System: System route table
    systemRouteEntries List<Property Map>
    updatedTime String
    Route Table Last Updated Time
    vpcName String
    VPC Name

    Look up Existing RouteTable Resource

    Get an existing RouteTable resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: RouteTableState, opts?: CustomResourceOptions): RouteTable
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            associate_type: Optional[str] = None,
            created_time: Optional[str] = None,
            custom_route_entries: Optional[Sequence[RouteTableCustomRouteEntryArgs]] = None,
            description: Optional[str] = None,
            ipv4_gateway_id: Optional[str] = None,
            ipv6_gateway_id: Optional[str] = None,
            project_name: Optional[str] = None,
            route_table_id: Optional[str] = None,
            route_table_name: Optional[str] = None,
            route_table_type: Optional[str] = None,
            subnet_ids: Optional[Sequence[str]] = None,
            system_route_entries: Optional[Sequence[RouteTableSystemRouteEntryArgs]] = None,
            tags: Optional[Sequence[RouteTableTagArgs]] = None,
            updated_time: Optional[str] = None,
            vpc_id: Optional[str] = None,
            vpc_name: Optional[str] = None) -> RouteTable
    func GetRouteTable(ctx *Context, name string, id IDInput, state *RouteTableState, opts ...ResourceOption) (*RouteTable, error)
    public static RouteTable Get(string name, Input<string> id, RouteTableState? state, CustomResourceOptions? opts = null)
    public static RouteTable get(String name, Output<String> id, RouteTableState state, CustomResourceOptions options)
    resources:  _:    type: volcenginecc:vpc:RouteTable    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountId string
    Account ID owning the route table
    AssociateType string
    Association type for route table creation input. 1. Subnet: Subnet association 2. Gateway: Gateway association
    CreatedTime string
    Route Table Creation Time
    CustomRouteEntries List<Volcengine.RouteTableCustomRouteEntry>
    Description string
    Route Table Description
    Ipv4GatewayId string
    IPv4 Gateway ID associated with the route table
    Ipv6GatewayId string
    IPv6 Gateway ID associated with the route table
    ProjectName string
    Name of the project owning the route table
    RouteTableId string
    Route Table ID
    RouteTableName string
    Route Table Name
    RouteTableType string
    Route table type. 1. Custom: Custom route table 2. System: System route table
    SubnetIds List<string>
    List of associated subnet IDs
    SystemRouteEntries List<Volcengine.RouteTableSystemRouteEntry>
    Tags List<Volcengine.RouteTableTag>
    UpdatedTime string
    Route Table Last Updated Time
    VpcId string
    ID of the VPC owning the route table
    VpcName string
    VPC Name
    AccountId string
    Account ID owning the route table
    AssociateType string
    Association type for route table creation input. 1. Subnet: Subnet association 2. Gateway: Gateway association
    CreatedTime string
    Route Table Creation Time
    CustomRouteEntries []RouteTableCustomRouteEntryArgs
    Description string
    Route Table Description
    Ipv4GatewayId string
    IPv4 Gateway ID associated with the route table
    Ipv6GatewayId string
    IPv6 Gateway ID associated with the route table
    ProjectName string
    Name of the project owning the route table
    RouteTableId string
    Route Table ID
    RouteTableName string
    Route Table Name
    RouteTableType string
    Route table type. 1. Custom: Custom route table 2. System: System route table
    SubnetIds []string
    List of associated subnet IDs
    SystemRouteEntries []RouteTableSystemRouteEntryArgs
    Tags []RouteTableTagArgs
    UpdatedTime string
    Route Table Last Updated Time
    VpcId string
    ID of the VPC owning the route table
    VpcName string
    VPC Name
    accountId String
    Account ID owning the route table
    associateType String
    Association type for route table creation input. 1. Subnet: Subnet association 2. Gateway: Gateway association
    createdTime String
    Route Table Creation Time
    customRouteEntries List<RouteTableCustomRouteEntry>
    description String
    Route Table Description
    ipv4GatewayId String
    IPv4 Gateway ID associated with the route table
    ipv6GatewayId String
    IPv6 Gateway ID associated with the route table
    projectName String
    Name of the project owning the route table
    routeTableId String
    Route Table ID
    routeTableName String
    Route Table Name
    routeTableType String
    Route table type. 1. Custom: Custom route table 2. System: System route table
    subnetIds List<String>
    List of associated subnet IDs
    systemRouteEntries List<RouteTableSystemRouteEntry>
    tags List<RouteTableTag>
    updatedTime String
    Route Table Last Updated Time
    vpcId String
    ID of the VPC owning the route table
    vpcName String
    VPC Name
    accountId string
    Account ID owning the route table
    associateType string
    Association type for route table creation input. 1. Subnet: Subnet association 2. Gateway: Gateway association
    createdTime string
    Route Table Creation Time
    customRouteEntries RouteTableCustomRouteEntry[]
    description string
    Route Table Description
    ipv4GatewayId string
    IPv4 Gateway ID associated with the route table
    ipv6GatewayId string
    IPv6 Gateway ID associated with the route table
    projectName string
    Name of the project owning the route table
    routeTableId string
    Route Table ID
    routeTableName string
    Route Table Name
    routeTableType string
    Route table type. 1. Custom: Custom route table 2. System: System route table
    subnetIds string[]
    List of associated subnet IDs
    systemRouteEntries RouteTableSystemRouteEntry[]
    tags RouteTableTag[]
    updatedTime string
    Route Table Last Updated Time
    vpcId string
    ID of the VPC owning the route table
    vpcName string
    VPC Name
    account_id str
    Account ID owning the route table
    associate_type str
    Association type for route table creation input. 1. Subnet: Subnet association 2. Gateway: Gateway association
    created_time str
    Route Table Creation Time
    custom_route_entries Sequence[RouteTableCustomRouteEntryArgs]
    description str
    Route Table Description
    ipv4_gateway_id str
    IPv4 Gateway ID associated with the route table
    ipv6_gateway_id str
    IPv6 Gateway ID associated with the route table
    project_name str
    Name of the project owning the route table
    route_table_id str
    Route Table ID
    route_table_name str
    Route Table Name
    route_table_type str
    Route table type. 1. Custom: Custom route table 2. System: System route table
    subnet_ids Sequence[str]
    List of associated subnet IDs
    system_route_entries Sequence[RouteTableSystemRouteEntryArgs]
    tags Sequence[RouteTableTagArgs]
    updated_time str
    Route Table Last Updated Time
    vpc_id str
    ID of the VPC owning the route table
    vpc_name str
    VPC Name
    accountId String
    Account ID owning the route table
    associateType String
    Association type for route table creation input. 1. Subnet: Subnet association 2. Gateway: Gateway association
    createdTime String
    Route Table Creation Time
    customRouteEntries List<Property Map>
    description String
    Route Table Description
    ipv4GatewayId String
    IPv4 Gateway ID associated with the route table
    ipv6GatewayId String
    IPv6 Gateway ID associated with the route table
    projectName String
    Name of the project owning the route table
    routeTableId String
    Route Table ID
    routeTableName String
    Route Table Name
    routeTableType String
    Route table type. 1. Custom: Custom route table 2. System: System route table
    subnetIds List<String>
    List of associated subnet IDs
    systemRouteEntries List<Property Map>
    tags List<Property Map>
    updatedTime String
    Route Table Last Updated Time
    vpcId String
    ID of the VPC owning the route table
    vpcName String
    VPC Name

    Supporting Types

    RouteTableCustomRouteEntry, RouteTableCustomRouteEntryArgs

    Description string
    Route Entry Description
    DestinationCidrBlock string
    Destination CIDR of the route entry
    DestinationPrefixListId string
    Prefix List ID
    NextHopId string
    Next Hop Resource ID
    NextHopName string
    Name of the next hop resource for the route entry
    NextHopType string
    Next hop type for custom route entry. 1. Instance: ECS instance 2. HaVip: High availability virtual IP 3. NetworkInterface: Secondary network interface 4. NatGW: NAT gateway 5. VpnGW: VPN gateway 6. TransitRouter: Transit router 7. IPv6GW: IPv6 gateway 8. CloudConnector: Cloud connector 9. GWLBEndpoint: Gateway load balancer endpoint
    RouteEntryName string
    Route Entry Name
    Description string
    Route Entry Description
    DestinationCidrBlock string
    Destination CIDR of the route entry
    DestinationPrefixListId string
    Prefix List ID
    NextHopId string
    Next Hop Resource ID
    NextHopName string
    Name of the next hop resource for the route entry
    NextHopType string
    Next hop type for custom route entry. 1. Instance: ECS instance 2. HaVip: High availability virtual IP 3. NetworkInterface: Secondary network interface 4. NatGW: NAT gateway 5. VpnGW: VPN gateway 6. TransitRouter: Transit router 7. IPv6GW: IPv6 gateway 8. CloudConnector: Cloud connector 9. GWLBEndpoint: Gateway load balancer endpoint
    RouteEntryName string
    Route Entry Name
    description String
    Route Entry Description
    destinationCidrBlock String
    Destination CIDR of the route entry
    destinationPrefixListId String
    Prefix List ID
    nextHopId String
    Next Hop Resource ID
    nextHopName String
    Name of the next hop resource for the route entry
    nextHopType String
    Next hop type for custom route entry. 1. Instance: ECS instance 2. HaVip: High availability virtual IP 3. NetworkInterface: Secondary network interface 4. NatGW: NAT gateway 5. VpnGW: VPN gateway 6. TransitRouter: Transit router 7. IPv6GW: IPv6 gateway 8. CloudConnector: Cloud connector 9. GWLBEndpoint: Gateway load balancer endpoint
    routeEntryName String
    Route Entry Name
    description string
    Route Entry Description
    destinationCidrBlock string
    Destination CIDR of the route entry
    destinationPrefixListId string
    Prefix List ID
    nextHopId string
    Next Hop Resource ID
    nextHopName string
    Name of the next hop resource for the route entry
    nextHopType string
    Next hop type for custom route entry. 1. Instance: ECS instance 2. HaVip: High availability virtual IP 3. NetworkInterface: Secondary network interface 4. NatGW: NAT gateway 5. VpnGW: VPN gateway 6. TransitRouter: Transit router 7. IPv6GW: IPv6 gateway 8. CloudConnector: Cloud connector 9. GWLBEndpoint: Gateway load balancer endpoint
    routeEntryName string
    Route Entry Name
    description str
    Route Entry Description
    destination_cidr_block str
    Destination CIDR of the route entry
    destination_prefix_list_id str
    Prefix List ID
    next_hop_id str
    Next Hop Resource ID
    next_hop_name str
    Name of the next hop resource for the route entry
    next_hop_type str
    Next hop type for custom route entry. 1. Instance: ECS instance 2. HaVip: High availability virtual IP 3. NetworkInterface: Secondary network interface 4. NatGW: NAT gateway 5. VpnGW: VPN gateway 6. TransitRouter: Transit router 7. IPv6GW: IPv6 gateway 8. CloudConnector: Cloud connector 9. GWLBEndpoint: Gateway load balancer endpoint
    route_entry_name str
    Route Entry Name
    description String
    Route Entry Description
    destinationCidrBlock String
    Destination CIDR of the route entry
    destinationPrefixListId String
    Prefix List ID
    nextHopId String
    Next Hop Resource ID
    nextHopName String
    Name of the next hop resource for the route entry
    nextHopType String
    Next hop type for custom route entry. 1. Instance: ECS instance 2. HaVip: High availability virtual IP 3. NetworkInterface: Secondary network interface 4. NatGW: NAT gateway 5. VpnGW: VPN gateway 6. TransitRouter: Transit router 7. IPv6GW: IPv6 gateway 8. CloudConnector: Cloud connector 9. GWLBEndpoint: Gateway load balancer endpoint
    routeEntryName String
    Route Entry Name

    RouteTableSystemRouteEntry, RouteTableSystemRouteEntryArgs

    Description string
    Route Entry Description
    DestinationCidrBlock string
    Destination CIDR of the route entry
    DestinationPrefixListId string
    Prefix List ID
    NextHopId string
    Next Hop Resource ID
    NextHopName string
    Name of the next hop resource for the route entry
    NextHopType string
    Next hop type for custom route entry. 1. Instance: ECS instance 2. HaVip: High availability virtual IP 3. NetworkInterface: Secondary network interface 4. NatGW: NAT gateway 5. VpnGW: VPN gateway 6. TransitRouter: Transit router 7. IPv6GW: IPv6 gateway 8. CloudConnector: Cloud connector 9. GWLBEndpoint: Gateway load balancer endpoint
    PrefixListCidrBlocks List<string>
    Prefix List CIDR
    RouteEntryId string
    Route Entry ID
    RouteEntryName string
    Route Entry Name
    RouteTableId string
    Route Table ID
    Status string
    Route entry status. 1. Pending: Pending creation 2. Available: Available
    Type string
    Route entry type. 1. Custom: Custom route entry 2. System: System default route entry
    VpcId string
    ID of the private network to which the route entry belongs
    Description string
    Route Entry Description
    DestinationCidrBlock string
    Destination CIDR of the route entry
    DestinationPrefixListId string
    Prefix List ID
    NextHopId string
    Next Hop Resource ID
    NextHopName string
    Name of the next hop resource for the route entry
    NextHopType string
    Next hop type for custom route entry. 1. Instance: ECS instance 2. HaVip: High availability virtual IP 3. NetworkInterface: Secondary network interface 4. NatGW: NAT gateway 5. VpnGW: VPN gateway 6. TransitRouter: Transit router 7. IPv6GW: IPv6 gateway 8. CloudConnector: Cloud connector 9. GWLBEndpoint: Gateway load balancer endpoint
    PrefixListCidrBlocks []string
    Prefix List CIDR
    RouteEntryId string
    Route Entry ID
    RouteEntryName string
    Route Entry Name
    RouteTableId string
    Route Table ID
    Status string
    Route entry status. 1. Pending: Pending creation 2. Available: Available
    Type string
    Route entry type. 1. Custom: Custom route entry 2. System: System default route entry
    VpcId string
    ID of the private network to which the route entry belongs
    description String
    Route Entry Description
    destinationCidrBlock String
    Destination CIDR of the route entry
    destinationPrefixListId String
    Prefix List ID
    nextHopId String
    Next Hop Resource ID
    nextHopName String
    Name of the next hop resource for the route entry
    nextHopType String
    Next hop type for custom route entry. 1. Instance: ECS instance 2. HaVip: High availability virtual IP 3. NetworkInterface: Secondary network interface 4. NatGW: NAT gateway 5. VpnGW: VPN gateway 6. TransitRouter: Transit router 7. IPv6GW: IPv6 gateway 8. CloudConnector: Cloud connector 9. GWLBEndpoint: Gateway load balancer endpoint
    prefixListCidrBlocks List<String>
    Prefix List CIDR
    routeEntryId String
    Route Entry ID
    routeEntryName String
    Route Entry Name
    routeTableId String
    Route Table ID
    status String
    Route entry status. 1. Pending: Pending creation 2. Available: Available
    type String
    Route entry type. 1. Custom: Custom route entry 2. System: System default route entry
    vpcId String
    ID of the private network to which the route entry belongs
    description string
    Route Entry Description
    destinationCidrBlock string
    Destination CIDR of the route entry
    destinationPrefixListId string
    Prefix List ID
    nextHopId string
    Next Hop Resource ID
    nextHopName string
    Name of the next hop resource for the route entry
    nextHopType string
    Next hop type for custom route entry. 1. Instance: ECS instance 2. HaVip: High availability virtual IP 3. NetworkInterface: Secondary network interface 4. NatGW: NAT gateway 5. VpnGW: VPN gateway 6. TransitRouter: Transit router 7. IPv6GW: IPv6 gateway 8. CloudConnector: Cloud connector 9. GWLBEndpoint: Gateway load balancer endpoint
    prefixListCidrBlocks string[]
    Prefix List CIDR
    routeEntryId string
    Route Entry ID
    routeEntryName string
    Route Entry Name
    routeTableId string
    Route Table ID
    status string
    Route entry status. 1. Pending: Pending creation 2. Available: Available
    type string
    Route entry type. 1. Custom: Custom route entry 2. System: System default route entry
    vpcId string
    ID of the private network to which the route entry belongs
    description str
    Route Entry Description
    destination_cidr_block str
    Destination CIDR of the route entry
    destination_prefix_list_id str
    Prefix List ID
    next_hop_id str
    Next Hop Resource ID
    next_hop_name str
    Name of the next hop resource for the route entry
    next_hop_type str
    Next hop type for custom route entry. 1. Instance: ECS instance 2. HaVip: High availability virtual IP 3. NetworkInterface: Secondary network interface 4. NatGW: NAT gateway 5. VpnGW: VPN gateway 6. TransitRouter: Transit router 7. IPv6GW: IPv6 gateway 8. CloudConnector: Cloud connector 9. GWLBEndpoint: Gateway load balancer endpoint
    prefix_list_cidr_blocks Sequence[str]
    Prefix List CIDR
    route_entry_id str
    Route Entry ID
    route_entry_name str
    Route Entry Name
    route_table_id str
    Route Table ID
    status str
    Route entry status. 1. Pending: Pending creation 2. Available: Available
    type str
    Route entry type. 1. Custom: Custom route entry 2. System: System default route entry
    vpc_id str
    ID of the private network to which the route entry belongs
    description String
    Route Entry Description
    destinationCidrBlock String
    Destination CIDR of the route entry
    destinationPrefixListId String
    Prefix List ID
    nextHopId String
    Next Hop Resource ID
    nextHopName String
    Name of the next hop resource for the route entry
    nextHopType String
    Next hop type for custom route entry. 1. Instance: ECS instance 2. HaVip: High availability virtual IP 3. NetworkInterface: Secondary network interface 4. NatGW: NAT gateway 5. VpnGW: VPN gateway 6. TransitRouter: Transit router 7. IPv6GW: IPv6 gateway 8. CloudConnector: Cloud connector 9. GWLBEndpoint: Gateway load balancer endpoint
    prefixListCidrBlocks List<String>
    Prefix List CIDR
    routeEntryId String
    Route Entry ID
    routeEntryName String
    Route Entry Name
    routeTableId String
    Route Table ID
    status String
    Route entry status. 1. Pending: Pending creation 2. Available: Available
    type String
    Route entry type. 1. Custom: Custom route entry 2. System: System default route entry
    vpcId String
    ID of the private network to which the route entry belongs

    RouteTableTag, RouteTableTagArgs

    Key string
    User tag key
    Value string
    User tag value
    Key string
    User tag key
    Value string
    User tag value
    key String
    User tag key
    value String
    User tag value
    key string
    User tag key
    value string
    User tag value
    key str
    User tag key
    value str
    User tag value
    key String
    User tag key
    value String
    User tag value

    Import

    $ pulumi import volcenginecc:vpc/routeTable:RouteTable example "route_table_id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.32
    published on Thursday, Apr 23, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.