import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface RedisUpgradeCacheVersionOperationConfig extends cdktf.TerraformMetaArguments { /** * Current redis version. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_upgrade_cache_version_operation#current_redis_version RedisUpgradeCacheVersionOperation#current_redis_version} */ readonly currentRedisVersion: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_upgrade_cache_version_operation#id RedisUpgradeCacheVersionOperation#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 ID of instance. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_upgrade_cache_version_operation#instance_id RedisUpgradeCacheVersionOperation#instance_id} */ readonly instanceId: string; /** * Switch mode:1 - Upgrade now0 - Maintenance window upgrade. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_upgrade_cache_version_operation#instance_type_upgrade_now RedisUpgradeCacheVersionOperation#instance_type_upgrade_now} */ readonly instanceTypeUpgradeNow: number; /** * Upgradeable redis version. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_upgrade_cache_version_operation#upgrade_redis_version RedisUpgradeCacheVersionOperation#upgrade_redis_version} */ readonly upgradeRedisVersion: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_upgrade_cache_version_operation tencentcloud_redis_upgrade_cache_version_operation} */ export declare class RedisUpgradeCacheVersionOperation extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_redis_upgrade_cache_version_operation"; /** * Generates CDKTF code for importing a RedisUpgradeCacheVersionOperation 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 RedisUpgradeCacheVersionOperation to import * @param importFromId The id of the existing RedisUpgradeCacheVersionOperation that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_upgrade_cache_version_operation#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the RedisUpgradeCacheVersionOperation 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/redis_upgrade_cache_version_operation tencentcloud_redis_upgrade_cache_version_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 RedisUpgradeCacheVersionOperationConfig */ constructor(scope: Construct, id: string, config: RedisUpgradeCacheVersionOperationConfig); private _currentRedisVersion?; get currentRedisVersion(): string; set currentRedisVersion(value: string); get currentRedisVersionInput(): string; 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 _instanceTypeUpgradeNow?; get instanceTypeUpgradeNow(): number; set instanceTypeUpgradeNow(value: number); get instanceTypeUpgradeNowInput(): number; private _upgradeRedisVersion?; get upgradeRedisVersion(): string; set upgradeRedisVersion(value: string); get upgradeRedisVersionInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }