import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Execution Action resource in Oracle Cloud Infrastructure Database service.
 *
 * Creates an execution action resource.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testExecutionAction = new oci.database.ExecutionAction("test_execution_action", {
 *     actionType: executionActionActionType,
 *     executionWindowId: testExecutionWindow.id,
 *     actionMembers: [{
 *         memberId: testMember.id,
 *         memberOrder: Number(executionActionActionMembersMemberOrder),
 *         estimatedTimeInMins: Number(executionActionActionMembersEstimatedTimeInMins),
 *         status: executionActionActionMembersStatus,
 *         totalTimeTakenInMins: Number(executionActionActionMembersTotalTimeTakenInMins),
 *     }],
 *     actionParams: executionActionActionParams,
 *     compartmentId: compartmentId,
 *     definedTags: executionActionDefinedTags,
 *     freeformTags: {
 *         Department: "Finance",
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * ExecutionActions can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:Database/executionAction:ExecutionAction test_execution_action "id"
 * ```
 */
export declare class ExecutionAction extends pulumi.CustomResource {
    /**
     * Get an existing ExecutionAction 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?: ExecutionActionState, opts?: pulumi.CustomResourceOptions): ExecutionAction;
    /**
     * Returns true if the given object is an instance of ExecutionAction.  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 ExecutionAction;
    /**
     * (Updatable) List of action members of this execution action.
     */
    readonly actionMembers: pulumi.Output<outputs.Database.ExecutionActionActionMember[]>;
    /**
     * (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: `{"count": "3"}`
     */
    readonly actionParams: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The action type of the execution action being performed
     */
    readonly actionType: pulumi.Output<string>;
    /**
     * 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 action.
     */
    readonly description: pulumi.Output<string>;
    /**
     * The user-friendly name for the execution action. The name does not need to be unique.
     */
    readonly displayName: pulumi.Output<string>;
    /**
     * The estimated time of the execution action in minutes.
     */
    readonly estimatedTimeInMins: pulumi.Output<number>;
    /**
     * The priority order of the execution action.
     */
    readonly executionActionOrder: pulumi.Output<number>;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution window resource the execution action belongs to.
     */
    readonly executionWindowId: 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"}`
     *
     *
     * ** 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 freeformTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * Additional information about the current lifecycle state.
     */
    readonly lifecycleDetails: pulumi.Output<string>;
    /**
     * The current sub-state of the execution action. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
     */
    readonly lifecycleSubstate: pulumi.Output<string>;
    /**
     * The current state of the execution action. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
     */
    readonly state: pulumi.Output<string>;
    /**
     * The date and time the execution action was created.
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The last date and time that the execution action was updated.
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * The total time taken by corresponding resource activity in minutes.
     */
    readonly totalTimeTakenInMins: pulumi.Output<number>;
    /**
     * Create a ExecutionAction 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: ExecutionActionArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ExecutionAction resources.
 */
export interface ExecutionActionState {
    /**
     * (Updatable) List of action members of this execution action.
     */
    actionMembers?: pulumi.Input<pulumi.Input<inputs.Database.ExecutionActionActionMember>[] | undefined>;
    /**
     * (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: `{"count": "3"}`
     */
    actionParams?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The action type of the execution action being performed
     */
    actionType?: pulumi.Input<string | undefined>;
    /**
     * 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 action.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * The user-friendly name for the execution action. The name does not need to be unique.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * The estimated time of the execution action in minutes.
     */
    estimatedTimeInMins?: pulumi.Input<number | undefined>;
    /**
     * The priority order of the execution action.
     */
    executionActionOrder?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution window resource the execution action belongs to.
     */
    executionWindowId?: 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"}`
     *
     *
     * ** 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
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Additional information about the current lifecycle state.
     */
    lifecycleDetails?: pulumi.Input<string | undefined>;
    /**
     * The current sub-state of the execution action. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
     */
    lifecycleSubstate?: pulumi.Input<string | undefined>;
    /**
     * The current state of the execution action. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * The date and time the execution action was created.
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The last date and time that the execution action was updated.
     */
    timeUpdated?: pulumi.Input<string | undefined>;
    /**
     * The total time taken by corresponding resource activity in minutes.
     */
    totalTimeTakenInMins?: pulumi.Input<number | undefined>;
}
/**
 * The set of arguments for constructing a ExecutionAction resource.
 */
export interface ExecutionActionArgs {
    /**
     * (Updatable) List of action members of this execution action.
     */
    actionMembers?: pulumi.Input<pulumi.Input<inputs.Database.ExecutionActionActionMember>[] | undefined>;
    /**
     * (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: `{"count": "3"}`
     */
    actionParams?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The action type of the execution action being performed
     */
    actionType: pulumi.Input<string>;
    /**
     * 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>;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution window resource the execution action belongs to.
     */
    executionWindowId: 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"}`
     *
     *
     * ** 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
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
}
//# sourceMappingURL=executionAction.d.ts.map