import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface L2VfiConfig extends cdktf.TerraformMetaArguments { /** * A device name from the provider configuration. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/l2_vfi#device L2Vfi#device} */ readonly device?: string; /** * * - Choices: `autodiscovery`, `manual`, `point-to-point` * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/l2_vfi#mode L2Vfi#mode} */ readonly mode?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/l2_vfi#name L2Vfi#name} */ readonly name: string; /** * VFI neighbor configuration * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/l2_vfi#neighbors L2Vfi#neighbors} */ readonly neighbors?: L2VfiNeighbors[] | cdktf.IResolvable; /** * VPN id * - Range: `1`-`4294967295` * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/l2_vfi#vpn_id L2Vfi#vpn_id} */ readonly vpnId?: number; } export interface L2VfiNeighbors { /** * Connection encapsulation type * - Choices: `l2tpv3`, `mpls` * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/l2_vfi#encapsulation L2Vfi#encapsulation} */ readonly encapsulation?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/l2_vfi#ip_address L2Vfi#ip_address} */ readonly ipAddress: string; } export declare function l2VfiNeighborsToTerraform(struct?: L2VfiNeighbors | cdktf.IResolvable): any; export declare function l2VfiNeighborsToHclTerraform(struct?: L2VfiNeighbors | cdktf.IResolvable): any; export declare class L2VfiNeighborsOutputReference 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(): L2VfiNeighbors | cdktf.IResolvable | undefined; set internalValue(value: L2VfiNeighbors | cdktf.IResolvable | undefined); private _encapsulation?; get encapsulation(): string; set encapsulation(value: string); resetEncapsulation(): void; get encapsulationInput(): string; private _ipAddress?; get ipAddress(): string; set ipAddress(value: string); get ipAddressInput(): string; } export declare class L2VfiNeighborsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: L2VfiNeighbors[] | 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): L2VfiNeighborsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/l2_vfi iosxe_l2_vfi} */ export declare class L2Vfi extends cdktf.TerraformResource { static readonly tfResourceType = "iosxe_l2_vfi"; /** * Generates CDKTF code for importing a L2Vfi 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 L2Vfi to import * @param importFromId The id of the existing L2Vfi that should be imported. Refer to the {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/l2_vfi#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the L2Vfi 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/ciscodevnet/iosxe/0.15.0/docs/resources/l2_vfi iosxe_l2_vfi} 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 L2VfiConfig */ constructor(scope: Construct, id: string, config: L2VfiConfig); private _device?; get device(): string; set device(value: string); resetDevice(): void; get deviceInput(): string; get id(): any; private _mode?; get mode(): string; set mode(value: string); resetMode(): void; get modeInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _neighbors; get neighbors(): L2VfiNeighborsList; putNeighbors(value: L2VfiNeighbors[] | cdktf.IResolvable): void; resetNeighbors(): void; get neighborsInput(): any; private _vpnId?; get vpnId(): number; set vpnId(value: number); resetVpnId(): void; get vpnIdInput(): number; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }