tencentcloud.Dcx
Explore with Pulumi AI
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)
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:
- Dc
Id string - ID of the DC to be queried, application deployment offline.
- Dcg
Id string - ID of the DC Gateway. Currently only new in the console.
- Bandwidth double
- Bandwidth of the DC.
- Bgp
Asn double - BGP ASN of the user. A required field within BGP.
- Bgp
Auth stringKey - BGP key of the user.
- Customer
Address string - Interconnect IP of the DC within client.
- Dc
Owner stringAccount - Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
- Dcx
Id string - ID of the resource.
- Name string
- Name of the dedicated tunnel.
- Network
Region string - Network region.
- Network
Type string - Type of the network. Valid value:
VPC
,BMVPC
andCCN
. The default value isVPC
. - Route
Filter List<string>Prefixes - 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 string - Type of the route, and available values include BGP and STATIC. The default value is
BGP
. - Tencent
Address 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. - Vpc
Id string - ID of the VPC or BMVPC.
- Dc
Id string - ID of the DC to be queried, application deployment offline.
- Dcg
Id string - ID of the DC Gateway. Currently only new in the console.
- Bandwidth float64
- Bandwidth of the DC.
- Bgp
Asn float64 - BGP ASN of the user. A required field within BGP.
- Bgp
Auth stringKey - BGP key of the user.
- Customer
Address string - Interconnect IP of the DC within client.
- Dc
Owner stringAccount - Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
- Dcx
Id string - ID of the resource.
- Name string
- Name of the dedicated tunnel.
- Network
Region string - Network region.
- Network
Type string - Type of the network. Valid value:
VPC
,BMVPC
andCCN
. The default value isVPC
. - Route
Filter []stringPrefixes - 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 string - Type of the route, and available values include BGP and STATIC. The default value is
BGP
. - Tencent
Address 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. - Vpc
Id string - ID of the VPC or BMVPC.
- dc
Id String - ID of the DC to be queried, application deployment offline.
- dcg
Id String - ID of the DC Gateway. Currently only new in the console.
- bandwidth Double
- Bandwidth of the DC.
- bgp
Asn Double - BGP ASN of the user. A required field within BGP.
- bgp
Auth StringKey - BGP key of the user.
- customer
Address String - Interconnect IP of the DC within client.
- dc
Owner StringAccount - Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
- dcx
Id String - ID of the resource.
- name String
- Name of the dedicated tunnel.
- network
Region String - Network region.
- network
Type String - Type of the network. Valid value:
VPC
,BMVPC
andCCN
. The default value isVPC
. - route
Filter List<String>Prefixes - 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 String - Type of the route, and available values include BGP and STATIC. The default value is
BGP
. - tencent
Address 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. - vpc
Id String - ID of the VPC or BMVPC.
- dc
Id string - ID of the DC to be queried, application deployment offline.
- dcg
Id string - ID of the DC Gateway. Currently only new in the console.
- bandwidth number
- Bandwidth of the DC.
- bgp
Asn number - BGP ASN of the user. A required field within BGP.
- bgp
Auth stringKey - BGP key of the user.
- customer
Address string - Interconnect IP of the DC within client.
- dc
Owner stringAccount - Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
- dcx
Id string - ID of the resource.
- name string
- Name of the dedicated tunnel.
- network
Region string - Network region.
- network
Type string - Type of the network. Valid value:
VPC
,BMVPC
andCCN
. The default value isVPC
. - route
Filter string[]Prefixes - 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 string - Type of the route, and available values include BGP and STATIC. The default value is
BGP
. - tencent
Address 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. - vpc
Id 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_ strkey - BGP key of the user.
- customer_
address str - Interconnect IP of the DC within client.
- dc_
owner_ straccount - 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
andCCN
. The default value isVPC
. - route_
filter_ Sequence[str]prefixes - 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.
- dc
Id String - ID of the DC to be queried, application deployment offline.
- dcg
Id String - ID of the DC Gateway. Currently only new in the console.
- bandwidth Number
- Bandwidth of the DC.
- bgp
Asn Number - BGP ASN of the user. A required field within BGP.
- bgp
Auth StringKey - BGP key of the user.
- customer
Address String - Interconnect IP of the DC within client.
- dc
Owner StringAccount - Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
- dcx
Id String - ID of the resource.
- name String
- Name of the dedicated tunnel.
- network
Region String - Network region.
- network
Type String - Type of the network. Valid value:
VPC
,BMVPC
andCCN
. The default value isVPC
. - route
Filter List<String>Prefixes - 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 String - Type of the route, and available values include BGP and STATIC. The default value is
BGP
. - tencent
Address 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. - vpc
Id 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:
- Create
Time 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
andREJECTED
.
- Create
Time 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
andREJECTED
.
- create
Time 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
andREJECTED
.
- create
Time 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
andREJECTED
.
- 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
andREJECTED
.
- create
Time 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
andREJECTED
.
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.
- Bandwidth double
- Bandwidth of the DC.
- Bgp
Asn double - BGP ASN of the user. A required field within BGP.
- Bgp
Auth stringKey - BGP key of the user.
- Create
Time string - Creation time of resource.
- Customer
Address string - Interconnect IP of the DC within client.
- Dc
Id string - ID of the DC to be queried, application deployment offline.
- Dc
Owner stringAccount - Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
- Dcg
Id string - ID of the DC Gateway. Currently only new in the console.
- Dcx
Id string - ID of the resource.
- Name string
- Name of the dedicated tunnel.
- Network
Region string - Network region.
- Network
Type string - Type of the network. Valid value:
VPC
,BMVPC
andCCN
. The default value isVPC
. - Route
Filter List<string>Prefixes - 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 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
andREJECTED
. - Tencent
Address 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. - Vpc
Id string - ID of the VPC or BMVPC.
- Bandwidth float64
- Bandwidth of the DC.
- Bgp
Asn float64 - BGP ASN of the user. A required field within BGP.
- Bgp
Auth stringKey - BGP key of the user.
- Create
Time string - Creation time of resource.
- Customer
Address string - Interconnect IP of the DC within client.
- Dc
Id string - ID of the DC to be queried, application deployment offline.
- Dc
Owner stringAccount - Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
- Dcg
Id string - ID of the DC Gateway. Currently only new in the console.
- Dcx
Id string - ID of the resource.
- Name string
- Name of the dedicated tunnel.
- Network
Region string - Network region.
- Network
Type string - Type of the network. Valid value:
VPC
,BMVPC
andCCN
. The default value isVPC
. - Route
Filter []stringPrefixes - 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 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
andREJECTED
. - Tencent
Address 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. - Vpc
Id string - ID of the VPC or BMVPC.
- bandwidth Double
- Bandwidth of the DC.
- bgp
Asn Double - BGP ASN of the user. A required field within BGP.
- bgp
Auth StringKey - BGP key of the user.
- create
Time String - Creation time of resource.
- customer
Address String - Interconnect IP of the DC within client.
- dc
Id String - ID of the DC to be queried, application deployment offline.
- dc
Owner StringAccount - Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
- dcg
Id String - ID of the DC Gateway. Currently only new in the console.
- dcx
Id String - ID of the resource.
- name String
- Name of the dedicated tunnel.
- network
Region String - Network region.
- network
Type String - Type of the network. Valid value:
VPC
,BMVPC
andCCN
. The default value isVPC
. - route
Filter List<String>Prefixes - 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 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
andREJECTED
. - tencent
Address 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. - vpc
Id String - ID of the VPC or BMVPC.
- bandwidth number
- Bandwidth of the DC.
- bgp
Asn number - BGP ASN of the user. A required field within BGP.
- bgp
Auth stringKey - BGP key of the user.
- create
Time string - Creation time of resource.
- customer
Address string - Interconnect IP of the DC within client.
- dc
Id string - ID of the DC to be queried, application deployment offline.
- dc
Owner stringAccount - Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
- dcg
Id string - ID of the DC Gateway. Currently only new in the console.
- dcx
Id string - ID of the resource.
- name string
- Name of the dedicated tunnel.
- network
Region string - Network region.
- network
Type string - Type of the network. Valid value:
VPC
,BMVPC
andCCN
. The default value isVPC
. - route
Filter string[]Prefixes - 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 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
andREJECTED
. - tencent
Address 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. - vpc
Id 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_ strkey - 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_ straccount - 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
andCCN
. The default value isVPC
. - route_
filter_ Sequence[str]prefixes - 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
andREJECTED
. - 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.
- bgp
Asn Number - BGP ASN of the user. A required field within BGP.
- bgp
Auth StringKey - BGP key of the user.
- create
Time String - Creation time of resource.
- customer
Address String - Interconnect IP of the DC within client.
- dc
Id String - ID of the DC to be queried, application deployment offline.
- dc
Owner StringAccount - Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections.
- dcg
Id String - ID of the DC Gateway. Currently only new in the console.
- dcx
Id String - ID of the resource.
- name String
- Name of the dedicated tunnel.
- network
Region String - Network region.
- network
Type String - Type of the network. Valid value:
VPC
,BMVPC
andCCN
. The default value isVPC
. - route
Filter List<String>Prefixes - 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 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
andREJECTED
. - tencent
Address 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. - vpc
Id 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.