import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * This data source provides details about a specific Resource Action resource in Oracle Cloud Infrastructure Optimizer service.
 *
 * Gets the resource action that corresponds to the specified OCID.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testResourceAction = oci.optimizer.getResourceAction({
 *     resourceActionId: testResourceActionOciOptimizerResourceAction.id,
 *     includeResourceMetadata: resourceActionIncludeResourceMetadata === "true",
 * });
 * ```
 */
export declare function getResourceAction(args: GetResourceActionArgs, opts?: pulumi.InvokeOptions): Promise<GetResourceActionResult>;
/**
 * A collection of arguments for invoking getResourceAction.
 */
export interface GetResourceActionArgs {
    /**
     * Supplement additional resource information in extended metadata response.
     */
    includeResourceMetadata?: boolean;
    /**
     * The unique OCID associated with the resource action.
     */
    resourceActionId: string;
}
/**
 * A collection of values returned by getResourceAction.
 */
export interface GetResourceActionResult {
    /**
     * Details about the recommended action.
     */
    readonly actions: outputs.Optimizer.GetResourceActionAction[];
    /**
     * The unique OCID associated with the category.
     */
    readonly categoryId: string;
    /**
     * The OCID of the compartment.
     */
    readonly compartmentId: string;
    /**
     * The name associated with the compartment.
     */
    readonly compartmentName: string;
    /**
     * The estimated cost savings, in dollars, for the resource action.
     */
    readonly estimatedCostSaving: number;
    /**
     * Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object.
     */
    readonly extendedMetadata: {
        [key: string]: string;
    };
    /**
     * The unique OCID associated with the resource action.
     */
    readonly id: string;
    readonly includeResourceMetadata?: boolean;
    /**
     * Custom metadata key/value pairs for the resource action.
     */
    readonly metadata: {
        [key: string]: string;
    };
    /**
     * The name assigned to the resource.
     */
    readonly name: string;
    /**
     * The unique OCID associated with the recommendation.
     */
    readonly recommendationId: string;
    readonly resourceActionId: string;
    /**
     * The unique OCID associated with the resource.
     */
    readonly resourceId: string;
    /**
     * The kind of resource.
     */
    readonly resourceType: string;
    /**
     * The resource action's current state.
     */
    readonly state: string;
    /**
     * The current status of the resource action.
     */
    readonly status: string;
    /**
     * The date and time the resource action details were created, in the format defined by RFC3339.
     */
    readonly timeCreated: string;
    /**
     * The date and time that the resource action entered its current status. The format is defined by RFC3339.
     */
    readonly timeStatusBegin: string;
    /**
     * The date and time the current status will change. The format is defined by RFC3339.
     */
    readonly timeStatusEnd: string;
    /**
     * The date and time the resource action details were last updated, in the format defined by RFC3339.
     */
    readonly timeUpdated: string;
}
/**
 * This data source provides details about a specific Resource Action resource in Oracle Cloud Infrastructure Optimizer service.
 *
 * Gets the resource action that corresponds to the specified OCID.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testResourceAction = oci.optimizer.getResourceAction({
 *     resourceActionId: testResourceActionOciOptimizerResourceAction.id,
 *     includeResourceMetadata: resourceActionIncludeResourceMetadata === "true",
 * });
 * ```
 */
export declare function getResourceActionOutput(args: GetResourceActionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetResourceActionResult>;
/**
 * A collection of arguments for invoking getResourceAction.
 */
export interface GetResourceActionOutputArgs {
    /**
     * Supplement additional resource information in extended metadata response.
     */
    includeResourceMetadata?: pulumi.Input<boolean | undefined>;
    /**
     * The unique OCID associated with the resource action.
     */
    resourceActionId: pulumi.Input<string>;
}
//# sourceMappingURL=getResourceAction.d.ts.map