1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. transitrouter
  6. TransitRouterRouteEntry
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine

    By creating or deleting static routes in route tables associated with network instance connections or cross-region connections, you can flexibly control traffic direction in the transit router

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    resources:
      transitRouterRouteEntryDemo:
        type: volcenginecc: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: volcenginecc: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 Volcenginecc.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 = volcenginecc.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 volcenginecc.transitrouter.TransitRouterRouteEntry("transitRouterRouteEntryResource", {
        destinationCidrBlock: "string",
        transitRouterRouteEntryNextHopType: "string",
        transitRouterRouteTableId: "string",
        description: "string",
        transitRouterRouteEntryName: "string",
        transitRouterRouteEntryNextHopId: "string",
    });
    
    type: volcenginecc: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:

    DestinationCidrBlock string
    Destination CIDR block of the route entry
    TransitRouterRouteEntryNextHopType string
    Next hop type of the route entry. Valid values: Attachment: Network instance. Traffic matching this route entry will be forwarded to the specified network instance. BlackHole: Black hole. Traffic matching this route entry will be dropped
    TransitRouterRouteTableId string
    ID of the route table associated with the transit router instance
    Description string
    Description of the TR route table entry. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string
    TransitRouterRouteEntryName string
    Name of the route entry
    TransitRouterRouteEntryNextHopId string
    Next hop ID of the route entry
    DestinationCidrBlock string
    Destination CIDR block of the route entry
    TransitRouterRouteEntryNextHopType string
    Next hop type of the route entry. Valid values: Attachment: Network instance. Traffic matching this route entry will be forwarded to the specified network instance. BlackHole: Black hole. Traffic matching this route entry will be dropped
    TransitRouterRouteTableId string
    ID of the route table associated with the transit router instance
    Description string
    Description of the TR route table entry. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string
    TransitRouterRouteEntryName string
    Name of the route entry
    TransitRouterRouteEntryNextHopId string
    Next hop ID of the route entry
    destinationCidrBlock String
    Destination CIDR block of the route entry
    transitRouterRouteEntryNextHopType String
    Next hop type of the route entry. Valid values: Attachment: Network instance. Traffic matching this route entry will be forwarded to the specified network instance. BlackHole: Black hole. Traffic matching this route entry will be dropped
    transitRouterRouteTableId String
    ID of the route table associated with the transit router instance
    description String
    Description of the TR route table entry. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string
    transitRouterRouteEntryName String
    Name of the route entry
    transitRouterRouteEntryNextHopId String
    Next hop ID of the route entry
    destinationCidrBlock string
    Destination CIDR block of the route entry
    transitRouterRouteEntryNextHopType string
    Next hop type of the route entry. Valid values: Attachment: Network instance. Traffic matching this route entry will be forwarded to the specified network instance. BlackHole: Black hole. Traffic matching this route entry will be dropped
    transitRouterRouteTableId string
    ID of the route table associated with the transit router instance
    description string
    Description of the TR route table entry. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string
    transitRouterRouteEntryName string
    Name of the route entry
    transitRouterRouteEntryNextHopId string
    Next hop ID of the route entry
    destination_cidr_block str
    Destination CIDR block of the route entry
    transit_router_route_entry_next_hop_type str
    Next hop type of the route entry. Valid values: Attachment: Network instance. Traffic matching this route entry will be forwarded to the specified network instance. BlackHole: Black hole. Traffic matching this route entry will be dropped
    transit_router_route_table_id str
    ID of the route table associated with the transit router instance
    description str
    Description of the TR route table entry. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string
    transit_router_route_entry_name str
    Name of the route entry
    transit_router_route_entry_next_hop_id str
    Next hop ID of the route entry
    destinationCidrBlock String
    Destination CIDR block of the route entry
    transitRouterRouteEntryNextHopType String
    Next hop type of the route entry. Valid values: Attachment: Network instance. Traffic matching this route entry will be forwarded to the specified network instance. BlackHole: Black hole. Traffic matching this route entry will be dropped
    transitRouterRouteTableId String
    ID of the route table associated with the transit router instance
    description String
    Description of the TR route table entry. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string
    transitRouterRouteEntryName String
    Name of the route entry
    transitRouterRouteEntryNextHopId String
    Next hop ID of the route entry

    Outputs

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

    AsPaths List<string>
    AS path of the route entry
    CreatedTime string
    Creation time of the route entry
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Status of the route entry. Available: Available. Creating: Creating. Pending: Configuring. Deleting: Deleting. Conflicted: Inactive
    TransitRouterRouteEntryId string
    ID of the TR route entry
    TransitRouterRouteEntryNextHopResourceId string
    Next hop network instance ID of the route entry
    TransitRouterRouteEntryNextHopResourceType string
    Type of the next hop network instance for the route entry. VPC: Virtual Private Cloud. VPN: VPN connection. DirectConnectGateway: Direct Connect Gateway. TransitRouter: Transit Router
    TransitRouterRouteEntryType string
    Type of the route entry. Static: Static route. Propagated: Learned route
    UpdatedTime string
    Last updated time of the route entry
    AsPaths []string
    AS path of the route entry
    CreatedTime string
    Creation time of the route entry
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Status of the route entry. Available: Available. Creating: Creating. Pending: Configuring. Deleting: Deleting. Conflicted: Inactive
    TransitRouterRouteEntryId string
    ID of the TR route entry
    TransitRouterRouteEntryNextHopResourceId string
    Next hop network instance ID of the route entry
    TransitRouterRouteEntryNextHopResourceType string
    Type of the next hop network instance for the route entry. VPC: Virtual Private Cloud. VPN: VPN connection. DirectConnectGateway: Direct Connect Gateway. TransitRouter: Transit Router
    TransitRouterRouteEntryType string
    Type of the route entry. Static: Static route. Propagated: Learned route
    UpdatedTime string
    Last updated time of the route entry
    asPaths List<String>
    AS path of the route entry
    createdTime String
    Creation time of the route entry
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Status of the route entry. Available: Available. Creating: Creating. Pending: Configuring. Deleting: Deleting. Conflicted: Inactive
    transitRouterRouteEntryId String
    ID of the TR route entry
    transitRouterRouteEntryNextHopResourceId String
    Next hop network instance ID of the route entry
    transitRouterRouteEntryNextHopResourceType String
    Type of the next hop network instance for the route entry. VPC: Virtual Private Cloud. VPN: VPN connection. DirectConnectGateway: Direct Connect Gateway. TransitRouter: Transit Router
    transitRouterRouteEntryType String
    Type of the route entry. Static: Static route. Propagated: Learned route
    updatedTime String
    Last updated time of the route entry
    asPaths string[]
    AS path of the route entry
    createdTime string
    Creation time of the route entry
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    Status of the route entry. Available: Available. Creating: Creating. Pending: Configuring. Deleting: Deleting. Conflicted: Inactive
    transitRouterRouteEntryId string
    ID of the TR route entry
    transitRouterRouteEntryNextHopResourceId string
    Next hop network instance ID of the route entry
    transitRouterRouteEntryNextHopResourceType string
    Type of the next hop network instance for the route entry. VPC: Virtual Private Cloud. VPN: VPN connection. DirectConnectGateway: Direct Connect Gateway. TransitRouter: Transit Router
    transitRouterRouteEntryType string
    Type of the route entry. Static: Static route. Propagated: Learned route
    updatedTime string
    Last updated time of the route entry
    as_paths Sequence[str]
    AS path of the route entry
    created_time str
    Creation time of the route entry
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    Status of the route entry. Available: Available. Creating: Creating. Pending: Configuring. Deleting: Deleting. Conflicted: Inactive
    transit_router_route_entry_id str
    ID of the TR route entry
    transit_router_route_entry_next_hop_resource_id str
    Next hop network instance ID of the route entry
    transit_router_route_entry_next_hop_resource_type str
    Type of the next hop network instance for the route entry. VPC: Virtual Private Cloud. VPN: VPN connection. DirectConnectGateway: Direct Connect Gateway. TransitRouter: Transit Router
    transit_router_route_entry_type str
    Type of the route entry. Static: Static route. Propagated: Learned route
    updated_time str
    Last updated time of the route entry
    asPaths List<String>
    AS path of the route entry
    createdTime String
    Creation time of the route entry
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Status of the route entry. Available: Available. Creating: Creating. Pending: Configuring. Deleting: Deleting. Conflicted: Inactive
    transitRouterRouteEntryId String
    ID of the TR route entry
    transitRouterRouteEntryNextHopResourceId String
    Next hop network instance ID of the route entry
    transitRouterRouteEntryNextHopResourceType String
    Type of the next hop network instance for the route entry. VPC: Virtual Private Cloud. VPN: VPN connection. DirectConnectGateway: Direct Connect Gateway. TransitRouter: Transit Router
    transitRouterRouteEntryType String
    Type of the route entry. Static: Static route. Propagated: Learned route
    updatedTime String
    Last updated time of the route entry

    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_resource_id: Optional[str] = None,
            transit_router_route_entry_next_hop_resource_type: 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) -> TransitRouterRouteEntry
    func 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: volcenginecc: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.
    The following state arguments are supported:
    AsPaths List<string>
    AS path of the route entry
    CreatedTime string
    Creation time of the route entry
    Description string
    Description of the TR route table entry. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string
    DestinationCidrBlock string
    Destination CIDR block of the route entry
    Status string
    Status of the route entry. Available: Available. Creating: Creating. Pending: Configuring. Deleting: Deleting. Conflicted: Inactive
    TransitRouterRouteEntryId string
    ID of the TR route entry
    TransitRouterRouteEntryName string
    Name of the route entry
    TransitRouterRouteEntryNextHopId string
    Next hop ID of the route entry
    TransitRouterRouteEntryNextHopResourceId string
    Next hop network instance ID of the route entry
    TransitRouterRouteEntryNextHopResourceType string
    Type of the next hop network instance for the route entry. VPC: Virtual Private Cloud. VPN: VPN connection. DirectConnectGateway: Direct Connect Gateway. TransitRouter: Transit Router
    TransitRouterRouteEntryNextHopType string
    Next hop type of the route entry. Valid values: Attachment: Network instance. Traffic matching this route entry will be forwarded to the specified network instance. BlackHole: Black hole. Traffic matching this route entry will be dropped
    TransitRouterRouteEntryType string
    Type of the route entry. Static: Static route. Propagated: Learned route
    TransitRouterRouteTableId string
    ID of the route table associated with the transit router instance
    UpdatedTime string
    Last updated time of the route entry
    AsPaths []string
    AS path of the route entry
    CreatedTime string
    Creation time of the route entry
    Description string
    Description of the TR route table entry. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string
    DestinationCidrBlock string
    Destination CIDR block of the route entry
    Status string
    Status of the route entry. Available: Available. Creating: Creating. Pending: Configuring. Deleting: Deleting. Conflicted: Inactive
    TransitRouterRouteEntryId string
    ID of the TR route entry
    TransitRouterRouteEntryName string
    Name of the route entry
    TransitRouterRouteEntryNextHopId string
    Next hop ID of the route entry
    TransitRouterRouteEntryNextHopResourceId string
    Next hop network instance ID of the route entry
    TransitRouterRouteEntryNextHopResourceType string
    Type of the next hop network instance for the route entry. VPC: Virtual Private Cloud. VPN: VPN connection. DirectConnectGateway: Direct Connect Gateway. TransitRouter: Transit Router
    TransitRouterRouteEntryNextHopType string
    Next hop type of the route entry. Valid values: Attachment: Network instance. Traffic matching this route entry will be forwarded to the specified network instance. BlackHole: Black hole. Traffic matching this route entry will be dropped
    TransitRouterRouteEntryType string
    Type of the route entry. Static: Static route. Propagated: Learned route
    TransitRouterRouteTableId string
    ID of the route table associated with the transit router instance
    UpdatedTime string
    Last updated time of the route entry
    asPaths List<String>
    AS path of the route entry
    createdTime String
    Creation time of the route entry
    description String
    Description of the TR route table entry. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string
    destinationCidrBlock String
    Destination CIDR block of the route entry
    status String
    Status of the route entry. Available: Available. Creating: Creating. Pending: Configuring. Deleting: Deleting. Conflicted: Inactive
    transitRouterRouteEntryId String
    ID of the TR route entry
    transitRouterRouteEntryName String
    Name of the route entry
    transitRouterRouteEntryNextHopId String
    Next hop ID of the route entry
    transitRouterRouteEntryNextHopResourceId String
    Next hop network instance ID of the route entry
    transitRouterRouteEntryNextHopResourceType String
    Type of the next hop network instance for the route entry. VPC: Virtual Private Cloud. VPN: VPN connection. DirectConnectGateway: Direct Connect Gateway. TransitRouter: Transit Router
    transitRouterRouteEntryNextHopType String
    Next hop type of the route entry. Valid values: Attachment: Network instance. Traffic matching this route entry will be forwarded to the specified network instance. BlackHole: Black hole. Traffic matching this route entry will be dropped
    transitRouterRouteEntryType String
    Type of the route entry. Static: Static route. Propagated: Learned route
    transitRouterRouteTableId String
    ID of the route table associated with the transit router instance
    updatedTime String
    Last updated time of the route entry
    asPaths string[]
    AS path of the route entry
    createdTime string
    Creation time of the route entry
    description string
    Description of the TR route table entry. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string
    destinationCidrBlock string
    Destination CIDR block of the route entry
    status string
    Status of the route entry. Available: Available. Creating: Creating. Pending: Configuring. Deleting: Deleting. Conflicted: Inactive
    transitRouterRouteEntryId string
    ID of the TR route entry
    transitRouterRouteEntryName string
    Name of the route entry
    transitRouterRouteEntryNextHopId string
    Next hop ID of the route entry
    transitRouterRouteEntryNextHopResourceId string
    Next hop network instance ID of the route entry
    transitRouterRouteEntryNextHopResourceType string
    Type of the next hop network instance for the route entry. VPC: Virtual Private Cloud. VPN: VPN connection. DirectConnectGateway: Direct Connect Gateway. TransitRouter: Transit Router
    transitRouterRouteEntryNextHopType string
    Next hop type of the route entry. Valid values: Attachment: Network instance. Traffic matching this route entry will be forwarded to the specified network instance. BlackHole: Black hole. Traffic matching this route entry will be dropped
    transitRouterRouteEntryType string
    Type of the route entry. Static: Static route. Propagated: Learned route
    transitRouterRouteTableId string
    ID of the route table associated with the transit router instance
    updatedTime string
    Last updated time of the route entry
    as_paths Sequence[str]
    AS path of the route entry
    created_time str
    Creation time of the route entry
    description str
    Description of the TR route table entry. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string
    destination_cidr_block str
    Destination CIDR block of the route entry
    status str
    Status of the route entry. Available: Available. Creating: Creating. Pending: Configuring. Deleting: Deleting. Conflicted: Inactive
    transit_router_route_entry_id str
    ID of the TR route entry
    transit_router_route_entry_name str
    Name of the route entry
    transit_router_route_entry_next_hop_id str
    Next hop ID of the route entry
    transit_router_route_entry_next_hop_resource_id str
    Next hop network instance ID of the route entry
    transit_router_route_entry_next_hop_resource_type str
    Type of the next hop network instance for the route entry. VPC: Virtual Private Cloud. VPN: VPN connection. DirectConnectGateway: Direct Connect Gateway. TransitRouter: Transit Router
    transit_router_route_entry_next_hop_type str
    Next hop type of the route entry. Valid values: Attachment: Network instance. Traffic matching this route entry will be forwarded to the specified network instance. BlackHole: Black hole. Traffic matching this route entry will be dropped
    transit_router_route_entry_type str
    Type of the route entry. Static: Static route. Propagated: Learned route
    transit_router_route_table_id str
    ID of the route table associated with the transit router instance
    updated_time str
    Last updated time of the route entry
    asPaths List<String>
    AS path of the route entry
    createdTime String
    Creation time of the route entry
    description String
    Description of the TR route table entry. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If this parameter is not provided or no value is specified, the default is an empty string
    destinationCidrBlock String
    Destination CIDR block of the route entry
    status String
    Status of the route entry. Available: Available. Creating: Creating. Pending: Configuring. Deleting: Deleting. Conflicted: Inactive
    transitRouterRouteEntryId String
    ID of the TR route entry
    transitRouterRouteEntryName String
    Name of the route entry
    transitRouterRouteEntryNextHopId String
    Next hop ID of the route entry
    transitRouterRouteEntryNextHopResourceId String
    Next hop network instance ID of the route entry
    transitRouterRouteEntryNextHopResourceType String
    Type of the next hop network instance for the route entry. VPC: Virtual Private Cloud. VPN: VPN connection. DirectConnectGateway: Direct Connect Gateway. TransitRouter: Transit Router
    transitRouterRouteEntryNextHopType String
    Next hop type of the route entry. Valid values: Attachment: Network instance. Traffic matching this route entry will be forwarded to the specified network instance. BlackHole: Black hole. Traffic matching this route entry will be dropped
    transitRouterRouteEntryType String
    Type of the route entry. Static: Static route. Propagated: Learned route
    transitRouterRouteTableId String
    ID of the route table associated with the transit router instance
    updatedTime String
    Last updated time of the route entry

    Import

    $ pulumi import volcenginecc: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
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.32
    published on Thursday, Apr 23, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.