import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface IgtmStrategyConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_strategy#id IgtmStrategy#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; /** * Instance ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_strategy#instance_id IgtmStrategy#instance_id} */ readonly instanceId: string; /** * Whether to enable policy forced retention of default lines disabled, enabled, default is disabled and only one policy can be enabled. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_strategy#keep_domain_records IgtmStrategy#keep_domain_records} */ readonly keepDomainRecords?: string; /** * Strategy name, cannot be duplicated. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_strategy#strategy_name IgtmStrategy#strategy_name} */ readonly strategyName: string; /** * Policy scheduling mode: AUTO default switching; STOP only pause without switching. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_strategy#switch_pool_type IgtmStrategy#switch_pool_type} */ readonly switchPoolType?: string; /** * fallback_address_pool_set block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_strategy#fallback_address_pool_set IgtmStrategy#fallback_address_pool_set} */ readonly fallbackAddressPoolSet: IgtmStrategyFallbackAddressPoolSet[] | cdktf.IResolvable; /** * main_address_pool_set block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_strategy#main_address_pool_set IgtmStrategy#main_address_pool_set} */ readonly mainAddressPoolSet: IgtmStrategyMainAddressPoolSet[] | cdktf.IResolvable; /** * source block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_strategy#source IgtmStrategy#source} */ readonly source: IgtmStrategySource[] | cdktf.IResolvable; } export interface IgtmStrategyFallbackAddressPoolSetAddressPools { /** * Address pool ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_strategy#pool_id IgtmStrategy#pool_id} */ readonly poolId: number; /** * Weight. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_strategy#weight IgtmStrategy#weight} */ readonly weight?: number; } export declare function igtmStrategyFallbackAddressPoolSetAddressPoolsToTerraform(struct?: IgtmStrategyFallbackAddressPoolSetAddressPools | cdktf.IResolvable): any; export declare function igtmStrategyFallbackAddressPoolSetAddressPoolsToHclTerraform(struct?: IgtmStrategyFallbackAddressPoolSetAddressPools | cdktf.IResolvable): any; export declare class IgtmStrategyFallbackAddressPoolSetAddressPoolsOutputReference 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(): IgtmStrategyFallbackAddressPoolSetAddressPools | cdktf.IResolvable | undefined; set internalValue(value: IgtmStrategyFallbackAddressPoolSetAddressPools | cdktf.IResolvable | undefined); private _poolId?; get poolId(): number; set poolId(value: number); get poolIdInput(): number; private _weight?; get weight(): number; set weight(value: number); resetWeight(): void; get weightInput(): number; } export declare class IgtmStrategyFallbackAddressPoolSetAddressPoolsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: IgtmStrategyFallbackAddressPoolSetAddressPools[] | 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): IgtmStrategyFallbackAddressPoolSetAddressPoolsOutputReference; } export interface IgtmStrategyFallbackAddressPoolSet { /** * Address pool set ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_strategy#main_address_pool_id IgtmStrategy#main_address_pool_id} */ readonly mainAddressPoolId?: number; /** * Switch threshold, cannot exceed the total number of addresses in the main set. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_strategy#min_survive_num IgtmStrategy#min_survive_num} */ readonly minSurviveNum?: number; /** * Switch strategy: ALL resolves all addresses; WEIGHT: load balancing. When ALL, the weight value of resolved addresses is 1; when WEIGHT, weight is address pool weight * address weight. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_strategy#traffic_strategy IgtmStrategy#traffic_strategy} */ readonly trafficStrategy?: string; /** * address_pools block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_strategy#address_pools IgtmStrategy#address_pools} */ readonly addressPools: IgtmStrategyFallbackAddressPoolSetAddressPools[] | cdktf.IResolvable; } export declare function igtmStrategyFallbackAddressPoolSetToTerraform(struct?: IgtmStrategyFallbackAddressPoolSet | cdktf.IResolvable): any; export declare function igtmStrategyFallbackAddressPoolSetToHclTerraform(struct?: IgtmStrategyFallbackAddressPoolSet | cdktf.IResolvable): any; export declare class IgtmStrategyFallbackAddressPoolSetOutputReference 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(): IgtmStrategyFallbackAddressPoolSet | cdktf.IResolvable | undefined; set internalValue(value: IgtmStrategyFallbackAddressPoolSet | cdktf.IResolvable | undefined); private _mainAddressPoolId?; get mainAddressPoolId(): number; set mainAddressPoolId(value: number); resetMainAddressPoolId(): void; get mainAddressPoolIdInput(): number; private _minSurviveNum?; get minSurviveNum(): number; set minSurviveNum(value: number); resetMinSurviveNum(): void; get minSurviveNumInput(): number; private _trafficStrategy?; get trafficStrategy(): string; set trafficStrategy(value: string); resetTrafficStrategy(): void; get trafficStrategyInput(): string; private _addressPools; get addressPools(): IgtmStrategyFallbackAddressPoolSetAddressPoolsList; putAddressPools(value: IgtmStrategyFallbackAddressPoolSetAddressPools[] | cdktf.IResolvable): void; get addressPoolsInput(): any; } export declare class IgtmStrategyFallbackAddressPoolSetList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: IgtmStrategyFallbackAddressPoolSet[] | 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): IgtmStrategyFallbackAddressPoolSetOutputReference; } export interface IgtmStrategyMainAddressPoolSetAddressPools { /** * Address pool ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_strategy#pool_id IgtmStrategy#pool_id} */ readonly poolId: number; /** * Weight. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_strategy#weight IgtmStrategy#weight} */ readonly weight?: number; } export declare function igtmStrategyMainAddressPoolSetAddressPoolsToTerraform(struct?: IgtmStrategyMainAddressPoolSetAddressPools | cdktf.IResolvable): any; export declare function igtmStrategyMainAddressPoolSetAddressPoolsToHclTerraform(struct?: IgtmStrategyMainAddressPoolSetAddressPools | cdktf.IResolvable): any; export declare class IgtmStrategyMainAddressPoolSetAddressPoolsOutputReference 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(): IgtmStrategyMainAddressPoolSetAddressPools | cdktf.IResolvable | undefined; set internalValue(value: IgtmStrategyMainAddressPoolSetAddressPools | cdktf.IResolvable | undefined); private _poolId?; get poolId(): number; set poolId(value: number); get poolIdInput(): number; private _weight?; get weight(): number; set weight(value: number); resetWeight(): void; get weightInput(): number; } export declare class IgtmStrategyMainAddressPoolSetAddressPoolsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: IgtmStrategyMainAddressPoolSetAddressPools[] | 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): IgtmStrategyMainAddressPoolSetAddressPoolsOutputReference; } export interface IgtmStrategyMainAddressPoolSet { /** * Address pool set ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_strategy#main_address_pool_id IgtmStrategy#main_address_pool_id} */ readonly mainAddressPoolId?: number; /** * Switch threshold, cannot exceed the total number of addresses in the main set. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_strategy#min_survive_num IgtmStrategy#min_survive_num} */ readonly minSurviveNum?: number; /** * Switch strategy: ALL resolves all addresses; WEIGHT: load balancing. When ALL, the weight value of resolved addresses is 1; when WEIGHT, weight is address pool weight * address weight. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_strategy#traffic_strategy IgtmStrategy#traffic_strategy} */ readonly trafficStrategy?: string; /** * address_pools block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_strategy#address_pools IgtmStrategy#address_pools} */ readonly addressPools: IgtmStrategyMainAddressPoolSetAddressPools[] | cdktf.IResolvable; } export declare function igtmStrategyMainAddressPoolSetToTerraform(struct?: IgtmStrategyMainAddressPoolSet | cdktf.IResolvable): any; export declare function igtmStrategyMainAddressPoolSetToHclTerraform(struct?: IgtmStrategyMainAddressPoolSet | cdktf.IResolvable): any; export declare class IgtmStrategyMainAddressPoolSetOutputReference 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(): IgtmStrategyMainAddressPoolSet | cdktf.IResolvable | undefined; set internalValue(value: IgtmStrategyMainAddressPoolSet | cdktf.IResolvable | undefined); private _mainAddressPoolId?; get mainAddressPoolId(): number; set mainAddressPoolId(value: number); resetMainAddressPoolId(): void; get mainAddressPoolIdInput(): number; private _minSurviveNum?; get minSurviveNum(): number; set minSurviveNum(value: number); resetMinSurviveNum(): void; get minSurviveNumInput(): number; private _trafficStrategy?; get trafficStrategy(): string; set trafficStrategy(value: string); resetTrafficStrategy(): void; get trafficStrategyInput(): string; private _addressPools; get addressPools(): IgtmStrategyMainAddressPoolSetAddressPoolsList; putAddressPools(value: IgtmStrategyMainAddressPoolSetAddressPools[] | cdktf.IResolvable): void; get addressPoolsInput(): any; } export declare class IgtmStrategyMainAddressPoolSetList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: IgtmStrategyMainAddressPoolSet[] | 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): IgtmStrategyMainAddressPoolSetOutputReference; } export interface IgtmStrategySource { /** * Resolution request source line ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_strategy#dns_line_id IgtmStrategy#dns_line_id} */ readonly dnsLineId: number; /** * Resolution request source line name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_strategy#name IgtmStrategy#name} */ readonly name?: string; } export declare function igtmStrategySourceToTerraform(struct?: IgtmStrategySource | cdktf.IResolvable): any; export declare function igtmStrategySourceToHclTerraform(struct?: IgtmStrategySource | cdktf.IResolvable): any; export declare class IgtmStrategySourceOutputReference 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(): IgtmStrategySource | cdktf.IResolvable | undefined; set internalValue(value: IgtmStrategySource | cdktf.IResolvable | undefined); private _dnsLineId?; get dnsLineId(): number; set dnsLineId(value: number); get dnsLineIdInput(): number; private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string; } export declare class IgtmStrategySourceList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: IgtmStrategySource[] | 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): IgtmStrategySourceOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_strategy tencentcloud_igtm_strategy} */ export declare class IgtmStrategy extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_igtm_strategy"; /** * Generates CDKTF code for importing a IgtmStrategy 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 IgtmStrategy to import * @param importFromId The id of the existing IgtmStrategy that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/igtm_strategy#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the IgtmStrategy 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_strategy tencentcloud_igtm_strategy} 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 IgtmStrategyConfig */ constructor(scope: Construct, id: string, config: IgtmStrategyConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _instanceId?; get instanceId(): string; set instanceId(value: string); get instanceIdInput(): string; private _keepDomainRecords?; get keepDomainRecords(): string; set keepDomainRecords(value: string); resetKeepDomainRecords(): void; get keepDomainRecordsInput(): string; get strategyId(): any; private _strategyName?; get strategyName(): string; set strategyName(value: string); get strategyNameInput(): string; private _switchPoolType?; get switchPoolType(): string; set switchPoolType(value: string); resetSwitchPoolType(): void; get switchPoolTypeInput(): string; private _fallbackAddressPoolSet; get fallbackAddressPoolSet(): IgtmStrategyFallbackAddressPoolSetList; putFallbackAddressPoolSet(value: IgtmStrategyFallbackAddressPoolSet[] | cdktf.IResolvable): void; get fallbackAddressPoolSetInput(): any; private _mainAddressPoolSet; get mainAddressPoolSet(): IgtmStrategyMainAddressPoolSetList; putMainAddressPoolSet(value: IgtmStrategyMainAddressPoolSet[] | cdktf.IResolvable): void; get mainAddressPoolSetInput(): any; private _source; get source(): IgtmStrategySourceList; putSource(value: IgtmStrategySource[] | cdktf.IResolvable): void; get sourceInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }