通过为网络实例连接或跨地域连接关联的路由表创建或删除静态路由,能够灵活地控制中转路由器中的流量走向。
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
transitRouterRouteEntryDemo:
type: bytepluscc:transitrouter:TransitRouterRouteEntry
name: TransitRouterRouteEntryDemo
properties:
description: Demo Example
destinationCidrBlock: 192.168.1.101/*
transitRouterRouteEntryName: test-Attachmentkua
transitRouterRouteTableId: tr-rtb-mijcn***
transitRouterRouteEntryNextHopId: tr-attach-13fs****
transitRouterRouteEntryNextHopType: Attachment
transitRouterRouteEntryType: Propagated
Create TransitRouterRouteEntry Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TransitRouterRouteEntry(name: string, args: TransitRouterRouteEntryArgs, opts?: CustomResourceOptions);@overload
def TransitRouterRouteEntry(resource_name: str,
args: TransitRouterRouteEntryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TransitRouterRouteEntry(resource_name: str,
opts: Optional[ResourceOptions] = None,
destination_cidr_block: Optional[str] = None,
transit_router_route_entry_next_hop_type: Optional[str] = None,
transit_router_route_table_id: Optional[str] = None,
description: Optional[str] = None,
transit_router_route_entry_name: Optional[str] = None,
transit_router_route_entry_next_hop_id: Optional[str] = None)func NewTransitRouterRouteEntry(ctx *Context, name string, args TransitRouterRouteEntryArgs, opts ...ResourceOption) (*TransitRouterRouteEntry, error)public TransitRouterRouteEntry(string name, TransitRouterRouteEntryArgs args, CustomResourceOptions? opts = null)
public TransitRouterRouteEntry(String name, TransitRouterRouteEntryArgs args)
public TransitRouterRouteEntry(String name, TransitRouterRouteEntryArgs args, CustomResourceOptions options)
type: bytepluscc:transitrouter:TransitRouterRouteEntry
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 TransitRouterRouteEntryArgs
- 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 TransitRouterRouteEntryArgs
- 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 TransitRouterRouteEntryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TransitRouterRouteEntryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TransitRouterRouteEntryArgs
- 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 transitRouterRouteEntryResource = new Bytepluscc.Transitrouter.TransitRouterRouteEntry("transitRouterRouteEntryResource", new()
{
DestinationCidrBlock = "string",
TransitRouterRouteEntryNextHopType = "string",
TransitRouterRouteTableId = "string",
Description = "string",
TransitRouterRouteEntryName = "string",
TransitRouterRouteEntryNextHopId = "string",
});
example, err := transitrouter.NewTransitRouterRouteEntry(ctx, "transitRouterRouteEntryResource", &transitrouter.TransitRouterRouteEntryArgs{
DestinationCidrBlock: pulumi.String("string"),
TransitRouterRouteEntryNextHopType: pulumi.String("string"),
TransitRouterRouteTableId: pulumi.String("string"),
Description: pulumi.String("string"),
TransitRouterRouteEntryName: pulumi.String("string"),
TransitRouterRouteEntryNextHopId: pulumi.String("string"),
})
var transitRouterRouteEntryResource = new TransitRouterRouteEntry("transitRouterRouteEntryResource", TransitRouterRouteEntryArgs.builder()
.destinationCidrBlock("string")
.transitRouterRouteEntryNextHopType("string")
.transitRouterRouteTableId("string")
.description("string")
.transitRouterRouteEntryName("string")
.transitRouterRouteEntryNextHopId("string")
.build());
transit_router_route_entry_resource = bytepluscc.transitrouter.TransitRouterRouteEntry("transitRouterRouteEntryResource",
destination_cidr_block="string",
transit_router_route_entry_next_hop_type="string",
transit_router_route_table_id="string",
description="string",
transit_router_route_entry_name="string",
transit_router_route_entry_next_hop_id="string")
const transitRouterRouteEntryResource = new bytepluscc.transitrouter.TransitRouterRouteEntry("transitRouterRouteEntryResource", {
destinationCidrBlock: "string",
transitRouterRouteEntryNextHopType: "string",
transitRouterRouteTableId: "string",
description: "string",
transitRouterRouteEntryName: "string",
transitRouterRouteEntryNextHopId: "string",
});
type: bytepluscc:transitrouter:TransitRouterRouteEntry
properties:
description: string
destinationCidrBlock: string
transitRouterRouteEntryName: string
transitRouterRouteEntryNextHopId: string
transitRouterRouteEntryNextHopType: string
transitRouterRouteTableId: string
TransitRouterRouteEntry 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 TransitRouterRouteEntry resource accepts the following input properties:
- Destination
Cidr stringBlock - 路由条目的目标网段。
- Transit
Router stringRoute Entry Next Hop Type - 路由条目的下一跳类型。取值如下:Attachment:网络实例,表示匹配该路由条目的流量会被转发到指定的网络实例。BlackHole:黑洞,表示匹配该路由条目的流量会被丢弃。
- Transit
Router stringRoute Table Id - 中转路由器实例关联的路由表的ID。
- Description string
- TR路由表路由条目的描述信息。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- Transit
Router stringRoute Entry Name - 路由条目的名称。
- Transit
Router stringRoute Entry Next Hop Id - 路由条目的下一跳ID。
- Destination
Cidr stringBlock - 路由条目的目标网段。
- Transit
Router stringRoute Entry Next Hop Type - 路由条目的下一跳类型。取值如下:Attachment:网络实例,表示匹配该路由条目的流量会被转发到指定的网络实例。BlackHole:黑洞,表示匹配该路由条目的流量会被丢弃。
- Transit
Router stringRoute Table Id - 中转路由器实例关联的路由表的ID。
- Description string
- TR路由表路由条目的描述信息。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- Transit
Router stringRoute Entry Name - 路由条目的名称。
- Transit
Router stringRoute Entry Next Hop Id - 路由条目的下一跳ID。
- destination
Cidr StringBlock - 路由条目的目标网段。
- transit
Router StringRoute Entry Next Hop Type - 路由条目的下一跳类型。取值如下:Attachment:网络实例,表示匹配该路由条目的流量会被转发到指定的网络实例。BlackHole:黑洞,表示匹配该路由条目的流量会被丢弃。
- transit
Router StringRoute Table Id - 中转路由器实例关联的路由表的ID。
- description String
- TR路由表路由条目的描述信息。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- transit
Router StringRoute Entry Name - 路由条目的名称。
- transit
Router StringRoute Entry Next Hop Id - 路由条目的下一跳ID。
- destination
Cidr stringBlock - 路由条目的目标网段。
- transit
Router stringRoute Entry Next Hop Type - 路由条目的下一跳类型。取值如下:Attachment:网络实例,表示匹配该路由条目的流量会被转发到指定的网络实例。BlackHole:黑洞,表示匹配该路由条目的流量会被丢弃。
- transit
Router stringRoute Table Id - 中转路由器实例关联的路由表的ID。
- description string
- TR路由表路由条目的描述信息。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- transit
Router stringRoute Entry Name - 路由条目的名称。
- transit
Router stringRoute Entry Next Hop Id - 路由条目的下一跳ID。
- destination_
cidr_ strblock - 路由条目的目标网段。
- transit_
router_ strroute_ entry_ next_ hop_ type - 路由条目的下一跳类型。取值如下:Attachment:网络实例,表示匹配该路由条目的流量会被转发到指定的网络实例。BlackHole:黑洞,表示匹配该路由条目的流量会被丢弃。
- transit_
router_ strroute_ table_ id - 中转路由器实例关联的路由表的ID。
- description str
- TR路由表路由条目的描述信息。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- transit_
router_ strroute_ entry_ name - 路由条目的名称。
- transit_
router_ strroute_ entry_ next_ hop_ id - 路由条目的下一跳ID。
- destination
Cidr StringBlock - 路由条目的目标网段。
- transit
Router StringRoute Entry Next Hop Type - 路由条目的下一跳类型。取值如下:Attachment:网络实例,表示匹配该路由条目的流量会被转发到指定的网络实例。BlackHole:黑洞,表示匹配该路由条目的流量会被丢弃。
- transit
Router StringRoute Table Id - 中转路由器实例关联的路由表的ID。
- description String
- TR路由表路由条目的描述信息。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- transit
Router StringRoute Entry Name - 路由条目的名称。
- transit
Router StringRoute Entry Next Hop Id - 路由条目的下一跳ID。
Outputs
All input properties are implicitly available as output properties. Additionally, the TransitRouterRouteEntry resource produces the following output properties:
- As
Paths List<string> - 路由条目的AS路径。
- Created
Time string - 路由条目的创建时间。
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- 路由条目的状态。Available:可用。Creating:创建中。Pending:配置中。Deleting:删除中。Conflicted:未生效。
- Transit
Router stringRoute Entry Id - TR路由条目的ID。
- Transit
Router stringRoute Entry Type - 路由条目的类型。Static:静态路由。Propagated:自动学习路由。
- Updated
Time string - 路由条目的更新时间。
- As
Paths []string - 路由条目的AS路径。
- Created
Time string - 路由条目的创建时间。
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- 路由条目的状态。Available:可用。Creating:创建中。Pending:配置中。Deleting:删除中。Conflicted:未生效。
- Transit
Router stringRoute Entry Id - TR路由条目的ID。
- Transit
Router stringRoute Entry Type - 路由条目的类型。Static:静态路由。Propagated:自动学习路由。
- Updated
Time string - 路由条目的更新时间。
- as
Paths List<String> - 路由条目的AS路径。
- created
Time String - 路由条目的创建时间。
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- 路由条目的状态。Available:可用。Creating:创建中。Pending:配置中。Deleting:删除中。Conflicted:未生效。
- transit
Router StringRoute Entry Id - TR路由条目的ID。
- transit
Router StringRoute Entry Type - 路由条目的类型。Static:静态路由。Propagated:自动学习路由。
- updated
Time String - 路由条目的更新时间。
- as
Paths string[] - 路由条目的AS路径。
- created
Time string - 路由条目的创建时间。
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- 路由条目的状态。Available:可用。Creating:创建中。Pending:配置中。Deleting:删除中。Conflicted:未生效。
- transit
Router stringRoute Entry Id - TR路由条目的ID。
- transit
Router stringRoute Entry Type - 路由条目的类型。Static:静态路由。Propagated:自动学习路由。
- updated
Time string - 路由条目的更新时间。
- as_
paths Sequence[str] - 路由条目的AS路径。
- created_
time str - 路由条目的创建时间。
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- 路由条目的状态。Available:可用。Creating:创建中。Pending:配置中。Deleting:删除中。Conflicted:未生效。
- transit_
router_ strroute_ entry_ id - TR路由条目的ID。
- transit_
router_ strroute_ entry_ type - 路由条目的类型。Static:静态路由。Propagated:自动学习路由。
- updated_
time str - 路由条目的更新时间。
- as
Paths List<String> - 路由条目的AS路径。
- created
Time String - 路由条目的创建时间。
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- 路由条目的状态。Available:可用。Creating:创建中。Pending:配置中。Deleting:删除中。Conflicted:未生效。
- transit
Router StringRoute Entry Id - TR路由条目的ID。
- transit
Router StringRoute Entry Type - 路由条目的类型。Static:静态路由。Propagated:自动学习路由。
- updated
Time String - 路由条目的更新时间。
Look up Existing TransitRouterRouteEntry Resource
Get an existing TransitRouterRouteEntry 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?: TransitRouterRouteEntryState, opts?: CustomResourceOptions): TransitRouterRouteEntry@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
as_paths: Optional[Sequence[str]] = None,
created_time: Optional[str] = None,
description: Optional[str] = None,
destination_cidr_block: Optional[str] = None,
status: Optional[str] = None,
transit_router_route_entry_id: Optional[str] = None,
transit_router_route_entry_name: Optional[str] = None,
transit_router_route_entry_next_hop_id: Optional[str] = None,
transit_router_route_entry_next_hop_type: Optional[str] = None,
transit_router_route_entry_type: Optional[str] = None,
transit_router_route_table_id: Optional[str] = None,
updated_time: Optional[str] = None) -> TransitRouterRouteEntryfunc GetTransitRouterRouteEntry(ctx *Context, name string, id IDInput, state *TransitRouterRouteEntryState, opts ...ResourceOption) (*TransitRouterRouteEntry, error)public static TransitRouterRouteEntry Get(string name, Input<string> id, TransitRouterRouteEntryState? state, CustomResourceOptions? opts = null)public static TransitRouterRouteEntry get(String name, Output<String> id, TransitRouterRouteEntryState state, CustomResourceOptions options)resources: _: type: bytepluscc:transitrouter:TransitRouterRouteEntry 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.
- As
Paths List<string> - 路由条目的AS路径。
- Created
Time string - 路由条目的创建时间。
- Description string
- TR路由表路由条目的描述信息。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- Destination
Cidr stringBlock - 路由条目的目标网段。
- Status string
- 路由条目的状态。Available:可用。Creating:创建中。Pending:配置中。Deleting:删除中。Conflicted:未生效。
- Transit
Router stringRoute Entry Id - TR路由条目的ID。
- Transit
Router stringRoute Entry Name - 路由条目的名称。
- Transit
Router stringRoute Entry Next Hop Id - 路由条目的下一跳ID。
- Transit
Router stringRoute Entry Next Hop Type - 路由条目的下一跳类型。取值如下:Attachment:网络实例,表示匹配该路由条目的流量会被转发到指定的网络实例。BlackHole:黑洞,表示匹配该路由条目的流量会被丢弃。
- Transit
Router stringRoute Entry Type - 路由条目的类型。Static:静态路由。Propagated:自动学习路由。
- Transit
Router stringRoute Table Id - 中转路由器实例关联的路由表的ID。
- Updated
Time string - 路由条目的更新时间。
- As
Paths []string - 路由条目的AS路径。
- Created
Time string - 路由条目的创建时间。
- Description string
- TR路由表路由条目的描述信息。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- Destination
Cidr stringBlock - 路由条目的目标网段。
- Status string
- 路由条目的状态。Available:可用。Creating:创建中。Pending:配置中。Deleting:删除中。Conflicted:未生效。
- Transit
Router stringRoute Entry Id - TR路由条目的ID。
- Transit
Router stringRoute Entry Name - 路由条目的名称。
- Transit
Router stringRoute Entry Next Hop Id - 路由条目的下一跳ID。
- Transit
Router stringRoute Entry Next Hop Type - 路由条目的下一跳类型。取值如下:Attachment:网络实例,表示匹配该路由条目的流量会被转发到指定的网络实例。BlackHole:黑洞,表示匹配该路由条目的流量会被丢弃。
- Transit
Router stringRoute Entry Type - 路由条目的类型。Static:静态路由。Propagated:自动学习路由。
- Transit
Router stringRoute Table Id - 中转路由器实例关联的路由表的ID。
- Updated
Time string - 路由条目的更新时间。
- as
Paths List<String> - 路由条目的AS路径。
- created
Time String - 路由条目的创建时间。
- description String
- TR路由表路由条目的描述信息。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- destination
Cidr StringBlock - 路由条目的目标网段。
- status String
- 路由条目的状态。Available:可用。Creating:创建中。Pending:配置中。Deleting:删除中。Conflicted:未生效。
- transit
Router StringRoute Entry Id - TR路由条目的ID。
- transit
Router StringRoute Entry Name - 路由条目的名称。
- transit
Router StringRoute Entry Next Hop Id - 路由条目的下一跳ID。
- transit
Router StringRoute Entry Next Hop Type - 路由条目的下一跳类型。取值如下:Attachment:网络实例,表示匹配该路由条目的流量会被转发到指定的网络实例。BlackHole:黑洞,表示匹配该路由条目的流量会被丢弃。
- transit
Router StringRoute Entry Type - 路由条目的类型。Static:静态路由。Propagated:自动学习路由。
- transit
Router StringRoute Table Id - 中转路由器实例关联的路由表的ID。
- updated
Time String - 路由条目的更新时间。
- as
Paths string[] - 路由条目的AS路径。
- created
Time string - 路由条目的创建时间。
- description string
- TR路由表路由条目的描述信息。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- destination
Cidr stringBlock - 路由条目的目标网段。
- status string
- 路由条目的状态。Available:可用。Creating:创建中。Pending:配置中。Deleting:删除中。Conflicted:未生效。
- transit
Router stringRoute Entry Id - TR路由条目的ID。
- transit
Router stringRoute Entry Name - 路由条目的名称。
- transit
Router stringRoute Entry Next Hop Id - 路由条目的下一跳ID。
- transit
Router stringRoute Entry Next Hop Type - 路由条目的下一跳类型。取值如下:Attachment:网络实例,表示匹配该路由条目的流量会被转发到指定的网络实例。BlackHole:黑洞,表示匹配该路由条目的流量会被丢弃。
- transit
Router stringRoute Entry Type - 路由条目的类型。Static:静态路由。Propagated:自动学习路由。
- transit
Router stringRoute Table Id - 中转路由器实例关联的路由表的ID。
- updated
Time string - 路由条目的更新时间。
- as_
paths Sequence[str] - 路由条目的AS路径。
- created_
time str - 路由条目的创建时间。
- description str
- TR路由表路由条目的描述信息。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- destination_
cidr_ strblock - 路由条目的目标网段。
- status str
- 路由条目的状态。Available:可用。Creating:创建中。Pending:配置中。Deleting:删除中。Conflicted:未生效。
- transit_
router_ strroute_ entry_ id - TR路由条目的ID。
- transit_
router_ strroute_ entry_ name - 路由条目的名称。
- transit_
router_ strroute_ entry_ next_ hop_ id - 路由条目的下一跳ID。
- transit_
router_ strroute_ entry_ next_ hop_ type - 路由条目的下一跳类型。取值如下:Attachment:网络实例,表示匹配该路由条目的流量会被转发到指定的网络实例。BlackHole:黑洞,表示匹配该路由条目的流量会被丢弃。
- transit_
router_ strroute_ entry_ type - 路由条目的类型。Static:静态路由。Propagated:自动学习路由。
- transit_
router_ strroute_ table_ id - 中转路由器实例关联的路由表的ID。
- updated_
time str - 路由条目的更新时间。
- as
Paths List<String> - 路由条目的AS路径。
- created
Time String - 路由条目的创建时间。
- description String
- TR路由表路由条目的描述信息。必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不传入该参数或该参数不传入数值时,默认为空字符串。
- destination
Cidr StringBlock - 路由条目的目标网段。
- status String
- 路由条目的状态。Available:可用。Creating:创建中。Pending:配置中。Deleting:删除中。Conflicted:未生效。
- transit
Router StringRoute Entry Id - TR路由条目的ID。
- transit
Router StringRoute Entry Name - 路由条目的名称。
- transit
Router StringRoute Entry Next Hop Id - 路由条目的下一跳ID。
- transit
Router StringRoute Entry Next Hop Type - 路由条目的下一跳类型。取值如下:Attachment:网络实例,表示匹配该路由条目的流量会被转发到指定的网络实例。BlackHole:黑洞,表示匹配该路由条目的流量会被丢弃。
- transit
Router StringRoute Entry Type - 路由条目的类型。Static:静态路由。Propagated:自动学习路由。
- transit
Router StringRoute Table Id - 中转路由器实例关联的路由表的ID。
- updated
Time String - 路由条目的更新时间。
Import
$ pulumi import bytepluscc:transitrouter/transitRouterRouteEntry:TransitRouterRouteEntry example "transit_router_route_table_id|transit_router_route_entry_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
