published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
By establishing a connection between the private network and the transit router, you can enable private network communication between the private network and the transit router.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
transitRouterVpcAttachmentDemo:
type: volcenginecc:transitrouter:VpcAttachment
name: TransitRouterVpcAttachmentDemo
properties:
applianceModeEnabled: false
attachPoints:
- subnet_id: subnet-ijifxxxxx8culvzg85
zone_id: cn-beijing-a
autoPublishRouteEnabled: false
description: test
ipv6Enabled: false
tags:
- key: env
value: test
transitRouterAttachmentName: ccapi-test-1
transitRouterId: tr-mjl8xxxxxg5smt1boobol4
vpcId: vpc-btg9hmxxxxx0b2tnp1on8
Create VpcAttachment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpcAttachment(name: string, args: VpcAttachmentArgs, opts?: CustomResourceOptions);@overload
def VpcAttachment(resource_name: str,
args: VpcAttachmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VpcAttachment(resource_name: str,
opts: Optional[ResourceOptions] = None,
attach_points: Optional[Sequence[VpcAttachmentAttachPointArgs]] = None,
transit_router_id: Optional[str] = None,
vpc_id: Optional[str] = None,
appliance_mode_enabled: Optional[bool] = None,
auto_publish_route_enabled: Optional[bool] = None,
description: Optional[str] = None,
ipv6_enabled: Optional[bool] = None,
tags: Optional[Sequence[VpcAttachmentTagArgs]] = None,
transit_router_attachment_name: Optional[str] = None)func NewVpcAttachment(ctx *Context, name string, args VpcAttachmentArgs, opts ...ResourceOption) (*VpcAttachment, error)public VpcAttachment(string name, VpcAttachmentArgs args, CustomResourceOptions? opts = null)
public VpcAttachment(String name, VpcAttachmentArgs args)
public VpcAttachment(String name, VpcAttachmentArgs args, CustomResourceOptions options)
type: volcenginecc:transitrouter:VpcAttachment
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 VpcAttachmentArgs
- 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 VpcAttachmentArgs
- 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 VpcAttachmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpcAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpcAttachmentArgs
- 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 vpcAttachmentResource = new Volcenginecc.Transitrouter.VpcAttachment("vpcAttachmentResource", new()
{
AttachPoints = new[]
{
new Volcenginecc.Transitrouter.Inputs.VpcAttachmentAttachPointArgs
{
SubnetId = "string",
ZoneId = "string",
},
},
TransitRouterId = "string",
VpcId = "string",
ApplianceModeEnabled = false,
AutoPublishRouteEnabled = false,
Description = "string",
Ipv6Enabled = false,
Tags = new[]
{
new Volcenginecc.Transitrouter.Inputs.VpcAttachmentTagArgs
{
Key = "string",
Value = "string",
},
},
TransitRouterAttachmentName = "string",
});
example, err := transitrouter.NewVpcAttachment(ctx, "vpcAttachmentResource", &transitrouter.VpcAttachmentArgs{
AttachPoints: transitrouter.VpcAttachmentAttachPointArray{
&transitrouter.VpcAttachmentAttachPointArgs{
SubnetId: pulumi.String("string"),
ZoneId: pulumi.String("string"),
},
},
TransitRouterId: pulumi.String("string"),
VpcId: pulumi.String("string"),
ApplianceModeEnabled: pulumi.Bool(false),
AutoPublishRouteEnabled: pulumi.Bool(false),
Description: pulumi.String("string"),
Ipv6Enabled: pulumi.Bool(false),
Tags: transitrouter.VpcAttachmentTagArray{
&transitrouter.VpcAttachmentTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
TransitRouterAttachmentName: pulumi.String("string"),
})
var vpcAttachmentResource = new VpcAttachment("vpcAttachmentResource", VpcAttachmentArgs.builder()
.attachPoints(VpcAttachmentAttachPointArgs.builder()
.subnetId("string")
.zoneId("string")
.build())
.transitRouterId("string")
.vpcId("string")
.applianceModeEnabled(false)
.autoPublishRouteEnabled(false)
.description("string")
.ipv6Enabled(false)
.tags(VpcAttachmentTagArgs.builder()
.key("string")
.value("string")
.build())
.transitRouterAttachmentName("string")
.build());
vpc_attachment_resource = volcenginecc.transitrouter.VpcAttachment("vpcAttachmentResource",
attach_points=[{
"subnet_id": "string",
"zone_id": "string",
}],
transit_router_id="string",
vpc_id="string",
appliance_mode_enabled=False,
auto_publish_route_enabled=False,
description="string",
ipv6_enabled=False,
tags=[{
"key": "string",
"value": "string",
}],
transit_router_attachment_name="string")
const vpcAttachmentResource = new volcenginecc.transitrouter.VpcAttachment("vpcAttachmentResource", {
attachPoints: [{
subnetId: "string",
zoneId: "string",
}],
transitRouterId: "string",
vpcId: "string",
applianceModeEnabled: false,
autoPublishRouteEnabled: false,
description: "string",
ipv6Enabled: false,
tags: [{
key: "string",
value: "string",
}],
transitRouterAttachmentName: "string",
});
type: volcenginecc:transitrouter:VpcAttachment
properties:
applianceModeEnabled: false
attachPoints:
- subnetId: string
zoneId: string
autoPublishRouteEnabled: false
description: string
ipv6Enabled: false
tags:
- key: string
value: string
transitRouterAttachmentName: string
transitRouterId: string
vpcId: string
VpcAttachment 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 VpcAttachment resource accepts the following input properties:
- Attach
Points List<Volcengine.Vpc Attachment Attach Point> - Transit
Router stringId - Transit router instance ID.
- Vpc
Id string - Private network instance ID.
- Appliance
Mode boolEnabled - Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
- Auto
Publish boolRoute Enabled - Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
- Description string
- Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English 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.
- Ipv6Enabled bool
- Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
-
List<Volcengine.
Vpc Attachment Tag> - Transit
Router stringAttachment Name - Name of the network instance connection. 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 must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
- Attach
Points []VpcAttachment Attach Point Args - Transit
Router stringId - Transit router instance ID.
- Vpc
Id string - Private network instance ID.
- Appliance
Mode boolEnabled - Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
- Auto
Publish boolRoute Enabled - Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
- Description string
- Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English 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.
- Ipv6Enabled bool
- Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
-
[]Vpc
Attachment Tag Args - Transit
Router stringAttachment Name - Name of the network instance connection. 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 must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
- attach
Points List<VpcAttachment Attach Point> - transit
Router StringId - Transit router instance ID.
- vpc
Id String - Private network instance ID.
- appliance
Mode BooleanEnabled - Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
- auto
Publish BooleanRoute Enabled - Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
- description String
- Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English 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.
- ipv6Enabled Boolean
- Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
-
List<Vpc
Attachment Tag> - transit
Router StringAttachment Name - Name of the network instance connection. 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 must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
- attach
Points VpcAttachment Attach Point[] - transit
Router stringId - Transit router instance ID.
- vpc
Id string - Private network instance ID.
- appliance
Mode booleanEnabled - Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
- auto
Publish booleanRoute Enabled - Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
- description string
- Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English 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.
- ipv6Enabled boolean
- Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
-
Vpc
Attachment Tag[] - transit
Router stringAttachment Name - Name of the network instance connection. 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 must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
- attach_
points Sequence[VpcAttachment Attach Point Args] - transit_
router_ strid - Transit router instance ID.
- vpc_
id str - Private network instance ID.
- appliance_
mode_ boolenabled - Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
- auto_
publish_ boolroute_ enabled - Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
- description str
- Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English 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.
- ipv6_
enabled bool - Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
-
Sequence[Vpc
Attachment Tag Args] - transit_
router_ strattachment_ name - Name of the network instance connection. 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 must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
- attach
Points List<Property Map> - transit
Router StringId - Transit router instance ID.
- vpc
Id String - Private network instance ID.
- appliance
Mode BooleanEnabled - Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
- auto
Publish BooleanRoute Enabled - Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
- description String
- Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English 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.
- ipv6Enabled Boolean
- Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
- List<Property Map>
- transit
Router StringAttachment Name - Name of the network instance connection. 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 must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
Outputs
All input properties are implicitly available as output properties. Additionally, the VpcAttachment resource produces the following output properties:
- Bandwidth int
- Maximum bandwidth for the network instance connection, in Gbps.
- Created
Time string - Creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
- Transit
Router stringAttachment Id - Network instance connection ID.
- Updated
Time string - Update time.
- Bandwidth int
- Maximum bandwidth for the network instance connection, in Gbps.
- Created
Time string - Creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
- Transit
Router stringAttachment Id - Network instance connection ID.
- Updated
Time string - Update time.
- bandwidth Integer
- Maximum bandwidth for the network instance connection, in Gbps.
- created
Time String - Creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
- transit
Router StringAttachment Id - Network instance connection ID.
- updated
Time String - Update time.
- bandwidth number
- Maximum bandwidth for the network instance connection, in Gbps.
- created
Time string - Creation time.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
- transit
Router stringAttachment Id - Network instance connection ID.
- updated
Time string - Update time.
- bandwidth int
- Maximum bandwidth for the network instance connection, in Gbps.
- created_
time str - Creation time.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
- transit_
router_ strattachment_ id - Network instance connection ID.
- updated_
time str - Update time.
- bandwidth Number
- Maximum bandwidth for the network instance connection, in Gbps.
- created
Time String - Creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
- transit
Router StringAttachment Id - Network instance connection ID.
- updated
Time String - Update time.
Look up Existing VpcAttachment Resource
Get an existing VpcAttachment 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?: VpcAttachmentState, opts?: CustomResourceOptions): VpcAttachment@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
appliance_mode_enabled: Optional[bool] = None,
attach_points: Optional[Sequence[VpcAttachmentAttachPointArgs]] = None,
auto_publish_route_enabled: Optional[bool] = None,
bandwidth: Optional[int] = None,
created_time: Optional[str] = None,
description: Optional[str] = None,
ipv6_enabled: Optional[bool] = None,
status: Optional[str] = None,
tags: Optional[Sequence[VpcAttachmentTagArgs]] = None,
transit_router_attachment_id: Optional[str] = None,
transit_router_attachment_name: Optional[str] = None,
transit_router_id: Optional[str] = None,
updated_time: Optional[str] = None,
vpc_id: Optional[str] = None) -> VpcAttachmentfunc GetVpcAttachment(ctx *Context, name string, id IDInput, state *VpcAttachmentState, opts ...ResourceOption) (*VpcAttachment, error)public static VpcAttachment Get(string name, Input<string> id, VpcAttachmentState? state, CustomResourceOptions? opts = null)public static VpcAttachment get(String name, Output<String> id, VpcAttachmentState state, CustomResourceOptions options)resources: _: type: volcenginecc:transitrouter:VpcAttachment 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.
- Appliance
Mode boolEnabled - Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
- Attach
Points List<Volcengine.Vpc Attachment Attach Point> - Auto
Publish boolRoute Enabled - Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
- Bandwidth int
- Maximum bandwidth for the network instance connection, in Gbps.
- Created
Time string - Creation time.
- Description string
- Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English 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.
- Ipv6Enabled bool
- Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
- Status string
- Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
-
List<Volcengine.
Vpc Attachment Tag> - Transit
Router stringAttachment Id - Network instance connection ID.
- Transit
Router stringAttachment Name - Name of the network instance connection. 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 must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
- Transit
Router stringId - Transit router instance ID.
- Updated
Time string - Update time.
- Vpc
Id string - Private network instance ID.
- Appliance
Mode boolEnabled - Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
- Attach
Points []VpcAttachment Attach Point Args - Auto
Publish boolRoute Enabled - Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
- Bandwidth int
- Maximum bandwidth for the network instance connection, in Gbps.
- Created
Time string - Creation time.
- Description string
- Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English 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.
- Ipv6Enabled bool
- Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
- Status string
- Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
-
[]Vpc
Attachment Tag Args - Transit
Router stringAttachment Id - Network instance connection ID.
- Transit
Router stringAttachment Name - Name of the network instance connection. 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 must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
- Transit
Router stringId - Transit router instance ID.
- Updated
Time string - Update time.
- Vpc
Id string - Private network instance ID.
- appliance
Mode BooleanEnabled - Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
- attach
Points List<VpcAttachment Attach Point> - auto
Publish BooleanRoute Enabled - Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
- bandwidth Integer
- Maximum bandwidth for the network instance connection, in Gbps.
- created
Time String - Creation time.
- description String
- Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English 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.
- ipv6Enabled Boolean
- Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
- status String
- Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
-
List<Vpc
Attachment Tag> - transit
Router StringAttachment Id - Network instance connection ID.
- transit
Router StringAttachment Name - Name of the network instance connection. 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 must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
- transit
Router StringId - Transit router instance ID.
- updated
Time String - Update time.
- vpc
Id String - Private network instance ID.
- appliance
Mode booleanEnabled - Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
- attach
Points VpcAttachment Attach Point[] - auto
Publish booleanRoute Enabled - Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
- bandwidth number
- Maximum bandwidth for the network instance connection, in Gbps.
- created
Time string - Creation time.
- description string
- Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English 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.
- ipv6Enabled boolean
- Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
- status string
- Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
-
Vpc
Attachment Tag[] - transit
Router stringAttachment Id - Network instance connection ID.
- transit
Router stringAttachment Name - Name of the network instance connection. 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 must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
- transit
Router stringId - Transit router instance ID.
- updated
Time string - Update time.
- vpc
Id string - Private network instance ID.
- appliance_
mode_ boolenabled - Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
- attach_
points Sequence[VpcAttachment Attach Point Args] - auto_
publish_ boolroute_ enabled - Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
- bandwidth int
- Maximum bandwidth for the network instance connection, in Gbps.
- created_
time str - Creation time.
- description str
- Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English 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.
- ipv6_
enabled bool - Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
- status str
- Network instance connection status. Creating: Creating. Deleting: Deleting. Pending: Configuring. Available: Available.
-
Sequence[Vpc
Attachment Tag Args] - transit_
router_ strattachment_ id - Network instance connection ID.
- transit_
router_ strattachment_ name - Name of the network instance connection. 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 must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
- transit_
router_ strid - Transit router instance ID.
- updated_
time str - Update time.
- vpc_
id str - Private network instance ID.
- appliance
Mode BooleanEnabled - Whether to enable path consistency mode. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. When enabled, TR forwarding traffic to this VPC connection will select the same availability zone connection point for both request and return traffic. false: No.
- attach
Points List<Property Map> - auto
Publish BooleanRoute Enabled - Whether to automatically synchronize TR routes to the network instance route table. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. The system will automatically synchronize route entries from the TR route table associated with this network instance connection to the network instance's route table. The system will only synchronize TR routes if this parameter is set to true and there are route entries in the associated TR route table. false (default): No.
- bandwidth Number
- Maximum bandwidth for the network instance connection, in Gbps.
- created
Time String - Creation time.
- description String
- Description of the network instance connection. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English 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.
- ipv6Enabled Boolean
- Whether to enable IPv6. Enter the following enumerated values exactly as shown; do not use other values. true: Yes. false: No.
- status String
- Network instance connection status. 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. 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 must be between 1 and 128 characters. If this parameter is not provided or no value is specified, the default is the network instance connection ID.
- transit
Router StringId - Transit router instance ID.
- updated
Time String - Update time.
- vpc
Id String - Private network instance ID.
Supporting Types
VpcAttachmentAttachPoint, VpcAttachmentAttachPointArgs
VpcAttachmentTag, VpcAttachmentTagArgs
Import
$ pulumi import volcenginecc:transitrouter/vpcAttachment:VpcAttachment example "transit_router_id|transit_router_attachment_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
volcengineccTerraform Provider.
published on Thursday, Apr 23, 2026 by Volcengine
