import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface BhResourceConfig extends cdktf.TerraformMetaArguments { /** * Auto-renewal. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_resource#auto_renew_flag BhResource#auto_renew_flag} */ readonly autoRenewFlag: number; /** * CIDR block of the bastion host. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_resource#cidr_block BhResource#cidr_block} */ readonly cidrBlock: string; /** * 0 - Disable client access to the bastion host; 1 - Enable client access to the bastion host. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_resource#client_access BhResource#client_access} */ readonly clientAccess?: number; /** * Deployment region. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_resource#deploy_region BhResource#deploy_region} */ readonly deployRegion: string; /** * Deployment zone. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_resource#deploy_zone BhResource#deploy_zone} */ readonly deployZone: string; /** * 0 - Disable public network access to the bastion host; 1 - Enable public network access to the bastion host. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_resource#external_access BhResource#external_access} */ readonly externalAccess?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_resource#id BhResource#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; /** * 0 - Disable internal network access bastion host; 1 - Enable internal network access bastion host. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_resource#intranet_access BhResource#intranet_access} */ readonly intranetAccess?: number; /** * Billing mode, 1 for prepaid. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_resource#pay_mode BhResource#pay_mode} */ readonly payMode: number; /** * Resource type. Values: standard/pro. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_resource#resource_edition BhResource#resource_edition} */ readonly resourceEdition: string; /** * Number of resource nodes. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_resource#resource_node BhResource#resource_node} */ readonly resourceNode: number; /** * Whether to share CLB, 0: not shared, 1: shared. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_resource#share_clb BhResource#share_clb} */ readonly shareClb?: number; /** * Subnet ID for deploying the bastion host. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_resource#subnet_id BhResource#subnet_id} */ readonly subnetId: string; /** * Billing duration. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_resource#time_span BhResource#time_span} */ readonly timeSpan: number; /** * Billing cycle. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_resource#time_unit BhResource#time_unit} */ readonly timeUnit: string; /** * 0 for non-trial version, 1 for trial version. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_resource#trial BhResource#trial} */ readonly trial?: number; /** * The network segment corresponding to the VPC that needs to activate the service. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_resource#vpc_cidr_block BhResource#vpc_cidr_block} */ readonly vpcCidrBlock: string; /** * VPC ID for deploying the bastion host. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_resource#vpc_id BhResource#vpc_id} */ readonly vpcId: string; /** * 0 - Disable web access bastion host; 1 - Enable web access bastion host. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_resource#web_access BhResource#web_access} */ readonly webAccess?: number; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_resource tencentcloud_bh_resource} */ export declare class BhResource extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_bh_resource"; /** * Generates CDKTF code for importing a BhResource 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 BhResource to import * @param importFromId The id of the existing BhResource that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_resource#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the BhResource 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/bh_resource tencentcloud_bh_resource} 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 BhResourceConfig */ constructor(scope: Construct, id: string, config: BhResourceConfig); private _autoRenewFlag?; get autoRenewFlag(): number; set autoRenewFlag(value: number); get autoRenewFlagInput(): number; private _cidrBlock?; get cidrBlock(): string; set cidrBlock(value: string); get cidrBlockInput(): string; private _clientAccess?; get clientAccess(): number; set clientAccess(value: number); resetClientAccess(): void; get clientAccessInput(): number; private _deployRegion?; get deployRegion(): string; set deployRegion(value: string); get deployRegionInput(): string; private _deployZone?; get deployZone(): string; set deployZone(value: string); get deployZoneInput(): string; private _externalAccess?; get externalAccess(): number; set externalAccess(value: number); resetExternalAccess(): void; get externalAccessInput(): number; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _intranetAccess?; get intranetAccess(): number; set intranetAccess(value: number); resetIntranetAccess(): void; get intranetAccessInput(): number; private _payMode?; get payMode(): number; set payMode(value: number); get payModeInput(): number; private _resourceEdition?; get resourceEdition(): string; set resourceEdition(value: string); get resourceEditionInput(): string; get resourceId(): any; private _resourceNode?; get resourceNode(): number; set resourceNode(value: number); get resourceNodeInput(): number; private _shareClb?; get shareClb(): number; set shareClb(value: number); resetShareClb(): void; get shareClbInput(): number; private _subnetId?; get subnetId(): string; set subnetId(value: string); get subnetIdInput(): string; private _timeSpan?; get timeSpan(): number; set timeSpan(value: number); get timeSpanInput(): number; private _timeUnit?; get timeUnit(): string; set timeUnit(value: string); get timeUnitInput(): string; private _trial?; get trial(): number; set trial(value: number); resetTrial(): void; get trialInput(): number; private _vpcCidrBlock?; get vpcCidrBlock(): string; set vpcCidrBlock(value: string); get vpcCidrBlockInput(): string; private _vpcId?; get vpcId(): string; set vpcId(value: string); get vpcIdInput(): string; private _webAccess?; get webAccess(): number; set webAccess(value: number); resetWebAccess(): void; get webAccessInput(): number; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }