volcenginecc.vpc.RouteTable
路由表由一系列路由条目组成,为私有网络的流量指定下一跳的云资源,每个子网必须且仅支持关联一个路由表,使子网内的资源通过路由表转发流量。
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:
- Vpc
Id string - 路由表所属VPC的ID。
- Associate
Type string - 创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
- Custom
Route List<Volcengine.Entries Route Table Custom Route Entry> - Description string
- 路由表描述信息。
- Ipv4Gateway
Id string - 关联路由表的IPv4网关ID。
- Ipv6Gateway
Id string - 关联路由表的IPv6网关ID。
- Project
Name string - 路由表所属项目的名称。
- Route
Table stringName - 路由表名称。
- Subnet
Ids List<string> - 关联的子网的ID列表。
- List<Volcengine.
Route Table Tag> - Vpc
Name string - VPC的名称。
- Vpc
Id string - 路由表所属VPC的ID。
- Associate
Type string - 创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
- Custom
Route []RouteEntries Table Custom Route Entry Args - Description string
- 路由表描述信息。
- Ipv4Gateway
Id string - 关联路由表的IPv4网关ID。
- Ipv6Gateway
Id string - 关联路由表的IPv6网关ID。
- Project
Name string - 路由表所属项目的名称。
- Route
Table stringName - 路由表名称。
- Subnet
Ids []string - 关联的子网的ID列表。
- []Route
Table Tag Args - Vpc
Name string - VPC的名称。
- vpc
Id String - 路由表所属VPC的ID。
- associate
Type String - 创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
- custom
Route List<RouteEntries Table Custom Route Entry> - description String
- 路由表描述信息。
- ipv4Gateway
Id String - 关联路由表的IPv4网关ID。
- ipv6Gateway
Id String - 关联路由表的IPv6网关ID。
- project
Name String - 路由表所属项目的名称。
- route
Table StringName - 路由表名称。
- subnet
Ids List<String> - 关联的子网的ID列表。
- List<Route
Table Tag> - vpc
Name String - VPC的名称。
- vpc
Id string - 路由表所属VPC的ID。
- associate
Type string - 创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
- custom
Route RouteEntries Table Custom Route Entry[] - description string
- 路由表描述信息。
- ipv4Gateway
Id string - 关联路由表的IPv4网关ID。
- ipv6Gateway
Id string - 关联路由表的IPv6网关ID。
- project
Name string - 路由表所属项目的名称。
- route
Table stringName - 路由表名称。
- subnet
Ids string[] - 关联的子网的ID列表。
- Route
Table Tag[] - vpc
Name string - VPC的名称。
- vpc_
id str - 路由表所属VPC的ID。
- associate_
type str - 创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
- custom_
route_ Sequence[Routeentries Table Custom Route Entry Args] - description str
- 路由表描述信息。
- ipv4_
gateway_ strid - 关联路由表的IPv4网关ID。
- ipv6_
gateway_ strid - 关联路由表的IPv6网关ID。
- project_
name str - 路由表所属项目的名称。
- route_
table_ strname - 路由表名称。
- subnet_
ids Sequence[str] - 关联的子网的ID列表。
- Sequence[Route
Table Tag Args] - vpc_
name str - VPC的名称。
- vpc
Id String - 路由表所属VPC的ID。
- associate
Type String - 创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
- custom
Route List<Property Map>Entries - description String
- 路由表描述信息。
- ipv4Gateway
Id String - 关联路由表的IPv4网关ID。
- ipv6Gateway
Id String - 关联路由表的IPv6网关ID。
- project
Name String - 路由表所属项目的名称。
- route
Table StringName - 路由表名称。
- subnet
Ids List<String> - 关联的子网的ID列表。
- List<Property Map>
- vpc
Name String - VPC的名称。
Outputs
All input properties are implicitly available as output properties. Additionally, the RouteTable resource produces the following output properties:
- Account
Id string - 路由表所属账号的ID。
- Created
Time string - 路由表创建时间。
- Id string
- The provider-assigned unique ID for this managed resource.
- Route
Table stringId - 路由表ID。
- Route
Table stringType - 路由表类型。1、Custom:自定义路由表。2、System:系统路由表。
- System
Route List<Volcengine.Entries Route Table System Route Entry> - Updated
Time string - 路由表更新时间。
- Account
Id string - 路由表所属账号的ID。
- Created
Time string - 路由表创建时间。
- Id string
- The provider-assigned unique ID for this managed resource.
- Route
Table stringId - 路由表ID。
- Route
Table stringType - 路由表类型。1、Custom:自定义路由表。2、System:系统路由表。
- System
Route []RouteEntries Table System Route Entry - Updated
Time string - 路由表更新时间。
- account
Id String - 路由表所属账号的ID。
- created
Time String - 路由表创建时间。
- id String
- The provider-assigned unique ID for this managed resource.
- route
Table StringId - 路由表ID。
- route
Table StringType - 路由表类型。1、Custom:自定义路由表。2、System:系统路由表。
- system
Route List<RouteEntries Table System Route Entry> - updated
Time String - 路由表更新时间。
- account
Id string - 路由表所属账号的ID。
- created
Time string - 路由表创建时间。
- id string
- The provider-assigned unique ID for this managed resource.
- route
Table stringId - 路由表ID。
- route
Table stringType - 路由表类型。1、Custom:自定义路由表。2、System:系统路由表。
- system
Route RouteEntries Table System Route Entry[] - updated
Time string - 路由表更新时间。
- account_
id str - 路由表所属账号的ID。
- created_
time str - 路由表创建时间。
- id str
- The provider-assigned unique ID for this managed resource.
- route_
table_ strid - 路由表ID。
- route_
table_ strtype - 路由表类型。1、Custom:自定义路由表。2、System:系统路由表。
- system_
route_ Sequence[Routeentries Table System Route Entry] - updated_
time str - 路由表更新时间。
- account
Id String - 路由表所属账号的ID。
- created
Time String - 路由表创建时间。
- id String
- The provider-assigned unique ID for this managed resource.
- route
Table StringId - 路由表ID。
- route
Table StringType - 路由表类型。1、Custom:自定义路由表。2、System:系统路由表。
- system
Route List<Property Map>Entries - updated
Time 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.
- Account
Id string - 路由表所属账号的ID。
- Associate
Type string - 创建路由表输入的关联类型。1、Subnet:子网关联。2、Gateway:网关关联。
- Created
Time string - 路由表创建时间。
- Custom
Route List<Volcengine.Entries Route Table Custom Route Entry> - Description string
- 路由表描述信息。
- 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 Route Table System Route Entry> - List<Volcengine.
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 []RouteEntries Table Custom Route Entry Args - Description string
- 路由表描述信息。
- 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 []RouteEntries Table System Route Entry Args - []Route
Table Tag Args - 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<RouteEntries Table Custom Route Entry> - description String
- 路由表描述信息。
- 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<RouteEntries Table System Route Entry> - List<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 RouteEntries Table Custom Route Entry[] - description string
- 路由表描述信息。
- 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 RouteEntries Table System Route Entry[] - 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[Routeentries Table Custom Route Entry Args] - description str
- 路由表描述信息。
- 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[Routeentries Table System Route Entry Args] - Sequence[Route
Table Tag Args] - 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
- 路由表描述信息。
- 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
RouteTableCustomRouteEntry, RouteTableCustomRouteEntryArgs
- 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:网关负载均衡终端节点。
- Route
Entry stringName - 路由条目名称。
- 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:网关负载均衡终端节点。
- Route
Entry stringName - 路由条目名称。
- 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:网关负载均衡终端节点。
- route
Entry StringName - 路由条目名称。
- 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:网关负载均衡终端节点。
- route
Entry stringName - 路由条目名称。
- 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:网关负载均衡终端节点。
- route_
entry_ strname - 路由条目名称。
- 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:网关负载均衡终端节点。
- route
Entry StringName - 路由条目名称。
RouteTableSystemRouteEntry, RouteTableSystemRouteEntryArgs
- 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。
RouteTableTag, RouteTableTagArgs
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.