1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. transitrouter
  6. getDirectConnectGatewayAttachment
Viewing docs for volcenginecc v0.0.43
published on Monday, Jun 15, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.43
published on Monday, Jun 15, 2026 by Volcengine

    Data Source schema for Volcengine::TransitRouter::DirectConnectGatewayAttachment

    Using getDirectConnectGatewayAttachment

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getDirectConnectGatewayAttachment(args: GetDirectConnectGatewayAttachmentArgs, opts?: InvokeOptions): Promise<GetDirectConnectGatewayAttachmentResult>
    function getDirectConnectGatewayAttachmentOutput(args: GetDirectConnectGatewayAttachmentOutputArgs, opts?: InvokeOptions): Output<GetDirectConnectGatewayAttachmentResult>
    def get_direct_connect_gateway_attachment(id: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetDirectConnectGatewayAttachmentResult
    def get_direct_connect_gateway_attachment_output(id: pulumi.Input[Optional[str]] = None,
                                              opts: Optional[InvokeOptions] = None) -> Output[GetDirectConnectGatewayAttachmentResult]
    func LookupDirectConnectGatewayAttachment(ctx *Context, args *LookupDirectConnectGatewayAttachmentArgs, opts ...InvokeOption) (*LookupDirectConnectGatewayAttachmentResult, error)
    func LookupDirectConnectGatewayAttachmentOutput(ctx *Context, args *LookupDirectConnectGatewayAttachmentOutputArgs, opts ...InvokeOption) LookupDirectConnectGatewayAttachmentResultOutput

    > Note: This function is named LookupDirectConnectGatewayAttachment in the Go SDK.

    public static class GetDirectConnectGatewayAttachment 
    {
        public static Task<GetDirectConnectGatewayAttachmentResult> InvokeAsync(GetDirectConnectGatewayAttachmentArgs args, InvokeOptions? opts = null)
        public static Output<GetDirectConnectGatewayAttachmentResult> Invoke(GetDirectConnectGatewayAttachmentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDirectConnectGatewayAttachmentResult> getDirectConnectGatewayAttachment(GetDirectConnectGatewayAttachmentArgs args, InvokeOptions options)
    public static Output<GetDirectConnectGatewayAttachmentResult> getDirectConnectGatewayAttachment(GetDirectConnectGatewayAttachmentArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcenginecc:transitrouter/getDirectConnectGatewayAttachment:getDirectConnectGatewayAttachment
      arguments:
        # arguments dictionary
    data "volcenginecc_transitrouter_getdirectconnectgatewayattachment" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    Uniquely identifies the resource.
    Id string
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id str
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.

    getDirectConnectGatewayAttachment Result

    The following output properties are available:

    AccountId string
    Account ID to which the network instance connection belongs
    AutoPublishRouteEnabled bool
    Whether to automatically synchronize TR routes to the network instance route table
    Bandwidth int
    Maximum bandwidth of the network instance connection, in Gbps
    CreationTime 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
    DirectConnectGatewayId string
    Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID
    Id string
    Uniquely identifies the 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
    Tags List<Volcengine.GetDirectConnectGatewayAttachmentTag>
    Tag information of the network instance connection
    TransitRouterAttachmentId string
    Network instance connection ID
    TransitRouterAttachmentName string
    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
    TransitRouterId string
    Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID
    UpdateTime string
    Most recent operation time of the network instance connection
    AccountId string
    Account ID to which the network instance connection belongs
    AutoPublishRouteEnabled bool
    Whether to automatically synchronize TR routes to the network instance route table
    Bandwidth int
    Maximum bandwidth of the network instance connection, in Gbps
    CreationTime 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
    DirectConnectGatewayId string
    Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID
    Id string
    Uniquely identifies the 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
    Tags []GetDirectConnectGatewayAttachmentTag
    Tag information of the network instance connection
    TransitRouterAttachmentId string
    Network instance connection ID
    TransitRouterAttachmentName string
    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
    TransitRouterId string
    Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID
    UpdateTime string
    Most recent operation time of the network instance connection
    account_id string
    Account ID to which the network instance connection belongs
    auto_publish_route_enabled bool
    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_gateway_id string
    Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID
    id string
    Uniquely identifies the 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
    tags list(object)
    Tag information of the network instance connection
    transit_router_attachment_id string
    Network instance connection ID
    transit_router_attachment_name string
    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_id string
    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
    accountId String
    Account ID to which the network instance connection belongs
    autoPublishRouteEnabled Boolean
    Whether to automatically synchronize TR routes to the network instance route table
    bandwidth Integer
    Maximum bandwidth of the network instance connection, in Gbps
    creationTime 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
    directConnectGatewayId String
    Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID
    id String
    Uniquely identifies the 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
    tags List<GetDirectConnectGatewayAttachmentTag>
    Tag information of the network instance connection
    transitRouterAttachmentId String
    Network instance connection ID
    transitRouterAttachmentName String
    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
    transitRouterId String
    Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID
    updateTime String
    Most recent operation time of the network instance connection
    accountId string
    Account ID to which the network instance connection belongs
    autoPublishRouteEnabled boolean
    Whether to automatically synchronize TR routes to the network instance route table
    bandwidth number
    Maximum bandwidth of the network instance connection, in Gbps
    creationTime 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
    directConnectGatewayId string
    Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID
    id string
    Uniquely identifies the 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
    tags GetDirectConnectGatewayAttachmentTag[]
    Tag information of the network instance connection
    transitRouterAttachmentId string
    Network instance connection ID
    transitRouterAttachmentName string
    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
    transitRouterId string
    Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID
    updateTime string
    Most recent operation time of the network instance connection
    account_id str
    Account ID to which the network instance connection belongs
    auto_publish_route_enabled bool
    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_gateway_id str
    Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID
    id str
    Uniquely identifies the 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
    tags Sequence[GetDirectConnectGatewayAttachmentTag]
    Tag information of the network instance connection
    transit_router_attachment_id str
    Network instance connection ID
    transit_router_attachment_name str
    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_id str
    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
    accountId String
    Account ID to which the network instance connection belongs
    autoPublishRouteEnabled Boolean
    Whether to automatically synchronize TR routes to the network instance route table
    bandwidth Number
    Maximum bandwidth of the network instance connection, in Gbps
    creationTime 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
    directConnectGatewayId String
    Direct connect gateway ID. You can call the DescribeDirectConnectGateways API to obtain the direct connect gateway ID
    id String
    Uniquely identifies the 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
    tags List<Property Map>
    Tag information of the network instance connection
    transitRouterAttachmentId String
    Network instance connection ID
    transitRouterAttachmentName String
    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
    transitRouterId String
    Transit router instance ID. You can call the DescribeTransitRouters API to obtain the transit router instance ID
    updateTime String
    Most recent operation time of the network instance connection

    Supporting Types

    GetDirectConnectGatewayAttachmentTag

    Key string
    Tag key
    Value string
    Tag value
    Key string
    Tag key
    Value string
    Tag value
    key string
    Tag key
    value string
    Tag value
    key String
    Tag key
    value String
    Tag value
    key string
    Tag key
    value string
    Tag value
    key str
    Tag key
    value str
    Tag value
    key String
    Tag key
    value String
    Tag value

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.43
    published on Monday, Jun 15, 2026 by Volcengine

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial