import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Work Request Rerun Management resource in Oracle Cloud Infrastructure Os Management Hub service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/os-management/latest/WorkRequestRerunManagement
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/os_management_hub
 *
 * Reruns a failed work for the specified work request [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Rerunning restarts the work on failed targets.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testWorkRequestRerunManagement = new oci.osmanagementhub.WorkRequestRerunManagement("test_work_request_rerun_management", {
 *     workRequestId: testWorkRequest.id,
 *     managedInstances: workRequestRerunManagementManagedInstances,
 *     workRequestDetails: {
 *         description: workRequestRerunManagementWorkRequestDetailsDescription,
 *         displayName: workRequestRerunManagementWorkRequestDetailsDisplayName,
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * WorkRequestRerunManagement can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:OsManagementHub/workRequestRerunManagement:WorkRequestRerunManagement test_work_request_rerun_management "id"
 * ```
 */
export declare class WorkRequestRerunManagement extends pulumi.CustomResource {
    /**
     * Get an existing WorkRequestRerunManagement 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?: WorkRequestRerunManagementState, opts?: pulumi.CustomResourceOptions): WorkRequestRerunManagement;
    /**
     * Returns true if the given object is an instance of WorkRequestRerunManagement.  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 WorkRequestRerunManagement;
    /**
     * List of managed instance [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to affected by the rerun of the work request.
     */
    readonly managedInstances: pulumi.Output<string[]>;
    /**
     * Provides the name and description of the job.
     */
    readonly workRequestDetails: pulumi.Output<outputs.OsManagementHub.WorkRequestRerunManagementWorkRequestDetails>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
     *
     *
     * ** 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 workRequestId: pulumi.Output<string>;
    /**
     * Create a WorkRequestRerunManagement 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: WorkRequestRerunManagementArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering WorkRequestRerunManagement resources.
 */
export interface WorkRequestRerunManagementState {
    /**
     * List of managed instance [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to affected by the rerun of the work request.
     */
    managedInstances?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * Provides the name and description of the job.
     */
    workRequestDetails?: pulumi.Input<inputs.OsManagementHub.WorkRequestRerunManagementWorkRequestDetails | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
     *
     *
     * ** 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
     */
    workRequestId?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a WorkRequestRerunManagement resource.
 */
export interface WorkRequestRerunManagementArgs {
    /**
     * List of managed instance [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to affected by the rerun of the work request.
     */
    managedInstances?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * Provides the name and description of the job.
     */
    workRequestDetails?: pulumi.Input<inputs.OsManagementHub.WorkRequestRerunManagementWorkRequestDetails | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
     *
     *
     * ** 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
     */
    workRequestId: pulumi.Input<string>;
}
//# sourceMappingURL=workRequestRerunManagement.d.ts.map