import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface EniConfig extends cdktf.TerraformMetaArguments { /** * Description of the ENI, maximum length 60. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eni#description Eni#description} */ readonly description?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eni#id Eni#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; /** * The number of intranet IPv4s. When it is greater than 1, there is only one primary intranet IP. The others are auxiliary intranet IPs, which conflict with `ipv4s`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eni#ipv4_count Eni#ipv4_count} */ readonly ipv4Count?: number; /** * Name of the ENI, maximum length 60. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eni#name Eni#name} */ readonly name: string; /** * List of security group IDs. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eni#orderly_security_groups Eni#orderly_security_groups} */ readonly orderlySecurityGroups?: string[]; /** * A set of security group IDs. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eni#security_groups Eni#security_groups} */ readonly securityGroups?: string[]; /** * ID of the subnet within this vpc. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eni#subnet_id Eni#subnet_id} */ readonly subnetId: string; /** * Tags of the ENI. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eni#tags Eni#tags} */ readonly tags?: { [key: string]: string; }; /** * ID of the vpc. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eni#vpc_id Eni#vpc_id} */ readonly vpcId: string; /** * ipv4s block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eni#ipv4s Eni#ipv4s} */ readonly ipv4S?: EniIpv4S[] | cdktf.IResolvable; } export interface EniIpv4Info { } export declare function eniIpv4InfoToTerraform(struct?: EniIpv4Info): any; export declare function eniIpv4InfoToHclTerraform(struct?: EniIpv4Info): any; export declare class EniIpv4InfoOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): EniIpv4Info | undefined; set internalValue(value: EniIpv4Info | undefined); get description(): any; get ip(): any; get primary(): any; } export declare class EniIpv4InfoList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @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): EniIpv4InfoOutputReference; } export interface EniIpv4S { /** * Description of the IP, maximum length 25. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eni#description Eni#description} */ readonly description?: string; /** * Intranet IP. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eni#ip Eni#ip} */ readonly ip: string; /** * Indicates whether the IP is primary. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eni#primary Eni#primary} */ readonly primary: boolean | cdktf.IResolvable; } export declare function eniIpv4SToTerraform(struct?: EniIpv4S | cdktf.IResolvable): any; export declare function eniIpv4SToHclTerraform(struct?: EniIpv4S | cdktf.IResolvable): any; export declare class EniIpv4SOutputReference 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(): EniIpv4S | cdktf.IResolvable | undefined; set internalValue(value: EniIpv4S | cdktf.IResolvable | undefined); private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _ip?; get ip(): string; set ip(value: string); get ipInput(): string; private _primary?; get primary(): boolean | cdktf.IResolvable; set primary(value: boolean | cdktf.IResolvable); get primaryInput(): any; } export declare class EniIpv4SList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: EniIpv4S[] | 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): EniIpv4SOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eni tencentcloud_eni} */ export declare class Eni extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_eni"; /** * Generates CDKTF code for importing a Eni 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 Eni to import * @param importFromId The id of the existing Eni that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/eni#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the Eni 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/eni tencentcloud_eni} 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 EniConfig */ constructor(scope: Construct, id: string, config: EniConfig); get cdcId(): any; get createTime(): any; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _ipv4Count?; get ipv4Count(): number; set ipv4Count(value: number); resetIpv4Count(): void; get ipv4CountInput(): number; private _ipv4Info; get ipv4Info(): EniIpv4InfoList; get mac(): any; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _orderlySecurityGroups?; get orderlySecurityGroups(): string[]; set orderlySecurityGroups(value: string[]); resetOrderlySecurityGroups(): void; get orderlySecurityGroupsInput(): string[]; get primary(): any; private _securityGroups?; get securityGroups(): string[]; set securityGroups(value: string[]); resetSecurityGroups(): void; get securityGroupsInput(): string[]; get state(): any; private _subnetId?; get subnetId(): string; set subnetId(value: string); get subnetIdInput(): string; private _tags?; get tags(): { [key: string]: string; }; set tags(value: { [key: string]: string; }); resetTags(): void; get tagsInput(): { [key: string]: string; }; private _vpcId?; get vpcId(): string; set vpcId(value: string); get vpcIdInput(): string; private _ipv4S; get ipv4S(): EniIpv4SList; putIpv4S(value: EniIpv4S[] | cdktf.IResolvable): void; resetIpv4S(): void; get ipv4SInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }