import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DcxConfig extends cdktf.TerraformMetaArguments { /** * Bandwidth of the DC. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dcx#bandwidth Dcx#bandwidth} */ readonly bandwidth?: number; /** * BGP ASN of the user. A required field within BGP. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dcx#bgp_asn Dcx#bgp_asn} */ readonly bgpAsn?: number; /** * BGP key of the user. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dcx#bgp_auth_key Dcx#bgp_auth_key} */ readonly bgpAuthKey?: string; /** * Interconnect IP of the DC within client. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dcx#customer_address Dcx#customer_address} */ readonly customerAddress?: string; /** * ID of the DC to be queried, application deployment offline. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dcx#dc_id Dcx#dc_id} */ readonly dcId: string; /** * Connection owner, who is the current customer by default. The developer account ID should be entered for shared connections. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dcx#dc_owner_account Dcx#dc_owner_account} */ readonly dcOwnerAccount?: string; /** * ID of the DC Gateway. Currently only new in the console. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dcx#dcg_id Dcx#dcg_id} */ readonly dcgId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dcx#id Dcx#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * Name of the dedicated tunnel. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dcx#name Dcx#name} */ readonly name: string; /** * Network region. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dcx#network_region Dcx#network_region} */ readonly networkRegion?: string; /** * Type of the network. Valid value: `VPC`, `BMVPC` and `CCN`. The default value is `VPC`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dcx#network_type Dcx#network_type} */ readonly networkType?: 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. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dcx#route_filter_prefixes Dcx#route_filter_prefixes} */ readonly routeFilterPrefixes?: string[]; /** * Type of the route, and available values include BGP and STATIC. The default value is `BGP`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dcx#route_type Dcx#route_type} */ readonly routeType?: string; /** * Interconnect IP of the DC within Tencent. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dcx#tencent_address Dcx#tencent_address} */ readonly tencentAddress?: string; /** * Vlan of the dedicated tunnels. Valid value ranges: (0~3000). `0` means that only one tunnel can be created for the physical connect. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dcx#vlan Dcx#vlan} */ readonly vlan?: number; /** * ID of the VPC or BMVPC. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dcx#vpc_id Dcx#vpc_id} */ readonly vpcId?: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dcx tencentcloud_dcx} */ export declare class Dcx extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_dcx"; /** * Generates CDKTF code for importing a Dcx resource upon running "cdktf plan " * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the Dcx to import * @param importFromId The id of the existing Dcx that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dcx#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the Dcx to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any; /** * Create a new {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dcx tencentcloud_dcx} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options DcxConfig */ constructor(scope: Construct, id: string, config: DcxConfig); private _bandwidth?; get bandwidth(): number; set bandwidth(value: number); resetBandwidth(): void; get bandwidthInput(): number; private _bgpAsn?; get bgpAsn(): number; set bgpAsn(value: number); resetBgpAsn(): void; get bgpAsnInput(): number; private _bgpAuthKey?; get bgpAuthKey(): string; set bgpAuthKey(value: string); resetBgpAuthKey(): void; get bgpAuthKeyInput(): string; get createTime(): any; private _customerAddress?; get customerAddress(): string; set customerAddress(value: string); resetCustomerAddress(): void; get customerAddressInput(): string; private _dcId?; get dcId(): string; set dcId(value: string); get dcIdInput(): string; private _dcOwnerAccount?; get dcOwnerAccount(): string; set dcOwnerAccount(value: string); resetDcOwnerAccount(): void; get dcOwnerAccountInput(): string; private _dcgId?; get dcgId(): string; set dcgId(value: string); get dcgIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _networkRegion?; get networkRegion(): string; set networkRegion(value: string); resetNetworkRegion(): void; get networkRegionInput(): string; private _networkType?; get networkType(): string; set networkType(value: string); resetNetworkType(): void; get networkTypeInput(): string; private _routeFilterPrefixes?; get routeFilterPrefixes(): string[]; set routeFilterPrefixes(value: string[]); resetRouteFilterPrefixes(): void; get routeFilterPrefixesInput(): string[]; private _routeType?; get routeType(): string; set routeType(value: string); resetRouteType(): void; get routeTypeInput(): string; get state(): any; private _tencentAddress?; get tencentAddress(): string; set tencentAddress(value: string); resetTencentAddress(): void; get tencentAddressInput(): string; private _vlan?; get vlan(): number; set vlan(value: number); resetVlan(): void; get vlanInput(): number; private _vpcId?; get vpcId(): string; set vpcId(value: string); resetVpcId(): void; get vpcIdInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }