import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ElasticsearchRestartNodesOperationConfig extends cdktf.TerraformMetaArguments { /** * Whether to force a restart. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/elasticsearch_restart_nodes_operation#force_restart ElasticsearchRestartNodesOperation#force_restart} */ readonly forceRestart?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/elasticsearch_restart_nodes_operation#id ElasticsearchRestartNodesOperation#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; /** * Instance id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/elasticsearch_restart_nodes_operation#instance_id ElasticsearchRestartNodesOperation#instance_id} */ readonly instanceId: string; /** * Node status, used in blue-green mode; off-line node blue-green is risky. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/elasticsearch_restart_nodes_operation#is_offline ElasticsearchRestartNodesOperation#is_offline} */ readonly isOffline?: boolean | cdktf.IResolvable; /** * List of node names. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/elasticsearch_restart_nodes_operation#node_names ElasticsearchRestartNodesOperation#node_names} */ readonly nodeNames: string[]; /** * Optional restart mode in-place,blue-green, which means restart and blue-green restart, respectively. The default is in-place. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/elasticsearch_restart_nodes_operation#restart_mode ElasticsearchRestartNodesOperation#restart_mode} */ readonly restartMode?: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/elasticsearch_restart_nodes_operation tencentcloud_elasticsearch_restart_nodes_operation} */ export declare class ElasticsearchRestartNodesOperation extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_elasticsearch_restart_nodes_operation"; /** * Generates CDKTF code for importing a ElasticsearchRestartNodesOperation 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 ElasticsearchRestartNodesOperation to import * @param importFromId The id of the existing ElasticsearchRestartNodesOperation that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/elasticsearch_restart_nodes_operation#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ElasticsearchRestartNodesOperation 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/elasticsearch_restart_nodes_operation tencentcloud_elasticsearch_restart_nodes_operation} 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 ElasticsearchRestartNodesOperationConfig */ constructor(scope: Construct, id: string, config: ElasticsearchRestartNodesOperationConfig); private _forceRestart?; get forceRestart(): boolean | cdktf.IResolvable; set forceRestart(value: boolean | cdktf.IResolvable); resetForceRestart(): void; get forceRestartInput(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _instanceId?; get instanceId(): string; set instanceId(value: string); get instanceIdInput(): string; private _isOffline?; get isOffline(): boolean | cdktf.IResolvable; set isOffline(value: boolean | cdktf.IResolvable); resetIsOffline(): void; get isOfflineInput(): any; private _nodeNames?; get nodeNames(): string[]; set nodeNames(value: string[]); get nodeNamesInput(): string[]; private _restartMode?; get restartMode(): string; set restartMode(value: string); resetRestartMode(): void; get restartModeInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }