1. Packages
  2. Volcenginecc Provider
  3. API Docs
  4. vpc
  5. RouteTable
volcenginecc v0.0.2 published on Saturday, Oct 11, 2025 by Volcengine

volcenginecc.vpc.RouteTable

Deploy with Pulumi
volcenginecc logo
volcenginecc v0.0.2 published on Saturday, Oct 11, 2025 by Volcengine

    路由表由一系列路由条目组成,为私有网络的流量指定下一跳的云资源,每个子网必须且仅支持关联一个路由表,使子网内的资源通过路由表转发流量。

    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,
                   vpc_name: Optional[str] = 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",
            },
        },
        VpcName = "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"),
    		},
    	},
    	VpcName: 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())
        .vpcName("string")
        .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",
        }],
        vpc_name="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",
        }],
        vpcName: "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
        vpcName: 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
    路由表所属VPC的ID。
    AssociateType string
    创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
    CustomRouteEntries List<Volcengine.RouteTableCustomRouteEntry>
    Description string
    路由表描述信息。
    Ipv4GatewayId string
    关联路由表的IPv4网关ID。
    Ipv6GatewayId string
    关联路由表的IPv6网关ID。
    ProjectName string
    路由表所属项目的名称。
    RouteTableName string
    路由表名称。
    SubnetIds List<string>
    关联的子网的ID列表。
    Tags List<Volcengine.RouteTableTag>
    VpcName string
    VPC的名称。
    VpcId string
    路由表所属VPC的ID。
    AssociateType string
    创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
    CustomRouteEntries []RouteTableCustomRouteEntryArgs
    Description string
    路由表描述信息。
    Ipv4GatewayId string
    关联路由表的IPv4网关ID。
    Ipv6GatewayId string
    关联路由表的IPv6网关ID。
    ProjectName string
    路由表所属项目的名称。
    RouteTableName string
    路由表名称。
    SubnetIds []string
    关联的子网的ID列表。
    Tags []RouteTableTagArgs
    VpcName string
    VPC的名称。
    vpcId String
    路由表所属VPC的ID。
    associateType String
    创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
    customRouteEntries List<RouteTableCustomRouteEntry>
    description String
    路由表描述信息。
    ipv4GatewayId String
    关联路由表的IPv4网关ID。
    ipv6GatewayId String
    关联路由表的IPv6网关ID。
    projectName String
    路由表所属项目的名称。
    routeTableName String
    路由表名称。
    subnetIds List<String>
    关联的子网的ID列表。
    tags List<RouteTableTag>
    vpcName String
    VPC的名称。
    vpcId string
    路由表所属VPC的ID。
    associateType string
    创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
    customRouteEntries RouteTableCustomRouteEntry[]
    description string
    路由表描述信息。
    ipv4GatewayId string
    关联路由表的IPv4网关ID。
    ipv6GatewayId string
    关联路由表的IPv6网关ID。
    projectName string
    路由表所属项目的名称。
    routeTableName string
    路由表名称。
    subnetIds string[]
    关联的子网的ID列表。
    tags RouteTableTag[]
    vpcName string
    VPC的名称。
    vpc_id str
    路由表所属VPC的ID。
    associate_type str
    创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
    custom_route_entries Sequence[RouteTableCustomRouteEntryArgs]
    description str
    路由表描述信息。
    ipv4_gateway_id str
    关联路由表的IPv4网关ID。
    ipv6_gateway_id str
    关联路由表的IPv6网关ID。
    project_name str
    路由表所属项目的名称。
    route_table_name str
    路由表名称。
    subnet_ids Sequence[str]
    关联的子网的ID列表。
    tags Sequence[RouteTableTagArgs]
    vpc_name str
    VPC的名称。
    vpcId String
    路由表所属VPC的ID。
    associateType String
    创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
    customRouteEntries List<Property Map>
    description String
    路由表描述信息。
    ipv4GatewayId String
    关联路由表的IPv4网关ID。
    ipv6GatewayId String
    关联路由表的IPv6网关ID。
    projectName String
    路由表所属项目的名称。
    routeTableName String
    路由表名称。
    subnetIds List<String>
    关联的子网的ID列表。
    tags List<Property Map>
    vpcName String
    VPC的名称。

    Outputs

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

    AccountId string
    路由表所属账号的ID。
    CreatedTime string
    路由表创建时间。
    Id string
    The provider-assigned unique ID for this managed resource.
    RouteTableId string
    路由表ID。
    RouteTableType string
    路由表类型。1、Custom:自定义路由表。2、System:系统路由表。
    SystemRouteEntries List<Volcengine.RouteTableSystemRouteEntry>
    UpdatedTime string
    路由表更新时间。
    AccountId string
    路由表所属账号的ID。
    CreatedTime string
    路由表创建时间。
    Id string
    The provider-assigned unique ID for this managed resource.
    RouteTableId string
    路由表ID。
    RouteTableType string
    路由表类型。1、Custom:自定义路由表。2、System:系统路由表。
    SystemRouteEntries []RouteTableSystemRouteEntry
    UpdatedTime string
    路由表更新时间。
    accountId String
    路由表所属账号的ID。
    createdTime String
    路由表创建时间。
    id String
    The provider-assigned unique ID for this managed resource.
    routeTableId String
    路由表ID。
    routeTableType String
    路由表类型。1、Custom:自定义路由表。2、System:系统路由表。
    systemRouteEntries List<RouteTableSystemRouteEntry>
    updatedTime String
    路由表更新时间。
    accountId string
    路由表所属账号的ID。
    createdTime string
    路由表创建时间。
    id string
    The provider-assigned unique ID for this managed resource.
    routeTableId string
    路由表ID。
    routeTableType string
    路由表类型。1、Custom:自定义路由表。2、System:系统路由表。
    systemRouteEntries RouteTableSystemRouteEntry[]
    updatedTime string
    路由表更新时间。
    account_id str
    路由表所属账号的ID。
    created_time str
    路由表创建时间。
    id str
    The provider-assigned unique ID for this managed resource.
    route_table_id str
    路由表ID。
    route_table_type str
    路由表类型。1、Custom:自定义路由表。2、System:系统路由表。
    system_route_entries Sequence[RouteTableSystemRouteEntry]
    updated_time str
    路由表更新时间。
    accountId String
    路由表所属账号的ID。
    createdTime String
    路由表创建时间。
    id String
    The provider-assigned unique ID for this managed resource.
    routeTableId String
    路由表ID。
    routeTableType String
    路由表类型。1、Custom:自定义路由表。2、System:系统路由表。
    systemRouteEntries List<Property Map>
    updatedTime String
    路由表更新时间。

    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
    路由表所属账号的ID。
    AssociateType string
    创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
    CreatedTime string
    路由表创建时间。
    CustomRouteEntries List<Volcengine.RouteTableCustomRouteEntry>
    Description string
    路由表描述信息。
    Ipv4GatewayId string
    关联路由表的IPv4网关ID。
    Ipv6GatewayId string
    关联路由表的IPv6网关ID。
    ProjectName string
    路由表所属项目的名称。
    RouteTableId string
    路由表ID。
    RouteTableName string
    路由表名称。
    RouteTableType string
    路由表类型。1、Custom:自定义路由表。2、System:系统路由表。
    SubnetIds List<string>
    关联的子网的ID列表。
    SystemRouteEntries List<Volcengine.RouteTableSystemRouteEntry>
    Tags List<Volcengine.RouteTableTag>
    UpdatedTime string
    路由表更新时间。
    VpcId string
    路由表所属VPC的ID。
    VpcName string
    VPC的名称。
    AccountId string
    路由表所属账号的ID。
    AssociateType string
    创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
    CreatedTime string
    路由表创建时间。
    CustomRouteEntries []RouteTableCustomRouteEntryArgs
    Description string
    路由表描述信息。
    Ipv4GatewayId string
    关联路由表的IPv4网关ID。
    Ipv6GatewayId string
    关联路由表的IPv6网关ID。
    ProjectName string
    路由表所属项目的名称。
    RouteTableId string
    路由表ID。
    RouteTableName string
    路由表名称。
    RouteTableType string
    路由表类型。1、Custom:自定义路由表。2、System:系统路由表。
    SubnetIds []string
    关联的子网的ID列表。
    SystemRouteEntries []RouteTableSystemRouteEntryArgs
    Tags []RouteTableTagArgs
    UpdatedTime string
    路由表更新时间。
    VpcId string
    路由表所属VPC的ID。
    VpcName string
    VPC的名称。
    accountId String
    路由表所属账号的ID。
    associateType String
    创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
    createdTime String
    路由表创建时间。
    customRouteEntries List<RouteTableCustomRouteEntry>
    description String
    路由表描述信息。
    ipv4GatewayId String
    关联路由表的IPv4网关ID。
    ipv6GatewayId String
    关联路由表的IPv6网关ID。
    projectName String
    路由表所属项目的名称。
    routeTableId String
    路由表ID。
    routeTableName String
    路由表名称。
    routeTableType String
    路由表类型。1、Custom:自定义路由表。2、System:系统路由表。
    subnetIds List<String>
    关联的子网的ID列表。
    systemRouteEntries List<RouteTableSystemRouteEntry>
    tags List<RouteTableTag>
    updatedTime String
    路由表更新时间。
    vpcId String
    路由表所属VPC的ID。
    vpcName String
    VPC的名称。
    accountId string
    路由表所属账号的ID。
    associateType string
    创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
    createdTime string
    路由表创建时间。
    customRouteEntries RouteTableCustomRouteEntry[]
    description string
    路由表描述信息。
    ipv4GatewayId string
    关联路由表的IPv4网关ID。
    ipv6GatewayId string
    关联路由表的IPv6网关ID。
    projectName string
    路由表所属项目的名称。
    routeTableId string
    路由表ID。
    routeTableName string
    路由表名称。
    routeTableType string
    路由表类型。1、Custom:自定义路由表。2、System:系统路由表。
    subnetIds string[]
    关联的子网的ID列表。
    systemRouteEntries RouteTableSystemRouteEntry[]
    tags RouteTableTag[]
    updatedTime string
    路由表更新时间。
    vpcId string
    路由表所属VPC的ID。
    vpcName string
    VPC的名称。
    account_id str
    路由表所属账号的ID。
    associate_type str
    创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
    created_time str
    路由表创建时间。
    custom_route_entries Sequence[RouteTableCustomRouteEntryArgs]
    description str
    路由表描述信息。
    ipv4_gateway_id str
    关联路由表的IPv4网关ID。
    ipv6_gateway_id str
    关联路由表的IPv6网关ID。
    project_name str
    路由表所属项目的名称。
    route_table_id str
    路由表ID。
    route_table_name str
    路由表名称。
    route_table_type str
    路由表类型。1、Custom:自定义路由表。2、System:系统路由表。
    subnet_ids Sequence[str]
    关联的子网的ID列表。
    system_route_entries Sequence[RouteTableSystemRouteEntryArgs]
    tags Sequence[RouteTableTagArgs]
    updated_time str
    路由表更新时间。
    vpc_id str
    路由表所属VPC的ID。
    vpc_name str
    VPC的名称。
    accountId String
    路由表所属账号的ID。
    associateType String
    创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
    createdTime String
    路由表创建时间。
    customRouteEntries List<Property Map>
    description String
    路由表描述信息。
    ipv4GatewayId String
    关联路由表的IPv4网关ID。
    ipv6GatewayId String
    关联路由表的IPv6网关ID。
    projectName String
    路由表所属项目的名称。
    routeTableId String
    路由表ID。
    routeTableName String
    路由表名称。
    routeTableType String
    路由表类型。1、Custom:自定义路由表。2、System:系统路由表。
    subnetIds List<String>
    关联的子网的ID列表。
    systemRouteEntries List<Property Map>
    tags List<Property Map>
    updatedTime String
    路由表更新时间。
    vpcId String
    路由表所属VPC的ID。
    vpcName String
    VPC的名称。

    Supporting Types

    RouteTableCustomRouteEntry, RouteTableCustomRouteEntryArgs

    Description string
    路由条目描述。
    DestinationCidrBlock string
    路由条目的目标网段。
    DestinationPrefixListId string
    前缀列表ID。
    NextHopId string
    下一跳资源ID。
    NextHopName string
    路由条目下一跳资源的名称。
    NextHopType string
    自定义路由条目的下一跳的类型。1、Instance:ECS实例。2、HaVip:高可用虚拟IP。3、NetworkInterface:辅助网卡。4、NatGW:NAT网关。5、VpnGW:VPN网关。6、TransitRouter:中转路由器。7、IPv6GW:IPv6网关。8、CloudConnector:云连接器。9、GWLBEndpoint:网关负载均衡终端节点。
    RouteEntryName string
    路由条目名称。
    Description string
    路由条目描述。
    DestinationCidrBlock string
    路由条目的目标网段。
    DestinationPrefixListId string
    前缀列表ID。
    NextHopId string
    下一跳资源ID。
    NextHopName string
    路由条目下一跳资源的名称。
    NextHopType string
    自定义路由条目的下一跳的类型。1、Instance:ECS实例。2、HaVip:高可用虚拟IP。3、NetworkInterface:辅助网卡。4、NatGW:NAT网关。5、VpnGW:VPN网关。6、TransitRouter:中转路由器。7、IPv6GW:IPv6网关。8、CloudConnector:云连接器。9、GWLBEndpoint:网关负载均衡终端节点。
    RouteEntryName string
    路由条目名称。
    description String
    路由条目描述。
    destinationCidrBlock String
    路由条目的目标网段。
    destinationPrefixListId String
    前缀列表ID。
    nextHopId String
    下一跳资源ID。
    nextHopName String
    路由条目下一跳资源的名称。
    nextHopType String
    自定义路由条目的下一跳的类型。1、Instance:ECS实例。2、HaVip:高可用虚拟IP。3、NetworkInterface:辅助网卡。4、NatGW:NAT网关。5、VpnGW:VPN网关。6、TransitRouter:中转路由器。7、IPv6GW:IPv6网关。8、CloudConnector:云连接器。9、GWLBEndpoint:网关负载均衡终端节点。
    routeEntryName String
    路由条目名称。
    description string
    路由条目描述。
    destinationCidrBlock string
    路由条目的目标网段。
    destinationPrefixListId string
    前缀列表ID。
    nextHopId string
    下一跳资源ID。
    nextHopName string
    路由条目下一跳资源的名称。
    nextHopType string
    自定义路由条目的下一跳的类型。1、Instance:ECS实例。2、HaVip:高可用虚拟IP。3、NetworkInterface:辅助网卡。4、NatGW:NAT网关。5、VpnGW:VPN网关。6、TransitRouter:中转路由器。7、IPv6GW:IPv6网关。8、CloudConnector:云连接器。9、GWLBEndpoint:网关负载均衡终端节点。
    routeEntryName string
    路由条目名称。
    description str
    路由条目描述。
    destination_cidr_block str
    路由条目的目标网段。
    destination_prefix_list_id str
    前缀列表ID。
    next_hop_id str
    下一跳资源ID。
    next_hop_name str
    路由条目下一跳资源的名称。
    next_hop_type str
    自定义路由条目的下一跳的类型。1、Instance:ECS实例。2、HaVip:高可用虚拟IP。3、NetworkInterface:辅助网卡。4、NatGW:NAT网关。5、VpnGW:VPN网关。6、TransitRouter:中转路由器。7、IPv6GW:IPv6网关。8、CloudConnector:云连接器。9、GWLBEndpoint:网关负载均衡终端节点。
    route_entry_name str
    路由条目名称。
    description String
    路由条目描述。
    destinationCidrBlock String
    路由条目的目标网段。
    destinationPrefixListId String
    前缀列表ID。
    nextHopId String
    下一跳资源ID。
    nextHopName String
    路由条目下一跳资源的名称。
    nextHopType String
    自定义路由条目的下一跳的类型。1、Instance:ECS实例。2、HaVip:高可用虚拟IP。3、NetworkInterface:辅助网卡。4、NatGW:NAT网关。5、VpnGW:VPN网关。6、TransitRouter:中转路由器。7、IPv6GW:IPv6网关。8、CloudConnector:云连接器。9、GWLBEndpoint:网关负载均衡终端节点。
    routeEntryName String
    路由条目名称。

    RouteTableSystemRouteEntry, RouteTableSystemRouteEntryArgs

    Description string
    路由条目描述。
    DestinationCidrBlock string
    路由条目的目标网段。
    DestinationPrefixListId string
    前缀列表ID。
    NextHopId string
    下一跳资源ID。
    NextHopName string
    路由条目下一跳资源的名称。
    NextHopType string
    自定义路由条目的下一跳的类型。1、Instance:ECS实例。2、HaVip:高可用虚拟IP。3、NetworkInterface:辅助网卡。4、NatGW:NAT网关。5、VpnGW:VPN网关。6、TransitRouter:中转路由器。7、IPv6GW:IPv6网关。8、CloudConnector:云连接器。9、GWLBEndpoint:网关负载均衡终端节点。
    PrefixListCidrBlocks List<string>
    前缀列表的CIDR。
    RouteEntryId string
    路由条目ID。
    RouteEntryName string
    路由条目名称。
    RouteTableId string
    路由表ID。
    Status string
    路由条目状态。1、Pending:待创建。2、Available:可用。
    Type string
    路由条目类型。1、Custom:自定义路由条目。2、System:系统默认路由条目。
    VpcId string
    路由条目所属私有网络的ID。
    Description string
    路由条目描述。
    DestinationCidrBlock string
    路由条目的目标网段。
    DestinationPrefixListId string
    前缀列表ID。
    NextHopId string
    下一跳资源ID。
    NextHopName string
    路由条目下一跳资源的名称。
    NextHopType string
    自定义路由条目的下一跳的类型。1、Instance:ECS实例。2、HaVip:高可用虚拟IP。3、NetworkInterface:辅助网卡。4、NatGW:NAT网关。5、VpnGW:VPN网关。6、TransitRouter:中转路由器。7、IPv6GW:IPv6网关。8、CloudConnector:云连接器。9、GWLBEndpoint:网关负载均衡终端节点。
    PrefixListCidrBlocks []string
    前缀列表的CIDR。
    RouteEntryId string
    路由条目ID。
    RouteEntryName string
    路由条目名称。
    RouteTableId string
    路由表ID。
    Status string
    路由条目状态。1、Pending:待创建。2、Available:可用。
    Type string
    路由条目类型。1、Custom:自定义路由条目。2、System:系统默认路由条目。
    VpcId string
    路由条目所属私有网络的ID。
    description String
    路由条目描述。
    destinationCidrBlock String
    路由条目的目标网段。
    destinationPrefixListId String
    前缀列表ID。
    nextHopId String
    下一跳资源ID。
    nextHopName String
    路由条目下一跳资源的名称。
    nextHopType String
    自定义路由条目的下一跳的类型。1、Instance:ECS实例。2、HaVip:高可用虚拟IP。3、NetworkInterface:辅助网卡。4、NatGW:NAT网关。5、VpnGW:VPN网关。6、TransitRouter:中转路由器。7、IPv6GW:IPv6网关。8、CloudConnector:云连接器。9、GWLBEndpoint:网关负载均衡终端节点。
    prefixListCidrBlocks List<String>
    前缀列表的CIDR。
    routeEntryId String
    路由条目ID。
    routeEntryName String
    路由条目名称。
    routeTableId String
    路由表ID。
    status String
    路由条目状态。1、Pending:待创建。2、Available:可用。
    type String
    路由条目类型。1、Custom:自定义路由条目。2、System:系统默认路由条目。
    vpcId String
    路由条目所属私有网络的ID。
    description string
    路由条目描述。
    destinationCidrBlock string
    路由条目的目标网段。
    destinationPrefixListId string
    前缀列表ID。
    nextHopId string
    下一跳资源ID。
    nextHopName string
    路由条目下一跳资源的名称。
    nextHopType string
    自定义路由条目的下一跳的类型。1、Instance:ECS实例。2、HaVip:高可用虚拟IP。3、NetworkInterface:辅助网卡。4、NatGW:NAT网关。5、VpnGW:VPN网关。6、TransitRouter:中转路由器。7、IPv6GW:IPv6网关。8、CloudConnector:云连接器。9、GWLBEndpoint:网关负载均衡终端节点。
    prefixListCidrBlocks string[]
    前缀列表的CIDR。
    routeEntryId string
    路由条目ID。
    routeEntryName string
    路由条目名称。
    routeTableId string
    路由表ID。
    status string
    路由条目状态。1、Pending:待创建。2、Available:可用。
    type string
    路由条目类型。1、Custom:自定义路由条目。2、System:系统默认路由条目。
    vpcId string
    路由条目所属私有网络的ID。
    description str
    路由条目描述。
    destination_cidr_block str
    路由条目的目标网段。
    destination_prefix_list_id str
    前缀列表ID。
    next_hop_id str
    下一跳资源ID。
    next_hop_name str
    路由条目下一跳资源的名称。
    next_hop_type str
    自定义路由条目的下一跳的类型。1、Instance:ECS实例。2、HaVip:高可用虚拟IP。3、NetworkInterface:辅助网卡。4、NatGW:NAT网关。5、VpnGW:VPN网关。6、TransitRouter:中转路由器。7、IPv6GW:IPv6网关。8、CloudConnector:云连接器。9、GWLBEndpoint:网关负载均衡终端节点。
    prefix_list_cidr_blocks Sequence[str]
    前缀列表的CIDR。
    route_entry_id str
    路由条目ID。
    route_entry_name str
    路由条目名称。
    route_table_id str
    路由表ID。
    status str
    路由条目状态。1、Pending:待创建。2、Available:可用。
    type str
    路由条目类型。1、Custom:自定义路由条目。2、System:系统默认路由条目。
    vpc_id str
    路由条目所属私有网络的ID。
    description String
    路由条目描述。
    destinationCidrBlock String
    路由条目的目标网段。
    destinationPrefixListId String
    前缀列表ID。
    nextHopId String
    下一跳资源ID。
    nextHopName String
    路由条目下一跳资源的名称。
    nextHopType String
    自定义路由条目的下一跳的类型。1、Instance:ECS实例。2、HaVip:高可用虚拟IP。3、NetworkInterface:辅助网卡。4、NatGW:NAT网关。5、VpnGW:VPN网关。6、TransitRouter:中转路由器。7、IPv6GW:IPv6网关。8、CloudConnector:云连接器。9、GWLBEndpoint:网关负载均衡终端节点。
    prefixListCidrBlocks List<String>
    前缀列表的CIDR。
    routeEntryId String
    路由条目ID。
    routeEntryName String
    路由条目名称。
    routeTableId String
    路由表ID。
    status String
    路由条目状态。1、Pending:待创建。2、Available:可用。
    type String
    路由条目类型。1、Custom:自定义路由条目。2、System:系统默认路由条目。
    vpcId String
    路由条目所属私有网络的ID。

    RouteTableTag, RouteTableTagArgs

    Key string
    用户标签的标签键。
    Value string
    用户标签的标签值。
    Key string
    用户标签的标签键。
    Value string
    用户标签的标签值。
    key String
    用户标签的标签键。
    value String
    用户标签的标签值。
    key string
    用户标签的标签键。
    value string
    用户标签的标签值。
    key str
    用户标签的标签键。
    value str
    用户标签的标签值。
    key String
    用户标签的标签键。
    value String
    用户标签的标签值。

    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
    volcenginecc v0.0.2 published on Saturday, Oct 11, 2025 by Volcengine
      Meet Neo: Your AI Platform Teammate