1. Packages
  2. Packages
  3. Bytepluscc Provider
  4. API Docs
  5. directconnect
  6. Connection
Viewing docs for bytepluscc v0.0.42
published on Monday, Jul 20, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.42
published on Monday, Jul 20, 2026 by Byteplus

    The physical connection is a dedicated physical connection resource in the dedicated connection service, used to connect the local IDC to the Volcano Engine access point

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
    
    const example = new bytepluscc.directconnect.Connection("Example", {
        bandwidth: 500,
        customerContactEmail: "zhaoliu@example.com",
        customerContactPhone: "136xxxx6000",
        customerName: "赵六",
        description: "其他运营商物理专线",
        directConnectAccessPointId: "ap-cn-beijing-cy-A",
        directConnectConnectionName: "其他运营商专线",
        lineOperator: "ChinaTelecom",
        peerLocation: "深圳市南山区某IDC",
        portSpec: "1G",
        portType: "1000Base",
        projectName: "default",
        tags: [{
            key: "env",
            value: "test",
        }],
    });
    
    import pulumi
    import pulumi_bytepluscc as bytepluscc
    
    example = bytepluscc.directconnect.Connection("Example",
        bandwidth=500,
        customer_contact_email="zhaoliu@example.com",
        customer_contact_phone="136xxxx6000",
        customer_name="赵六",
        description="其他运营商物理专线",
        direct_connect_access_point_id="ap-cn-beijing-cy-A",
        direct_connect_connection_name="其他运营商专线",
        line_operator="ChinaTelecom",
        peer_location="深圳市南山区某IDC",
        port_spec="1G",
        port_type="1000Base",
        project_name="default",
        tags=[{
            "key": "env",
            "value": "test",
        }])
    
    package main
    
    import (
    	"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/directconnect"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := directconnect.NewConnection(ctx, "Example", &directconnect.ConnectionArgs{
    			Bandwidth:                   pulumi.Int(500),
    			CustomerContactEmail:        pulumi.String("zhaoliu@example.com"),
    			CustomerContactPhone:        pulumi.String("136xxxx6000"),
    			CustomerName:                pulumi.String("赵六"),
    			Description:                 pulumi.String("其他运营商物理专线"),
    			DirectConnectAccessPointId:  pulumi.String("ap-cn-beijing-cy-A"),
    			DirectConnectConnectionName: pulumi.String("其他运营商专线"),
    			LineOperator:                pulumi.String("ChinaTelecom"),
    			PeerLocation:                pulumi.String("深圳市南山区某IDC"),
    			PortSpec:                    pulumi.String("1G"),
    			PortType:                    pulumi.String("1000Base"),
    			ProjectName:                 pulumi.String("default"),
    			Tags: directconnect.ConnectionTagArray{
    				&directconnect.ConnectionTagArgs{
    					Key:   pulumi.String("env"),
    					Value: pulumi.String("test"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Bytepluscc = Byteplus.Pulumi.Bytepluscc;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Bytepluscc.Directconnect.Connection("Example", new()
        {
            Bandwidth = 500,
            CustomerContactEmail = "zhaoliu@example.com",
            CustomerContactPhone = "136xxxx6000",
            CustomerName = "赵六",
            Description = "其他运营商物理专线",
            DirectConnectAccessPointId = "ap-cn-beijing-cy-A",
            DirectConnectConnectionName = "其他运营商专线",
            LineOperator = "ChinaTelecom",
            PeerLocation = "深圳市南山区某IDC",
            PortSpec = "1G",
            PortType = "1000Base",
            ProjectName = "default",
            Tags = new[]
            {
                new Bytepluscc.Directconnect.Inputs.ConnectionTagArgs
                {
                    Key = "env",
                    Value = "test",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.byteplus.bytepluscc.directconnect.Connection;
    import com.byteplus.bytepluscc.directconnect.ConnectionArgs;
    import com.pulumi.bytepluscc.directconnect.inputs.ConnectionTagArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 example = new Connection("example", ConnectionArgs.builder()
                .bandwidth(500)
                .customerContactEmail("zhaoliu@example.com")
                .customerContactPhone("136xxxx6000")
                .customerName("赵六")
                .description("其他运营商物理专线")
                .directConnectAccessPointId("ap-cn-beijing-cy-A")
                .directConnectConnectionName("其他运营商专线")
                .lineOperator("ChinaTelecom")
                .peerLocation("深圳市南山区某IDC")
                .portSpec("1G")
                .portType("1000Base")
                .projectName("default")
                .tags(ConnectionTagArgs.builder()
                    .key("env")
                    .value("test")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: bytepluscc:directconnect:Connection
        name: Example
        properties:
          bandwidth: 500
          customerContactEmail: zhaoliu@example.com
          customerContactPhone: 136xxxx6000
          customerName: 赵六
          description: 其他运营商物理专线
          directConnectAccessPointId: ap-cn-beijing-cy-A
          directConnectConnectionName: 其他运营商专线
          lineOperator: ChinaTelecom
          peerLocation: 深圳市南山区某IDC
          portSpec: 1G
          portType: 1000Base
          projectName: default
          tags:
            - key: env
              value: test
    
    pulumi {
      required_providers {
        bytepluscc = {
          source = "pulumi/bytepluscc"
        }
      }
    }
    
    resource "bytepluscc_directconnect_connection" "Example" {
      bandwidth                      = 500
      customer_contact_email         = "zhaoliu@example.com"
      customer_contact_phone         = "136xxxx6000"
      customer_name                  = "赵六"
      description                    = "其他运营商物理专线"
      direct_connect_access_point_id = "ap-cn-beijing-cy-A"
      direct_connect_connection_name = "其他运营商专线"
      line_operator                  = "ChinaTelecom"
      peer_location                  = "深圳市南山区某IDC"
      port_spec                      = "1G"
      port_type                      = "1000Base"
      project_name                   = "default"
      tags {
        key   = "env"
        value = "test"
      }
    }
    

    Create Connection Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Connection(name: string, args: ConnectionArgs, opts?: CustomResourceOptions);
    @overload
    def Connection(resource_name: str,
                   args: ConnectionArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def Connection(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   port_spec: Optional[str] = None,
                   customer_contact_email: Optional[str] = None,
                   customer_contact_phone: Optional[str] = None,
                   customer_name: Optional[str] = None,
                   direct_connect_access_point_id: Optional[str] = None,
                   line_operator: Optional[str] = None,
                   peer_location: Optional[str] = None,
                   bandwidth: Optional[int] = None,
                   port_type: Optional[str] = None,
                   description: Optional[str] = None,
                   direct_connect_connection_name: Optional[str] = None,
                   project_name: Optional[str] = None,
                   tags: Optional[Sequence[ConnectionTagArgs]] = None)
    func NewConnection(ctx *Context, name string, args ConnectionArgs, opts ...ResourceOption) (*Connection, error)
    public Connection(string name, ConnectionArgs args, CustomResourceOptions? opts = null)
    public Connection(String name, ConnectionArgs args)
    public Connection(String name, ConnectionArgs args, CustomResourceOptions options)
    
    type: bytepluscc:directconnect:Connection
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "bytepluscc_directconnect_connection" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ConnectionArgs
    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 ConnectionArgs
    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 ConnectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConnectionArgs
    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 connectionResource = new Bytepluscc.Directconnect.Connection("connectionResource", new()
    {
        PortSpec = "string",
        CustomerContactEmail = "string",
        CustomerContactPhone = "string",
        CustomerName = "string",
        DirectConnectAccessPointId = "string",
        LineOperator = "string",
        PeerLocation = "string",
        Bandwidth = 0,
        PortType = "string",
        Description = "string",
        DirectConnectConnectionName = "string",
        ProjectName = "string",
        Tags = new[]
        {
            new Bytepluscc.Directconnect.Inputs.ConnectionTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
    });
    
    example, err := directconnect.NewConnection(ctx, "connectionResource", &directconnect.ConnectionArgs{
    	PortSpec:                    pulumi.String("string"),
    	CustomerContactEmail:        pulumi.String("string"),
    	CustomerContactPhone:        pulumi.String("string"),
    	CustomerName:                pulumi.String("string"),
    	DirectConnectAccessPointId:  pulumi.String("string"),
    	LineOperator:                pulumi.String("string"),
    	PeerLocation:                pulumi.String("string"),
    	Bandwidth:                   pulumi.Int(0),
    	PortType:                    pulumi.String("string"),
    	Description:                 pulumi.String("string"),
    	DirectConnectConnectionName: pulumi.String("string"),
    	ProjectName:                 pulumi.String("string"),
    	Tags: directconnect.ConnectionTagArray{
    		&directconnect.ConnectionTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    })
    
    resource "bytepluscc_directconnect_connection" "connectionResource" {
      lifecycle {
        create_before_destroy = true
      }
      port_spec                      = "string"
      customer_contact_email         = "string"
      customer_contact_phone         = "string"
      customer_name                  = "string"
      direct_connect_access_point_id = "string"
      line_operator                  = "string"
      peer_location                  = "string"
      bandwidth                      = 0
      port_type                      = "string"
      description                    = "string"
      direct_connect_connection_name = "string"
      project_name                   = "string"
      tags {
        key   = "string"
        value = "string"
      }
    }
    
    var connectionResource = new Connection("connectionResource", ConnectionArgs.builder()
        .portSpec("string")
        .customerContactEmail("string")
        .customerContactPhone("string")
        .customerName("string")
        .directConnectAccessPointId("string")
        .lineOperator("string")
        .peerLocation("string")
        .bandwidth(0)
        .portType("string")
        .description("string")
        .directConnectConnectionName("string")
        .projectName("string")
        .tags(ConnectionTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .build());
    
    connection_resource = bytepluscc.directconnect.Connection("connectionResource",
        port_spec="string",
        customer_contact_email="string",
        customer_contact_phone="string",
        customer_name="string",
        direct_connect_access_point_id="string",
        line_operator="string",
        peer_location="string",
        bandwidth=0,
        port_type="string",
        description="string",
        direct_connect_connection_name="string",
        project_name="string",
        tags=[{
            "key": "string",
            "value": "string",
        }])
    
    const connectionResource = new bytepluscc.directconnect.Connection("connectionResource", {
        portSpec: "string",
        customerContactEmail: "string",
        customerContactPhone: "string",
        customerName: "string",
        directConnectAccessPointId: "string",
        lineOperator: "string",
        peerLocation: "string",
        bandwidth: 0,
        portType: "string",
        description: "string",
        directConnectConnectionName: "string",
        projectName: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    type: bytepluscc:directconnect:Connection
    properties:
        bandwidth: 0
        customerContactEmail: string
        customerContactPhone: string
        customerName: string
        description: string
        directConnectAccessPointId: string
        directConnectConnectionName: string
        lineOperator: string
        peerLocation: string
        portSpec: string
        portType: string
        projectName: string
        tags:
            - key: string
              value: string
    

    Connection 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 Connection resource accepts the following input properties:

    Bandwidth int
    Line bandwidth in Mbps. If not specified, defaults to the port specification bandwidth. 1000Base specification range: 1 ~ 1000; 10GBase specification range: 1 ~ 10000; 40GBase specification range: 1 ~ 40000; 100GBase specification range: 1 ~ 100000
    CustomerContactEmail string
    Email address of the dedicated connection contact
    CustomerContactPhone string
    Phone number of the dedicated connection contact
    CustomerName string
    Name of the dedicated connection contact
    DirectConnectAccessPointId string
    ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
    LineOperator string
    Operator of the physical dedicated line. ChinaTelecom refers to China Telecom, ChinaMobile refers to China Mobile, ChinaUnicom refers to China Unicom, ChinaOther refers to other operators in China with the required telecom business qualifications. Only international operators are allowed in bp environments.
    PeerLocation string
    Local IDC address or the remote access point of the physical dedicated line.
    PortSpec string
    Port specification of the physical dedicated line. Dedicated lines support 1G, 10G, 40G, and 100G. 40G and 100G are not enabled by default; contact your account manager to request a trial.
    PortType string
    Port type of the physical connection. 1000Base: 1G optical port; 10GBase: 10G optical port; 40GBase: 40G optical port; 100GBase: 100G optical port. 40GBase and 100GBase are not open by default; contact your account manager to request a trial
    Description string
    Description of the physical connection. Length limit: 0 ~ 255 characters
    DirectConnectConnectionName string
    Name of the physical connection. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space, underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), Chinese period (。). Length limit: 1 ~ 128 characters
    ProjectName string
    Project to which the physical dedicated line belongs. If left blank, the default project is used.
    Tags List<Byteplus.ConnectionTag>
    All tag information added to the physical connection Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    Bandwidth int
    Line bandwidth in Mbps. If not specified, defaults to the port specification bandwidth. 1000Base specification range: 1 ~ 1000; 10GBase specification range: 1 ~ 10000; 40GBase specification range: 1 ~ 40000; 100GBase specification range: 1 ~ 100000
    CustomerContactEmail string
    Email address of the dedicated connection contact
    CustomerContactPhone string
    Phone number of the dedicated connection contact
    CustomerName string
    Name of the dedicated connection contact
    DirectConnectAccessPointId string
    ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
    LineOperator string
    Operator of the physical dedicated line. ChinaTelecom refers to China Telecom, ChinaMobile refers to China Mobile, ChinaUnicom refers to China Unicom, ChinaOther refers to other operators in China with the required telecom business qualifications. Only international operators are allowed in bp environments.
    PeerLocation string
    Local IDC address or the remote access point of the physical dedicated line.
    PortSpec string
    Port specification of the physical dedicated line. Dedicated lines support 1G, 10G, 40G, and 100G. 40G and 100G are not enabled by default; contact your account manager to request a trial.
    PortType string
    Port type of the physical connection. 1000Base: 1G optical port; 10GBase: 10G optical port; 40GBase: 40G optical port; 100GBase: 100G optical port. 40GBase and 100GBase are not open by default; contact your account manager to request a trial
    Description string
    Description of the physical connection. Length limit: 0 ~ 255 characters
    DirectConnectConnectionName string
    Name of the physical connection. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space, underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), Chinese period (。). Length limit: 1 ~ 128 characters
    ProjectName string
    Project to which the physical dedicated line belongs. If left blank, the default project is used.
    Tags []ConnectionTagArgs
    All tag information added to the physical connection Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    bandwidth number
    Line bandwidth in Mbps. If not specified, defaults to the port specification bandwidth. 1000Base specification range: 1 ~ 1000; 10GBase specification range: 1 ~ 10000; 40GBase specification range: 1 ~ 40000; 100GBase specification range: 1 ~ 100000
    customer_contact_email string
    Email address of the dedicated connection contact
    customer_contact_phone string
    Phone number of the dedicated connection contact
    customer_name string
    Name of the dedicated connection contact
    direct_connect_access_point_id string
    ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
    line_operator string
    Operator of the physical dedicated line. ChinaTelecom refers to China Telecom, ChinaMobile refers to China Mobile, ChinaUnicom refers to China Unicom, ChinaOther refers to other operators in China with the required telecom business qualifications. Only international operators are allowed in bp environments.
    peer_location string
    Local IDC address or the remote access point of the physical dedicated line.
    port_spec string
    Port specification of the physical dedicated line. Dedicated lines support 1G, 10G, 40G, and 100G. 40G and 100G are not enabled by default; contact your account manager to request a trial.
    port_type string
    Port type of the physical connection. 1000Base: 1G optical port; 10GBase: 10G optical port; 40GBase: 40G optical port; 100GBase: 100G optical port. 40GBase and 100GBase are not open by default; contact your account manager to request a trial
    description string
    Description of the physical connection. Length limit: 0 ~ 255 characters
    direct_connect_connection_name string
    Name of the physical connection. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space, underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), Chinese period (。). Length limit: 1 ~ 128 characters
    project_name string
    Project to which the physical dedicated line belongs. If left blank, the default project is used.
    tags list(object)
    All tag information added to the physical connection Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    bandwidth Integer
    Line bandwidth in Mbps. If not specified, defaults to the port specification bandwidth. 1000Base specification range: 1 ~ 1000; 10GBase specification range: 1 ~ 10000; 40GBase specification range: 1 ~ 40000; 100GBase specification range: 1 ~ 100000
    customerContactEmail String
    Email address of the dedicated connection contact
    customerContactPhone String
    Phone number of the dedicated connection contact
    customerName String
    Name of the dedicated connection contact
    directConnectAccessPointId String
    ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
    lineOperator String
    Operator of the physical dedicated line. ChinaTelecom refers to China Telecom, ChinaMobile refers to China Mobile, ChinaUnicom refers to China Unicom, ChinaOther refers to other operators in China with the required telecom business qualifications. Only international operators are allowed in bp environments.
    peerLocation String
    Local IDC address or the remote access point of the physical dedicated line.
    portSpec String
    Port specification of the physical dedicated line. Dedicated lines support 1G, 10G, 40G, and 100G. 40G and 100G are not enabled by default; contact your account manager to request a trial.
    portType String
    Port type of the physical connection. 1000Base: 1G optical port; 10GBase: 10G optical port; 40GBase: 40G optical port; 100GBase: 100G optical port. 40GBase and 100GBase are not open by default; contact your account manager to request a trial
    description String
    Description of the physical connection. Length limit: 0 ~ 255 characters
    directConnectConnectionName String
    Name of the physical connection. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space, underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), Chinese period (。). Length limit: 1 ~ 128 characters
    projectName String
    Project to which the physical dedicated line belongs. If left blank, the default project is used.
    tags List<ConnectionTag>
    All tag information added to the physical connection Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    bandwidth number
    Line bandwidth in Mbps. If not specified, defaults to the port specification bandwidth. 1000Base specification range: 1 ~ 1000; 10GBase specification range: 1 ~ 10000; 40GBase specification range: 1 ~ 40000; 100GBase specification range: 1 ~ 100000
    customerContactEmail string
    Email address of the dedicated connection contact
    customerContactPhone string
    Phone number of the dedicated connection contact
    customerName string
    Name of the dedicated connection contact
    directConnectAccessPointId string
    ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
    lineOperator string
    Operator of the physical dedicated line. ChinaTelecom refers to China Telecom, ChinaMobile refers to China Mobile, ChinaUnicom refers to China Unicom, ChinaOther refers to other operators in China with the required telecom business qualifications. Only international operators are allowed in bp environments.
    peerLocation string
    Local IDC address or the remote access point of the physical dedicated line.
    portSpec string
    Port specification of the physical dedicated line. Dedicated lines support 1G, 10G, 40G, and 100G. 40G and 100G are not enabled by default; contact your account manager to request a trial.
    portType string
    Port type of the physical connection. 1000Base: 1G optical port; 10GBase: 10G optical port; 40GBase: 40G optical port; 100GBase: 100G optical port. 40GBase and 100GBase are not open by default; contact your account manager to request a trial
    description string
    Description of the physical connection. Length limit: 0 ~ 255 characters
    directConnectConnectionName string
    Name of the physical connection. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space, underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), Chinese period (。). Length limit: 1 ~ 128 characters
    projectName string
    Project to which the physical dedicated line belongs. If left blank, the default project is used.
    tags ConnectionTag[]
    All tag information added to the physical connection Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    bandwidth int
    Line bandwidth in Mbps. If not specified, defaults to the port specification bandwidth. 1000Base specification range: 1 ~ 1000; 10GBase specification range: 1 ~ 10000; 40GBase specification range: 1 ~ 40000; 100GBase specification range: 1 ~ 100000
    customer_contact_email str
    Email address of the dedicated connection contact
    customer_contact_phone str
    Phone number of the dedicated connection contact
    customer_name str
    Name of the dedicated connection contact
    direct_connect_access_point_id str
    ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
    line_operator str
    Operator of the physical dedicated line. ChinaTelecom refers to China Telecom, ChinaMobile refers to China Mobile, ChinaUnicom refers to China Unicom, ChinaOther refers to other operators in China with the required telecom business qualifications. Only international operators are allowed in bp environments.
    peer_location str
    Local IDC address or the remote access point of the physical dedicated line.
    port_spec str
    Port specification of the physical dedicated line. Dedicated lines support 1G, 10G, 40G, and 100G. 40G and 100G are not enabled by default; contact your account manager to request a trial.
    port_type str
    Port type of the physical connection. 1000Base: 1G optical port; 10GBase: 10G optical port; 40GBase: 40G optical port; 100GBase: 100G optical port. 40GBase and 100GBase are not open by default; contact your account manager to request a trial
    description str
    Description of the physical connection. Length limit: 0 ~ 255 characters
    direct_connect_connection_name str
    Name of the physical connection. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space, underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), Chinese period (。). Length limit: 1 ~ 128 characters
    project_name str
    Project to which the physical dedicated line belongs. If left blank, the default project is used.
    tags Sequence[ConnectionTagArgs]
    All tag information added to the physical connection Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    bandwidth Number
    Line bandwidth in Mbps. If not specified, defaults to the port specification bandwidth. 1000Base specification range: 1 ~ 1000; 10GBase specification range: 1 ~ 10000; 40GBase specification range: 1 ~ 40000; 100GBase specification range: 1 ~ 100000
    customerContactEmail String
    Email address of the dedicated connection contact
    customerContactPhone String
    Phone number of the dedicated connection contact
    customerName String
    Name of the dedicated connection contact
    directConnectAccessPointId String
    ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
    lineOperator String
    Operator of the physical dedicated line. ChinaTelecom refers to China Telecom, ChinaMobile refers to China Mobile, ChinaUnicom refers to China Unicom, ChinaOther refers to other operators in China with the required telecom business qualifications. Only international operators are allowed in bp environments.
    peerLocation String
    Local IDC address or the remote access point of the physical dedicated line.
    portSpec String
    Port specification of the physical dedicated line. Dedicated lines support 1G, 10G, 40G, and 100G. 40G and 100G are not enabled by default; contact your account manager to request a trial.
    portType String
    Port type of the physical connection. 1000Base: 1G optical port; 10GBase: 10G optical port; 40GBase: 40G optical port; 100GBase: 100G optical port. 40GBase and 100GBase are not open by default; contact your account manager to request a trial
    description String
    Description of the physical connection. Length limit: 0 ~ 255 characters
    directConnectConnectionName String
    Name of the physical connection. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space, underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), Chinese period (。). Length limit: 1 ~ 128 characters
    projectName String
    Project to which the physical dedicated line belongs. If left blank, the default project is used.
    tags List<Property Map>
    All tag information added to the physical connection Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

    Outputs

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

    AccountId string
    Account ID of the physical connection owner
    BillingType int
    Connection billing type. Currently only 1 is supported, indicating annual/monthly subscription billing
    BusinessStatus string
    Billing status of the connection. Normal: normal; FinancialLocked: locked
    ConnectionType string
    Type of the physical connection. DedicatedConnection: dedicated connection; SharedConnection: shared connection
    CreationTime string
    Time when the physical connection was created
    DeletedTime string
    Expected resource forced reclaim time
    DirectConnectConnectionId string
    ID of the physical dedicated line.
    ExpectBandwidth int
    Expected bandwidth of the physical connection in Mbps
    ExpiredTime string
    Connection expiration time
    Id string
    The provider-assigned unique ID for this managed resource.
    ParentConnectionAccountId string
    Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
    ParentConnectionId string
    ID of the physical dedicated line to which the shared dedicated line belongs. If the physical dedicated line type is dedicated, this parameter returns empty.
    Status string
    Status of the physical connection. Creating: being created; Deleting: being deleted; Pending: being configured; Available: available; Initial: applying; Allocated: under construction; Rejected: application rejected; UnConfirmed: waiting for acceptance; NoPayment: pending payment
    UpdateTime string
    Time when the physical dedicated line was updated.
    VlanId int
    VLAN ID of the shared connection. If the physical connection type is DedicatedConnection, returns 0
    AccountId string
    Account ID of the physical connection owner
    BillingType int
    Connection billing type. Currently only 1 is supported, indicating annual/monthly subscription billing
    BusinessStatus string
    Billing status of the connection. Normal: normal; FinancialLocked: locked
    ConnectionType string
    Type of the physical connection. DedicatedConnection: dedicated connection; SharedConnection: shared connection
    CreationTime string
    Time when the physical connection was created
    DeletedTime string
    Expected resource forced reclaim time
    DirectConnectConnectionId string
    ID of the physical dedicated line.
    ExpectBandwidth int
    Expected bandwidth of the physical connection in Mbps
    ExpiredTime string
    Connection expiration time
    Id string
    The provider-assigned unique ID for this managed resource.
    ParentConnectionAccountId string
    Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
    ParentConnectionId string
    ID of the physical dedicated line to which the shared dedicated line belongs. If the physical dedicated line type is dedicated, this parameter returns empty.
    Status string
    Status of the physical connection. Creating: being created; Deleting: being deleted; Pending: being configured; Available: available; Initial: applying; Allocated: under construction; Rejected: application rejected; UnConfirmed: waiting for acceptance; NoPayment: pending payment
    UpdateTime string
    Time when the physical dedicated line was updated.
    VlanId int
    VLAN ID of the shared connection. If the physical connection type is DedicatedConnection, returns 0
    account_id string
    Account ID of the physical connection owner
    billing_type number
    Connection billing type. Currently only 1 is supported, indicating annual/monthly subscription billing
    business_status string
    Billing status of the connection. Normal: normal; FinancialLocked: locked
    connection_type string
    Type of the physical connection. DedicatedConnection: dedicated connection; SharedConnection: shared connection
    creation_time string
    Time when the physical connection was created
    deleted_time string
    Expected resource forced reclaim time
    direct_connect_connection_id string
    ID of the physical dedicated line.
    expect_bandwidth number
    Expected bandwidth of the physical connection in Mbps
    expired_time string
    Connection expiration time
    id string
    The provider-assigned unique ID for this managed resource.
    parent_connection_account_id string
    Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
    parent_connection_id string
    ID of the physical dedicated line to which the shared dedicated line belongs. If the physical dedicated line type is dedicated, this parameter returns empty.
    status string
    Status of the physical connection. Creating: being created; Deleting: being deleted; Pending: being configured; Available: available; Initial: applying; Allocated: under construction; Rejected: application rejected; UnConfirmed: waiting for acceptance; NoPayment: pending payment
    update_time string
    Time when the physical dedicated line was updated.
    vlan_id number
    VLAN ID of the shared connection. If the physical connection type is DedicatedConnection, returns 0
    accountId String
    Account ID of the physical connection owner
    billingType Integer
    Connection billing type. Currently only 1 is supported, indicating annual/monthly subscription billing
    businessStatus String
    Billing status of the connection. Normal: normal; FinancialLocked: locked
    connectionType String
    Type of the physical connection. DedicatedConnection: dedicated connection; SharedConnection: shared connection
    creationTime String
    Time when the physical connection was created
    deletedTime String
    Expected resource forced reclaim time
    directConnectConnectionId String
    ID of the physical dedicated line.
    expectBandwidth Integer
    Expected bandwidth of the physical connection in Mbps
    expiredTime String
    Connection expiration time
    id String
    The provider-assigned unique ID for this managed resource.
    parentConnectionAccountId String
    Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
    parentConnectionId String
    ID of the physical dedicated line to which the shared dedicated line belongs. If the physical dedicated line type is dedicated, this parameter returns empty.
    status String
    Status of the physical connection. Creating: being created; Deleting: being deleted; Pending: being configured; Available: available; Initial: applying; Allocated: under construction; Rejected: application rejected; UnConfirmed: waiting for acceptance; NoPayment: pending payment
    updateTime String
    Time when the physical dedicated line was updated.
    vlanId Integer
    VLAN ID of the shared connection. If the physical connection type is DedicatedConnection, returns 0
    accountId string
    Account ID of the physical connection owner
    billingType number
    Connection billing type. Currently only 1 is supported, indicating annual/monthly subscription billing
    businessStatus string
    Billing status of the connection. Normal: normal; FinancialLocked: locked
    connectionType string
    Type of the physical connection. DedicatedConnection: dedicated connection; SharedConnection: shared connection
    creationTime string
    Time when the physical connection was created
    deletedTime string
    Expected resource forced reclaim time
    directConnectConnectionId string
    ID of the physical dedicated line.
    expectBandwidth number
    Expected bandwidth of the physical connection in Mbps
    expiredTime string
    Connection expiration time
    id string
    The provider-assigned unique ID for this managed resource.
    parentConnectionAccountId string
    Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
    parentConnectionId string
    ID of the physical dedicated line to which the shared dedicated line belongs. If the physical dedicated line type is dedicated, this parameter returns empty.
    status string
    Status of the physical connection. Creating: being created; Deleting: being deleted; Pending: being configured; Available: available; Initial: applying; Allocated: under construction; Rejected: application rejected; UnConfirmed: waiting for acceptance; NoPayment: pending payment
    updateTime string
    Time when the physical dedicated line was updated.
    vlanId number
    VLAN ID of the shared connection. If the physical connection type is DedicatedConnection, returns 0
    account_id str
    Account ID of the physical connection owner
    billing_type int
    Connection billing type. Currently only 1 is supported, indicating annual/monthly subscription billing
    business_status str
    Billing status of the connection. Normal: normal; FinancialLocked: locked
    connection_type str
    Type of the physical connection. DedicatedConnection: dedicated connection; SharedConnection: shared connection
    creation_time str
    Time when the physical connection was created
    deleted_time str
    Expected resource forced reclaim time
    direct_connect_connection_id str
    ID of the physical dedicated line.
    expect_bandwidth int
    Expected bandwidth of the physical connection in Mbps
    expired_time str
    Connection expiration time
    id str
    The provider-assigned unique ID for this managed resource.
    parent_connection_account_id str
    Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
    parent_connection_id str
    ID of the physical dedicated line to which the shared dedicated line belongs. If the physical dedicated line type is dedicated, this parameter returns empty.
    status str
    Status of the physical connection. Creating: being created; Deleting: being deleted; Pending: being configured; Available: available; Initial: applying; Allocated: under construction; Rejected: application rejected; UnConfirmed: waiting for acceptance; NoPayment: pending payment
    update_time str
    Time when the physical dedicated line was updated.
    vlan_id int
    VLAN ID of the shared connection. If the physical connection type is DedicatedConnection, returns 0
    accountId String
    Account ID of the physical connection owner
    billingType Number
    Connection billing type. Currently only 1 is supported, indicating annual/monthly subscription billing
    businessStatus String
    Billing status of the connection. Normal: normal; FinancialLocked: locked
    connectionType String
    Type of the physical connection. DedicatedConnection: dedicated connection; SharedConnection: shared connection
    creationTime String
    Time when the physical connection was created
    deletedTime String
    Expected resource forced reclaim time
    directConnectConnectionId String
    ID of the physical dedicated line.
    expectBandwidth Number
    Expected bandwidth of the physical connection in Mbps
    expiredTime String
    Connection expiration time
    id String
    The provider-assigned unique ID for this managed resource.
    parentConnectionAccountId String
    Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
    parentConnectionId String
    ID of the physical dedicated line to which the shared dedicated line belongs. If the physical dedicated line type is dedicated, this parameter returns empty.
    status String
    Status of the physical connection. Creating: being created; Deleting: being deleted; Pending: being configured; Available: available; Initial: applying; Allocated: under construction; Rejected: application rejected; UnConfirmed: waiting for acceptance; NoPayment: pending payment
    updateTime String
    Time when the physical dedicated line was updated.
    vlanId Number
    VLAN ID of the shared connection. If the physical connection type is DedicatedConnection, returns 0

    Look up Existing Connection Resource

    Get an existing Connection 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?: ConnectionState, opts?: CustomResourceOptions): Connection
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            bandwidth: Optional[int] = None,
            billing_type: Optional[int] = None,
            business_status: Optional[str] = None,
            connection_type: Optional[str] = None,
            creation_time: Optional[str] = None,
            customer_contact_email: Optional[str] = None,
            customer_contact_phone: Optional[str] = None,
            customer_name: Optional[str] = None,
            deleted_time: Optional[str] = None,
            description: Optional[str] = None,
            direct_connect_access_point_id: Optional[str] = None,
            direct_connect_connection_id: Optional[str] = None,
            direct_connect_connection_name: Optional[str] = None,
            expect_bandwidth: Optional[int] = None,
            expired_time: Optional[str] = None,
            line_operator: Optional[str] = None,
            parent_connection_account_id: Optional[str] = None,
            parent_connection_id: Optional[str] = None,
            peer_location: Optional[str] = None,
            port_spec: Optional[str] = None,
            port_type: Optional[str] = None,
            project_name: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Sequence[ConnectionTagArgs]] = None,
            update_time: Optional[str] = None,
            vlan_id: Optional[int] = None) -> Connection
    func GetConnection(ctx *Context, name string, id IDInput, state *ConnectionState, opts ...ResourceOption) (*Connection, error)
    public static Connection Get(string name, Input<string> id, ConnectionState? state, CustomResourceOptions? opts = null)
    public static Connection get(String name, Output<String> id, ConnectionState state, CustomResourceOptions options)
    resources:  _:    type: bytepluscc:directconnect:Connection    get:      id: ${id}
    import {
      to = bytepluscc_directconnect_connection.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.
    The following state arguments are supported:
    AccountId string
    Account ID of the physical connection owner
    Bandwidth int
    Line bandwidth in Mbps. If not specified, defaults to the port specification bandwidth. 1000Base specification range: 1 ~ 1000; 10GBase specification range: 1 ~ 10000; 40GBase specification range: 1 ~ 40000; 100GBase specification range: 1 ~ 100000
    BillingType int
    Connection billing type. Currently only 1 is supported, indicating annual/monthly subscription billing
    BusinessStatus string
    Billing status of the connection. Normal: normal; FinancialLocked: locked
    ConnectionType string
    Type of the physical connection. DedicatedConnection: dedicated connection; SharedConnection: shared connection
    CreationTime string
    Time when the physical connection was created
    CustomerContactEmail string
    Email address of the dedicated connection contact
    CustomerContactPhone string
    Phone number of the dedicated connection contact
    CustomerName string
    Name of the dedicated connection contact
    DeletedTime string
    Expected resource forced reclaim time
    Description string
    Description of the physical connection. Length limit: 0 ~ 255 characters
    DirectConnectAccessPointId string
    ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
    DirectConnectConnectionId string
    ID of the physical dedicated line.
    DirectConnectConnectionName string
    Name of the physical connection. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space, underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), Chinese period (。). Length limit: 1 ~ 128 characters
    ExpectBandwidth int
    Expected bandwidth of the physical connection in Mbps
    ExpiredTime string
    Connection expiration time
    LineOperator string
    Operator of the physical dedicated line. ChinaTelecom refers to China Telecom, ChinaMobile refers to China Mobile, ChinaUnicom refers to China Unicom, ChinaOther refers to other operators in China with the required telecom business qualifications. Only international operators are allowed in bp environments.
    ParentConnectionAccountId string
    Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
    ParentConnectionId string
    ID of the physical dedicated line to which the shared dedicated line belongs. If the physical dedicated line type is dedicated, this parameter returns empty.
    PeerLocation string
    Local IDC address or the remote access point of the physical dedicated line.
    PortSpec string
    Port specification of the physical dedicated line. Dedicated lines support 1G, 10G, 40G, and 100G. 40G and 100G are not enabled by default; contact your account manager to request a trial.
    PortType string
    Port type of the physical connection. 1000Base: 1G optical port; 10GBase: 10G optical port; 40GBase: 40G optical port; 100GBase: 100G optical port. 40GBase and 100GBase are not open by default; contact your account manager to request a trial
    ProjectName string
    Project to which the physical dedicated line belongs. If left blank, the default project is used.
    Status string
    Status of the physical connection. Creating: being created; Deleting: being deleted; Pending: being configured; Available: available; Initial: applying; Allocated: under construction; Rejected: application rejected; UnConfirmed: waiting for acceptance; NoPayment: pending payment
    Tags List<Byteplus.ConnectionTag>
    All tag information added to the physical connection Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    UpdateTime string
    Time when the physical dedicated line was updated.
    VlanId int
    VLAN ID of the shared connection. If the physical connection type is DedicatedConnection, returns 0
    AccountId string
    Account ID of the physical connection owner
    Bandwidth int
    Line bandwidth in Mbps. If not specified, defaults to the port specification bandwidth. 1000Base specification range: 1 ~ 1000; 10GBase specification range: 1 ~ 10000; 40GBase specification range: 1 ~ 40000; 100GBase specification range: 1 ~ 100000
    BillingType int
    Connection billing type. Currently only 1 is supported, indicating annual/monthly subscription billing
    BusinessStatus string
    Billing status of the connection. Normal: normal; FinancialLocked: locked
    ConnectionType string
    Type of the physical connection. DedicatedConnection: dedicated connection; SharedConnection: shared connection
    CreationTime string
    Time when the physical connection was created
    CustomerContactEmail string
    Email address of the dedicated connection contact
    CustomerContactPhone string
    Phone number of the dedicated connection contact
    CustomerName string
    Name of the dedicated connection contact
    DeletedTime string
    Expected resource forced reclaim time
    Description string
    Description of the physical connection. Length limit: 0 ~ 255 characters
    DirectConnectAccessPointId string
    ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
    DirectConnectConnectionId string
    ID of the physical dedicated line.
    DirectConnectConnectionName string
    Name of the physical connection. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space, underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), Chinese period (。). Length limit: 1 ~ 128 characters
    ExpectBandwidth int
    Expected bandwidth of the physical connection in Mbps
    ExpiredTime string
    Connection expiration time
    LineOperator string
    Operator of the physical dedicated line. ChinaTelecom refers to China Telecom, ChinaMobile refers to China Mobile, ChinaUnicom refers to China Unicom, ChinaOther refers to other operators in China with the required telecom business qualifications. Only international operators are allowed in bp environments.
    ParentConnectionAccountId string
    Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
    ParentConnectionId string
    ID of the physical dedicated line to which the shared dedicated line belongs. If the physical dedicated line type is dedicated, this parameter returns empty.
    PeerLocation string
    Local IDC address or the remote access point of the physical dedicated line.
    PortSpec string
    Port specification of the physical dedicated line. Dedicated lines support 1G, 10G, 40G, and 100G. 40G and 100G are not enabled by default; contact your account manager to request a trial.
    PortType string
    Port type of the physical connection. 1000Base: 1G optical port; 10GBase: 10G optical port; 40GBase: 40G optical port; 100GBase: 100G optical port. 40GBase and 100GBase are not open by default; contact your account manager to request a trial
    ProjectName string
    Project to which the physical dedicated line belongs. If left blank, the default project is used.
    Status string
    Status of the physical connection. Creating: being created; Deleting: being deleted; Pending: being configured; Available: available; Initial: applying; Allocated: under construction; Rejected: application rejected; UnConfirmed: waiting for acceptance; NoPayment: pending payment
    Tags []ConnectionTagArgs
    All tag information added to the physical connection Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    UpdateTime string
    Time when the physical dedicated line was updated.
    VlanId int
    VLAN ID of the shared connection. If the physical connection type is DedicatedConnection, returns 0
    account_id string
    Account ID of the physical connection owner
    bandwidth number
    Line bandwidth in Mbps. If not specified, defaults to the port specification bandwidth. 1000Base specification range: 1 ~ 1000; 10GBase specification range: 1 ~ 10000; 40GBase specification range: 1 ~ 40000; 100GBase specification range: 1 ~ 100000
    billing_type number
    Connection billing type. Currently only 1 is supported, indicating annual/monthly subscription billing
    business_status string
    Billing status of the connection. Normal: normal; FinancialLocked: locked
    connection_type string
    Type of the physical connection. DedicatedConnection: dedicated connection; SharedConnection: shared connection
    creation_time string
    Time when the physical connection was created
    customer_contact_email string
    Email address of the dedicated connection contact
    customer_contact_phone string
    Phone number of the dedicated connection contact
    customer_name string
    Name of the dedicated connection contact
    deleted_time string
    Expected resource forced reclaim time
    description string
    Description of the physical connection. Length limit: 0 ~ 255 characters
    direct_connect_access_point_id string
    ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
    direct_connect_connection_id string
    ID of the physical dedicated line.
    direct_connect_connection_name string
    Name of the physical connection. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space, underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), Chinese period (。). Length limit: 1 ~ 128 characters
    expect_bandwidth number
    Expected bandwidth of the physical connection in Mbps
    expired_time string
    Connection expiration time
    line_operator string
    Operator of the physical dedicated line. ChinaTelecom refers to China Telecom, ChinaMobile refers to China Mobile, ChinaUnicom refers to China Unicom, ChinaOther refers to other operators in China with the required telecom business qualifications. Only international operators are allowed in bp environments.
    parent_connection_account_id string
    Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
    parent_connection_id string
    ID of the physical dedicated line to which the shared dedicated line belongs. If the physical dedicated line type is dedicated, this parameter returns empty.
    peer_location string
    Local IDC address or the remote access point of the physical dedicated line.
    port_spec string
    Port specification of the physical dedicated line. Dedicated lines support 1G, 10G, 40G, and 100G. 40G and 100G are not enabled by default; contact your account manager to request a trial.
    port_type string
    Port type of the physical connection. 1000Base: 1G optical port; 10GBase: 10G optical port; 40GBase: 40G optical port; 100GBase: 100G optical port. 40GBase and 100GBase are not open by default; contact your account manager to request a trial
    project_name string
    Project to which the physical dedicated line belongs. If left blank, the default project is used.
    status string
    Status of the physical connection. Creating: being created; Deleting: being deleted; Pending: being configured; Available: available; Initial: applying; Allocated: under construction; Rejected: application rejected; UnConfirmed: waiting for acceptance; NoPayment: pending payment
    tags list(object)
    All tag information added to the physical connection Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    update_time string
    Time when the physical dedicated line was updated.
    vlan_id number
    VLAN ID of the shared connection. If the physical connection type is DedicatedConnection, returns 0
    accountId String
    Account ID of the physical connection owner
    bandwidth Integer
    Line bandwidth in Mbps. If not specified, defaults to the port specification bandwidth. 1000Base specification range: 1 ~ 1000; 10GBase specification range: 1 ~ 10000; 40GBase specification range: 1 ~ 40000; 100GBase specification range: 1 ~ 100000
    billingType Integer
    Connection billing type. Currently only 1 is supported, indicating annual/monthly subscription billing
    businessStatus String
    Billing status of the connection. Normal: normal; FinancialLocked: locked
    connectionType String
    Type of the physical connection. DedicatedConnection: dedicated connection; SharedConnection: shared connection
    creationTime String
    Time when the physical connection was created
    customerContactEmail String
    Email address of the dedicated connection contact
    customerContactPhone String
    Phone number of the dedicated connection contact
    customerName String
    Name of the dedicated connection contact
    deletedTime String
    Expected resource forced reclaim time
    description String
    Description of the physical connection. Length limit: 0 ~ 255 characters
    directConnectAccessPointId String
    ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
    directConnectConnectionId String
    ID of the physical dedicated line.
    directConnectConnectionName String
    Name of the physical connection. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space, underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), Chinese period (。). Length limit: 1 ~ 128 characters
    expectBandwidth Integer
    Expected bandwidth of the physical connection in Mbps
    expiredTime String
    Connection expiration time
    lineOperator String
    Operator of the physical dedicated line. ChinaTelecom refers to China Telecom, ChinaMobile refers to China Mobile, ChinaUnicom refers to China Unicom, ChinaOther refers to other operators in China with the required telecom business qualifications. Only international operators are allowed in bp environments.
    parentConnectionAccountId String
    Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
    parentConnectionId String
    ID of the physical dedicated line to which the shared dedicated line belongs. If the physical dedicated line type is dedicated, this parameter returns empty.
    peerLocation String
    Local IDC address or the remote access point of the physical dedicated line.
    portSpec String
    Port specification of the physical dedicated line. Dedicated lines support 1G, 10G, 40G, and 100G. 40G and 100G are not enabled by default; contact your account manager to request a trial.
    portType String
    Port type of the physical connection. 1000Base: 1G optical port; 10GBase: 10G optical port; 40GBase: 40G optical port; 100GBase: 100G optical port. 40GBase and 100GBase are not open by default; contact your account manager to request a trial
    projectName String
    Project to which the physical dedicated line belongs. If left blank, the default project is used.
    status String
    Status of the physical connection. Creating: being created; Deleting: being deleted; Pending: being configured; Available: available; Initial: applying; Allocated: under construction; Rejected: application rejected; UnConfirmed: waiting for acceptance; NoPayment: pending payment
    tags List<ConnectionTag>
    All tag information added to the physical connection Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    updateTime String
    Time when the physical dedicated line was updated.
    vlanId Integer
    VLAN ID of the shared connection. If the physical connection type is DedicatedConnection, returns 0
    accountId string
    Account ID of the physical connection owner
    bandwidth number
    Line bandwidth in Mbps. If not specified, defaults to the port specification bandwidth. 1000Base specification range: 1 ~ 1000; 10GBase specification range: 1 ~ 10000; 40GBase specification range: 1 ~ 40000; 100GBase specification range: 1 ~ 100000
    billingType number
    Connection billing type. Currently only 1 is supported, indicating annual/monthly subscription billing
    businessStatus string
    Billing status of the connection. Normal: normal; FinancialLocked: locked
    connectionType string
    Type of the physical connection. DedicatedConnection: dedicated connection; SharedConnection: shared connection
    creationTime string
    Time when the physical connection was created
    customerContactEmail string
    Email address of the dedicated connection contact
    customerContactPhone string
    Phone number of the dedicated connection contact
    customerName string
    Name of the dedicated connection contact
    deletedTime string
    Expected resource forced reclaim time
    description string
    Description of the physical connection. Length limit: 0 ~ 255 characters
    directConnectAccessPointId string
    ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
    directConnectConnectionId string
    ID of the physical dedicated line.
    directConnectConnectionName string
    Name of the physical connection. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space, underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), Chinese period (。). Length limit: 1 ~ 128 characters
    expectBandwidth number
    Expected bandwidth of the physical connection in Mbps
    expiredTime string
    Connection expiration time
    lineOperator string
    Operator of the physical dedicated line. ChinaTelecom refers to China Telecom, ChinaMobile refers to China Mobile, ChinaUnicom refers to China Unicom, ChinaOther refers to other operators in China with the required telecom business qualifications. Only international operators are allowed in bp environments.
    parentConnectionAccountId string
    Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
    parentConnectionId string
    ID of the physical dedicated line to which the shared dedicated line belongs. If the physical dedicated line type is dedicated, this parameter returns empty.
    peerLocation string
    Local IDC address or the remote access point of the physical dedicated line.
    portSpec string
    Port specification of the physical dedicated line. Dedicated lines support 1G, 10G, 40G, and 100G. 40G and 100G are not enabled by default; contact your account manager to request a trial.
    portType string
    Port type of the physical connection. 1000Base: 1G optical port; 10GBase: 10G optical port; 40GBase: 40G optical port; 100GBase: 100G optical port. 40GBase and 100GBase are not open by default; contact your account manager to request a trial
    projectName string
    Project to which the physical dedicated line belongs. If left blank, the default project is used.
    status string
    Status of the physical connection. Creating: being created; Deleting: being deleted; Pending: being configured; Available: available; Initial: applying; Allocated: under construction; Rejected: application rejected; UnConfirmed: waiting for acceptance; NoPayment: pending payment
    tags ConnectionTag[]
    All tag information added to the physical connection Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    updateTime string
    Time when the physical dedicated line was updated.
    vlanId number
    VLAN ID of the shared connection. If the physical connection type is DedicatedConnection, returns 0
    account_id str
    Account ID of the physical connection owner
    bandwidth int
    Line bandwidth in Mbps. If not specified, defaults to the port specification bandwidth. 1000Base specification range: 1 ~ 1000; 10GBase specification range: 1 ~ 10000; 40GBase specification range: 1 ~ 40000; 100GBase specification range: 1 ~ 100000
    billing_type int
    Connection billing type. Currently only 1 is supported, indicating annual/monthly subscription billing
    business_status str
    Billing status of the connection. Normal: normal; FinancialLocked: locked
    connection_type str
    Type of the physical connection. DedicatedConnection: dedicated connection; SharedConnection: shared connection
    creation_time str
    Time when the physical connection was created
    customer_contact_email str
    Email address of the dedicated connection contact
    customer_contact_phone str
    Phone number of the dedicated connection contact
    customer_name str
    Name of the dedicated connection contact
    deleted_time str
    Expected resource forced reclaim time
    description str
    Description of the physical connection. Length limit: 0 ~ 255 characters
    direct_connect_access_point_id str
    ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
    direct_connect_connection_id str
    ID of the physical dedicated line.
    direct_connect_connection_name str
    Name of the physical connection. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space, underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), Chinese period (。). Length limit: 1 ~ 128 characters
    expect_bandwidth int
    Expected bandwidth of the physical connection in Mbps
    expired_time str
    Connection expiration time
    line_operator str
    Operator of the physical dedicated line. ChinaTelecom refers to China Telecom, ChinaMobile refers to China Mobile, ChinaUnicom refers to China Unicom, ChinaOther refers to other operators in China with the required telecom business qualifications. Only international operators are allowed in bp environments.
    parent_connection_account_id str
    Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
    parent_connection_id str
    ID of the physical dedicated line to which the shared dedicated line belongs. If the physical dedicated line type is dedicated, this parameter returns empty.
    peer_location str
    Local IDC address or the remote access point of the physical dedicated line.
    port_spec str
    Port specification of the physical dedicated line. Dedicated lines support 1G, 10G, 40G, and 100G. 40G and 100G are not enabled by default; contact your account manager to request a trial.
    port_type str
    Port type of the physical connection. 1000Base: 1G optical port; 10GBase: 10G optical port; 40GBase: 40G optical port; 100GBase: 100G optical port. 40GBase and 100GBase are not open by default; contact your account manager to request a trial
    project_name str
    Project to which the physical dedicated line belongs. If left blank, the default project is used.
    status str
    Status of the physical connection. Creating: being created; Deleting: being deleted; Pending: being configured; Available: available; Initial: applying; Allocated: under construction; Rejected: application rejected; UnConfirmed: waiting for acceptance; NoPayment: pending payment
    tags Sequence[ConnectionTagArgs]
    All tag information added to the physical connection Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    update_time str
    Time when the physical dedicated line was updated.
    vlan_id int
    VLAN ID of the shared connection. If the physical connection type is DedicatedConnection, returns 0
    accountId String
    Account ID of the physical connection owner
    bandwidth Number
    Line bandwidth in Mbps. If not specified, defaults to the port specification bandwidth. 1000Base specification range: 1 ~ 1000; 10GBase specification range: 1 ~ 10000; 40GBase specification range: 1 ~ 40000; 100GBase specification range: 1 ~ 100000
    billingType Number
    Connection billing type. Currently only 1 is supported, indicating annual/monthly subscription billing
    businessStatus String
    Billing status of the connection. Normal: normal; FinancialLocked: locked
    connectionType String
    Type of the physical connection. DedicatedConnection: dedicated connection; SharedConnection: shared connection
    creationTime String
    Time when the physical connection was created
    customerContactEmail String
    Email address of the dedicated connection contact
    customerContactPhone String
    Phone number of the dedicated connection contact
    customerName String
    Name of the dedicated connection contact
    deletedTime String
    Expected resource forced reclaim time
    description String
    Description of the physical connection. Length limit: 0 ~ 255 characters
    directConnectAccessPointId String
    ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
    directConnectConnectionId String
    ID of the physical dedicated line.
    directConnectConnectionName String
    Name of the physical connection. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space, underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), Chinese period (。). Length limit: 1 ~ 128 characters
    expectBandwidth Number
    Expected bandwidth of the physical connection in Mbps
    expiredTime String
    Connection expiration time
    lineOperator String
    Operator of the physical dedicated line. ChinaTelecom refers to China Telecom, ChinaMobile refers to China Mobile, ChinaUnicom refers to China Unicom, ChinaOther refers to other operators in China with the required telecom business qualifications. Only international operators are allowed in bp environments.
    parentConnectionAccountId String
    Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
    parentConnectionId String
    ID of the physical dedicated line to which the shared dedicated line belongs. If the physical dedicated line type is dedicated, this parameter returns empty.
    peerLocation String
    Local IDC address or the remote access point of the physical dedicated line.
    portSpec String
    Port specification of the physical dedicated line. Dedicated lines support 1G, 10G, 40G, and 100G. 40G and 100G are not enabled by default; contact your account manager to request a trial.
    portType String
    Port type of the physical connection. 1000Base: 1G optical port; 10GBase: 10G optical port; 40GBase: 40G optical port; 100GBase: 100G optical port. 40GBase and 100GBase are not open by default; contact your account manager to request a trial
    projectName String
    Project to which the physical dedicated line belongs. If left blank, the default project is used.
    status String
    Status of the physical connection. Creating: being created; Deleting: being deleted; Pending: being configured; Available: available; Initial: applying; Allocated: under construction; Rejected: application rejected; UnConfirmed: waiting for acceptance; NoPayment: pending payment
    tags List<Property Map>
    All tag information added to the physical connection Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    updateTime String
    Time when the physical dedicated line was updated.
    vlanId Number
    VLAN ID of the shared connection. If the physical connection type is DedicatedConnection, returns 0

    Supporting Types

    ConnectionTag, ConnectionTagArgs

    Key string
    Tag key. Cannot start with volc: or sys:. Length range: 1 ~ 128 characters
    Value string
    Tag value. Length range: 0 ~ 256 characters. If not specified, defaults to empty
    Key string
    Tag key. Cannot start with volc: or sys:. Length range: 1 ~ 128 characters
    Value string
    Tag value. Length range: 0 ~ 256 characters. If not specified, defaults to empty
    key string
    Tag key. Cannot start with volc: or sys:. Length range: 1 ~ 128 characters
    value string
    Tag value. Length range: 0 ~ 256 characters. If not specified, defaults to empty
    key String
    Tag key. Cannot start with volc: or sys:. Length range: 1 ~ 128 characters
    value String
    Tag value. Length range: 0 ~ 256 characters. If not specified, defaults to empty
    key string
    Tag key. Cannot start with volc: or sys:. Length range: 1 ~ 128 characters
    value string
    Tag value. Length range: 0 ~ 256 characters. If not specified, defaults to empty
    key str
    Tag key. Cannot start with volc: or sys:. Length range: 1 ~ 128 characters
    value str
    Tag value. Length range: 0 ~ 256 characters. If not specified, defaults to empty
    key String
    Tag key. Cannot start with volc: or sys:. Length range: 1 ~ 128 characters
    value String
    Tag value. Length range: 0 ~ 256 characters. If not specified, defaults to empty

    Import

    $ pulumi import bytepluscc:directconnect/connection:Connection example "direct_connect_connection_id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    bytepluscc byteplus-sdk/pulumi-bytepluscc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the bytepluscc Terraform Provider.
    bytepluscc logo
    Viewing docs for bytepluscc v0.0.42
    published on Monday, Jul 20, 2026 by Byteplus

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial