published on Thursday, Apr 9, 2026 by Byteplus
published on Thursday, Apr 9, 2026 by Byteplus
Platform on which the transit router service runs. Receives traffic from network instances and forwards it according to the associated forwarding route table
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
const transitRouterDemo = new bytepluscc.transitrouter.TransitRouter("TransitRouterDemo", {
transitRouterName: "TransitRouterDemo",
asn: 4200001111,
description: "TransitRouterDemo",
projectName: "default",
tags: [{
key: "env",
value: "test",
}],
});
import pulumi
import pulumi_bytepluscc as bytepluscc
transit_router_demo = bytepluscc.transitrouter.TransitRouter("TransitRouterDemo",
transit_router_name="TransitRouterDemo",
asn=4200001111,
description="TransitRouterDemo",
project_name="default",
tags=[{
"key": "env",
"value": "test",
}])
package main
import (
"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/transitrouter"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := transitrouter.NewTransitRouter(ctx, "TransitRouterDemo", &transitrouter.TransitRouterArgs{
TransitRouterName: pulumi.String("TransitRouterDemo"),
Asn: pulumi.Int(4200001111),
Description: pulumi.String("TransitRouterDemo"),
ProjectName: pulumi.String("default"),
Tags: transitrouter.TransitRouterTagArray{
&transitrouter.TransitRouterTagArgs{
Key: pulumi.String("env"),
Value: pulumi.String("test"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Bytepluscc = Byteplus.Pulumi.Bytepluscc;
return await Deployment.RunAsync(() =>
{
var transitRouterDemo = new Bytepluscc.Transitrouter.TransitRouter("TransitRouterDemo", new()
{
TransitRouterName = "TransitRouterDemo",
Asn = 4200001111,
Description = "TransitRouterDemo",
ProjectName = "default",
Tags = new[]
{
new Bytepluscc.Transitrouter.Inputs.TransitRouterTagArgs
{
Key = "env",
Value = "test",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.byteplus.bytepluscc.transitrouter.TransitRouter;
import com.byteplus.bytepluscc.transitrouter.TransitRouterArgs;
import com.pulumi.bytepluscc.transitrouter.inputs.TransitRouterTagArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var transitRouterDemo = new TransitRouter("transitRouterDemo", TransitRouterArgs.builder()
.transitRouterName("TransitRouterDemo")
.asn(4200001111)
.description("TransitRouterDemo")
.projectName("default")
.tags(TransitRouterTagArgs.builder()
.key("env")
.value("test")
.build())
.build());
}
}
resources:
transitRouterDemo:
type: bytepluscc:transitrouter:TransitRouter
name: TransitRouterDemo
properties:
transitRouterName: TransitRouterDemo
asn: 4.200001111e+09
description: TransitRouterDemo
projectName: default
tags:
- key: env
value: test
Create TransitRouter Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TransitRouter(name: string, args?: TransitRouterArgs, opts?: CustomResourceOptions);@overload
def TransitRouter(resource_name: str,
args: Optional[TransitRouterArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def TransitRouter(resource_name: str,
opts: Optional[ResourceOptions] = None,
asn: Optional[int] = None,
description: Optional[str] = None,
multicast_enabled: Optional[bool] = None,
project_name: Optional[str] = None,
tags: Optional[Sequence[TransitRouterTagArgs]] = None,
transit_router_name: Optional[str] = None)func NewTransitRouter(ctx *Context, name string, args *TransitRouterArgs, opts ...ResourceOption) (*TransitRouter, error)public TransitRouter(string name, TransitRouterArgs? args = null, CustomResourceOptions? opts = null)
public TransitRouter(String name, TransitRouterArgs args)
public TransitRouter(String name, TransitRouterArgs args, CustomResourceOptions options)
type: bytepluscc:transitrouter:TransitRouter
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 TransitRouterArgs
- 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 TransitRouterArgs
- 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 TransitRouterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TransitRouterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TransitRouterArgs
- 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 transitRouterResource = new Bytepluscc.Transitrouter.TransitRouter("transitRouterResource", new()
{
Asn = 0,
Description = "string",
MulticastEnabled = false,
ProjectName = "string",
Tags = new[]
{
new Bytepluscc.Transitrouter.Inputs.TransitRouterTagArgs
{
Key = "string",
Value = "string",
},
},
TransitRouterName = "string",
});
example, err := transitrouter.NewTransitRouter(ctx, "transitRouterResource", &transitrouter.TransitRouterArgs{
Asn: pulumi.Int(0),
Description: pulumi.String("string"),
MulticastEnabled: pulumi.Bool(false),
ProjectName: pulumi.String("string"),
Tags: transitrouter.TransitRouterTagArray{
&transitrouter.TransitRouterTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
TransitRouterName: pulumi.String("string"),
})
var transitRouterResource = new TransitRouter("transitRouterResource", TransitRouterArgs.builder()
.asn(0)
.description("string")
.multicastEnabled(false)
.projectName("string")
.tags(TransitRouterTagArgs.builder()
.key("string")
.value("string")
.build())
.transitRouterName("string")
.build());
transit_router_resource = bytepluscc.transitrouter.TransitRouter("transitRouterResource",
asn=0,
description="string",
multicast_enabled=False,
project_name="string",
tags=[{
"key": "string",
"value": "string",
}],
transit_router_name="string")
const transitRouterResource = new bytepluscc.transitrouter.TransitRouter("transitRouterResource", {
asn: 0,
description: "string",
multicastEnabled: false,
projectName: "string",
tags: [{
key: "string",
value: "string",
}],
transitRouterName: "string",
});
type: bytepluscc:transitrouter:TransitRouter
properties:
asn: 0
description: string
multicastEnabled: false
projectName: string
tags:
- key: string
value: string
transitRouterName: string
TransitRouter 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 TransitRouter resource accepts the following input properties:
- Asn int
- ASN of the transit router. Value range: 64512–65534 and 4200000000–4294967294. Default value: 64512
- Description string
- Description of the transit router instance. Must start with a letter, number, or Chinese character. Can contain letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is entered, the default is an empty string
- Multicast
Enabled bool - Whether multicast is enabled for the transit router. true: enabled. false (default): not enabled
- Project
Name string - Name of the project to which the transit router instance belongs. If this parameter is not provided or no value is entered, the default is 'default'
-
List<Byteplus.
Transit Router Tag> - Transit
Router stringName - Name of the transit router instance. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
- Asn int
- ASN of the transit router. Value range: 64512–65534 and 4200000000–4294967294. Default value: 64512
- Description string
- Description of the transit router instance. Must start with a letter, number, or Chinese character. Can contain letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is entered, the default is an empty string
- Multicast
Enabled bool - Whether multicast is enabled for the transit router. true: enabled. false (default): not enabled
- Project
Name string - Name of the project to which the transit router instance belongs. If this parameter is not provided or no value is entered, the default is 'default'
-
[]Transit
Router Tag Args - Transit
Router stringName - Name of the transit router instance. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
- asn Integer
- ASN of the transit router. Value range: 64512–65534 and 4200000000–4294967294. Default value: 64512
- description String
- Description of the transit router instance. Must start with a letter, number, or Chinese character. Can contain letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is entered, the default is an empty string
- multicast
Enabled Boolean - Whether multicast is enabled for the transit router. true: enabled. false (default): not enabled
- project
Name String - Name of the project to which the transit router instance belongs. If this parameter is not provided or no value is entered, the default is 'default'
-
List<Transit
Router Tag> - transit
Router StringName - Name of the transit router instance. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
- asn number
- ASN of the transit router. Value range: 64512–65534 and 4200000000–4294967294. Default value: 64512
- description string
- Description of the transit router instance. Must start with a letter, number, or Chinese character. Can contain letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is entered, the default is an empty string
- multicast
Enabled boolean - Whether multicast is enabled for the transit router. true: enabled. false (default): not enabled
- project
Name string - Name of the project to which the transit router instance belongs. If this parameter is not provided or no value is entered, the default is 'default'
-
Transit
Router Tag[] - transit
Router stringName - Name of the transit router instance. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
- asn int
- ASN of the transit router. Value range: 64512–65534 and 4200000000–4294967294. Default value: 64512
- description str
- Description of the transit router instance. Must start with a letter, number, or Chinese character. Can contain letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is entered, the default is an empty string
- multicast_
enabled bool - Whether multicast is enabled for the transit router. true: enabled. false (default): not enabled
- project_
name str - Name of the project to which the transit router instance belongs. If this parameter is not provided or no value is entered, the default is 'default'
-
Sequence[Transit
Router Tag Args] - transit_
router_ strname - Name of the transit router instance. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
- asn Number
- ASN of the transit router. Value range: 64512–65534 and 4200000000–4294967294. Default value: 64512
- description String
- Description of the transit router instance. Must start with a letter, number, or Chinese character. Can contain letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is entered, the default is an empty string
- multicast
Enabled Boolean - Whether multicast is enabled for the transit router. true: enabled. false (default): not enabled
- project
Name String - Name of the project to which the transit router instance belongs. If this parameter is not provided or no value is entered, the default is 'default'
- List<Property Map>
- transit
Router StringName - Name of the transit router instance. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
Outputs
All input properties are implicitly available as output properties. Additionally, the TransitRouter resource produces the following output properties:
- Attachments
List<Byteplus.
Transit Router Attachment> - Business
Status string - Business status of the network instance connection. Values: Normal: Normal. FinancialLocked: Financially locked.
- Creation
Time string - Creation time of the network instance connection.
- Deleted
Time string - Deletion time of the network instance connection.
- Grant
Source stringType - Sharing method of the transit router instance. rs: Shared via platform resource sharing. tr: Shared via transit router instance sharing
- Grant
Status string - Instance sharing status. Accepted: Received. Initial: Pending acceptance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Overdue
Time string - Shutdown time due to overdue payment for the transit router instance
- Status string
- Status of the transit router instance. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
- Transit
Router stringId - Transit router instance ID.
- Update
Time string - Last operation time of the transit router instance
- Attachments
[]Transit
Router Attachment - Business
Status string - Business status of the network instance connection. Values: Normal: Normal. FinancialLocked: Financially locked.
- Creation
Time string - Creation time of the network instance connection.
- Deleted
Time string - Deletion time of the network instance connection.
- Grant
Source stringType - Sharing method of the transit router instance. rs: Shared via platform resource sharing. tr: Shared via transit router instance sharing
- Grant
Status string - Instance sharing status. Accepted: Received. Initial: Pending acceptance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Overdue
Time string - Shutdown time due to overdue payment for the transit router instance
- Status string
- Status of the transit router instance. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
- Transit
Router stringId - Transit router instance ID.
- Update
Time string - Last operation time of the transit router instance
- attachments
List<Transit
Router Attachment> - business
Status String - Business status of the network instance connection. Values: Normal: Normal. FinancialLocked: Financially locked.
- creation
Time String - Creation time of the network instance connection.
- deleted
Time String - Deletion time of the network instance connection.
- grant
Source StringType - Sharing method of the transit router instance. rs: Shared via platform resource sharing. tr: Shared via transit router instance sharing
- grant
Status String - Instance sharing status. Accepted: Received. Initial: Pending acceptance.
- id String
- The provider-assigned unique ID for this managed resource.
- overdue
Time String - Shutdown time due to overdue payment for the transit router instance
- status String
- Status of the transit router instance. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
- transit
Router StringId - Transit router instance ID.
- update
Time String - Last operation time of the transit router instance
- attachments
Transit
Router Attachment[] - business
Status string - Business status of the network instance connection. Values: Normal: Normal. FinancialLocked: Financially locked.
- creation
Time string - Creation time of the network instance connection.
- deleted
Time string - Deletion time of the network instance connection.
- grant
Source stringType - Sharing method of the transit router instance. rs: Shared via platform resource sharing. tr: Shared via transit router instance sharing
- grant
Status string - Instance sharing status. Accepted: Received. Initial: Pending acceptance.
- id string
- The provider-assigned unique ID for this managed resource.
- overdue
Time string - Shutdown time due to overdue payment for the transit router instance
- status string
- Status of the transit router instance. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
- transit
Router stringId - Transit router instance ID.
- update
Time string - Last operation time of the transit router instance
- attachments
Sequence[Transit
Router Attachment] - business_
status str - Business status of the network instance connection. Values: Normal: Normal. FinancialLocked: Financially locked.
- creation_
time str - Creation time of the network instance connection.
- deleted_
time str - Deletion time of the network instance connection.
- grant_
source_ strtype - Sharing method of the transit router instance. rs: Shared via platform resource sharing. tr: Shared via transit router instance sharing
- grant_
status str - Instance sharing status. Accepted: Received. Initial: Pending acceptance.
- id str
- The provider-assigned unique ID for this managed resource.
- overdue_
time str - Shutdown time due to overdue payment for the transit router instance
- status str
- Status of the transit router instance. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
- transit_
router_ strid - Transit router instance ID.
- update_
time str - Last operation time of the transit router instance
- attachments List<Property Map>
- business
Status String - Business status of the network instance connection. Values: Normal: Normal. FinancialLocked: Financially locked.
- creation
Time String - Creation time of the network instance connection.
- deleted
Time String - Deletion time of the network instance connection.
- grant
Source StringType - Sharing method of the transit router instance. rs: Shared via platform resource sharing. tr: Shared via transit router instance sharing
- grant
Status String - Instance sharing status. Accepted: Received. Initial: Pending acceptance.
- id String
- The provider-assigned unique ID for this managed resource.
- overdue
Time String - Shutdown time due to overdue payment for the transit router instance
- status String
- Status of the transit router instance. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
- transit
Router StringId - Transit router instance ID.
- update
Time String - Last operation time of the transit router instance
Look up Existing TransitRouter Resource
Get an existing TransitRouter 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?: TransitRouterState, opts?: CustomResourceOptions): TransitRouter@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
asn: Optional[int] = None,
attachments: Optional[Sequence[TransitRouterAttachmentArgs]] = None,
business_status: Optional[str] = None,
creation_time: Optional[str] = None,
deleted_time: Optional[str] = None,
description: Optional[str] = None,
grant_source_type: Optional[str] = None,
grant_status: Optional[str] = None,
multicast_enabled: Optional[bool] = None,
overdue_time: Optional[str] = None,
project_name: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[TransitRouterTagArgs]] = None,
transit_router_id: Optional[str] = None,
transit_router_name: Optional[str] = None,
update_time: Optional[str] = None) -> TransitRouterfunc GetTransitRouter(ctx *Context, name string, id IDInput, state *TransitRouterState, opts ...ResourceOption) (*TransitRouter, error)public static TransitRouter Get(string name, Input<string> id, TransitRouterState? state, CustomResourceOptions? opts = null)public static TransitRouter get(String name, Output<String> id, TransitRouterState state, CustomResourceOptions options)resources: _: type: bytepluscc:transitrouter:TransitRouter 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.
- Asn int
- ASN of the transit router. Value range: 64512–65534 and 4200000000–4294967294. Default value: 64512
- Attachments
List<Byteplus.
Transit Router Attachment> - Business
Status string - Business status of the network instance connection. Values: Normal: Normal. FinancialLocked: Financially locked.
- Creation
Time string - Creation time of the network instance connection.
- Deleted
Time string - Deletion time of the network instance connection.
- Description string
- Description of the transit router instance. Must start with a letter, number, or Chinese character. Can contain letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is entered, the default is an empty string
- Grant
Source stringType - Sharing method of the transit router instance. rs: Shared via platform resource sharing. tr: Shared via transit router instance sharing
- Grant
Status string - Instance sharing status. Accepted: Received. Initial: Pending acceptance.
- Multicast
Enabled bool - Whether multicast is enabled for the transit router. true: enabled. false (default): not enabled
- Overdue
Time string - Shutdown time due to overdue payment for the transit router instance
- Project
Name string - Name of the project to which the transit router instance belongs. If this parameter is not provided or no value is entered, the default is 'default'
- Status string
- Status of the transit router instance. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
-
List<Byteplus.
Transit Router Tag> - Transit
Router stringId - Transit router instance ID.
- Transit
Router stringName - Name of the transit router instance. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
- Update
Time string - Last operation time of the transit router instance
- Asn int
- ASN of the transit router. Value range: 64512–65534 and 4200000000–4294967294. Default value: 64512
- Attachments
[]Transit
Router Attachment Args - Business
Status string - Business status of the network instance connection. Values: Normal: Normal. FinancialLocked: Financially locked.
- Creation
Time string - Creation time of the network instance connection.
- Deleted
Time string - Deletion time of the network instance connection.
- Description string
- Description of the transit router instance. Must start with a letter, number, or Chinese character. Can contain letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is entered, the default is an empty string
- Grant
Source stringType - Sharing method of the transit router instance. rs: Shared via platform resource sharing. tr: Shared via transit router instance sharing
- Grant
Status string - Instance sharing status. Accepted: Received. Initial: Pending acceptance.
- Multicast
Enabled bool - Whether multicast is enabled for the transit router. true: enabled. false (default): not enabled
- Overdue
Time string - Shutdown time due to overdue payment for the transit router instance
- Project
Name string - Name of the project to which the transit router instance belongs. If this parameter is not provided or no value is entered, the default is 'default'
- Status string
- Status of the transit router instance. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
-
[]Transit
Router Tag Args - Transit
Router stringId - Transit router instance ID.
- Transit
Router stringName - Name of the transit router instance. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
- Update
Time string - Last operation time of the transit router instance
- asn Integer
- ASN of the transit router. Value range: 64512–65534 and 4200000000–4294967294. Default value: 64512
- attachments
List<Transit
Router Attachment> - business
Status String - Business status of the network instance connection. Values: Normal: Normal. FinancialLocked: Financially locked.
- creation
Time String - Creation time of the network instance connection.
- deleted
Time String - Deletion time of the network instance connection.
- description String
- Description of the transit router instance. Must start with a letter, number, or Chinese character. Can contain letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is entered, the default is an empty string
- grant
Source StringType - Sharing method of the transit router instance. rs: Shared via platform resource sharing. tr: Shared via transit router instance sharing
- grant
Status String - Instance sharing status. Accepted: Received. Initial: Pending acceptance.
- multicast
Enabled Boolean - Whether multicast is enabled for the transit router. true: enabled. false (default): not enabled
- overdue
Time String - Shutdown time due to overdue payment for the transit router instance
- project
Name String - Name of the project to which the transit router instance belongs. If this parameter is not provided or no value is entered, the default is 'default'
- status String
- Status of the transit router instance. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
-
List<Transit
Router Tag> - transit
Router StringId - Transit router instance ID.
- transit
Router StringName - Name of the transit router instance. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
- update
Time String - Last operation time of the transit router instance
- asn number
- ASN of the transit router. Value range: 64512–65534 and 4200000000–4294967294. Default value: 64512
- attachments
Transit
Router Attachment[] - business
Status string - Business status of the network instance connection. Values: Normal: Normal. FinancialLocked: Financially locked.
- creation
Time string - Creation time of the network instance connection.
- deleted
Time string - Deletion time of the network instance connection.
- description string
- Description of the transit router instance. Must start with a letter, number, or Chinese character. Can contain letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is entered, the default is an empty string
- grant
Source stringType - Sharing method of the transit router instance. rs: Shared via platform resource sharing. tr: Shared via transit router instance sharing
- grant
Status string - Instance sharing status. Accepted: Received. Initial: Pending acceptance.
- multicast
Enabled boolean - Whether multicast is enabled for the transit router. true: enabled. false (default): not enabled
- overdue
Time string - Shutdown time due to overdue payment for the transit router instance
- project
Name string - Name of the project to which the transit router instance belongs. If this parameter is not provided or no value is entered, the default is 'default'
- status string
- Status of the transit router instance. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
-
Transit
Router Tag[] - transit
Router stringId - Transit router instance ID.
- transit
Router stringName - Name of the transit router instance. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
- update
Time string - Last operation time of the transit router instance
- asn int
- ASN of the transit router. Value range: 64512–65534 and 4200000000–4294967294. Default value: 64512
- attachments
Sequence[Transit
Router Attachment Args] - business_
status str - Business status of the network instance connection. Values: Normal: Normal. FinancialLocked: Financially locked.
- creation_
time str - Creation time of the network instance connection.
- deleted_
time str - Deletion time of the network instance connection.
- description str
- Description of the transit router instance. Must start with a letter, number, or Chinese character. Can contain letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is entered, the default is an empty string
- grant_
source_ strtype - Sharing method of the transit router instance. rs: Shared via platform resource sharing. tr: Shared via transit router instance sharing
- grant_
status str - Instance sharing status. Accepted: Received. Initial: Pending acceptance.
- multicast_
enabled bool - Whether multicast is enabled for the transit router. true: enabled. false (default): not enabled
- overdue_
time str - Shutdown time due to overdue payment for the transit router instance
- project_
name str - Name of the project to which the transit router instance belongs. If this parameter is not provided or no value is entered, the default is 'default'
- status str
- Status of the transit router instance. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
-
Sequence[Transit
Router Tag Args] - transit_
router_ strid - Transit router instance ID.
- transit_
router_ strname - Name of the transit router instance. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
- update_
time str - Last operation time of the transit router instance
- asn Number
- ASN of the transit router. Value range: 64512–65534 and 4200000000–4294967294. Default value: 64512
- attachments List<Property Map>
- business
Status String - Business status of the network instance connection. Values: Normal: Normal. FinancialLocked: Financially locked.
- creation
Time String - Creation time of the network instance connection.
- deleted
Time String - Deletion time of the network instance connection.
- description String
- Description of the transit router instance. Must start with a letter, number, or Chinese character. Can contain letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is entered, the default is an empty string
- grant
Source StringType - Sharing method of the transit router instance. rs: Shared via platform resource sharing. tr: Shared via transit router instance sharing
- grant
Status String - Instance sharing status. Accepted: Received. Initial: Pending acceptance.
- multicast
Enabled Boolean - Whether multicast is enabled for the transit router. true: enabled. false (default): not enabled
- overdue
Time String - Shutdown time due to overdue payment for the transit router instance
- project
Name String - Name of the project to which the transit router instance belongs. If this parameter is not provided or no value is entered, the default is 'default'
- status String
- Status of the transit router instance. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
- List<Property Map>
- transit
Router StringId - Transit router instance ID.
- transit
Router StringName - Name of the transit router instance. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID.
- update
Time String - Last operation time of the transit router instance
Supporting Types
TransitRouterAttachment, TransitRouterAttachmentArgs
- Auto
Publish boolRoute Enabled - Whether to automatically synchronize TR routes to the network instance route table. true: Yes. false: No.
- Business
Status string - Business status of the network instance connection. Values: Normal: Normal. FinancialLocked: Financially locked.
- Creation
Time string - Creation time of the network instance connection.
- Deleted
Time string - Deletion time of the network instance connection.
- Description string
- Description of the network instance connection.
- Ipv6Enabled bool
- Whether IPv6 is enabled. true: yes. false: no
- Overdue
Time string - Shutdown time due to overdue payment for the network instance connection
- Resource
Id string - ID of the network instance
- Resource
Type string - Type of network instance associated with the network instance connection. VPC: Virtual Private Cloud. VPN: VPN connection. DirectConnectGateway: Direct Connect Gateway. TransitRouter: Transit Router
- Status string
- Status of the network instance connection. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
-
List<Byteplus.
Transit Router Attachment Tag> - Transit
Router stringAttachment Id - Network instance connection ID.
- Transit
Router stringAttachment Name - Name of the network instance connection
- Transit
Router stringForward Policy Table Id - ID of the forwarding policy associated with the cross-region connection
- Transit
Router stringId - Transit router instance ID.
- Transit
Router stringRoute Table Id - Route table ID associated with the forwarding of the network instance connection.
- Transit
Router stringTraffic Qos Marking Policy Id - ID of the flow marking policy associated with the cross-region connection
- Transit
Router stringTraffic Qos Queue Policy Id - ID of the flow queue policy associated with the cross-region connection
- Update
Time string - Last operation time of the network instance connection
- Auto
Publish boolRoute Enabled - Whether to automatically synchronize TR routes to the network instance route table. true: Yes. false: No.
- Business
Status string - Business status of the network instance connection. Values: Normal: Normal. FinancialLocked: Financially locked.
- Creation
Time string - Creation time of the network instance connection.
- Deleted
Time string - Deletion time of the network instance connection.
- Description string
- Description of the network instance connection.
- Ipv6Enabled bool
- Whether IPv6 is enabled. true: yes. false: no
- Overdue
Time string - Shutdown time due to overdue payment for the network instance connection
- Resource
Id string - ID of the network instance
- Resource
Type string - Type of network instance associated with the network instance connection. VPC: Virtual Private Cloud. VPN: VPN connection. DirectConnectGateway: Direct Connect Gateway. TransitRouter: Transit Router
- Status string
- Status of the network instance connection. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
-
[]Transit
Router Attachment Tag - Transit
Router stringAttachment Id - Network instance connection ID.
- Transit
Router stringAttachment Name - Name of the network instance connection
- Transit
Router stringForward Policy Table Id - ID of the forwarding policy associated with the cross-region connection
- Transit
Router stringId - Transit router instance ID.
- Transit
Router stringRoute Table Id - Route table ID associated with the forwarding of the network instance connection.
- Transit
Router stringTraffic Qos Marking Policy Id - ID of the flow marking policy associated with the cross-region connection
- Transit
Router stringTraffic Qos Queue Policy Id - ID of the flow queue policy associated with the cross-region connection
- Update
Time string - Last operation time of the network instance connection
- auto
Publish BooleanRoute Enabled - Whether to automatically synchronize TR routes to the network instance route table. true: Yes. false: No.
- business
Status String - Business status of the network instance connection. Values: Normal: Normal. FinancialLocked: Financially locked.
- creation
Time String - Creation time of the network instance connection.
- deleted
Time String - Deletion time of the network instance connection.
- description String
- Description of the network instance connection.
- ipv6Enabled Boolean
- Whether IPv6 is enabled. true: yes. false: no
- overdue
Time String - Shutdown time due to overdue payment for the network instance connection
- resource
Id String - ID of the network instance
- resource
Type String - Type of network instance associated with the network instance connection. VPC: Virtual Private Cloud. VPN: VPN connection. DirectConnectGateway: Direct Connect Gateway. TransitRouter: Transit Router
- status String
- Status of the network instance connection. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
-
List<Transit
Router Attachment Tag> - transit
Router StringAttachment Id - Network instance connection ID.
- transit
Router StringAttachment Name - Name of the network instance connection
- transit
Router StringForward Policy Table Id - ID of the forwarding policy associated with the cross-region connection
- transit
Router StringId - Transit router instance ID.
- transit
Router StringRoute Table Id - Route table ID associated with the forwarding of the network instance connection.
- transit
Router StringTraffic Qos Marking Policy Id - ID of the flow marking policy associated with the cross-region connection
- transit
Router StringTraffic Qos Queue Policy Id - ID of the flow queue policy associated with the cross-region connection
- update
Time String - Last operation time of the network instance connection
- auto
Publish booleanRoute Enabled - Whether to automatically synchronize TR routes to the network instance route table. true: Yes. false: No.
- business
Status string - Business status of the network instance connection. Values: Normal: Normal. FinancialLocked: Financially locked.
- creation
Time string - Creation time of the network instance connection.
- deleted
Time string - Deletion time of the network instance connection.
- description string
- Description of the network instance connection.
- ipv6Enabled boolean
- Whether IPv6 is enabled. true: yes. false: no
- overdue
Time string - Shutdown time due to overdue payment for the network instance connection
- resource
Id string - ID of the network instance
- resource
Type string - Type of network instance associated with the network instance connection. VPC: Virtual Private Cloud. VPN: VPN connection. DirectConnectGateway: Direct Connect Gateway. TransitRouter: Transit Router
- status string
- Status of the network instance connection. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
-
Transit
Router Attachment Tag[] - transit
Router stringAttachment Id - Network instance connection ID.
- transit
Router stringAttachment Name - Name of the network instance connection
- transit
Router stringForward Policy Table Id - ID of the forwarding policy associated with the cross-region connection
- transit
Router stringId - Transit router instance ID.
- transit
Router stringRoute Table Id - Route table ID associated with the forwarding of the network instance connection.
- transit
Router stringTraffic Qos Marking Policy Id - ID of the flow marking policy associated with the cross-region connection
- transit
Router stringTraffic Qos Queue Policy Id - ID of the flow queue policy associated with the cross-region connection
- update
Time string - Last operation time of the network instance connection
- auto_
publish_ boolroute_ enabled - Whether to automatically synchronize TR routes to the network instance route table. true: Yes. false: No.
- business_
status str - Business status of the network instance connection. Values: Normal: Normal. FinancialLocked: Financially locked.
- creation_
time str - Creation time of the network instance connection.
- deleted_
time str - Deletion time of the network instance connection.
- description str
- Description of the network instance connection.
- ipv6_
enabled bool - Whether IPv6 is enabled. true: yes. false: no
- overdue_
time str - Shutdown time due to overdue payment for the network instance connection
- resource_
id str - ID of the network instance
- resource_
type str - Type of network instance associated with the network instance connection. VPC: Virtual Private Cloud. VPN: VPN connection. DirectConnectGateway: Direct Connect Gateway. TransitRouter: Transit Router
- status str
- Status of the network instance connection. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
-
Sequence[Transit
Router Attachment Tag] - transit_
router_ strattachment_ id - Network instance connection ID.
- transit_
router_ strattachment_ name - Name of the network instance connection
- transit_
router_ strforward_ policy_ table_ id - ID of the forwarding policy associated with the cross-region connection
- transit_
router_ strid - Transit router instance ID.
- transit_
router_ strroute_ table_ id - Route table ID associated with the forwarding of the network instance connection.
- transit_
router_ strtraffic_ qos_ marking_ policy_ id - ID of the flow marking policy associated with the cross-region connection
- transit_
router_ strtraffic_ qos_ queue_ policy_ id - ID of the flow queue policy associated with the cross-region connection
- update_
time str - Last operation time of the network instance connection
- auto
Publish BooleanRoute Enabled - Whether to automatically synchronize TR routes to the network instance route table. true: Yes. false: No.
- business
Status String - Business status of the network instance connection. Values: Normal: Normal. FinancialLocked: Financially locked.
- creation
Time String - Creation time of the network instance connection.
- deleted
Time String - Deletion time of the network instance connection.
- description String
- Description of the network instance connection.
- ipv6Enabled Boolean
- Whether IPv6 is enabled. true: yes. false: no
- overdue
Time String - Shutdown time due to overdue payment for the network instance connection
- resource
Id String - ID of the network instance
- resource
Type String - Type of network instance associated with the network instance connection. VPC: Virtual Private Cloud. VPN: VPN connection. DirectConnectGateway: Direct Connect Gateway. TransitRouter: Transit Router
- status String
- Status of the network instance connection. Creating: creating. Deleting: deleting. Pending: configuring. Available: available
- List<Property Map>
- transit
Router StringAttachment Id - Network instance connection ID.
- transit
Router StringAttachment Name - Name of the network instance connection
- transit
Router StringForward Policy Table Id - ID of the forwarding policy associated with the cross-region connection
- transit
Router StringId - Transit router instance ID.
- transit
Router StringRoute Table Id - Route table ID associated with the forwarding of the network instance connection.
- transit
Router StringTraffic Qos Marking Policy Id - ID of the flow marking policy associated with the cross-region connection
- transit
Router StringTraffic Qos Queue Policy Id - ID of the flow queue policy associated with the cross-region connection
- update
Time String - Last operation time of the network instance connection
TransitRouterAttachmentTag, TransitRouterAttachmentTagArgs
TransitRouterTag, TransitRouterTagArgs
Import
$ pulumi import bytepluscc:transitrouter/transitRouter:TransitRouter example "transit_router_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.
published on Thursday, Apr 9, 2026 by Byteplus
