published on Monday, Jul 20, 2026 by Byteplus
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
- Customer
Contact stringEmail - Email address of the dedicated connection contact
- Customer
Contact stringPhone - Phone number of the dedicated connection contact
- Customer
Name string - Name of the dedicated connection contact
- Direct
Connect stringAccess Point Id - 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 stringConnection Name - 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.
-
List<Byteplus.
Connection Tag> - 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 stringEmail - Email address of the dedicated connection contact
- Customer
Contact stringPhone - Phone number of the dedicated connection contact
- Customer
Name string - Name of the dedicated connection contact
- Direct
Connect stringAccess Point Id - 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 stringConnection Name - 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.
-
[]Connection
Tag Args - 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_ stringemail - Email address of the dedicated connection contact
- customer_
contact_ stringphone - Phone number of the dedicated connection contact
- customer_
name string - Name of the dedicated connection contact
- direct_
connect_ stringaccess_ point_ id - 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_ stringconnection_ name - 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.
- 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
- customer
Contact StringEmail - Email address of the dedicated connection contact
- customer
Contact StringPhone - Phone number of the dedicated connection contact
- customer
Name String - Name of the dedicated connection contact
- direct
Connect StringAccess Point Id - 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 StringConnection Name - 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.
-
List<Connection
Tag> - 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 stringEmail - Email address of the dedicated connection contact
- customer
Contact stringPhone - Phone number of the dedicated connection contact
- customer
Name string - Name of the dedicated connection contact
- direct
Connect stringAccess Point Id - 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 stringConnection Name - 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.
-
Connection
Tag[] - 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_ stremail - Email address of the dedicated connection contact
- customer_
contact_ strphone - Phone number of the dedicated connection contact
- customer_
name str - Name of the dedicated connection contact
- direct_
connect_ straccess_ point_ id - 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_ strconnection_ name - 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.
-
Sequence[Connection
Tag Args] - 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 StringEmail - Email address of the dedicated connection contact
- customer
Contact StringPhone - Phone number of the dedicated connection contact
- customer
Name String - Name of the dedicated connection contact
- direct
Connect StringAccess Point Id - 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 StringConnection Name - 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.
- 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:
- Account
Id string - 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 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 stringConnection Id - ID of the physical dedicated line.
- Expect
Bandwidth int - 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 stringAccount Id - Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
- Parent
Connection stringId - 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 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 int - 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 stringConnection Id - ID of the physical dedicated line.
- Expect
Bandwidth int - 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 stringAccount Id - Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
- Parent
Connection stringId - 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 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_ stringconnection_ id - 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_ stringaccount_ id - Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
- parent_
connection_ stringid - 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
- account
Id String - Account ID of the physical connection owner
- billing
Type Integer - 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 StringConnection Id - ID of the physical dedicated line.
- expect
Bandwidth Integer - 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 StringAccount Id - Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
- parent
Connection StringId - 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 Integer - 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 stringConnection Id - 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 stringAccount Id - Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
- parent
Connection stringId - 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
- 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_ strconnection_ id - 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_ straccount_ id - Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
- parent_
connection_ strid - 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
- 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 StringConnection Id - 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 StringAccount Id - Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
- parent
Connection StringId - 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
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) -> Connectionfunc 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.
- Account
Id 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
- Billing
Type int - 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 stringEmail - Email address of the dedicated connection contact
- Customer
Contact stringPhone - 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 stringAccess Point Id - ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
- Direct
Connect stringConnection Id - ID of the physical dedicated line.
- Direct
Connect stringConnection Name - 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 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 stringAccount Id - Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
- Parent
Connection stringId - 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
-
List<Byteplus.
Connection Tag> - 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 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 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 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 stringEmail - Email address of the dedicated connection contact
- Customer
Contact stringPhone - 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 stringAccess Point Id - ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
- Direct
Connect stringConnection Id - ID of the physical dedicated line.
- Direct
Connect stringConnection Name - 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 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 stringAccount Id - Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
- Parent
Connection stringId - 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
-
[]Connection
Tag Args - 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 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_ stringemail - Email address of the dedicated connection contact
- customer_
contact_ stringphone - 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_ stringaccess_ point_ id - ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
- direct_
connect_ stringconnection_ id - ID of the physical dedicated line.
- direct_
connect_ stringconnection_ name - 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_ stringaccount_ id - Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
- parent_
connection_ stringid - 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
- 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
- account
Id 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
- billing
Type Integer - 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 StringEmail - Email address of the dedicated connection contact
- customer
Contact StringPhone - 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 StringAccess Point Id - ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
- direct
Connect StringConnection Id - ID of the physical dedicated line.
- direct
Connect StringConnection Name - 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 Integer - 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 StringAccount Id - Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
- parent
Connection StringId - 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
-
List<Connection
Tag> - 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 Integer - 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 stringEmail - Email address of the dedicated connection contact
- customer
Contact stringPhone - 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 stringAccess Point Id - ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
- direct
Connect stringConnection Id - ID of the physical dedicated line.
- direct
Connect stringConnection Name - 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 stringAccount Id - Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
- parent
Connection stringId - 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
-
Connection
Tag[] - 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
- 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_ stremail - Email address of the dedicated connection contact
- customer_
contact_ strphone - 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_ straccess_ point_ id - ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
- direct_
connect_ strconnection_ id - ID of the physical dedicated line.
- direct_
connect_ strconnection_ name - 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_ straccount_ id - Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
- parent_
connection_ strid - 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
-
Sequence[Connection
Tag Args] - 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
- 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 StringEmail - Email address of the dedicated connection contact
- customer
Contact StringPhone - 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 StringAccess Point Id - ID of the physical connection access point. You can call DescribeDirectConnectAccessPoints to query access point information
- direct
Connect StringConnection Id - ID of the physical dedicated line.
- direct
Connect StringConnection Name - 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 StringAccount Id - Account ID of the physical connection associated with the shared connection. If the physical connection type is DedicatedConnection, this parameter returns empty
- parent
Connection StringId - 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
- 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.
- 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
Supporting Types
ConnectionTag, ConnectionTagArgs
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
byteplusccTerraform Provider.
published on Monday, Jul 20, 2026 by Byteplus