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

volcenginecc.vpc.getRouteTable

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

    Data Source schema for Volcengine::VPC::RouteTable

    Using getRouteTable

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getRouteTable(args: GetRouteTableArgs, opts?: InvokeOptions): Promise<GetRouteTableResult>
    function getRouteTableOutput(args: GetRouteTableOutputArgs, opts?: InvokeOptions): Output<GetRouteTableResult>
    def get_route_table(id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetRouteTableResult
    def get_route_table_output(id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetRouteTableResult]
    func LookupRouteTable(ctx *Context, args *LookupRouteTableArgs, opts ...InvokeOption) (*LookupRouteTableResult, error)
    func LookupRouteTableOutput(ctx *Context, args *LookupRouteTableOutputArgs, opts ...InvokeOption) LookupRouteTableResultOutput

    > Note: This function is named LookupRouteTable in the Go SDK.

    public static class GetRouteTable 
    {
        public static Task<GetRouteTableResult> InvokeAsync(GetRouteTableArgs args, InvokeOptions? opts = null)
        public static Output<GetRouteTableResult> Invoke(GetRouteTableInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRouteTableResult> getRouteTable(GetRouteTableArgs args, InvokeOptions options)
    public static Output<GetRouteTableResult> getRouteTable(GetRouteTableArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcenginecc:vpc/getRouteTable:getRouteTable
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Uniquely identifies the resource.
    Id string
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id str
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.

    getRouteTable Result

    The following output properties are available:

    AccountId string
    路由表所属账号的ID。
    AssociateType string
    创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
    CreatedTime string
    路由表创建时间。
    CustomRouteEntries List<Volcengine.GetRouteTableCustomRouteEntry>
    路由表关联的自定义路由条目列表。
    Description string
    路由表描述信息。
    Id string
    Uniquely identifies the resource.
    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.GetRouteTableSystemRouteEntry>
    路由表关联的系统默认路由条目列表。
    Tags List<Volcengine.GetRouteTableTag>
    标签列表。
    UpdatedTime string
    路由表更新时间。
    VpcId string
    路由表所属VPC的ID。
    VpcName string
    VPC的名称。
    AccountId string
    路由表所属账号的ID。
    AssociateType string
    创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
    CreatedTime string
    路由表创建时间。
    CustomRouteEntries []GetRouteTableCustomRouteEntry
    路由表关联的自定义路由条目列表。
    Description string
    路由表描述信息。
    Id string
    Uniquely identifies the resource.
    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 []GetRouteTableSystemRouteEntry
    路由表关联的系统默认路由条目列表。
    Tags []GetRouteTableTag
    标签列表。
    UpdatedTime string
    路由表更新时间。
    VpcId string
    路由表所属VPC的ID。
    VpcName string
    VPC的名称。
    accountId String
    路由表所属账号的ID。
    associateType String
    创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
    createdTime String
    路由表创建时间。
    customRouteEntries List<GetRouteTableCustomRouteEntry>
    路由表关联的自定义路由条目列表。
    description String
    路由表描述信息。
    id String
    Uniquely identifies the resource.
    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<GetRouteTableSystemRouteEntry>
    路由表关联的系统默认路由条目列表。
    tags List<GetRouteTableTag>
    标签列表。
    updatedTime String
    路由表更新时间。
    vpcId String
    路由表所属VPC的ID。
    vpcName String
    VPC的名称。
    accountId string
    路由表所属账号的ID。
    associateType string
    创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
    createdTime string
    路由表创建时间。
    customRouteEntries GetRouteTableCustomRouteEntry[]
    路由表关联的自定义路由条目列表。
    description string
    路由表描述信息。
    id string
    Uniquely identifies the resource.
    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 GetRouteTableSystemRouteEntry[]
    路由表关联的系统默认路由条目列表。
    tags GetRouteTableTag[]
    标签列表。
    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[GetRouteTableCustomRouteEntry]
    路由表关联的自定义路由条目列表。
    description str
    路由表描述信息。
    id str
    Uniquely identifies the resource.
    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[GetRouteTableSystemRouteEntry]
    路由表关联的系统默认路由条目列表。
    tags Sequence[GetRouteTableTag]
    标签列表。
    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
    路由表描述信息。
    id String
    Uniquely identifies the resource.
    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

    GetRouteTableCustomRouteEntry

    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。

    GetRouteTableSystemRouteEntry

    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。

    GetRouteTableTag

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

    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