import * as pulumi from "@pulumi/pulumi";
/**
 * This resource provides the Execution Window resource in Oracle Cloud Infrastructure Database service.
 *
 * Creates an execution window resource.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testExecutionWindow = new oci.database.ExecutionWindow("test_execution_window", {
 *     compartmentId: compartmentId,
 *     executionResourceId: testResource.id,
 *     timeScheduled: executionWindowTimeScheduled,
 *     windowDurationInMins: Number(executionWindowWindowDurationInMins),
 *     definedTags: executionWindowDefinedTags,
 *     freeformTags: {
 *         Department: "Finance",
 *     },
 *     isEnforcedDuration: executionWindowIsEnforcedDuration === "true",
 * });
 * ```
 *
 * ## Import
 *
 * ExecutionWindows can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:Database/executionWindow:ExecutionWindow test_execution_window "id"
 * ```
 */
export declare class ExecutionWindow extends pulumi.CustomResource {
    /**
     * Get an existing ExecutionWindow resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ExecutionWindowState, opts?: pulumi.CustomResourceOptions): ExecutionWindow;
    /**
     * Returns true if the given object is an instance of ExecutionWindow.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is ExecutionWindow;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * Description of the execution window.
     */
    readonly description: pulumi.Output<string>;
    /**
     * The user-friendly name for the execution window. The name does not need to be unique.
     */
    readonly displayName: pulumi.Output<string>;
    /**
     * The estimated time of the execution window in minutes.
     */
    readonly estimatedTimeInMins: pulumi.Output<number>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution resource the execution window belongs to.
     */
    readonly executionResourceId: pulumi.Output<string>;
    /**
     * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
     */
    readonly freeformTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is `FALSE`.
     */
    readonly isEnforcedDuration: pulumi.Output<boolean>;
    /**
     * Additional information about the current lifecycle state.
     */
    readonly lifecycleDetails: pulumi.Output<string>;
    /**
     * The current sub-state of the execution window. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
     */
    readonly lifecycleSubstate: pulumi.Output<string>;
    /**
     * The current state of the Schedule Policy. Valid states are CREATED, SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
     */
    readonly state: pulumi.Output<string>;
    /**
     * The date and time the execution window was created.
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The date and time that the execution window ended.
     */
    readonly timeEnded: pulumi.Output<string>;
    /**
     * (Updatable) The scheduled start date and time of the execution window.
     */
    readonly timeScheduled: pulumi.Output<string>;
    /**
     * The date and time that the execution window was started.
     */
    readonly timeStarted: pulumi.Output<string>;
    /**
     * The last date and time that the execution window was updated.
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * The total time taken by corresponding resource activity in minutes.
     */
    readonly totalTimeTakenInMins: pulumi.Output<number>;
    /**
     * (Updatable) Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    readonly windowDurationInMins: pulumi.Output<number>;
    /**
     * The execution window is of PLANNED or UNPLANNED type.
     */
    readonly windowType: pulumi.Output<string>;
    /**
     * Create a ExecutionWindow resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: ExecutionWindowArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ExecutionWindow resources.
 */
export interface ExecutionWindowState {
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Description of the execution window.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * The user-friendly name for the execution window. The name does not need to be unique.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * The estimated time of the execution window in minutes.
     */
    estimatedTimeInMins?: pulumi.Input<number | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution resource the execution window belongs to.
     */
    executionResourceId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is `FALSE`.
     */
    isEnforcedDuration?: pulumi.Input<boolean | undefined>;
    /**
     * Additional information about the current lifecycle state.
     */
    lifecycleDetails?: pulumi.Input<string | undefined>;
    /**
     * The current sub-state of the execution window. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
     */
    lifecycleSubstate?: pulumi.Input<string | undefined>;
    /**
     * The current state of the Schedule Policy. Valid states are CREATED, SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * The date and time the execution window was created.
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The date and time that the execution window ended.
     */
    timeEnded?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The scheduled start date and time of the execution window.
     */
    timeScheduled?: pulumi.Input<string | undefined>;
    /**
     * The date and time that the execution window was started.
     */
    timeStarted?: pulumi.Input<string | undefined>;
    /**
     * The last date and time that the execution window was updated.
     */
    timeUpdated?: pulumi.Input<string | undefined>;
    /**
     * The total time taken by corresponding resource activity in minutes.
     */
    totalTimeTakenInMins?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    windowDurationInMins?: pulumi.Input<number | undefined>;
    /**
     * The execution window is of PLANNED or UNPLANNED type.
     */
    windowType?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a ExecutionWindow resource.
 */
export interface ExecutionWindowArgs {
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution resource the execution window belongs to.
     */
    executionResourceId: pulumi.Input<string>;
    /**
     * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is `FALSE`.
     */
    isEnforcedDuration?: pulumi.Input<boolean | undefined>;
    /**
     * (Updatable) The scheduled start date and time of the execution window.
     */
    timeScheduled: pulumi.Input<string>;
    /**
     * (Updatable) Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    windowDurationInMins: pulumi.Input<number>;
}
//# sourceMappingURL=executionWindow.d.ts.map