import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface RestconfConfig extends cdktf.TerraformMetaArguments { /** * Map of key-value pairs which represents the YANG leafs and its values. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.9.3/docs/resources/restconf#attributes Restconf#attributes} */ readonly attributes?: { [key: string]: string; }; /** * Delete object during destroy operation. Default value is `true`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.9.3/docs/resources/restconf#delete Restconf#delete} */ readonly delete?: boolean | cdktf.IResolvable; /** * A device name from the provider configuration. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.9.3/docs/resources/restconf#device Restconf#device} */ readonly device?: string; /** * YANG lists. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.9.3/docs/resources/restconf#lists Restconf#lists} */ readonly lists?: RestconfLists[] | cdktf.IResolvable; /** * A RESTCONF path, e.g. `openconfig-interfaces:interfaces`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.9.3/docs/resources/restconf#path Restconf#path} */ readonly path: string; } export interface RestconfLists { /** * List of maps of key-value pairs which represents the YANG leafs and its values. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.9.3/docs/resources/restconf#items Restconf#items} */ readonly items?: { [key: string]: string; }[] | cdktf.IResolvable; /** * YANG list key attribute. In case of multiple keys, those should be separated by a comma (`,`). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.9.3/docs/resources/restconf#key Restconf#key} */ readonly key: string; /** * YANG list name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.9.3/docs/resources/restconf#name Restconf#name} */ readonly name: string; /** * YANG leaf-list values. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.9.3/docs/resources/restconf#values Restconf#values} */ readonly values?: string[]; } export declare function restconfListsToTerraform(struct?: RestconfLists | cdktf.IResolvable): any; export declare function restconfListsToHclTerraform(struct?: RestconfLists | cdktf.IResolvable): any; export declare class RestconfListsOutputReference 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(): RestconfLists | cdktf.IResolvable | undefined; set internalValue(value: RestconfLists | cdktf.IResolvable | undefined); private _items?; get items(): { [key: string]: string; }[] | cdktf.IResolvable; set items(value: { [key: string]: string; }[] | cdktf.IResolvable); resetItems(): void; get itemsInput(): any; private _key?; get key(): string; set key(value: string); get keyInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _values?; get values(): string[]; set values(value: string[]); resetValues(): void; get valuesInput(): string[]; } export declare class RestconfListsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: RestconfLists[] | 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): RestconfListsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.9.3/docs/resources/restconf iosxe_restconf} */ export declare class Restconf extends cdktf.TerraformResource { static readonly tfResourceType = "iosxe_restconf"; /** * Generates CDKTF code for importing a Restconf 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 Restconf to import * @param importFromId The id of the existing Restconf that should be imported. Refer to the {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.9.3/docs/resources/restconf#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the Restconf 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.9.3/docs/resources/restconf iosxe_restconf} 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 RestconfConfig */ constructor(scope: Construct, id: string, config: RestconfConfig); private _attributes?; get attributes(): { [key: string]: string; }; set attributes(value: { [key: string]: string; }); resetAttributes(): void; get attributesInput(): { [key: string]: string; }; private _delete?; get delete(): boolean | cdktf.IResolvable; set delete(value: boolean | cdktf.IResolvable); resetDelete(): void; get deleteInput(): any; private _device?; get device(): string; set device(value: string); resetDevice(): void; get deviceInput(): string; get id(): any; private _lists; get lists(): RestconfListsList; putLists(value: RestconfLists[] | cdktf.IResolvable): void; resetLists(): void; get listsInput(): any; private _path?; get path(): string; set path(value: string); get pathInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }