import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface TsfUnitRuleConfig extends cdktf.TerraformMetaArguments { /** * rule description. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_unit_rule#description TsfUnitRule#description} */ readonly description?: string; /** * gateway entity ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_unit_rule#gateway_instance_id TsfUnitRule#gateway_instance_id} */ readonly gatewayInstanceId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_unit_rule#id TsfUnitRule#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; /** * rule name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_unit_rule#name TsfUnitRule#name} */ readonly name: string; /** * unit_rule_item_list block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_unit_rule#unit_rule_item_list TsfUnitRule#unit_rule_item_list} */ readonly unitRuleItemList?: TsfUnitRuleUnitRuleItemListStruct[] | cdktf.IResolvable; } export interface TsfUnitRuleUnitRuleItemListUnitRuleTagListStruct { /** * rule ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_unit_rule#rule_id TsfUnitRule#rule_id} */ readonly ruleId?: string; /** * label name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_unit_rule#tag_field TsfUnitRule#tag_field} */ readonly tagField: string; /** * Operator: IN/NOT_IN/EQUAL/NOT_EQUAL/REGEX. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_unit_rule#tag_operator TsfUnitRule#tag_operator} */ readonly tagOperator: string; /** * Tag Type: U(User Tag). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_unit_rule#tag_type TsfUnitRule#tag_type} */ readonly tagType: string; /** * tag value. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_unit_rule#tag_value TsfUnitRule#tag_value} */ readonly tagValue: string; /** * Unitization rule item ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_unit_rule#unit_rule_item_id TsfUnitRule#unit_rule_item_id} */ readonly unitRuleItemId?: string; } export declare function tsfUnitRuleUnitRuleItemListUnitRuleTagListStructToTerraform(struct?: TsfUnitRuleUnitRuleItemListUnitRuleTagListStruct | cdktf.IResolvable): any; export declare function tsfUnitRuleUnitRuleItemListUnitRuleTagListStructToHclTerraform(struct?: TsfUnitRuleUnitRuleItemListUnitRuleTagListStruct | cdktf.IResolvable): any; export declare class TsfUnitRuleUnitRuleItemListUnitRuleTagListStructOutputReference 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(): TsfUnitRuleUnitRuleItemListUnitRuleTagListStruct | cdktf.IResolvable | undefined; set internalValue(value: TsfUnitRuleUnitRuleItemListUnitRuleTagListStruct | cdktf.IResolvable | undefined); private _ruleId?; get ruleId(): string; set ruleId(value: string); resetRuleId(): void; get ruleIdInput(): string; private _tagField?; get tagField(): string; set tagField(value: string); get tagFieldInput(): string; private _tagOperator?; get tagOperator(): string; set tagOperator(value: string); get tagOperatorInput(): string; private _tagType?; get tagType(): string; set tagType(value: string); get tagTypeInput(): string; private _tagValue?; get tagValue(): string; set tagValue(value: string); get tagValueInput(): string; private _unitRuleItemId?; get unitRuleItemId(): string; set unitRuleItemId(value: string); resetUnitRuleItemId(): void; get unitRuleItemIdInput(): string; } export declare class TsfUnitRuleUnitRuleItemListUnitRuleTagListStructList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: TsfUnitRuleUnitRuleItemListUnitRuleTagListStruct[] | 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): TsfUnitRuleUnitRuleItemListUnitRuleTagListStructOutputReference; } export interface TsfUnitRuleUnitRuleItemListStruct { /** * rule description. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_unit_rule#description TsfUnitRule#description} */ readonly description?: string; /** * destination namespace ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_unit_rule#dest_namespace_id TsfUnitRule#dest_namespace_id} */ readonly destNamespaceId: string; /** * destination namespace name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_unit_rule#dest_namespace_name TsfUnitRule#dest_namespace_name} */ readonly destNamespaceName: string; /** * rule item name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_unit_rule#name TsfUnitRule#name} */ readonly name: string; /** * rule order, the smaller the higher the priority: the default is 0. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_unit_rule#priority TsfUnitRule#priority} */ readonly priority?: number; /** * logical relationship: AND/OR. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_unit_rule#relationship TsfUnitRule#relationship} */ readonly relationship: string; /** * rule item ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_unit_rule#rule_id TsfUnitRule#rule_id} */ readonly ruleId?: string; /** * Unitization rule ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_unit_rule#unit_rule_id TsfUnitRule#unit_rule_id} */ readonly unitRuleId?: string; /** * unit_rule_tag_list block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_unit_rule#unit_rule_tag_list TsfUnitRule#unit_rule_tag_list} */ readonly unitRuleTagList?: TsfUnitRuleUnitRuleItemListUnitRuleTagListStruct[] | cdktf.IResolvable; } export declare function tsfUnitRuleUnitRuleItemListStructToTerraform(struct?: TsfUnitRuleUnitRuleItemListStruct | cdktf.IResolvable): any; export declare function tsfUnitRuleUnitRuleItemListStructToHclTerraform(struct?: TsfUnitRuleUnitRuleItemListStruct | cdktf.IResolvable): any; export declare class TsfUnitRuleUnitRuleItemListStructOutputReference 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(): TsfUnitRuleUnitRuleItemListStruct | cdktf.IResolvable | undefined; set internalValue(value: TsfUnitRuleUnitRuleItemListStruct | cdktf.IResolvable | undefined); private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _destNamespaceId?; get destNamespaceId(): string; set destNamespaceId(value: string); get destNamespaceIdInput(): string; private _destNamespaceName?; get destNamespaceName(): string; set destNamespaceName(value: string); get destNamespaceNameInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _priority?; get priority(): number; set priority(value: number); resetPriority(): void; get priorityInput(): number; private _relationship?; get relationship(): string; set relationship(value: string); get relationshipInput(): string; private _ruleId?; get ruleId(): string; set ruleId(value: string); resetRuleId(): void; get ruleIdInput(): string; private _unitRuleId?; get unitRuleId(): string; set unitRuleId(value: string); resetUnitRuleId(): void; get unitRuleIdInput(): string; private _unitRuleTagList; get unitRuleTagList(): TsfUnitRuleUnitRuleItemListUnitRuleTagListStructList; putUnitRuleTagList(value: TsfUnitRuleUnitRuleItemListUnitRuleTagListStruct[] | cdktf.IResolvable): void; resetUnitRuleTagList(): void; get unitRuleTagListInput(): any; } export declare class TsfUnitRuleUnitRuleItemListStructList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: TsfUnitRuleUnitRuleItemListStruct[] | 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): TsfUnitRuleUnitRuleItemListStructOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_unit_rule tencentcloud_tsf_unit_rule} */ export declare class TsfUnitRule extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_tsf_unit_rule"; /** * Generates CDKTF code for importing a TsfUnitRule 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 TsfUnitRule to import * @param importFromId The id of the existing TsfUnitRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tsf_unit_rule#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the TsfUnitRule 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/tsf_unit_rule tencentcloud_tsf_unit_rule} 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 TsfUnitRuleConfig */ constructor(scope: Construct, id: string, config: TsfUnitRuleConfig); private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _gatewayInstanceId?; get gatewayInstanceId(): string; set gatewayInstanceId(value: string); get gatewayInstanceIdInput(): 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; get ruleId(): any; get status(): any; private _unitRuleItemList; get unitRuleItemList(): TsfUnitRuleUnitRuleItemListStructList; putUnitRuleItemList(value: TsfUnitRuleUnitRuleItemListStruct[] | cdktf.IResolvable): void; resetUnitRuleItemList(): void; get unitRuleItemListInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }