published on Monday, Jun 15, 2026 by Volcengine
published on Monday, Jun 15, 2026 by Volcengine
Direct connect gateway type network instance connection resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const directConnectGatewayAttachmentDemo = new volcenginecc.transitrouter.DirectConnectGatewayAttachment("DirectConnectGatewayAttachmentDemo", {
directConnectGatewayId: "dcg-1714vlpplhxc1f*****",
transitRouterAttachmentName: "test",
transitRouterId: "tr-2d69n1k0brncw58ozfdh6y6xq***",
description: "test",
tags: [{
key: "env",
value: "test",
}],
});
import pulumi
import pulumi_volcenginecc as volcenginecc
direct_connect_gateway_attachment_demo = volcenginecc.transitrouter.DirectConnectGatewayAttachment("DirectConnectGatewayAttachmentDemo",
direct_connect_gateway_id="dcg-1714vlpplhxc1f*****",
transit_router_attachment_name="test",
transit_router_id="tr-2d69n1k0brncw58ozfdh6y6xq***",
description="test",
tags=[{
"key": "env",
"value": "test",
}])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/transitrouter"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := transitrouter.NewDirectConnectGatewayAttachment(ctx, "DirectConnectGatewayAttachmentDemo", &transitrouter.DirectConnectGatewayAttachmentArgs{
DirectConnectGatewayId: pulumi.String("dcg-1714vlpplhxc1f*****"),
TransitRouterAttachmentName: pulumi.String("test"),
TransitRouterId: pulumi.String("tr-2d69n1k0brncw58ozfdh6y6xq***"),
Description: pulumi.String("test"),
Tags: transitrouter.DirectConnectGatewayAttachmentTagArray{
&transitrouter.DirectConnectGatewayAttachmentTagArgs{
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 Volcenginecc = Volcengine.Pulumi.Volcenginecc;
return await Deployment.RunAsync(() =>
{
var directConnectGatewayAttachmentDemo = new Volcenginecc.Transitrouter.DirectConnectGatewayAttachment("DirectConnectGatewayAttachmentDemo", new()
{
DirectConnectGatewayId = "dcg-1714vlpplhxc1f*****",
TransitRouterAttachmentName = "test",
TransitRouterId = "tr-2d69n1k0brncw58ozfdh6y6xq***",
Description = "test",
Tags = new[]
{
new Volcenginecc.Transitrouter.Inputs.DirectConnectGatewayAttachmentTagArgs
{
Key = "env",
Value = "test",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.transitrouter.DirectConnectGatewayAttachment;
import com.volcengine.volcenginecc.transitrouter.DirectConnectGatewayAttachmentArgs;
import com.pulumi.volcenginecc.transitrouter.inputs.DirectConnectGatewayAttachmentTagArgs;
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 directConnectGatewayAttachmentDemo = new DirectConnectGatewayAttachment("directConnectGatewayAttachmentDemo", DirectConnectGatewayAttachmentArgs.builder()
.directConnectGatewayId("dcg-1714vlpplhxc1f*****")
.transitRouterAttachmentName("test")
.transitRouterId("tr-2d69n1k0brncw58ozfdh6y6xq***")
.description("test")
.tags(DirectConnectGatewayAttachmentTagArgs.builder()
.key("env")
.value("test")
.build())
.build());
}
}
resources:
directConnectGatewayAttachmentDemo:
type: volcenginecc:transitrouter:DirectConnectGatewayAttachment
name: DirectConnectGatewayAttachmentDemo
properties:
directConnectGatewayId: dcg-1714vlpplhxc1f*****
transitRouterAttachmentName: test
transitRouterId: tr-2d69n1k0brncw58ozfdh6y6xq***
description: test
tags:
- key: env
value: test
Example coming soon!
Create DirectConnectGatewayAttachment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DirectConnectGatewayAttachment(name: string, args: DirectConnectGatewayAttachmentArgs, opts?: CustomResourceOptions);@overload
def DirectConnectGatewayAttachment(resource_name: str,
args: DirectConnectGatewayAttachmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DirectConnectGatewayAttachment(resource_name: str,
opts: Optional[ResourceOptions] = None,
direct_connect_gateway_id: Optional[str] = None,
transit_router_id: Optional[str] = None,
description: Optional[str] = None,
tags: Optional[Sequence[DirectConnectGatewayAttachmentTagArgs]] = None,
transit_router_attachment_name: Optional[str] = None)func NewDirectConnectGatewayAttachment(ctx *Context, name string, args DirectConnectGatewayAttachmentArgs, opts ...ResourceOption) (*DirectConnectGatewayAttachment, error)public DirectConnectGatewayAttachment(string name, DirectConnectGatewayAttachmentArgs args, CustomResourceOptions? opts = null)
public DirectConnectGatewayAttachment(String name, DirectConnectGatewayAttachmentArgs args)
public DirectConnectGatewayAttachment(String name, DirectConnectGatewayAttachmentArgs args, CustomResourceOptions options)
type: volcenginecc:transitrouter:DirectConnectGatewayAttachment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "volcenginecc_transitrouter_directconnectgatewayattachment" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args DirectConnectGatewayAttachmentArgs
- 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 DirectConnectGatewayAttachmentArgs
- 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 DirectConnectGatewayAttachmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DirectConnectGatewayAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DirectConnectGatewayAttachmentArgs
- 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 directConnectGatewayAttachmentResource = new Volcenginecc.Transitrouter.DirectConnectGatewayAttachment("directConnectGatewayAttachmentResource", new()
{
DirectConnectGatewayId = "string",
TransitRouterId = "string",
Description = "string",
Tags = new[]
{
new Volcenginecc.Transitrouter.Inputs.DirectConnectGatewayAttachmentTagArgs
{
Key = "string",
Value = "string",
},
},
TransitRouterAttachmentName = "string",
});
example, err := transitrouter.NewDirectConnectGatewayAttachment(ctx, "directConnectGatewayAttachmentResource", &transitrouter.DirectConnectGatewayAttachmentArgs{
DirectConnectGatewayId: pulumi.String("string"),
TransitRouterId: pulumi.String("string"),
Description: pulumi.String("string"),
Tags: transitrouter.DirectConnectGatewayAttachmentTagArray{
&transitrouter.DirectConnectGatewayAttachmentTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
TransitRouterAttachmentName: pulumi.String("string"),
})
resource "volcenginecc_transitrouter_directconnectgatewayattachment" "directConnectGatewayAttachmentResource" {
direct_connect_gateway_id = "string"
transit_router_id = "string"
description = "string"
tags {
key = "string"
value = "string"
}
transit_router_attachment_name = "string"
}
var directConnectGatewayAttachmentResource = new DirectConnectGatewayAttachment("directConnectGatewayAttachmentResource", DirectConnectGatewayAttachmentArgs.builder()
.directConnectGatewayId("string")
.transitRouterId("string")
.description("string")
.tags(DirectConnectGatewayAttachmentTagArgs.builder()
.key("string")
.value("string")
.build())
.transitRouterAttachmentName("string")
.build());
direct_connect_gateway_attachment_resource = volcenginecc.transitrouter.DirectConnectGatewayAttachment("directConnectGatewayAttachmentResource",
direct_connect_gateway_id="string",
transit_router_id="string",
description="string",
tags=[{
"key": "string",
"value": "string",
}],
transit_router_attachment_name="string")
const directConnectGatewayAttachmentResource = new volcenginecc.transitrouter.DirectConnectGatewayAttachment("directConnectGatewayAttachmentResource", {
directConnectGatewayId: "string",
transitRouterId: "string",
description: "string",
tags: [{
key: "string",
value: "string",
}],
transitRouterAttachmentName: "string",
});
type: volcenginecc:transitrouter:DirectConnectGatewayAttachment
properties:
description: string
directConnectGatewayId: string
tags:
- key: string
value: string
transitRouterAttachmentName: string
transitRouterId: string
DirectConnectGatewayAttachment 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 DirectConnectGatewayAttachment resource accepts the following input properties:
- Direct
Connect stringGateway Id - Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID
- Transit
Router stringId - Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID
- 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: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length can be 0–255 characters. If this parameter is not provided or no value is passed, the default is an empty string
-
List<Volcengine.
Direct Connect Gateway 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 can be 1–128 characters. If this parameter is not provided or no value is passed, the default is the network instance connection ID
- Direct
Connect stringGateway Id - Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID
- Transit
Router stringId - Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID
- 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: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length can be 0–255 characters. If this parameter is not provided or no value is passed, the default is an empty string
-
[]Direct
Connect Gateway 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 can be 1–128 characters. If this parameter is not provided or no value is passed, the default is the network instance connection ID
- direct_
connect_ stringgateway_ id - Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID
- transit_
router_ stringid - Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID
- 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: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length can be 0–255 characters. If this parameter is not provided or no value is passed, the default is an empty string
- list(object)
- 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 can be 1–128 characters. If this parameter is not provided or no value is passed, the default is the network instance connection ID
- direct
Connect StringGateway Id - Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID
- transit
Router StringId - Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID
- 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: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length can be 0–255 characters. If this parameter is not provided or no value is passed, the default is an empty string
-
List<Direct
Connect Gateway 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 can be 1–128 characters. If this parameter is not provided or no value is passed, the default is the network instance connection ID
- direct
Connect stringGateway Id - Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID
- transit
Router stringId - Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID
- 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: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length can be 0–255 characters. If this parameter is not provided or no value is passed, the default is an empty string
-
Direct
Connect Gateway 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 can be 1–128 characters. If this parameter is not provided or no value is passed, the default is the network instance connection ID
- direct_
connect_ strgateway_ id - Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID
- transit_
router_ strid - Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID
- 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: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length can be 0–255 characters. If this parameter is not provided or no value is passed, the default is an empty string
-
Sequence[Direct
Connect Gateway 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 can be 1–128 characters. If this parameter is not provided or no value is passed, the default is the network instance connection ID
- direct
Connect StringGateway Id - Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID
- transit
Router StringId - Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID
- 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: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length can be 0–255 characters. If this parameter is not provided or no value is passed, the default is an empty string
- 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 can be 1–128 characters. If this parameter is not provided or no value is passed, the default is the network instance connection ID
Outputs
All input properties are implicitly available as output properties. Additionally, the DirectConnectGatewayAttachment resource produces the following output properties:
- Account
Id string - Account ID to which the network instance connection belongs
- Auto
Publish boolRoute Enabled - Whether to automatically synchronize TR routes to the network instance route table
- Bandwidth int
- Maximum bandwidth of the network instance connection, in Gbps
- Creation
Time string - Creation time of the network instance connection
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv6Enabled bool
- Whether to enable IPv6
- Status string
- Status of the network instance connection. Creating means being created, Deleting means being deleted, Pending means being configured, Available means available
- Transit
Router stringAttachment Id - Network instance connection ID
- Update
Time string - Most recent operation time of the network instance connection
- Account
Id string - Account ID to which the network instance connection belongs
- Auto
Publish boolRoute Enabled - Whether to automatically synchronize TR routes to the network instance route table
- Bandwidth int
- Maximum bandwidth of the network instance connection, in Gbps
- Creation
Time string - Creation time of the network instance connection
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv6Enabled bool
- Whether to enable IPv6
- Status string
- Status of the network instance connection. Creating means being created, Deleting means being deleted, Pending means being configured, Available means available
- Transit
Router stringAttachment Id - Network instance connection ID
- Update
Time string - Most recent operation time of the network instance connection
- account_
id string - Account ID to which the network instance connection belongs
- auto_
publish_ boolroute_ enabled - Whether to automatically synchronize TR routes to the network instance route table
- bandwidth number
- Maximum bandwidth of the network instance connection, in Gbps
- creation_
time string - Creation time of the network instance connection
- id string
- The provider-assigned unique ID for this managed resource.
- ipv6_
enabled bool - Whether to enable IPv6
- status string
- Status of the network instance connection. Creating means being created, Deleting means being deleted, Pending means being configured, Available means available
- transit_
router_ stringattachment_ id - Network instance connection ID
- update_
time string - Most recent operation time of the network instance connection
- account
Id String - Account ID to which the network instance connection belongs
- auto
Publish BooleanRoute Enabled - Whether to automatically synchronize TR routes to the network instance route table
- bandwidth Integer
- Maximum bandwidth of the network instance connection, in Gbps
- creation
Time String - Creation time of the network instance connection
- id String
- The provider-assigned unique ID for this managed resource.
- ipv6Enabled Boolean
- Whether to enable IPv6
- status String
- Status of the network instance connection. Creating means being created, Deleting means being deleted, Pending means being configured, Available means available
- transit
Router StringAttachment Id - Network instance connection ID
- update
Time String - Most recent operation time of the network instance connection
- account
Id string - Account ID to which the network instance connection belongs
- auto
Publish booleanRoute Enabled - Whether to automatically synchronize TR routes to the network instance route table
- bandwidth number
- Maximum bandwidth of the network instance connection, in Gbps
- creation
Time string - Creation time of the network instance connection
- id string
- The provider-assigned unique ID for this managed resource.
- ipv6Enabled boolean
- Whether to enable IPv6
- status string
- Status of the network instance connection. Creating means being created, Deleting means being deleted, Pending means being configured, Available means available
- transit
Router stringAttachment Id - Network instance connection ID
- update
Time string - Most recent operation time of the network instance connection
- account_
id str - Account ID to which the network instance connection belongs
- auto_
publish_ boolroute_ enabled - Whether to automatically synchronize TR routes to the network instance route table
- bandwidth int
- Maximum bandwidth of the network instance connection, in Gbps
- creation_
time str - Creation time of the network instance connection
- id str
- The provider-assigned unique ID for this managed resource.
- ipv6_
enabled bool - Whether to enable IPv6
- status str
- Status of the network instance connection. Creating means being created, Deleting means being deleted, Pending means being configured, Available means available
- transit_
router_ strattachment_ id - Network instance connection ID
- update_
time str - Most recent operation time of the network instance connection
- account
Id String - Account ID to which the network instance connection belongs
- auto
Publish BooleanRoute Enabled - Whether to automatically synchronize TR routes to the network instance route table
- bandwidth Number
- Maximum bandwidth of the network instance connection, in Gbps
- creation
Time String - Creation time of the network instance connection
- id String
- The provider-assigned unique ID for this managed resource.
- ipv6Enabled Boolean
- Whether to enable IPv6
- status String
- Status of the network instance connection. Creating means being created, Deleting means being deleted, Pending means being configured, Available means available
- transit
Router StringAttachment Id - Network instance connection ID
- update
Time String - Most recent operation time of the network instance connection
Look up Existing DirectConnectGatewayAttachment Resource
Get an existing DirectConnectGatewayAttachment 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?: DirectConnectGatewayAttachmentState, opts?: CustomResourceOptions): DirectConnectGatewayAttachment@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
auto_publish_route_enabled: Optional[bool] = None,
bandwidth: Optional[int] = None,
creation_time: Optional[str] = None,
description: Optional[str] = None,
direct_connect_gateway_id: Optional[str] = None,
ipv6_enabled: Optional[bool] = None,
status: Optional[str] = None,
tags: Optional[Sequence[DirectConnectGatewayAttachmentTagArgs]] = None,
transit_router_attachment_id: Optional[str] = None,
transit_router_attachment_name: Optional[str] = None,
transit_router_id: Optional[str] = None,
update_time: Optional[str] = None) -> DirectConnectGatewayAttachmentfunc GetDirectConnectGatewayAttachment(ctx *Context, name string, id IDInput, state *DirectConnectGatewayAttachmentState, opts ...ResourceOption) (*DirectConnectGatewayAttachment, error)public static DirectConnectGatewayAttachment Get(string name, Input<string> id, DirectConnectGatewayAttachmentState? state, CustomResourceOptions? opts = null)public static DirectConnectGatewayAttachment get(String name, Output<String> id, DirectConnectGatewayAttachmentState state, CustomResourceOptions options)resources: _: type: volcenginecc:transitrouter:DirectConnectGatewayAttachment get: id: ${id}import {
to = volcenginecc_transitrouter_directconnectgatewayattachment.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - Account ID to which the network instance connection belongs
- Auto
Publish boolRoute Enabled - Whether to automatically synchronize TR routes to the network instance route table
- Bandwidth int
- Maximum bandwidth of the network instance connection, in Gbps
- Creation
Time string - Creation time of the network instance connection
- 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: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length can be 0–255 characters. If this parameter is not provided or no value is passed, the default is an empty string
- Direct
Connect stringGateway Id - Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID
- Ipv6Enabled bool
- Whether to enable IPv6
- Status string
- Status of the network instance connection. Creating means being created, Deleting means being deleted, Pending means being configured, Available means available
-
List<Volcengine.
Direct Connect Gateway 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 can be 1–128 characters. If this parameter is not provided or no value is passed, the default is the network instance connection ID
- Transit
Router stringId - Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID
- Update
Time string - Most recent operation time of the network instance connection
- Account
Id string - Account ID to which the network instance connection belongs
- Auto
Publish boolRoute Enabled - Whether to automatically synchronize TR routes to the network instance route table
- Bandwidth int
- Maximum bandwidth of the network instance connection, in Gbps
- Creation
Time string - Creation time of the network instance connection
- 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: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length can be 0–255 characters. If this parameter is not provided or no value is passed, the default is an empty string
- Direct
Connect stringGateway Id - Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID
- Ipv6Enabled bool
- Whether to enable IPv6
- Status string
- Status of the network instance connection. Creating means being created, Deleting means being deleted, Pending means being configured, Available means available
-
[]Direct
Connect Gateway 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 can be 1–128 characters. If this parameter is not provided or no value is passed, the default is the network instance connection ID
- Transit
Router stringId - Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID
- Update
Time string - Most recent operation time of the network instance connection
- account_
id string - Account ID to which the network instance connection belongs
- auto_
publish_ boolroute_ enabled - Whether to automatically synchronize TR routes to the network instance route table
- bandwidth number
- Maximum bandwidth of the network instance connection, in Gbps
- creation_
time string - Creation time of the network instance connection
- 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: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length can be 0–255 characters. If this parameter is not provided or no value is passed, the default is an empty string
- direct_
connect_ stringgateway_ id - Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID
- ipv6_
enabled bool - Whether to enable IPv6
- status string
- Status of the network instance connection. Creating means being created, Deleting means being deleted, Pending means being configured, Available means available
- list(object)
- 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 can be 1–128 characters. If this parameter is not provided or no value is passed, the default is the network instance connection ID
- transit_
router_ stringid - Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID
- update_
time string - Most recent operation time of the network instance connection
- account
Id String - Account ID to which the network instance connection belongs
- auto
Publish BooleanRoute Enabled - Whether to automatically synchronize TR routes to the network instance route table
- bandwidth Integer
- Maximum bandwidth of the network instance connection, in Gbps
- creation
Time String - Creation time of the network instance connection
- 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: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length can be 0–255 characters. If this parameter is not provided or no value is passed, the default is an empty string
- direct
Connect StringGateway Id - Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID
- ipv6Enabled Boolean
- Whether to enable IPv6
- status String
- Status of the network instance connection. Creating means being created, Deleting means being deleted, Pending means being configured, Available means available
-
List<Direct
Connect Gateway 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 can be 1–128 characters. If this parameter is not provided or no value is passed, the default is the network instance connection ID
- transit
Router StringId - Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID
- update
Time String - Most recent operation time of the network instance connection
- account
Id string - Account ID to which the network instance connection belongs
- auto
Publish booleanRoute Enabled - Whether to automatically synchronize TR routes to the network instance route table
- bandwidth number
- Maximum bandwidth of the network instance connection, in Gbps
- creation
Time string - Creation time of the network instance connection
- 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: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length can be 0–255 characters. If this parameter is not provided or no value is passed, the default is an empty string
- direct
Connect stringGateway Id - Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID
- ipv6Enabled boolean
- Whether to enable IPv6
- status string
- Status of the network instance connection. Creating means being created, Deleting means being deleted, Pending means being configured, Available means available
-
Direct
Connect Gateway 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 can be 1–128 characters. If this parameter is not provided or no value is passed, the default is the network instance connection ID
- transit
Router stringId - Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID
- update
Time string - Most recent operation time of the network instance connection
- account_
id str - Account ID to which the network instance connection belongs
- auto_
publish_ boolroute_ enabled - Whether to automatically synchronize TR routes to the network instance route table
- bandwidth int
- Maximum bandwidth of the network instance connection, in Gbps
- creation_
time str - Creation time of the network instance connection
- 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: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length can be 0–255 characters. If this parameter is not provided or no value is passed, the default is an empty string
- direct_
connect_ strgateway_ id - Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID
- ipv6_
enabled bool - Whether to enable IPv6
- status str
- Status of the network instance connection. Creating means being created, Deleting means being deleted, Pending means being configured, Available means available
-
Sequence[Direct
Connect Gateway 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 can be 1–128 characters. If this parameter is not provided or no value is passed, the default is the network instance connection ID
- transit_
router_ strid - Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID
- update_
time str - Most recent operation time of the network instance connection
- account
Id String - Account ID to which the network instance connection belongs
- auto
Publish BooleanRoute Enabled - Whether to automatically synchronize TR routes to the network instance route table
- bandwidth Number
- Maximum bandwidth of the network instance connection, in Gbps
- creation
Time String - Creation time of the network instance connection
- 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: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length can be 0–255 characters. If this parameter is not provided or no value is passed, the default is an empty string
- direct
Connect StringGateway Id - Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID
- ipv6Enabled Boolean
- Whether to enable IPv6
- status String
- Status of the network instance connection. Creating means being created, Deleting means being deleted, Pending means being configured, Available means 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 can be 1–128 characters. If this parameter is not provided or no value is passed, the default is the network instance connection ID
- transit
Router StringId - Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID
- update
Time String - Most recent operation time of the network instance connection
Supporting Types
DirectConnectGatewayAttachmentTag, DirectConnectGatewayAttachmentTagArgs
Import
$ pulumi import volcenginecc:transitrouter/directConnectGatewayAttachment:DirectConnectGatewayAttachment 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 Monday, Jun 15, 2026 by Volcengine