import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Lifecycle Stage Reboot 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/LifecycleStageRebootManagement * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/os_management_hub * * Reboots all managed instances in the specified lifecycle stage. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testLifecycleStageRebootManagement = new oci.osmanagementhub.LifecycleStageRebootManagement("test_lifecycle_stage_reboot_management", { * lifecycleStageId: testLifecycleStage.id, * rebootTimeoutInMins: Number(lifecycleStageRebootManagementRebootTimeoutInMins), * workRequestDetails: { * description: lifecycleStageRebootManagementWorkRequestDetailsDescription, * displayName: lifecycleStageRebootManagementWorkRequestDetailsDisplayName, * }, * }); * ``` * * ## Import * * LifecycleStageRebootManagement can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:OsManagementHub/lifecycleStageRebootManagement:LifecycleStageRebootManagement test_lifecycle_stage_reboot_management "id" * ``` */ export declare class LifecycleStageRebootManagement extends pulumi.CustomResource { /** * Get an existing LifecycleStageRebootManagement 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, state?: LifecycleStageRebootManagementState, opts?: pulumi.CustomResourceOptions): LifecycleStageRebootManagement; /** * Returns true if the given object is an instance of LifecycleStageRebootManagement. 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 LifecycleStageRebootManagement; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage. */ readonly lifecycleStageId: pulumi.Output; /** * The number of minutes the service waits for the reboot to complete. If the instances in the stage don't reboot within this time, the reboot job status is set to failed. */ readonly rebootTimeoutInMins: pulumi.Output; /** * Provides the name and description of the job. */ readonly workRequestDetails: pulumi.Output; /** * Create a LifecycleStageRebootManagement 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: LifecycleStageRebootManagementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LifecycleStageRebootManagement resources. */ export interface LifecycleStageRebootManagementState { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage. */ lifecycleStageId?: pulumi.Input; /** * The number of minutes the service waits for the reboot to complete. If the instances in the stage don't reboot within this time, the reboot job status is set to failed. */ rebootTimeoutInMins?: pulumi.Input; /** * Provides the name and description of the job. */ workRequestDetails?: pulumi.Input; } /** * The set of arguments for constructing a LifecycleStageRebootManagement resource. */ export interface LifecycleStageRebootManagementArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage. */ lifecycleStageId: pulumi.Input; /** * The number of minutes the service waits for the reboot to complete. If the instances in the stage don't reboot within this time, the reboot job status is set to failed. */ rebootTimeoutInMins?: pulumi.Input; /** * Provides the name and description of the job. */ workRequestDetails?: pulumi.Input; } //# sourceMappingURL=lifecycleStageRebootManagement.d.ts.map