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

tencentcloud.Dcx

Explore with Pulumi AI

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

    Provides a resource to creating dedicated tunnels instances.

    NOTE: 1. ID of the DC is queried, can only apply for this resource offline.

    Example Usage

    If network_type is VPC

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.Dcx("example", {
        bandwidth: 100,
        bgpAsn: 64511,
        customerAddress: "10.8.254.13/30",
        dcId: "dc-ink7y3qf",
        dcOwnerAccount: "100017971194",
        dcgId: "dcg-ehr22qfb",
        networkRegion: "ap-guangzhou",
        networkType: "VPC",
        routeType: "BGP",
        tencentAddress: "10.8.254.14/30",
        vlan: 60,
        vpcId: "vpc-nzuu8dyj",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.Dcx("example",
        bandwidth=100,
        bgp_asn=64511,
        customer_address="10.8.254.13/30",
        dc_id="dc-ink7y3qf",
        dc_owner_account="100017971194",
        dcg_id="dcg-ehr22qfb",
        network_region="ap-guangzhou",
        network_type="VPC",
        route_type="BGP",
        tencent_address="10.8.254.14/30",
        vlan=60,
        vpc_id="vpc-nzuu8dyj")
    
    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.NewDcx(ctx, "example", &tencentcloud.DcxArgs{
    			Bandwidth:       pulumi.Float64(100),
    			BgpAsn:          pulumi.Float64(64511),
    			CustomerAddress: pulumi.String("10.8.254.13/30"),
    			DcId:            pulumi.String("dc-ink7y3qf"),
    			DcOwnerAccount:  pulumi.String("100017971194"),
    			DcgId:           pulumi.String("dcg-ehr22qfb"),
    			NetworkRegion:   pulumi.String("ap-guangzhou"),
    			NetworkType:     pulumi.String("VPC"),
    			RouteType:       pulumi.String("BGP"),
    			TencentAddress:  pulumi.String("10.8.254.14/30"),
    			Vlan:            pulumi.Float64(60),
    			VpcId:           pulumi.String("vpc-nzuu8dyj"),
    		})
    		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.Dcx("example", new()
        {
            Bandwidth = 100,
            BgpAsn = 64511,
            CustomerAddress = "10.8.254.13/30",
            DcId = "dc-ink7y3qf",
            DcOwnerAccount = "100017971194",
            DcgId = "dcg-ehr22qfb",
            NetworkRegion = "ap-guangzhou",
            NetworkType = "VPC",
            RouteType = "BGP",
            TencentAddress = "10.8.254.14/30",
            Vlan = 60,
            VpcId = "vpc-nzuu8dyj",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.Dcx;
    import com.pulumi.tencentcloud.DcxArgs;
    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 Dcx("example", DcxArgs.builder()
                .bandwidth(100)
                .bgpAsn(64511)
                .customerAddress("10.8.254.13/30")
                .dcId("dc-ink7y3qf")
                .dcOwnerAccount("100017971194")
                .dcgId("dcg-ehr22qfb")
                .networkRegion("ap-guangzhou")
                .networkType("VPC")
                .routeType("BGP")
                .tencentAddress("10.8.254.14/30")
                .vlan(60)
                .vpcId("vpc-nzuu8dyj")
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:Dcx
        properties:
          bandwidth: 100
          bgpAsn: 64511
          customerAddress: 10.8.254.13/30
          dcId: dc-ink7y3qf
          dcOwnerAccount: '100017971194'
          dcgId: dcg-ehr22qfb
          networkRegion: ap-guangzhou
          networkType: VPC
          routeType: BGP
          tencentAddress: 10.8.254.14/30
          vlan: 60
          vpcId: vpc-nzuu8dyj
    

    If network_type is CCN

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.Dcx("example", {
        bandwidth: 100,
        bgpAsn: 64511,
        customerAddress: "10.8.254.9/30",
        dcId: "dc-ink7y3qf",
        dcOwnerAccount: "100017971194",
        dcgId: "dcg-6d4uaubp",
        networkRegion: "ap-guangzhou",
        networkType: "CCN",
        routeType: "BGP",
        tencentAddress: "10.8.254.10/30",
        vlan: 10,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.Dcx("example",
        bandwidth=100,
        bgp_asn=64511,
        customer_address="10.8.254.9/30",
        dc_id="dc-ink7y3qf",
        dc_owner_account="100017971194",
        dcg_id="dcg-6d4uaubp",
        network_region="ap-guangzhou",
        network_type="CCN",
        route_type="BGP",
        tencent_address="10.8.254.10/30",
        vlan=10)
    
    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.NewDcx(ctx, "example", &tencentcloud.DcxArgs{
    			Bandwidth:       pulumi.Float64(100),
    			BgpAsn:          pulumi.Float64(64511),
    			CustomerAddress: pulumi.String("10.8.254.9/30"),
    			DcId:            pulumi.String("dc-ink7y3qf"),
    			DcOwnerAccount:  pulumi.String("100017971194"),
    			DcgId:           pulumi.String("dcg-6d4uaubp"),
    			NetworkRegion:   pulumi.String("ap-guangzhou"),
    			NetworkType:     pulumi.String("CCN"),
    			RouteType:       pulumi.String("BGP"),
    			TencentAddress:  pulumi.String("10.8.254.10/30"),
    			Vlan:            pulumi.Float64(10),
    		})
    		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.Dcx("example", new()
        {
            Bandwidth = 100,
            BgpAsn = 64511,
            CustomerAddress = "10.8.254.9/30",
            DcId = "dc-ink7y3qf",
            DcOwnerAccount = "100017971194",
            DcgId = "dcg-6d4uaubp",
            NetworkRegion = "ap-guangzhou",
            NetworkType = "CCN",
            RouteType = "BGP",
            TencentAddress = "10.8.254.10/30",
            Vlan = 10,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.Dcx;
    import com.pulumi.tencentcloud.DcxArgs;
    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 Dcx("example", DcxArgs.builder()
                .bandwidth(100)
                .bgpAsn(64511)
                .customerAddress("10.8.254.9/30")
                .dcId("dc-ink7y3qf")
                .dcOwnerAccount("100017971194")
                .dcgId("dcg-6d4uaubp")
                .networkRegion("ap-guangzhou")
                .networkType("CCN")
                .routeType("BGP")
                .tencentAddress("10.8.254.10/30")
                .vlan(10)
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:Dcx
        properties:
          bandwidth: 100
          bgpAsn: 64511
          customerAddress: 10.8.254.9/30
          dcId: dc-ink7y3qf
          dcOwnerAccount: '100017971194'
          dcgId: dcg-6d4uaubp
          networkRegion: ap-guangzhou
          networkType: CCN
          routeType: BGP
          tencentAddress: 10.8.254.10/30
          vlan: 10
    

    Create Dcx Resource

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

    Constructor syntax

    new Dcx(name: string, args: DcxArgs, opts?: CustomResourceOptions);
    @overload
    def Dcx(resource_name: str,
            args: DcxArgs,
            opts: Optional[ResourceOptions] = None)
    
    @overload
    def Dcx(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            dc_id: Optional[str] = None,
            dcg_id: Optional[str] = None,
            name: Optional[str] = None,
            network_region: Optional[str] = None,
            bgp_auth_key: Optional[str] = None,
            dc_owner_account: Optional[str] = None,
            bgp_asn: Optional[float] = None,
            dcx_id: Optional[str] = None,
            bandwidth: Optional[float] = None,
            customer_address: Optional[str] = None,
            network_type: Optional[str] = None,
            route_filter_prefixes: Optional[Sequence[str]] = None,
            route_type: Optional[str] = None,
            tencent_address: Optional[str] = None,
            vlan: Optional[float] = None,
            vpc_id: Optional[str] = None)
    func NewDcx(ctx *Context, name string, args DcxArgs, opts ...ResourceOption) (*Dcx, error)
    public Dcx(string name, DcxArgs args, CustomResourceOptions? opts = null)
    public Dcx(String name, DcxArgs args)
    public Dcx(String name, DcxArgs args, CustomResourceOptions options)
    
    type: tencentcloud:Dcx
    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 DcxArgs
    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 DcxArgs
    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 DcxArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DcxArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DcxArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    DcId string
    ID of the DC to be queried, application deployment offline.
    DcgId string
    ID of the DC Gateway. Currently only new in the console.
    Bandwidth double
    Bandwidth of the DC.
    BgpAsn double
    BGP ASN of the user. A required field within BGP.
    BgpAuthKey string
    BGP key of the user.
    CustomerAddress string
    Interconnect IP of the DC within client.
    DcOwnerAccount string
    Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
    DcxId string
    ID of the resource.
    Name string
    Name of the dedicated tunnel.
    NetworkRegion string
    Network region.
    NetworkType string
    Type of the network. Valid value: VPC, BMVPC and CCN. The default value is VPC.
    RouteFilterPrefixes List<string>
    Static route, the network address of the user IDC. It can be modified after setting but cannot be deleted. AN unable field within BGP.
    RouteType string
    Type of the route, and available values include BGP and STATIC. The default value is BGP.
    TencentAddress string
    Interconnect IP of the DC within Tencent.
    Vlan double
    Vlan of the dedicated tunnels. Valid value ranges: (0~3000). 0 means that only one tunnel can be created for the physical connect.
    VpcId string
    ID of the VPC or BMVPC.
    DcId string
    ID of the DC to be queried, application deployment offline.
    DcgId string
    ID of the DC Gateway. Currently only new in the console.
    Bandwidth float64
    Bandwidth of the DC.
    BgpAsn float64
    BGP ASN of the user. A required field within BGP.
    BgpAuthKey string
    BGP key of the user.
    CustomerAddress string
    Interconnect IP of the DC within client.
    DcOwnerAccount string
    Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
    DcxId string
    ID of the resource.
    Name string
    Name of the dedicated tunnel.
    NetworkRegion string
    Network region.
    NetworkType string
    Type of the network. Valid value: VPC, BMVPC and CCN. The default value is VPC.
    RouteFilterPrefixes []string
    Static route, the network address of the user IDC. It can be modified after setting but cannot be deleted. AN unable field within BGP.
    RouteType string
    Type of the route, and available values include BGP and STATIC. The default value is BGP.
    TencentAddress string
    Interconnect IP of the DC within Tencent.
    Vlan float64
    Vlan of the dedicated tunnels. Valid value ranges: (0~3000). 0 means that only one tunnel can be created for the physical connect.
    VpcId string
    ID of the VPC or BMVPC.
    dcId String
    ID of the DC to be queried, application deployment offline.
    dcgId String
    ID of the DC Gateway. Currently only new in the console.
    bandwidth Double
    Bandwidth of the DC.
    bgpAsn Double
    BGP ASN of the user. A required field within BGP.
    bgpAuthKey String
    BGP key of the user.
    customerAddress String
    Interconnect IP of the DC within client.
    dcOwnerAccount String
    Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
    dcxId String
    ID of the resource.
    name String
    Name of the dedicated tunnel.
    networkRegion String
    Network region.
    networkType String
    Type of the network. Valid value: VPC, BMVPC and CCN. The default value is VPC.
    routeFilterPrefixes List<String>
    Static route, the network address of the user IDC. It can be modified after setting but cannot be deleted. AN unable field within BGP.
    routeType String
    Type of the route, and available values include BGP and STATIC. The default value is BGP.
    tencentAddress String
    Interconnect IP of the DC within Tencent.
    vlan Double
    Vlan of the dedicated tunnels. Valid value ranges: (0~3000). 0 means that only one tunnel can be created for the physical connect.
    vpcId String
    ID of the VPC or BMVPC.
    dcId string
    ID of the DC to be queried, application deployment offline.
    dcgId string
    ID of the DC Gateway. Currently only new in the console.
    bandwidth number
    Bandwidth of the DC.
    bgpAsn number
    BGP ASN of the user. A required field within BGP.
    bgpAuthKey string
    BGP key of the user.
    customerAddress string
    Interconnect IP of the DC within client.
    dcOwnerAccount string
    Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
    dcxId string
    ID of the resource.
    name string
    Name of the dedicated tunnel.
    networkRegion string
    Network region.
    networkType string
    Type of the network. Valid value: VPC, BMVPC and CCN. The default value is VPC.
    routeFilterPrefixes string[]
    Static route, the network address of the user IDC. It can be modified after setting but cannot be deleted. AN unable field within BGP.
    routeType string
    Type of the route, and available values include BGP and STATIC. The default value is BGP.
    tencentAddress string
    Interconnect IP of the DC within Tencent.
    vlan number
    Vlan of the dedicated tunnels. Valid value ranges: (0~3000). 0 means that only one tunnel can be created for the physical connect.
    vpcId string
    ID of the VPC or BMVPC.
    dc_id str
    ID of the DC to be queried, application deployment offline.
    dcg_id str
    ID of the DC Gateway. Currently only new in the console.
    bandwidth float
    Bandwidth of the DC.
    bgp_asn float
    BGP ASN of the user. A required field within BGP.
    bgp_auth_key str
    BGP key of the user.
    customer_address str
    Interconnect IP of the DC within client.
    dc_owner_account str
    Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
    dcx_id str
    ID of the resource.
    name str
    Name of the dedicated tunnel.
    network_region str
    Network region.
    network_type str
    Type of the network. Valid value: VPC, BMVPC and CCN. The default value is VPC.
    route_filter_prefixes Sequence[str]
    Static route, the network address of the user IDC. It can be modified after setting but cannot be deleted. AN unable field within BGP.
    route_type str
    Type of the route, and available values include BGP and STATIC. The default value is BGP.
    tencent_address str
    Interconnect IP of the DC within Tencent.
    vlan float
    Vlan of the dedicated tunnels. Valid value ranges: (0~3000). 0 means that only one tunnel can be created for the physical connect.
    vpc_id str
    ID of the VPC or BMVPC.
    dcId String
    ID of the DC to be queried, application deployment offline.
    dcgId String
    ID of the DC Gateway. Currently only new in the console.
    bandwidth Number
    Bandwidth of the DC.
    bgpAsn Number
    BGP ASN of the user. A required field within BGP.
    bgpAuthKey String
    BGP key of the user.
    customerAddress String
    Interconnect IP of the DC within client.
    dcOwnerAccount String
    Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
    dcxId String
    ID of the resource.
    name String
    Name of the dedicated tunnel.
    networkRegion String
    Network region.
    networkType String
    Type of the network. Valid value: VPC, BMVPC and CCN. The default value is VPC.
    routeFilterPrefixes List<String>
    Static route, the network address of the user IDC. It can be modified after setting but cannot be deleted. AN unable field within BGP.
    routeType String
    Type of the route, and available values include BGP and STATIC. The default value is BGP.
    tencentAddress String
    Interconnect IP of the DC within Tencent.
    vlan Number
    Vlan of the dedicated tunnels. Valid value ranges: (0~3000). 0 means that only one tunnel can be created for the physical connect.
    vpcId String
    ID of the VPC or BMVPC.

    Outputs

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

    CreateTime string
    Creation time of resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    State of the dedicated tunnels. Valid value: PENDING, ALLOCATING, ALLOCATED, ALTERING, DELETING, DELETED, COMFIRMING and REJECTED.
    CreateTime string
    Creation time of resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    State of the dedicated tunnels. Valid value: PENDING, ALLOCATING, ALLOCATED, ALTERING, DELETING, DELETED, COMFIRMING and REJECTED.
    createTime String
    Creation time of resource.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    State of the dedicated tunnels. Valid value: PENDING, ALLOCATING, ALLOCATED, ALTERING, DELETING, DELETED, COMFIRMING and REJECTED.
    createTime string
    Creation time of resource.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    State of the dedicated tunnels. Valid value: PENDING, ALLOCATING, ALLOCATED, ALTERING, DELETING, DELETED, COMFIRMING and REJECTED.
    create_time str
    Creation time of resource.
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    State of the dedicated tunnels. Valid value: PENDING, ALLOCATING, ALLOCATED, ALTERING, DELETING, DELETED, COMFIRMING and REJECTED.
    createTime String
    Creation time of resource.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    State of the dedicated tunnels. Valid value: PENDING, ALLOCATING, ALLOCATED, ALTERING, DELETING, DELETED, COMFIRMING and REJECTED.

    Look up Existing Dcx Resource

    Get an existing Dcx 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?: DcxState, opts?: CustomResourceOptions): Dcx
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bandwidth: Optional[float] = None,
            bgp_asn: Optional[float] = None,
            bgp_auth_key: Optional[str] = None,
            create_time: Optional[str] = None,
            customer_address: Optional[str] = None,
            dc_id: Optional[str] = None,
            dc_owner_account: Optional[str] = None,
            dcg_id: Optional[str] = None,
            dcx_id: Optional[str] = None,
            name: Optional[str] = None,
            network_region: Optional[str] = None,
            network_type: Optional[str] = None,
            route_filter_prefixes: Optional[Sequence[str]] = None,
            route_type: Optional[str] = None,
            state: Optional[str] = None,
            tencent_address: Optional[str] = None,
            vlan: Optional[float] = None,
            vpc_id: Optional[str] = None) -> Dcx
    func GetDcx(ctx *Context, name string, id IDInput, state *DcxState, opts ...ResourceOption) (*Dcx, error)
    public static Dcx Get(string name, Input<string> id, DcxState? state, CustomResourceOptions? opts = null)
    public static Dcx get(String name, Output<String> id, DcxState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:Dcx    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:
    Bandwidth double
    Bandwidth of the DC.
    BgpAsn double
    BGP ASN of the user. A required field within BGP.
    BgpAuthKey string
    BGP key of the user.
    CreateTime string
    Creation time of resource.
    CustomerAddress string
    Interconnect IP of the DC within client.
    DcId string
    ID of the DC to be queried, application deployment offline.
    DcOwnerAccount string
    Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
    DcgId string
    ID of the DC Gateway. Currently only new in the console.
    DcxId string
    ID of the resource.
    Name string
    Name of the dedicated tunnel.
    NetworkRegion string
    Network region.
    NetworkType string
    Type of the network. Valid value: VPC, BMVPC and CCN. The default value is VPC.
    RouteFilterPrefixes List<string>
    Static route, the network address of the user IDC. It can be modified after setting but cannot be deleted. AN unable field within BGP.
    RouteType string
    Type of the route, and available values include BGP and STATIC. The default value is BGP.
    State string
    State of the dedicated tunnels. Valid value: PENDING, ALLOCATING, ALLOCATED, ALTERING, DELETING, DELETED, COMFIRMING and REJECTED.
    TencentAddress string
    Interconnect IP of the DC within Tencent.
    Vlan double
    Vlan of the dedicated tunnels. Valid value ranges: (0~3000). 0 means that only one tunnel can be created for the physical connect.
    VpcId string
    ID of the VPC or BMVPC.
    Bandwidth float64
    Bandwidth of the DC.
    BgpAsn float64
    BGP ASN of the user. A required field within BGP.
    BgpAuthKey string
    BGP key of the user.
    CreateTime string
    Creation time of resource.
    CustomerAddress string
    Interconnect IP of the DC within client.
    DcId string
    ID of the DC to be queried, application deployment offline.
    DcOwnerAccount string
    Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
    DcgId string
    ID of the DC Gateway. Currently only new in the console.
    DcxId string
    ID of the resource.
    Name string
    Name of the dedicated tunnel.
    NetworkRegion string
    Network region.
    NetworkType string
    Type of the network. Valid value: VPC, BMVPC and CCN. The default value is VPC.
    RouteFilterPrefixes []string
    Static route, the network address of the user IDC. It can be modified after setting but cannot be deleted. AN unable field within BGP.
    RouteType string
    Type of the route, and available values include BGP and STATIC. The default value is BGP.
    State string
    State of the dedicated tunnels. Valid value: PENDING, ALLOCATING, ALLOCATED, ALTERING, DELETING, DELETED, COMFIRMING and REJECTED.
    TencentAddress string
    Interconnect IP of the DC within Tencent.
    Vlan float64
    Vlan of the dedicated tunnels. Valid value ranges: (0~3000). 0 means that only one tunnel can be created for the physical connect.
    VpcId string
    ID of the VPC or BMVPC.
    bandwidth Double
    Bandwidth of the DC.
    bgpAsn Double
    BGP ASN of the user. A required field within BGP.
    bgpAuthKey String
    BGP key of the user.
    createTime String
    Creation time of resource.
    customerAddress String
    Interconnect IP of the DC within client.
    dcId String
    ID of the DC to be queried, application deployment offline.
    dcOwnerAccount String
    Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
    dcgId String
    ID of the DC Gateway. Currently only new in the console.
    dcxId String
    ID of the resource.
    name String
    Name of the dedicated tunnel.
    networkRegion String
    Network region.
    networkType String
    Type of the network. Valid value: VPC, BMVPC and CCN. The default value is VPC.
    routeFilterPrefixes List<String>
    Static route, the network address of the user IDC. It can be modified after setting but cannot be deleted. AN unable field within BGP.
    routeType String
    Type of the route, and available values include BGP and STATIC. The default value is BGP.
    state String
    State of the dedicated tunnels. Valid value: PENDING, ALLOCATING, ALLOCATED, ALTERING, DELETING, DELETED, COMFIRMING and REJECTED.
    tencentAddress String
    Interconnect IP of the DC within Tencent.
    vlan Double
    Vlan of the dedicated tunnels. Valid value ranges: (0~3000). 0 means that only one tunnel can be created for the physical connect.
    vpcId String
    ID of the VPC or BMVPC.
    bandwidth number
    Bandwidth of the DC.
    bgpAsn number
    BGP ASN of the user. A required field within BGP.
    bgpAuthKey string
    BGP key of the user.
    createTime string
    Creation time of resource.
    customerAddress string
    Interconnect IP of the DC within client.
    dcId string
    ID of the DC to be queried, application deployment offline.
    dcOwnerAccount string
    Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
    dcgId string
    ID of the DC Gateway. Currently only new in the console.
    dcxId string
    ID of the resource.
    name string
    Name of the dedicated tunnel.
    networkRegion string
    Network region.
    networkType string
    Type of the network. Valid value: VPC, BMVPC and CCN. The default value is VPC.
    routeFilterPrefixes string[]
    Static route, the network address of the user IDC. It can be modified after setting but cannot be deleted. AN unable field within BGP.
    routeType string
    Type of the route, and available values include BGP and STATIC. The default value is BGP.
    state string
    State of the dedicated tunnels. Valid value: PENDING, ALLOCATING, ALLOCATED, ALTERING, DELETING, DELETED, COMFIRMING and REJECTED.
    tencentAddress string
    Interconnect IP of the DC within Tencent.
    vlan number
    Vlan of the dedicated tunnels. Valid value ranges: (0~3000). 0 means that only one tunnel can be created for the physical connect.
    vpcId string
    ID of the VPC or BMVPC.
    bandwidth float
    Bandwidth of the DC.
    bgp_asn float
    BGP ASN of the user. A required field within BGP.
    bgp_auth_key str
    BGP key of the user.
    create_time str
    Creation time of resource.
    customer_address str
    Interconnect IP of the DC within client.
    dc_id str
    ID of the DC to be queried, application deployment offline.
    dc_owner_account str
    Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
    dcg_id str
    ID of the DC Gateway. Currently only new in the console.
    dcx_id str
    ID of the resource.
    name str
    Name of the dedicated tunnel.
    network_region str
    Network region.
    network_type str
    Type of the network. Valid value: VPC, BMVPC and CCN. The default value is VPC.
    route_filter_prefixes Sequence[str]
    Static route, the network address of the user IDC. It can be modified after setting but cannot be deleted. AN unable field within BGP.
    route_type str
    Type of the route, and available values include BGP and STATIC. The default value is BGP.
    state str
    State of the dedicated tunnels. Valid value: PENDING, ALLOCATING, ALLOCATED, ALTERING, DELETING, DELETED, COMFIRMING and REJECTED.
    tencent_address str
    Interconnect IP of the DC within Tencent.
    vlan float
    Vlan of the dedicated tunnels. Valid value ranges: (0~3000). 0 means that only one tunnel can be created for the physical connect.
    vpc_id str
    ID of the VPC or BMVPC.
    bandwidth Number
    Bandwidth of the DC.
    bgpAsn Number
    BGP ASN of the user. A required field within BGP.
    bgpAuthKey String
    BGP key of the user.
    createTime String
    Creation time of resource.
    customerAddress String
    Interconnect IP of the DC within client.
    dcId String
    ID of the DC to be queried, application deployment offline.
    dcOwnerAccount String
    Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
    dcgId String
    ID of the DC Gateway. Currently only new in the console.
    dcxId String
    ID of the resource.
    name String
    Name of the dedicated tunnel.
    networkRegion String
    Network region.
    networkType String
    Type of the network. Valid value: VPC, BMVPC and CCN. The default value is VPC.
    routeFilterPrefixes List<String>
    Static route, the network address of the user IDC. It can be modified after setting but cannot be deleted. AN unable field within BGP.
    routeType String
    Type of the route, and available values include BGP and STATIC. The default value is BGP.
    state String
    State of the dedicated tunnels. Valid value: PENDING, ALLOCATING, ALLOCATED, ALTERING, DELETING, DELETED, COMFIRMING and REJECTED.
    tencentAddress String
    Interconnect IP of the DC within Tencent.
    vlan Number
    Vlan of the dedicated tunnels. Valid value ranges: (0~3000). 0 means that only one tunnel can be created for the physical connect.
    vpcId String
    ID of the VPC or BMVPC.

    Import

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

    $ pulumi import tencentcloud:index/dcx:Dcx example dcx-cbbr1gjk
    

    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