import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CommitConfig extends cdktf.TerraformMetaArguments { /** * This attribute is only used internally. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/commit#commit Commit#commit} */ readonly commit?: boolean | cdktf.IResolvable; /** * A device name from the provider configuration. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/commit#device Commit#device} */ readonly device?: string; /** * Save running configuration to startup configuration. Equivalent to 'copy running-config startup-config'. For NETCONF devices, this saves after commit. For RESTCONF devices, this saves the current running configuration (RESTCONF is stateless, no commit needed). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/commit#save_config Commit#save_config} */ readonly saveConfig?: boolean | cdktf.IResolvable; } /** * Represents a {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/commit iosxe_commit} */ export declare class Commit extends cdktf.TerraformResource { static readonly tfResourceType = "iosxe_commit"; /** * Generates CDKTF code for importing a Commit 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 Commit to import * @param importFromId The id of the existing Commit that should be imported. Refer to the {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/commit#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the Commit 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/commit iosxe_commit} 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 CommitConfig = {} */ constructor(scope: Construct, id: string, config?: CommitConfig); private _commit?; get commit(): boolean | cdktf.IResolvable; set commit(value: boolean | cdktf.IResolvable); resetCommit(): void; get commitInput(): any; private _device?; get device(): string; set device(value: string); resetDevice(): void; get deviceInput(): string; private _saveConfig?; get saveConfig(): boolean | cdktf.IResolvable; set saveConfig(value: boolean | cdktf.IResolvable); resetSaveConfig(): void; get saveConfigInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }