import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DatabaseMaintenanceRunConfig extends cdktf.TerraformMetaArguments {
    /**
    * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_maintenance_run#compartment_id DatabaseMaintenanceRun#compartment_id}
    */
    readonly compartmentId?: string;
    /**
    * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_maintenance_run#database_software_image_id DatabaseMaintenanceRun#database_software_image_id}
    */
    readonly databaseSoftwareImageId?: string;
    /**
    * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_maintenance_run#id DatabaseMaintenanceRun#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;
    /**
    * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_maintenance_run#is_dst_file_update_enabled DatabaseMaintenanceRun#is_dst_file_update_enabled}
    */
    readonly isDstFileUpdateEnabled?: boolean | cdktf.IResolvable;
    /**
    * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_maintenance_run#patch_type DatabaseMaintenanceRun#patch_type}
    */
    readonly patchType: string;
    /**
    * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_maintenance_run#patching_mode DatabaseMaintenanceRun#patching_mode}
    */
    readonly patchingMode?: string;
    /**
    * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_maintenance_run#target_resource_id DatabaseMaintenanceRun#target_resource_id}
    */
    readonly targetResourceId: string;
    /**
    * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_maintenance_run#time_scheduled DatabaseMaintenanceRun#time_scheduled}
    */
    readonly timeScheduled: string;
    /**
    * timeouts block
    *
    * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_maintenance_run#timeouts DatabaseMaintenanceRun#timeouts}
    */
    readonly timeouts?: DatabaseMaintenanceRunTimeouts;
}
export interface DatabaseMaintenanceRunEstimatedPatchingTime {
}
export declare function databaseMaintenanceRunEstimatedPatchingTimeToTerraform(struct?: DatabaseMaintenanceRunEstimatedPatchingTime): any;
export declare function databaseMaintenanceRunEstimatedPatchingTimeToHclTerraform(struct?: DatabaseMaintenanceRunEstimatedPatchingTime): any;
export declare class DatabaseMaintenanceRunEstimatedPatchingTimeOutputReference extends cdktf.ComplexObject {
    private isEmptyObject;
    /**
    * @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(): DatabaseMaintenanceRunEstimatedPatchingTime | undefined;
    set internalValue(value: DatabaseMaintenanceRunEstimatedPatchingTime | undefined);
    get estimatedDbServerPatchingTime(): number;
    get estimatedNetworkSwitchesPatchingTime(): number;
    get estimatedStorageServerPatchingTime(): number;
    get totalEstimatedPatchingTime(): number;
}
export declare class DatabaseMaintenanceRunEstimatedPatchingTimeList extends cdktf.ComplexList {
    protected terraformResource: cdktf.IInterpolatingParent;
    protected terraformAttribute: string;
    protected wrapsSet: boolean;
    /**
    * @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): DatabaseMaintenanceRunEstimatedPatchingTimeOutputReference;
}
export interface DatabaseMaintenanceRunTimeouts {
    /**
    * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_maintenance_run#create DatabaseMaintenanceRun#create}
    */
    readonly create?: string;
    /**
    * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_maintenance_run#delete DatabaseMaintenanceRun#delete}
    */
    readonly delete?: string;
    /**
    * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_maintenance_run#update DatabaseMaintenanceRun#update}
    */
    readonly update?: string;
}
export declare function databaseMaintenanceRunTimeoutsToTerraform(struct?: DatabaseMaintenanceRunTimeouts | cdktf.IResolvable): any;
export declare function databaseMaintenanceRunTimeoutsToHclTerraform(struct?: DatabaseMaintenanceRunTimeouts | cdktf.IResolvable): any;
export declare class DatabaseMaintenanceRunTimeoutsOutputReference extends cdktf.ComplexObject {
    private isEmptyObject;
    private resolvableValue?;
    /**
    * @param terraformResource The parent resource
    * @param terraformAttribute The attribute on the parent resource this class is referencing
    */
    constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
    get internalValue(): DatabaseMaintenanceRunTimeouts | cdktf.IResolvable | undefined;
    set internalValue(value: DatabaseMaintenanceRunTimeouts | cdktf.IResolvable | undefined);
    private _create?;
    get create(): string;
    set create(value: string);
    resetCreate(): void;
    get createInput(): string | undefined;
    private _delete?;
    get delete(): string;
    set delete(value: string);
    resetDelete(): void;
    get deleteInput(): string | undefined;
    private _update?;
    get update(): string;
    set update(value: string);
    resetUpdate(): void;
    get updateInput(): string | undefined;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_maintenance_run oci_database_maintenance_run}
*/
export declare class DatabaseMaintenanceRun extends cdktf.TerraformResource {
    static readonly tfResourceType = "oci_database_maintenance_run";
    /**
    * Generates CDKTF code for importing a DatabaseMaintenanceRun resource upon running "cdktf plan <stack-name>"
    * @param scope The scope in which to define this construct
    * @param importToId The construct id used in the generated config for the DatabaseMaintenanceRun to import
    * @param importFromId The id of the existing DatabaseMaintenanceRun that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_maintenance_run#import import section} in the documentation of this resource for the id to use
    * @param provider? Optional instance of the provider where the DatabaseMaintenanceRun to import is found
    */
    static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource;
    /**
    * Create a new {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/database_maintenance_run oci_database_maintenance_run} 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 DatabaseMaintenanceRunConfig
    */
    constructor(scope: Construct, id: string, config: DatabaseMaintenanceRunConfig);
    private _compartmentId?;
    get compartmentId(): string;
    set compartmentId(value: string);
    resetCompartmentId(): void;
    get compartmentIdInput(): string | undefined;
    get currentCustomActionTimeoutInMins(): number;
    get currentPatchingComponent(): string;
    get customActionTimeoutInMins(): number;
    private _databaseSoftwareImageId?;
    get databaseSoftwareImageId(): string;
    set databaseSoftwareImageId(value: string);
    resetDatabaseSoftwareImageId(): void;
    get databaseSoftwareImageIdInput(): string | undefined;
    get description(): string;
    get displayName(): string;
    get estimatedComponentPatchingStartTime(): string;
    private _estimatedPatchingTime;
    get estimatedPatchingTime(): DatabaseMaintenanceRunEstimatedPatchingTimeList;
    private _id?;
    get id(): string;
    set id(value: string);
    resetId(): void;
    get idInput(): string | undefined;
    get isCustomActionTimeoutEnabled(): cdktf.IResolvable;
    private _isDstFileUpdateEnabled?;
    get isDstFileUpdateEnabled(): boolean | cdktf.IResolvable;
    set isDstFileUpdateEnabled(value: boolean | cdktf.IResolvable);
    resetIsDstFileUpdateEnabled(): void;
    get isDstFileUpdateEnabledInput(): boolean | cdktf.IResolvable | undefined;
    get lifecycleDetails(): string;
    get maintenanceSubtype(): string;
    get maintenanceType(): string;
    get patchFailureCount(): number;
    get patchId(): string;
    private _patchType?;
    get patchType(): string;
    set patchType(value: string);
    get patchTypeInput(): string | undefined;
    get patchingEndTime(): string;
    private _patchingMode?;
    get patchingMode(): string;
    set patchingMode(value: string);
    resetPatchingMode(): void;
    get patchingModeInput(): string | undefined;
    get patchingStartTime(): string;
    get patchingStatus(): string;
    get peerMaintenanceRunId(): string;
    get state(): string;
    get targetDbServerVersion(): string;
    private _targetResourceId?;
    get targetResourceId(): string;
    set targetResourceId(value: string);
    get targetResourceIdInput(): string | undefined;
    get targetResourceType(): string;
    get targetStorageServerVersion(): string;
    get timeEnded(): string;
    private _timeScheduled?;
    get timeScheduled(): string;
    set timeScheduled(value: string);
    get timeScheduledInput(): string | undefined;
    get timeStarted(): string;
    private _timeouts;
    get timeouts(): DatabaseMaintenanceRunTimeoutsOutputReference;
    putTimeouts(value: DatabaseMaintenanceRunTimeouts): void;
    resetTimeouts(): void;
    get timeoutsInput(): cdktf.IResolvable | DatabaseMaintenanceRunTimeouts | undefined;
    protected synthesizeAttributes(): {
        [name: string]: any;
    };
    protected synthesizeHclAttributes(): {
        [name: string]: any;
    };
}
