1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. DcInstance
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.DcInstance

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provides a resource to create a DC instance

    Example Usage

    Create direct connect instance

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.DcInstance("example", {
        accessPointId: "ap-shenzhen-b-ft",
        directConnectName: "tf-example",
        lineOperator: "In-houseWiring",
        portType: "10GBase-LR",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.DcInstance("example",
        access_point_id="ap-shenzhen-b-ft",
        direct_connect_name="tf-example",
        line_operator="In-houseWiring",
        port_type="10GBase-LR")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewDcInstance(ctx, "example", &tencentcloud.DcInstanceArgs{
    			AccessPointId:     pulumi.String("ap-shenzhen-b-ft"),
    			DirectConnectName: pulumi.String("tf-example"),
    			LineOperator:      pulumi.String("In-houseWiring"),
    			PortType:          pulumi.String("10GBase-LR"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.DcInstance("example", new()
        {
            AccessPointId = "ap-shenzhen-b-ft",
            DirectConnectName = "tf-example",
            LineOperator = "In-houseWiring",
            PortType = "10GBase-LR",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.DcInstance;
    import com.pulumi.tencentcloud.DcInstanceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new DcInstance("example", DcInstanceArgs.builder()
                .accessPointId("ap-shenzhen-b-ft")
                .directConnectName("tf-example")
                .lineOperator("In-houseWiring")
                .portType("10GBase-LR")
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:DcInstance
        properties:
          accessPointId: ap-shenzhen-b-ft
          directConnectName: tf-example
          lineOperator: In-houseWiring
          portType: 10GBase-LR
    

    Or

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.DcInstance("example", {
        accessPointId: "ap-shenzhen-b-ft",
        bandwidth: 100,
        customerContactNumber: "0",
        directConnectName: "tf-example",
        lineOperator: "In-houseWiring",
        portType: "10GBase-LR",
        signLaw: true,
        vlan: 1,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.DcInstance("example",
        access_point_id="ap-shenzhen-b-ft",
        bandwidth=100,
        customer_contact_number="0",
        direct_connect_name="tf-example",
        line_operator="In-houseWiring",
        port_type="10GBase-LR",
        sign_law=True,
        vlan=1)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewDcInstance(ctx, "example", &tencentcloud.DcInstanceArgs{
    			AccessPointId:         pulumi.String("ap-shenzhen-b-ft"),
    			Bandwidth:             pulumi.Float64(100),
    			CustomerContactNumber: pulumi.String("0"),
    			DirectConnectName:     pulumi.String("tf-example"),
    			LineOperator:          pulumi.String("In-houseWiring"),
    			PortType:              pulumi.String("10GBase-LR"),
    			SignLaw:               pulumi.Bool(true),
    			Vlan:                  pulumi.Float64(1),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.DcInstance("example", new()
        {
            AccessPointId = "ap-shenzhen-b-ft",
            Bandwidth = 100,
            CustomerContactNumber = "0",
            DirectConnectName = "tf-example",
            LineOperator = "In-houseWiring",
            PortType = "10GBase-LR",
            SignLaw = true,
            Vlan = 1,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.DcInstance;
    import com.pulumi.tencentcloud.DcInstanceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new DcInstance("example", DcInstanceArgs.builder()
                .accessPointId("ap-shenzhen-b-ft")
                .bandwidth(100)
                .customerContactNumber("0")
                .directConnectName("tf-example")
                .lineOperator("In-houseWiring")
                .portType("10GBase-LR")
                .signLaw(true)
                .vlan(1)
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:DcInstance
        properties:
          accessPointId: ap-shenzhen-b-ft
          bandwidth: 100
          customerContactNumber: '0'
          directConnectName: tf-example
          lineOperator: In-houseWiring
          portType: 10GBase-LR
          signLaw: true
          vlan: 1
    

    Create DcInstance Resource

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

    Constructor syntax

    new DcInstance(name: string, args: DcInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def DcInstance(resource_name: str,
                   args: DcInstanceArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def DcInstance(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   access_point_id: Optional[str] = None,
                   port_type: Optional[str] = None,
                   line_operator: Optional[str] = None,
                   direct_connect_name: Optional[str] = None,
                   customer_contact_mail: Optional[str] = None,
                   circuit_code: Optional[str] = None,
                   customer_name: Optional[str] = None,
                   dc_instance_id: Optional[str] = None,
                   customer_address: Optional[str] = None,
                   fault_report_contact_number: Optional[str] = None,
                   fault_report_contact_person: Optional[str] = None,
                   customer_contact_number: Optional[str] = None,
                   location: Optional[str] = None,
                   bandwidth: Optional[float] = None,
                   redundant_direct_connect_id: Optional[str] = None,
                   sign_law: Optional[bool] = None,
                   tencent_address: Optional[str] = None,
                   vlan: Optional[float] = None)
    func NewDcInstance(ctx *Context, name string, args DcInstanceArgs, opts ...ResourceOption) (*DcInstance, error)
    public DcInstance(string name, DcInstanceArgs args, CustomResourceOptions? opts = null)
    public DcInstance(String name, DcInstanceArgs args)
    public DcInstance(String name, DcInstanceArgs args, CustomResourceOptions options)
    
    type: tencentcloud:DcInstance
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DcInstanceArgs
    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 DcInstanceArgs
    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 DcInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DcInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DcInstanceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    AccessPointId string
    Access point of connection.You can call DescribeAccessPoints to get the region ID. The selected access point must exist and be available.
    DirectConnectName string
    Connection name.
    LineOperator string
    ISP that provides connections. Valid values: ChinaTelecom (China Telecom), ChinaMobile (China Mobile), ChinaUnicom (China Unicom), In-houseWiring (in-house wiring), ChinaOther (other Chinese ISPs), InternationalOperator (international ISPs).
    PortType string
    Port type of connection. Valid values: 100Base-T (100-Megabit electrical Ethernet interface), 1000Base-T (1-Gigabit electrical Ethernet interface), 1000Base-LX (1-Gigabit single-module optical Ethernet interface; 10 KM), 10GBase-T (10-Gigabit electrical Ethernet interface), 10GBase-LR (10-Gigabit single-module optical Ethernet interface; 10 KM). Default value: 1000Base-LX.
    Bandwidth double
    Connection port bandwidth in Mbps. Value range: [2,10240]. Default value: 1000.
    CircuitCode string
    Circuit code of a connection, which is provided by the ISP or connection provider.
    CustomerAddress string
    User-side IP address for connection debugging, which is automatically assigned by default.
    CustomerContactMail string
    Email address of connection applicant, which is obtained from the account system by default.
    CustomerContactNumber string
    Contact number of connection applicant, which is obtained from the account system by default.
    CustomerName string
    Name of connection applicant, which is obtained from the account system by default.
    DcInstanceId string
    ID of the resource.
    FaultReportContactNumber string
    Fault reporting contact number.
    FaultReportContactPerson string
    Fault reporting contact person.
    Location string
    Local IDC location.
    RedundantDirectConnectId string
    ID of redundant connection.
    SignLaw bool
    Whether the connection applicant has signed the service agreement. Default value: true.
    TencentAddress string
    Tencent-side IP address for connection debugging, which is automatically assigned by default.
    Vlan double
    VLAN for connection debugging, which is enabled and automatically assigned by default.
    AccessPointId string
    Access point of connection.You can call DescribeAccessPoints to get the region ID. The selected access point must exist and be available.
    DirectConnectName string
    Connection name.
    LineOperator string
    ISP that provides connections. Valid values: ChinaTelecom (China Telecom), ChinaMobile (China Mobile), ChinaUnicom (China Unicom), In-houseWiring (in-house wiring), ChinaOther (other Chinese ISPs), InternationalOperator (international ISPs).
    PortType string
    Port type of connection. Valid values: 100Base-T (100-Megabit electrical Ethernet interface), 1000Base-T (1-Gigabit electrical Ethernet interface), 1000Base-LX (1-Gigabit single-module optical Ethernet interface; 10 KM), 10GBase-T (10-Gigabit electrical Ethernet interface), 10GBase-LR (10-Gigabit single-module optical Ethernet interface; 10 KM). Default value: 1000Base-LX.
    Bandwidth float64
    Connection port bandwidth in Mbps. Value range: [2,10240]. Default value: 1000.
    CircuitCode string
    Circuit code of a connection, which is provided by the ISP or connection provider.
    CustomerAddress string
    User-side IP address for connection debugging, which is automatically assigned by default.
    CustomerContactMail string
    Email address of connection applicant, which is obtained from the account system by default.
    CustomerContactNumber string
    Contact number of connection applicant, which is obtained from the account system by default.
    CustomerName string
    Name of connection applicant, which is obtained from the account system by default.
    DcInstanceId string
    ID of the resource.
    FaultReportContactNumber string
    Fault reporting contact number.
    FaultReportContactPerson string
    Fault reporting contact person.
    Location string
    Local IDC location.
    RedundantDirectConnectId string
    ID of redundant connection.
    SignLaw bool
    Whether the connection applicant has signed the service agreement. Default value: true.
    TencentAddress string
    Tencent-side IP address for connection debugging, which is automatically assigned by default.
    Vlan float64
    VLAN for connection debugging, which is enabled and automatically assigned by default.
    accessPointId String
    Access point of connection.You can call DescribeAccessPoints to get the region ID. The selected access point must exist and be available.
    directConnectName String
    Connection name.
    lineOperator String
    ISP that provides connections. Valid values: ChinaTelecom (China Telecom), ChinaMobile (China Mobile), ChinaUnicom (China Unicom), In-houseWiring (in-house wiring), ChinaOther (other Chinese ISPs), InternationalOperator (international ISPs).
    portType String
    Port type of connection. Valid values: 100Base-T (100-Megabit electrical Ethernet interface), 1000Base-T (1-Gigabit electrical Ethernet interface), 1000Base-LX (1-Gigabit single-module optical Ethernet interface; 10 KM), 10GBase-T (10-Gigabit electrical Ethernet interface), 10GBase-LR (10-Gigabit single-module optical Ethernet interface; 10 KM). Default value: 1000Base-LX.
    bandwidth Double
    Connection port bandwidth in Mbps. Value range: [2,10240]. Default value: 1000.
    circuitCode String
    Circuit code of a connection, which is provided by the ISP or connection provider.
    customerAddress String
    User-side IP address for connection debugging, which is automatically assigned by default.
    customerContactMail String
    Email address of connection applicant, which is obtained from the account system by default.
    customerContactNumber String
    Contact number of connection applicant, which is obtained from the account system by default.
    customerName String
    Name of connection applicant, which is obtained from the account system by default.
    dcInstanceId String
    ID of the resource.
    faultReportContactNumber String
    Fault reporting contact number.
    faultReportContactPerson String
    Fault reporting contact person.
    location String
    Local IDC location.
    redundantDirectConnectId String
    ID of redundant connection.
    signLaw Boolean
    Whether the connection applicant has signed the service agreement. Default value: true.
    tencentAddress String
    Tencent-side IP address for connection debugging, which is automatically assigned by default.
    vlan Double
    VLAN for connection debugging, which is enabled and automatically assigned by default.
    accessPointId string
    Access point of connection.You can call DescribeAccessPoints to get the region ID. The selected access point must exist and be available.
    directConnectName string
    Connection name.
    lineOperator string
    ISP that provides connections. Valid values: ChinaTelecom (China Telecom), ChinaMobile (China Mobile), ChinaUnicom (China Unicom), In-houseWiring (in-house wiring), ChinaOther (other Chinese ISPs), InternationalOperator (international ISPs).
    portType string
    Port type of connection. Valid values: 100Base-T (100-Megabit electrical Ethernet interface), 1000Base-T (1-Gigabit electrical Ethernet interface), 1000Base-LX (1-Gigabit single-module optical Ethernet interface; 10 KM), 10GBase-T (10-Gigabit electrical Ethernet interface), 10GBase-LR (10-Gigabit single-module optical Ethernet interface; 10 KM). Default value: 1000Base-LX.
    bandwidth number
    Connection port bandwidth in Mbps. Value range: [2,10240]. Default value: 1000.
    circuitCode string
    Circuit code of a connection, which is provided by the ISP or connection provider.
    customerAddress string
    User-side IP address for connection debugging, which is automatically assigned by default.
    customerContactMail string
    Email address of connection applicant, which is obtained from the account system by default.
    customerContactNumber string
    Contact number of connection applicant, which is obtained from the account system by default.
    customerName string
    Name of connection applicant, which is obtained from the account system by default.
    dcInstanceId string
    ID of the resource.
    faultReportContactNumber string
    Fault reporting contact number.
    faultReportContactPerson string
    Fault reporting contact person.
    location string
    Local IDC location.
    redundantDirectConnectId string
    ID of redundant connection.
    signLaw boolean
    Whether the connection applicant has signed the service agreement. Default value: true.
    tencentAddress string
    Tencent-side IP address for connection debugging, which is automatically assigned by default.
    vlan number
    VLAN for connection debugging, which is enabled and automatically assigned by default.
    access_point_id str
    Access point of connection.You can call DescribeAccessPoints to get the region ID. The selected access point must exist and be available.
    direct_connect_name str
    Connection name.
    line_operator str
    ISP that provides connections. Valid values: ChinaTelecom (China Telecom), ChinaMobile (China Mobile), ChinaUnicom (China Unicom), In-houseWiring (in-house wiring), ChinaOther (other Chinese ISPs), InternationalOperator (international ISPs).
    port_type str
    Port type of connection. Valid values: 100Base-T (100-Megabit electrical Ethernet interface), 1000Base-T (1-Gigabit electrical Ethernet interface), 1000Base-LX (1-Gigabit single-module optical Ethernet interface; 10 KM), 10GBase-T (10-Gigabit electrical Ethernet interface), 10GBase-LR (10-Gigabit single-module optical Ethernet interface; 10 KM). Default value: 1000Base-LX.
    bandwidth float
    Connection port bandwidth in Mbps. Value range: [2,10240]. Default value: 1000.
    circuit_code str
    Circuit code of a connection, which is provided by the ISP or connection provider.
    customer_address str
    User-side IP address for connection debugging, which is automatically assigned by default.
    customer_contact_mail str
    Email address of connection applicant, which is obtained from the account system by default.
    customer_contact_number str
    Contact number of connection applicant, which is obtained from the account system by default.
    customer_name str
    Name of connection applicant, which is obtained from the account system by default.
    dc_instance_id str
    ID of the resource.
    fault_report_contact_number str
    Fault reporting contact number.
    fault_report_contact_person str
    Fault reporting contact person.
    location str
    Local IDC location.
    redundant_direct_connect_id str
    ID of redundant connection.
    sign_law bool
    Whether the connection applicant has signed the service agreement. Default value: true.
    tencent_address str
    Tencent-side IP address for connection debugging, which is automatically assigned by default.
    vlan float
    VLAN for connection debugging, which is enabled and automatically assigned by default.
    accessPointId String
    Access point of connection.You can call DescribeAccessPoints to get the region ID. The selected access point must exist and be available.
    directConnectName String
    Connection name.
    lineOperator String
    ISP that provides connections. Valid values: ChinaTelecom (China Telecom), ChinaMobile (China Mobile), ChinaUnicom (China Unicom), In-houseWiring (in-house wiring), ChinaOther (other Chinese ISPs), InternationalOperator (international ISPs).
    portType String
    Port type of connection. Valid values: 100Base-T (100-Megabit electrical Ethernet interface), 1000Base-T (1-Gigabit electrical Ethernet interface), 1000Base-LX (1-Gigabit single-module optical Ethernet interface; 10 KM), 10GBase-T (10-Gigabit electrical Ethernet interface), 10GBase-LR (10-Gigabit single-module optical Ethernet interface; 10 KM). Default value: 1000Base-LX.
    bandwidth Number
    Connection port bandwidth in Mbps. Value range: [2,10240]. Default value: 1000.
    circuitCode String
    Circuit code of a connection, which is provided by the ISP or connection provider.
    customerAddress String
    User-side IP address for connection debugging, which is automatically assigned by default.
    customerContactMail String
    Email address of connection applicant, which is obtained from the account system by default.
    customerContactNumber String
    Contact number of connection applicant, which is obtained from the account system by default.
    customerName String
    Name of connection applicant, which is obtained from the account system by default.
    dcInstanceId String
    ID of the resource.
    faultReportContactNumber String
    Fault reporting contact number.
    faultReportContactPerson String
    Fault reporting contact person.
    location String
    Local IDC location.
    redundantDirectConnectId String
    ID of redundant connection.
    signLaw Boolean
    Whether the connection applicant has signed the service agreement. Default value: true.
    tencentAddress String
    Tencent-side IP address for connection debugging, which is automatically assigned by default.
    vlan Number
    VLAN for connection debugging, which is enabled and automatically assigned by default.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing DcInstance Resource

    Get an existing DcInstance 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?: DcInstanceState, opts?: CustomResourceOptions): DcInstance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_point_id: Optional[str] = None,
            bandwidth: Optional[float] = None,
            circuit_code: Optional[str] = None,
            customer_address: Optional[str] = None,
            customer_contact_mail: Optional[str] = None,
            customer_contact_number: Optional[str] = None,
            customer_name: Optional[str] = None,
            dc_instance_id: Optional[str] = None,
            direct_connect_name: Optional[str] = None,
            fault_report_contact_number: Optional[str] = None,
            fault_report_contact_person: Optional[str] = None,
            line_operator: Optional[str] = None,
            location: Optional[str] = None,
            port_type: Optional[str] = None,
            redundant_direct_connect_id: Optional[str] = None,
            sign_law: Optional[bool] = None,
            tencent_address: Optional[str] = None,
            vlan: Optional[float] = None) -> DcInstance
    func GetDcInstance(ctx *Context, name string, id IDInput, state *DcInstanceState, opts ...ResourceOption) (*DcInstance, error)
    public static DcInstance Get(string name, Input<string> id, DcInstanceState? state, CustomResourceOptions? opts = null)
    public static DcInstance get(String name, Output<String> id, DcInstanceState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:DcInstance    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccessPointId string
    Access point of connection.You can call DescribeAccessPoints to get the region ID. The selected access point must exist and be available.
    Bandwidth double
    Connection port bandwidth in Mbps. Value range: [2,10240]. Default value: 1000.
    CircuitCode string
    Circuit code of a connection, which is provided by the ISP or connection provider.
    CustomerAddress string
    User-side IP address for connection debugging, which is automatically assigned by default.
    CustomerContactMail string
    Email address of connection applicant, which is obtained from the account system by default.
    CustomerContactNumber string
    Contact number of connection applicant, which is obtained from the account system by default.
    CustomerName string
    Name of connection applicant, which is obtained from the account system by default.
    DcInstanceId string
    ID of the resource.
    DirectConnectName string
    Connection name.
    FaultReportContactNumber string
    Fault reporting contact number.
    FaultReportContactPerson string
    Fault reporting contact person.
    LineOperator string
    ISP that provides connections. Valid values: ChinaTelecom (China Telecom), ChinaMobile (China Mobile), ChinaUnicom (China Unicom), In-houseWiring (in-house wiring), ChinaOther (other Chinese ISPs), InternationalOperator (international ISPs).
    Location string
    Local IDC location.
    PortType string
    Port type of connection. Valid values: 100Base-T (100-Megabit electrical Ethernet interface), 1000Base-T (1-Gigabit electrical Ethernet interface), 1000Base-LX (1-Gigabit single-module optical Ethernet interface; 10 KM), 10GBase-T (10-Gigabit electrical Ethernet interface), 10GBase-LR (10-Gigabit single-module optical Ethernet interface; 10 KM). Default value: 1000Base-LX.
    RedundantDirectConnectId string
    ID of redundant connection.
    SignLaw bool
    Whether the connection applicant has signed the service agreement. Default value: true.
    TencentAddress string
    Tencent-side IP address for connection debugging, which is automatically assigned by default.
    Vlan double
    VLAN for connection debugging, which is enabled and automatically assigned by default.
    AccessPointId string
    Access point of connection.You can call DescribeAccessPoints to get the region ID. The selected access point must exist and be available.
    Bandwidth float64
    Connection port bandwidth in Mbps. Value range: [2,10240]. Default value: 1000.
    CircuitCode string
    Circuit code of a connection, which is provided by the ISP or connection provider.
    CustomerAddress string
    User-side IP address for connection debugging, which is automatically assigned by default.
    CustomerContactMail string
    Email address of connection applicant, which is obtained from the account system by default.
    CustomerContactNumber string
    Contact number of connection applicant, which is obtained from the account system by default.
    CustomerName string
    Name of connection applicant, which is obtained from the account system by default.
    DcInstanceId string
    ID of the resource.
    DirectConnectName string
    Connection name.
    FaultReportContactNumber string
    Fault reporting contact number.
    FaultReportContactPerson string
    Fault reporting contact person.
    LineOperator string
    ISP that provides connections. Valid values: ChinaTelecom (China Telecom), ChinaMobile (China Mobile), ChinaUnicom (China Unicom), In-houseWiring (in-house wiring), ChinaOther (other Chinese ISPs), InternationalOperator (international ISPs).
    Location string
    Local IDC location.
    PortType string
    Port type of connection. Valid values: 100Base-T (100-Megabit electrical Ethernet interface), 1000Base-T (1-Gigabit electrical Ethernet interface), 1000Base-LX (1-Gigabit single-module optical Ethernet interface; 10 KM), 10GBase-T (10-Gigabit electrical Ethernet interface), 10GBase-LR (10-Gigabit single-module optical Ethernet interface; 10 KM). Default value: 1000Base-LX.
    RedundantDirectConnectId string
    ID of redundant connection.
    SignLaw bool
    Whether the connection applicant has signed the service agreement. Default value: true.
    TencentAddress string
    Tencent-side IP address for connection debugging, which is automatically assigned by default.
    Vlan float64
    VLAN for connection debugging, which is enabled and automatically assigned by default.
    accessPointId String
    Access point of connection.You can call DescribeAccessPoints to get the region ID. The selected access point must exist and be available.
    bandwidth Double
    Connection port bandwidth in Mbps. Value range: [2,10240]. Default value: 1000.
    circuitCode String
    Circuit code of a connection, which is provided by the ISP or connection provider.
    customerAddress String
    User-side IP address for connection debugging, which is automatically assigned by default.
    customerContactMail String
    Email address of connection applicant, which is obtained from the account system by default.
    customerContactNumber String
    Contact number of connection applicant, which is obtained from the account system by default.
    customerName String
    Name of connection applicant, which is obtained from the account system by default.
    dcInstanceId String
    ID of the resource.
    directConnectName String
    Connection name.
    faultReportContactNumber String
    Fault reporting contact number.
    faultReportContactPerson String
    Fault reporting contact person.
    lineOperator String
    ISP that provides connections. Valid values: ChinaTelecom (China Telecom), ChinaMobile (China Mobile), ChinaUnicom (China Unicom), In-houseWiring (in-house wiring), ChinaOther (other Chinese ISPs), InternationalOperator (international ISPs).
    location String
    Local IDC location.
    portType String
    Port type of connection. Valid values: 100Base-T (100-Megabit electrical Ethernet interface), 1000Base-T (1-Gigabit electrical Ethernet interface), 1000Base-LX (1-Gigabit single-module optical Ethernet interface; 10 KM), 10GBase-T (10-Gigabit electrical Ethernet interface), 10GBase-LR (10-Gigabit single-module optical Ethernet interface; 10 KM). Default value: 1000Base-LX.
    redundantDirectConnectId String
    ID of redundant connection.
    signLaw Boolean
    Whether the connection applicant has signed the service agreement. Default value: true.
    tencentAddress String
    Tencent-side IP address for connection debugging, which is automatically assigned by default.
    vlan Double
    VLAN for connection debugging, which is enabled and automatically assigned by default.
    accessPointId string
    Access point of connection.You can call DescribeAccessPoints to get the region ID. The selected access point must exist and be available.
    bandwidth number
    Connection port bandwidth in Mbps. Value range: [2,10240]. Default value: 1000.
    circuitCode string
    Circuit code of a connection, which is provided by the ISP or connection provider.
    customerAddress string
    User-side IP address for connection debugging, which is automatically assigned by default.
    customerContactMail string
    Email address of connection applicant, which is obtained from the account system by default.
    customerContactNumber string
    Contact number of connection applicant, which is obtained from the account system by default.
    customerName string
    Name of connection applicant, which is obtained from the account system by default.
    dcInstanceId string
    ID of the resource.
    directConnectName string
    Connection name.
    faultReportContactNumber string
    Fault reporting contact number.
    faultReportContactPerson string
    Fault reporting contact person.
    lineOperator string
    ISP that provides connections. Valid values: ChinaTelecom (China Telecom), ChinaMobile (China Mobile), ChinaUnicom (China Unicom), In-houseWiring (in-house wiring), ChinaOther (other Chinese ISPs), InternationalOperator (international ISPs).
    location string
    Local IDC location.
    portType string
    Port type of connection. Valid values: 100Base-T (100-Megabit electrical Ethernet interface), 1000Base-T (1-Gigabit electrical Ethernet interface), 1000Base-LX (1-Gigabit single-module optical Ethernet interface; 10 KM), 10GBase-T (10-Gigabit electrical Ethernet interface), 10GBase-LR (10-Gigabit single-module optical Ethernet interface; 10 KM). Default value: 1000Base-LX.
    redundantDirectConnectId string
    ID of redundant connection.
    signLaw boolean
    Whether the connection applicant has signed the service agreement. Default value: true.
    tencentAddress string
    Tencent-side IP address for connection debugging, which is automatically assigned by default.
    vlan number
    VLAN for connection debugging, which is enabled and automatically assigned by default.
    access_point_id str
    Access point of connection.You can call DescribeAccessPoints to get the region ID. The selected access point must exist and be available.
    bandwidth float
    Connection port bandwidth in Mbps. Value range: [2,10240]. Default value: 1000.
    circuit_code str
    Circuit code of a connection, which is provided by the ISP or connection provider.
    customer_address str
    User-side IP address for connection debugging, which is automatically assigned by default.
    customer_contact_mail str
    Email address of connection applicant, which is obtained from the account system by default.
    customer_contact_number str
    Contact number of connection applicant, which is obtained from the account system by default.
    customer_name str
    Name of connection applicant, which is obtained from the account system by default.
    dc_instance_id str
    ID of the resource.
    direct_connect_name str
    Connection name.
    fault_report_contact_number str
    Fault reporting contact number.
    fault_report_contact_person str
    Fault reporting contact person.
    line_operator str
    ISP that provides connections. Valid values: ChinaTelecom (China Telecom), ChinaMobile (China Mobile), ChinaUnicom (China Unicom), In-houseWiring (in-house wiring), ChinaOther (other Chinese ISPs), InternationalOperator (international ISPs).
    location str
    Local IDC location.
    port_type str
    Port type of connection. Valid values: 100Base-T (100-Megabit electrical Ethernet interface), 1000Base-T (1-Gigabit electrical Ethernet interface), 1000Base-LX (1-Gigabit single-module optical Ethernet interface; 10 KM), 10GBase-T (10-Gigabit electrical Ethernet interface), 10GBase-LR (10-Gigabit single-module optical Ethernet interface; 10 KM). Default value: 1000Base-LX.
    redundant_direct_connect_id str
    ID of redundant connection.
    sign_law bool
    Whether the connection applicant has signed the service agreement. Default value: true.
    tencent_address str
    Tencent-side IP address for connection debugging, which is automatically assigned by default.
    vlan float
    VLAN for connection debugging, which is enabled and automatically assigned by default.
    accessPointId String
    Access point of connection.You can call DescribeAccessPoints to get the region ID. The selected access point must exist and be available.
    bandwidth Number
    Connection port bandwidth in Mbps. Value range: [2,10240]. Default value: 1000.
    circuitCode String
    Circuit code of a connection, which is provided by the ISP or connection provider.
    customerAddress String
    User-side IP address for connection debugging, which is automatically assigned by default.
    customerContactMail String
    Email address of connection applicant, which is obtained from the account system by default.
    customerContactNumber String
    Contact number of connection applicant, which is obtained from the account system by default.
    customerName String
    Name of connection applicant, which is obtained from the account system by default.
    dcInstanceId String
    ID of the resource.
    directConnectName String
    Connection name.
    faultReportContactNumber String
    Fault reporting contact number.
    faultReportContactPerson String
    Fault reporting contact person.
    lineOperator String
    ISP that provides connections. Valid values: ChinaTelecom (China Telecom), ChinaMobile (China Mobile), ChinaUnicom (China Unicom), In-houseWiring (in-house wiring), ChinaOther (other Chinese ISPs), InternationalOperator (international ISPs).
    location String
    Local IDC location.
    portType String
    Port type of connection. Valid values: 100Base-T (100-Megabit electrical Ethernet interface), 1000Base-T (1-Gigabit electrical Ethernet interface), 1000Base-LX (1-Gigabit single-module optical Ethernet interface; 10 KM), 10GBase-T (10-Gigabit electrical Ethernet interface), 10GBase-LR (10-Gigabit single-module optical Ethernet interface; 10 KM). Default value: 1000Base-LX.
    redundantDirectConnectId String
    ID of redundant connection.
    signLaw Boolean
    Whether the connection applicant has signed the service agreement. Default value: true.
    tencentAddress String
    Tencent-side IP address for connection debugging, which is automatically assigned by default.
    vlan Number
    VLAN for connection debugging, which is enabled and automatically assigned by default.

    Import

    DC instance can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/dcInstance:DcInstance example dc-ovxsm3u5
    

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

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack