import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface IgtmAddressPoolConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_address_pool#id IgtmAddressPool#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; /** * Monitor ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_address_pool#monitor_id IgtmAddressPool#monitor_id} */ readonly monitorId?: number; /** * Address pool name, duplicates are not allowed. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_address_pool#pool_name IgtmAddressPool#pool_name} */ readonly poolName: string; /** * Traffic strategy: WEIGHT for load balancing, ALL for resolving all healthy addresses. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_address_pool#traffic_strategy IgtmAddressPool#traffic_strategy} */ readonly trafficStrategy: string; /** * address_set block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_address_pool#address_set IgtmAddressPool#address_set} */ readonly addressSet: IgtmAddressPoolAddressSet[] | cdktf.IResolvable; } export interface IgtmAddressPoolAddressSet { /** * Address value: only supports IPv4, IPv6, and domain name formats. * Loopback addresses, reserved addresses, internal addresses, and Tencent reserved network segments are not supported. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_address_pool#addr IgtmAddressPool#addr} */ readonly addr: string; /** * Whether to enable: DISABLED for disabled, ENABLED for enabled. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_address_pool#is_enable IgtmAddressPool#is_enable} */ readonly isEnable: string; /** * Address name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_address_pool#location IgtmAddressPool#location} */ readonly location?: string; /** * Weight, required when traffic strategy is WEIGHT; range 1-100. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_address_pool#weight IgtmAddressPool#weight} */ readonly weight?: number; } export declare function igtmAddressPoolAddressSetToTerraform(struct?: IgtmAddressPoolAddressSet | cdktf.IResolvable): any; export declare function igtmAddressPoolAddressSetToHclTerraform(struct?: IgtmAddressPoolAddressSet | cdktf.IResolvable): any; export declare class IgtmAddressPoolAddressSetOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): IgtmAddressPoolAddressSet | cdktf.IResolvable | undefined; set internalValue(value: IgtmAddressPoolAddressSet | cdktf.IResolvable | undefined); private _addr?; get addr(): string; set addr(value: string); get addrInput(): string; get addressId(): any; get createdOn(): any; private _isEnable?; get isEnable(): string; set isEnable(value: string); get isEnableInput(): string; private _location?; get location(): string; set location(value: string); resetLocation(): void; get locationInput(): string; get status(): any; get updatedOn(): any; private _weight?; get weight(): number; set weight(value: number); resetWeight(): void; get weightInput(): number; } export declare class IgtmAddressPoolAddressSetList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: IgtmAddressPoolAddressSet[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): IgtmAddressPoolAddressSetOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_address_pool tencentcloud_igtm_address_pool} */ export declare class IgtmAddressPool extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_igtm_address_pool"; /** * Generates CDKTF code for importing a IgtmAddressPool 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 IgtmAddressPool to import * @param importFromId The id of the existing IgtmAddressPool that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_address_pool#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the IgtmAddressPool 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/igtm_address_pool tencentcloud_igtm_address_pool} 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 IgtmAddressPoolConfig */ constructor(scope: Construct, id: string, config: IgtmAddressPoolConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _monitorId?; get monitorId(): number; set monitorId(value: number); resetMonitorId(): void; get monitorIdInput(): number; get poolId(): any; private _poolName?; get poolName(): string; set poolName(value: string); get poolNameInput(): string; private _trafficStrategy?; get trafficStrategy(): string; set trafficStrategy(value: string); get trafficStrategyInput(): string; private _addressSet; get addressSet(): IgtmAddressPoolAddressSetList; putAddressSet(value: IgtmAddressPoolAddressSet[] | cdktf.IResolvable): void; get addressSetInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }