import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Resource Action resource in Oracle Cloud Infrastructure Optimizer service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/advisor/latest/ResourceAction
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/optimizer
 *
 * Updates the resource action that corresponds to the specified OCID.
 * Use this operation to implement the following actions:
 *
 *   * Postpone resource action
 *   * Ignore resource action
 *   * Reactivate resource action
 *
 * ## Import
 *
 * ResourceActions can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:Optimizer/resourceAction:ResourceAction test_resource_action "id"
 * ```
 */
export declare class ResourceAction extends pulumi.CustomResource {
    /**
     * Get an existing ResourceAction 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?: ResourceActionState, opts?: pulumi.CustomResourceOptions): ResourceAction;
    /**
     * Returns true if the given object is an instance of ResourceAction.  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 ResourceAction;
    /**
     * Details about the recommended action.
     */
    readonly actions: pulumi.Output<outputs.Optimizer.ResourceActionAction[]>;
    /**
     * The unique OCID associated with the category.
     */
    readonly categoryId: pulumi.Output<string>;
    /**
     * The OCID of the compartment.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * The name associated with the compartment.
     */
    readonly compartmentName: pulumi.Output<string>;
    /**
     * The estimated cost savings, in dollars, for the resource action.
     */
    readonly estimatedCostSaving: pulumi.Output<number>;
    /**
     * Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object.
     */
    readonly extendedMetadata: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * Custom metadata key/value pairs for the resource action.
     */
    readonly metadata: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The name assigned to the resource.
     */
    readonly name: pulumi.Output<string>;
    /**
     * The unique OCID associated with the recommendation.
     */
    readonly recommendationId: pulumi.Output<string>;
    /**
     * The unique OCID associated with the resource action.
     */
    readonly resourceActionId: pulumi.Output<string>;
    /**
     * The unique OCID associated with the resource.
     */
    readonly resourceId: pulumi.Output<string>;
    /**
     * The kind of resource.
     */
    readonly resourceType: pulumi.Output<string>;
    /**
     * The resource action's current state.
     */
    readonly state: pulumi.Output<string>;
    /**
     * (Updatable) The status of the resource action.
     */
    readonly status: pulumi.Output<string>;
    /**
     * The date and time the resource action details were created, in the format defined by RFC3339.
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The date and time that the resource action entered its current status. The format is defined by RFC3339.
     */
    readonly timeStatusBegin: pulumi.Output<string>;
    /**
     * (Updatable) The date and time the current status will change. The format is defined by RFC3339.
     *
     * For example, "The current `postponed` status of the resource action will end and change to `pending` on this date and time."
     *
     *
     * ** 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 timeStatusEnd: pulumi.Output<string>;
    /**
     * The date and time the resource action details were last updated, in the format defined by RFC3339.
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * Create a ResourceAction 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: ResourceActionArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ResourceAction resources.
 */
export interface ResourceActionState {
    /**
     * Details about the recommended action.
     */
    actions?: pulumi.Input<pulumi.Input<inputs.Optimizer.ResourceActionAction>[] | undefined>;
    /**
     * The unique OCID associated with the category.
     */
    categoryId?: pulumi.Input<string | undefined>;
    /**
     * The OCID of the compartment.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * The name associated with the compartment.
     */
    compartmentName?: pulumi.Input<string | undefined>;
    /**
     * The estimated cost savings, in dollars, for the resource action.
     */
    estimatedCostSaving?: pulumi.Input<number | undefined>;
    /**
     * Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object.
     */
    extendedMetadata?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Custom metadata key/value pairs for the resource action.
     */
    metadata?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The name assigned to the resource.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The unique OCID associated with the recommendation.
     */
    recommendationId?: pulumi.Input<string | undefined>;
    /**
     * The unique OCID associated with the resource action.
     */
    resourceActionId?: pulumi.Input<string | undefined>;
    /**
     * The unique OCID associated with the resource.
     */
    resourceId?: pulumi.Input<string | undefined>;
    /**
     * The kind of resource.
     */
    resourceType?: pulumi.Input<string | undefined>;
    /**
     * The resource action's current state.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The status of the resource action.
     */
    status?: pulumi.Input<string | undefined>;
    /**
     * The date and time the resource action details were created, in the format defined by RFC3339.
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The date and time that the resource action entered its current status. The format is defined by RFC3339.
     */
    timeStatusBegin?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The date and time the current status will change. The format is defined by RFC3339.
     *
     * For example, "The current `postponed` status of the resource action will end and change to `pending` on this date and time."
     *
     *
     * ** 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
     */
    timeStatusEnd?: pulumi.Input<string | undefined>;
    /**
     * The date and time the resource action details were last updated, in the format defined by RFC3339.
     */
    timeUpdated?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a ResourceAction resource.
 */
export interface ResourceActionArgs {
    /**
     * The unique OCID associated with the resource action.
     */
    resourceActionId: pulumi.Input<string>;
    /**
     * (Updatable) The status of the resource action.
     */
    status: pulumi.Input<string>;
    /**
     * (Updatable) The date and time the current status will change. The format is defined by RFC3339.
     *
     * For example, "The current `postponed` status of the resource action will end and change to `pending` on this date and time."
     *
     *
     * ** 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
     */
    timeStatusEnd?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=resourceAction.d.ts.map