volcenginecc v0.0.2 published on Saturday, Oct 11, 2025 by Volcengine
volcenginecc.vpc.getRouteTable
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:
- Account
Id string - 路由表所属账号的ID。
- Associate
Type string - 创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
- Created
Time string - 路由表创建时间。
- Custom
Route List<Volcengine.Entries Get Route Table Custom Route Entry> - 路由表关联的自定义路由条目列表。
- Description string
- 路由表描述信息。
- Id string
- Uniquely identifies the resource.
- Ipv4Gateway
Id string - 关联路由表的IPv4网关ID。
- Ipv6Gateway
Id string - 关联路由表的IPv6网关ID。
- Project
Name string - 路由表所属项目的名称。
- Route
Table stringId - 路由表ID。
- Route
Table stringName - 路由表名称。
- Route
Table stringType - 路由表类型。1、Custom:自定义路由表。2、System:系统路由表。
- Subnet
Ids List<string> - 关联的子网的ID列表。
- System
Route List<Volcengine.Entries Get Route Table System Route Entry> - 路由表关联的系统默认路由条目列表。
- List<Volcengine.
Get Route Table Tag> - 标签列表。
- Updated
Time string - 路由表更新时间。
- Vpc
Id string - 路由表所属VPC的ID。
- Vpc
Name string - VPC的名称。
- Account
Id string - 路由表所属账号的ID。
- Associate
Type string - 创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
- Created
Time string - 路由表创建时间。
- Custom
Route []GetEntries Route Table Custom Route Entry - 路由表关联的自定义路由条目列表。
- Description string
- 路由表描述信息。
- Id string
- Uniquely identifies the resource.
- Ipv4Gateway
Id string - 关联路由表的IPv4网关ID。
- Ipv6Gateway
Id string - 关联路由表的IPv6网关ID。
- Project
Name string - 路由表所属项目的名称。
- Route
Table stringId - 路由表ID。
- Route
Table stringName - 路由表名称。
- Route
Table stringType - 路由表类型。1、Custom:自定义路由表。2、System:系统路由表。
- Subnet
Ids []string - 关联的子网的ID列表。
- System
Route []GetEntries Route Table System Route Entry - 路由表关联的系统默认路由条目列表。
- []Get
Route Table Tag - 标签列表。
- Updated
Time string - 路由表更新时间。
- Vpc
Id string - 路由表所属VPC的ID。
- Vpc
Name string - VPC的名称。
- account
Id String - 路由表所属账号的ID。
- associate
Type String - 创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
- created
Time String - 路由表创建时间。
- custom
Route List<GetEntries Route Table Custom Route Entry> - 路由表关联的自定义路由条目列表。
- description String
- 路由表描述信息。
- id String
- Uniquely identifies the resource.
- ipv4Gateway
Id String - 关联路由表的IPv4网关ID。
- ipv6Gateway
Id String - 关联路由表的IPv6网关ID。
- project
Name String - 路由表所属项目的名称。
- route
Table StringId - 路由表ID。
- route
Table StringName - 路由表名称。
- route
Table StringType - 路由表类型。1、Custom:自定义路由表。2、System:系统路由表。
- subnet
Ids List<String> - 关联的子网的ID列表。
- system
Route List<GetEntries Route Table System Route Entry> - 路由表关联的系统默认路由条目列表。
- List<Get
Route Table Tag> - 标签列表。
- updated
Time String - 路由表更新时间。
- vpc
Id String - 路由表所属VPC的ID。
- vpc
Name String - VPC的名称。
- account
Id string - 路由表所属账号的ID。
- associate
Type string - 创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
- created
Time string - 路由表创建时间。
- custom
Route GetEntries Route Table Custom Route Entry[] - 路由表关联的自定义路由条目列表。
- description string
- 路由表描述信息。
- id string
- Uniquely identifies the resource.
- ipv4Gateway
Id string - 关联路由表的IPv4网关ID。
- ipv6Gateway
Id string - 关联路由表的IPv6网关ID。
- project
Name string - 路由表所属项目的名称。
- route
Table stringId - 路由表ID。
- route
Table stringName - 路由表名称。
- route
Table stringType - 路由表类型。1、Custom:自定义路由表。2、System:系统路由表。
- subnet
Ids string[] - 关联的子网的ID列表。
- system
Route GetEntries Route Table System Route Entry[] - 路由表关联的系统默认路由条目列表。
- Get
Route Table Tag[] - 标签列表。
- updated
Time string - 路由表更新时间。
- vpc
Id string - 路由表所属VPC的ID。
- vpc
Name string - VPC的名称。
- account_
id str - 路由表所属账号的ID。
- associate_
type str - 创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
- created_
time str - 路由表创建时间。
- custom_
route_ Sequence[Getentries Route Table Custom Route Entry] - 路由表关联的自定义路由条目列表。
- description str
- 路由表描述信息。
- id str
- Uniquely identifies the resource.
- ipv4_
gateway_ strid - 关联路由表的IPv4网关ID。
- ipv6_
gateway_ strid - 关联路由表的IPv6网关ID。
- project_
name str - 路由表所属项目的名称。
- route_
table_ strid - 路由表ID。
- route_
table_ strname - 路由表名称。
- route_
table_ strtype - 路由表类型。1、Custom:自定义路由表。2、System:系统路由表。
- subnet_
ids Sequence[str] - 关联的子网的ID列表。
- system_
route_ Sequence[Getentries Route Table System Route Entry] - 路由表关联的系统默认路由条目列表。
- Sequence[Get
Route Table Tag] - 标签列表。
- updated_
time str - 路由表更新时间。
- vpc_
id str - 路由表所属VPC的ID。
- vpc_
name str - VPC的名称。
- account
Id String - 路由表所属账号的ID。
- associate
Type String - 创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
- created
Time String - 路由表创建时间。
- custom
Route List<Property Map>Entries - 路由表关联的自定义路由条目列表。
- description String
- 路由表描述信息。
- id String
- Uniquely identifies the resource.
- ipv4Gateway
Id String - 关联路由表的IPv4网关ID。
- ipv6Gateway
Id String - 关联路由表的IPv6网关ID。
- project
Name String - 路由表所属项目的名称。
- route
Table StringId - 路由表ID。
- route
Table StringName - 路由表名称。
- route
Table StringType - 路由表类型。1、Custom:自定义路由表。2、System:系统路由表。
- subnet
Ids List<String> - 关联的子网的ID列表。
- system
Route List<Property Map>Entries - 路由表关联的系统默认路由条目列表。
- List<Property Map>
- 标签列表。
- updated
Time String - 路由表更新时间。
- vpc
Id String - 路由表所属VPC的ID。
- vpc
Name String - VPC的名称。
Supporting Types
GetRouteTableCustomRouteEntry
- Description string
- 路由条目描述。
- Destination
Cidr stringBlock - 路由条目的目标网段。
- Destination
Prefix stringList Id - 前缀列表ID。
- Next
Hop stringId - 下一跳资源ID。
- Next
Hop stringName - 路由条目下一跳资源的名称。
- Next
Hop stringType - 自定义路由条目的下一跳的类型。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 List<string>Cidr Blocks - 前缀列表的CIDR。
- Route
Entry stringId - 路由条目ID。
- Route
Entry stringName - 路由条目名称。
- Route
Table stringId - 路由表ID。
- Status string
- 路由条目状态。1、Pending:待创建。2、Available:可用。
- Type string
- 路由条目类型。1、Custom:自定义路由条目。2、System:系统默认路由条目。
- Vpc
Id string - 路由条目所属私有网络的ID。
- Description string
- 路由条目描述。
- Destination
Cidr stringBlock - 路由条目的目标网段。
- Destination
Prefix stringList Id - 前缀列表ID。
- Next
Hop stringId - 下一跳资源ID。
- Next
Hop stringName - 路由条目下一跳资源的名称。
- Next
Hop stringType - 自定义路由条目的下一跳的类型。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 []stringCidr Blocks - 前缀列表的CIDR。
- Route
Entry stringId - 路由条目ID。
- Route
Entry stringName - 路由条目名称。
- Route
Table stringId - 路由表ID。
- Status string
- 路由条目状态。1、Pending:待创建。2、Available:可用。
- Type string
- 路由条目类型。1、Custom:自定义路由条目。2、System:系统默认路由条目。
- Vpc
Id string - 路由条目所属私有网络的ID。
- description String
- 路由条目描述。
- destination
Cidr StringBlock - 路由条目的目标网段。
- destination
Prefix StringList Id - 前缀列表ID。
- next
Hop StringId - 下一跳资源ID。
- next
Hop StringName - 路由条目下一跳资源的名称。
- next
Hop StringType - 自定义路由条目的下一跳的类型。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 List<String>Cidr Blocks - 前缀列表的CIDR。
- route
Entry StringId - 路由条目ID。
- route
Entry StringName - 路由条目名称。
- route
Table StringId - 路由表ID。
- status String
- 路由条目状态。1、Pending:待创建。2、Available:可用。
- type String
- 路由条目类型。1、Custom:自定义路由条目。2、System:系统默认路由条目。
- vpc
Id String - 路由条目所属私有网络的ID。
- description string
- 路由条目描述。
- destination
Cidr stringBlock - 路由条目的目标网段。
- destination
Prefix stringList Id - 前缀列表ID。
- next
Hop stringId - 下一跳资源ID。
- next
Hop stringName - 路由条目下一跳资源的名称。
- next
Hop stringType - 自定义路由条目的下一跳的类型。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 string[]Cidr Blocks - 前缀列表的CIDR。
- route
Entry stringId - 路由条目ID。
- route
Entry stringName - 路由条目名称。
- route
Table stringId - 路由表ID。
- status string
- 路由条目状态。1、Pending:待创建。2、Available:可用。
- type string
- 路由条目类型。1、Custom:自定义路由条目。2、System:系统默认路由条目。
- vpc
Id string - 路由条目所属私有网络的ID。
- description str
- 路由条目描述。
- destination_
cidr_ strblock - 路由条目的目标网段。
- destination_
prefix_ strlist_ id - 前缀列表ID。
- next_
hop_ strid - 下一跳资源ID。
- next_
hop_ strname - 路由条目下一跳资源的名称。
- next_
hop_ strtype - 自定义路由条目的下一跳的类型。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_ Sequence[str]cidr_ blocks - 前缀列表的CIDR。
- route_
entry_ strid - 路由条目ID。
- route_
entry_ strname - 路由条目名称。
- route_
table_ strid - 路由表ID。
- status str
- 路由条目状态。1、Pending:待创建。2、Available:可用。
- type str
- 路由条目类型。1、Custom:自定义路由条目。2、System:系统默认路由条目。
- vpc_
id str - 路由条目所属私有网络的ID。
- description String
- 路由条目描述。
- destination
Cidr StringBlock - 路由条目的目标网段。
- destination
Prefix StringList Id - 前缀列表ID。
- next
Hop StringId - 下一跳资源ID。
- next
Hop StringName - 路由条目下一跳资源的名称。
- next
Hop StringType - 自定义路由条目的下一跳的类型。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 List<String>Cidr Blocks - 前缀列表的CIDR。
- route
Entry StringId - 路由条目ID。
- route
Entry StringName - 路由条目名称。
- route
Table StringId - 路由表ID。
- status String
- 路由条目状态。1、Pending:待创建。2、Available:可用。
- type String
- 路由条目类型。1、Custom:自定义路由条目。2、System:系统默认路由条目。
- vpc
Id String - 路由条目所属私有网络的ID。
GetRouteTableSystemRouteEntry
- Description string
- 路由条目描述。
- Destination
Cidr stringBlock - 路由条目的目标网段。
- Destination
Prefix stringList Id - 前缀列表ID。
- Next
Hop stringId - 下一跳资源ID。
- Next
Hop stringName - 路由条目下一跳资源的名称。
- Next
Hop stringType - 自定义路由条目的下一跳的类型。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 List<string>Cidr Blocks - 前缀列表的CIDR。
- Route
Entry stringId - 路由条目ID。
- Route
Entry stringName - 路由条目名称。
- Route
Table stringId - 路由表ID。
- Status string
- 路由条目状态。1、Pending:待创建。2、Available:可用。
- Type string
- 路由条目类型。1、Custom:自定义路由条目。2、System:系统默认路由条目。
- Vpc
Id string - 路由条目所属私有网络的ID。
- Description string
- 路由条目描述。
- Destination
Cidr stringBlock - 路由条目的目标网段。
- Destination
Prefix stringList Id - 前缀列表ID。
- Next
Hop stringId - 下一跳资源ID。
- Next
Hop stringName - 路由条目下一跳资源的名称。
- Next
Hop stringType - 自定义路由条目的下一跳的类型。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 []stringCidr Blocks - 前缀列表的CIDR。
- Route
Entry stringId - 路由条目ID。
- Route
Entry stringName - 路由条目名称。
- Route
Table stringId - 路由表ID。
- Status string
- 路由条目状态。1、Pending:待创建。2、Available:可用。
- Type string
- 路由条目类型。1、Custom:自定义路由条目。2、System:系统默认路由条目。
- Vpc
Id string - 路由条目所属私有网络的ID。
- description String
- 路由条目描述。
- destination
Cidr StringBlock - 路由条目的目标网段。
- destination
Prefix StringList Id - 前缀列表ID。
- next
Hop StringId - 下一跳资源ID。
- next
Hop StringName - 路由条目下一跳资源的名称。
- next
Hop StringType - 自定义路由条目的下一跳的类型。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 List<String>Cidr Blocks - 前缀列表的CIDR。
- route
Entry StringId - 路由条目ID。
- route
Entry StringName - 路由条目名称。
- route
Table StringId - 路由表ID。
- status String
- 路由条目状态。1、Pending:待创建。2、Available:可用。
- type String
- 路由条目类型。1、Custom:自定义路由条目。2、System:系统默认路由条目。
- vpc
Id String - 路由条目所属私有网络的ID。
- description string
- 路由条目描述。
- destination
Cidr stringBlock - 路由条目的目标网段。
- destination
Prefix stringList Id - 前缀列表ID。
- next
Hop stringId - 下一跳资源ID。
- next
Hop stringName - 路由条目下一跳资源的名称。
- next
Hop stringType - 自定义路由条目的下一跳的类型。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 string[]Cidr Blocks - 前缀列表的CIDR。
- route
Entry stringId - 路由条目ID。
- route
Entry stringName - 路由条目名称。
- route
Table stringId - 路由表ID。
- status string
- 路由条目状态。1、Pending:待创建。2、Available:可用。
- type string
- 路由条目类型。1、Custom:自定义路由条目。2、System:系统默认路由条目。
- vpc
Id string - 路由条目所属私有网络的ID。
- description str
- 路由条目描述。
- destination_
cidr_ strblock - 路由条目的目标网段。
- destination_
prefix_ strlist_ id - 前缀列表ID。
- next_
hop_ strid - 下一跳资源ID。
- next_
hop_ strname - 路由条目下一跳资源的名称。
- next_
hop_ strtype - 自定义路由条目的下一跳的类型。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_ Sequence[str]cidr_ blocks - 前缀列表的CIDR。
- route_
entry_ strid - 路由条目ID。
- route_
entry_ strname - 路由条目名称。
- route_
table_ strid - 路由表ID。
- status str
- 路由条目状态。1、Pending:待创建。2、Available:可用。
- type str
- 路由条目类型。1、Custom:自定义路由条目。2、System:系统默认路由条目。
- vpc_
id str - 路由条目所属私有网络的ID。
- description String
- 路由条目描述。
- destination
Cidr StringBlock - 路由条目的目标网段。
- destination
Prefix StringList Id - 前缀列表ID。
- next
Hop StringId - 下一跳资源ID。
- next
Hop StringName - 路由条目下一跳资源的名称。
- next
Hop StringType - 自定义路由条目的下一跳的类型。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 List<String>Cidr Blocks - 前缀列表的CIDR。
- route
Entry StringId - 路由条目ID。
- route
Entry StringName - 路由条目名称。
- route
Table StringId - 路由表ID。
- status String
- 路由条目状态。1、Pending:待创建。2、Available:可用。
- type String
- 路由条目类型。1、Custom:自定义路由条目。2、System:系统默认路由条目。
- vpc
Id String - 路由条目所属私有网络的ID。
GetRouteTableTag
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcenginecc
Terraform Provider.
volcenginecc v0.0.2 published on Saturday, Oct 11, 2025 by Volcengine