import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Scheduled Job 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/ScheduledJob
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/os_management_hub
 *
 * Creates a new scheduled job.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testScheduledJob = new oci.osmanagementhub.ScheduledJob("test_scheduled_job", {
 *     compartmentId: compartmentId,
 *     operations: [{
 *         operationType: scheduledJobOperationsOperationType,
 *         installSnapDetails: {
 *             name: scheduledJobOperationsInstallSnapDetailsName,
 *             channel: scheduledJobOperationsInstallSnapDetailsChannel,
 *             isSigned: scheduledJobOperationsInstallSnapDetailsIsSigned === "true",
 *             mode: scheduledJobOperationsInstallSnapDetailsMode,
 *             revision: scheduledJobOperationsInstallSnapDetailsRevision,
 *         },
 *         manageModuleStreamsDetails: {
 *             disables: [{
 *                 moduleName: scheduledJobOperationsManageModuleStreamsDetailsDisableModuleName,
 *                 streamName: testStream.name,
 *                 softwareSourceId: testSoftwareSource.id,
 *             }],
 *             enables: [{
 *                 moduleName: scheduledJobOperationsManageModuleStreamsDetailsEnableModuleName,
 *                 streamName: testStream.name,
 *                 softwareSourceId: testSoftwareSource.id,
 *             }],
 *             installs: [{
 *                 moduleName: scheduledJobOperationsManageModuleStreamsDetailsInstallModuleName,
 *                 profileName: testProfile.name,
 *                 streamName: testStream.name,
 *                 softwareSourceId: testSoftwareSource.id,
 *             }],
 *             removes: [{
 *                 moduleName: scheduledJobOperationsManageModuleStreamsDetailsRemoveModuleName,
 *                 profileName: testProfile.name,
 *                 streamName: testStream.name,
 *                 softwareSourceId: testSoftwareSource.id,
 *             }],
 *         },
 *         packageNames: scheduledJobOperationsPackageNames,
 *         rebootTimeoutInMins: Number(scheduledJobOperationsRebootTimeoutInMins),
 *         removeSnapDetails: {
 *             name: scheduledJobOperationsRemoveSnapDetailsName,
 *             revision: scheduledJobOperationsRemoveSnapDetailsRevision,
 *         },
 *         softwareSourceIds: scheduledJobOperationsSoftwareSourceIds,
 *         switchModuleStreamsDetails: {
 *             moduleName: scheduledJobOperationsSwitchModuleStreamsDetailsModuleName,
 *             streamName: testStream.name,
 *             softwareSourceId: testSoftwareSource.id,
 *         },
 *         switchSnapChannelDetails: {
 *             name: scheduledJobOperationsSwitchSnapChannelDetailsName,
 *             channel: scheduledJobOperationsSwitchSnapChannelDetailsChannel,
 *         },
 *         windowsUpdateNames: scheduledJobOperationsWindowsUpdateNames,
 *     }],
 *     scheduleType: scheduledJobScheduleType,
 *     timeNextExecution: scheduledJobTimeNextExecution,
 *     definedTags: {
 *         "Operations.CostCenter": "42",
 *     },
 *     description: scheduledJobDescription,
 *     displayName: scheduledJobDisplayName,
 *     dynamicSetIds: scheduledJobDynamicSetIds,
 *     freeformTags: {
 *         Department: "Finance",
 *     },
 *     isManagedByAutonomousLinux: scheduledJobIsManagedByAutonomousLinux === "true",
 *     isSubcompartmentIncluded: scheduledJobIsSubcompartmentIncluded === "true",
 *     lifecycleStageIds: scheduledJobLifecycleStageIds,
 *     locations: scheduledJobLocations,
 *     managedCompartmentIds: scheduledJobManagedCompartmentIds,
 *     managedInstanceGroupIds: scheduledJobManagedInstanceGroupIds,
 *     managedInstanceIds: scheduledJobManagedInstanceIds,
 *     recurringRule: scheduledJobRecurringRule,
 *     retryIntervals: scheduledJobRetryIntervals,
 *     workRequestId: testWorkRequest.id,
 * });
 * ```
 *
 * ## Import
 *
 * ScheduledJobs can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:OsManagementHub/scheduledJob:ScheduledJob test_scheduled_job "id"
 * ```
 */
export declare class ScheduledJob extends pulumi.CustomResource {
    /**
     * Get an existing ScheduledJob 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?: ScheduledJobState, opts?: pulumi.CustomResourceOptions): ScheduledJob;
    /**
     * Returns true if the given object is an instance of ScheduledJob.  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 ScheduledJob;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the scheduled job.
     */
    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). Example: `{"Operations.CostCenter": "42"}`
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) User-specified description of the scheduled job. Avoid entering confidential information.
     */
    readonly description: pulumi.Output<string>;
    /**
     * (Updatable) User-friendly name for the scheduled job. Does not have to be unique and you can change the name later. Avoid entering confidential information.
     */
    readonly displayName: pulumi.Output<string>;
    /**
     * The dynamic set [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target. therefore this parameter is mutually exclusive with  managedInstanceIds, managedInstanceGroupIds, lifecycleStageIds, managedCompartmentIds.
     */
    readonly dynamicSetIds: 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"}`
     */
    readonly freeformTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * Indicates whether this scheduled job is managed by the Autonomous Linux service.
     */
    readonly isManagedByAutonomousLinux: pulumi.Output<boolean>;
    /**
     * Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs,  you can update only the timeNextExecution, recurringRule, and tags.
     */
    readonly isRestricted: pulumi.Output<boolean>;
    /**
     * Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies  the tenancy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) (root compartment).
     */
    readonly isSubcompartmentIncluded: pulumi.Output<boolean>;
    /**
     * The lifecycle stage [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on.  A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds,  or managedInstanceGroupIds, or managedCompartmentIds, or dynamicSetIds.
     */
    readonly lifecycleStageIds: pulumi.Output<string[]>;
    /**
     * The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
     */
    readonly locations: pulumi.Output<string[]>;
    /**
     * The compartment [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on.  To apply the job to all compartments in the tenancy, set this to the tenancy OCID (root compartment) and set  isSubcompartmentIncluded to true. A scheduled job can only operate on one type of target, therefore you must  supply either this or managedInstanceIds, or managedInstanceGroupIds, or lifecycleStageIds, or dynamicSetIds.
     */
    readonly managedCompartmentIds: pulumi.Output<string[]>;
    /**
     * The managed instance group [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on.  A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedCompartmentIds, or lifecycleStageIds, or dynamicSetIds.
     */
    readonly managedInstanceGroupIds: pulumi.Output<string[]>;
    /**
     * The managed instance [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on.  A scheduled job can only operate on one type of target, therefore you must supply either this or  managedInstanceGroupIds, or managedCompartmentIds, or lifecycleStageIds, or dynamicSetIds.
     */
    readonly managedInstanceIds: pulumi.Output<string[]>;
    /**
     * (Updatable) The list of operations this scheduled job needs to perform. A scheduled job supports only one operation type, unless it is one of the following:
     * * UPDATE_PACKAGES
     * * UPDATE_ALL
     * * UPDATE_SECURITY
     * * UPDATE_BUGFIX
     * * UPDATE_ENHANCEMENT
     * * UPDATE_OTHER
     * * UPDATE_KSPLICE_USERSPACE
     * * UPDATE_KSPLICE_KERNEL
     */
    readonly operations: pulumi.Output<outputs.OsManagementHub.ScheduledJobOperation[]>;
    /**
     * (Updatable) The frequency schedule for a recurring scheduled job in the [RFC5535](https://www.rfc-editor.org/rfc/rfc5535) format. Note: Currently, only FREQ/INTERVAL/BYMONTHDAY/BYDAY/BYSETPOS/BYMONTH/BYHOUR/BYMINUTE/BYSECOND rules are supported. In FREQ, only YEARLY, MONTHLY, WEEKLY, DAILY", HOURLY are supported.
     */
    readonly recurringRule: pulumi.Output<string>;
    /**
     * (Updatable) The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically  retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service  waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
     */
    readonly retryIntervals: pulumi.Output<number[]>;
    /**
     * (Updatable) The type of scheduling frequency for the scheduled job.
     */
    readonly scheduleType: pulumi.Output<string>;
    /**
     * The current state of the scheduled job.
     */
    readonly state: pulumi.Output<string>;
    /**
     * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    readonly systemTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The time this scheduled job was created (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The time of the last execution of this scheduled job (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
     */
    readonly timeLastExecution: pulumi.Output<string>;
    /**
     * (Updatable) The desired time of the next execution of this scheduled job (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
     */
    readonly timeNextExecution: pulumi.Output<string>;
    /**
     * The time this scheduled job was updated (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the work request that will be rerun.
     *
     *
     * ** 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>;
    /**
     * The list of work request [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this scheduled job.
     */
    readonly workRequestIds: pulumi.Output<string[]>;
    /**
     * Create a ScheduledJob 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: ScheduledJobArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ScheduledJob resources.
 */
export interface ScheduledJobState {
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the scheduled job.
     */
    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). Example: `{"Operations.CostCenter": "42"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) User-specified description of the scheduled job. Avoid entering confidential information.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) User-friendly name for the scheduled job. Does not have to be unique and you can change the name later. Avoid entering confidential information.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * The dynamic set [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target. therefore this parameter is mutually exclusive with  managedInstanceIds, managedInstanceGroupIds, lifecycleStageIds, managedCompartmentIds.
     */
    dynamicSetIds?: pulumi.Input<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"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Indicates whether this scheduled job is managed by the Autonomous Linux service.
     */
    isManagedByAutonomousLinux?: pulumi.Input<boolean | undefined>;
    /**
     * Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs,  you can update only the timeNextExecution, recurringRule, and tags.
     */
    isRestricted?: pulumi.Input<boolean | undefined>;
    /**
     * Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies  the tenancy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) (root compartment).
     */
    isSubcompartmentIncluded?: pulumi.Input<boolean | undefined>;
    /**
     * The lifecycle stage [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on.  A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds,  or managedInstanceGroupIds, or managedCompartmentIds, or dynamicSetIds.
     */
    lifecycleStageIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
     */
    locations?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The compartment [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on.  To apply the job to all compartments in the tenancy, set this to the tenancy OCID (root compartment) and set  isSubcompartmentIncluded to true. A scheduled job can only operate on one type of target, therefore you must  supply either this or managedInstanceIds, or managedInstanceGroupIds, or lifecycleStageIds, or dynamicSetIds.
     */
    managedCompartmentIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The managed instance group [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on.  A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedCompartmentIds, or lifecycleStageIds, or dynamicSetIds.
     */
    managedInstanceGroupIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The managed instance [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on.  A scheduled job can only operate on one type of target, therefore you must supply either this or  managedInstanceGroupIds, or managedCompartmentIds, or lifecycleStageIds, or dynamicSetIds.
     */
    managedInstanceIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * (Updatable) The list of operations this scheduled job needs to perform. A scheduled job supports only one operation type, unless it is one of the following:
     * * UPDATE_PACKAGES
     * * UPDATE_ALL
     * * UPDATE_SECURITY
     * * UPDATE_BUGFIX
     * * UPDATE_ENHANCEMENT
     * * UPDATE_OTHER
     * * UPDATE_KSPLICE_USERSPACE
     * * UPDATE_KSPLICE_KERNEL
     */
    operations?: pulumi.Input<pulumi.Input<inputs.OsManagementHub.ScheduledJobOperation>[] | undefined>;
    /**
     * (Updatable) The frequency schedule for a recurring scheduled job in the [RFC5535](https://www.rfc-editor.org/rfc/rfc5535) format. Note: Currently, only FREQ/INTERVAL/BYMONTHDAY/BYDAY/BYSETPOS/BYMONTH/BYHOUR/BYMINUTE/BYSECOND rules are supported. In FREQ, only YEARLY, MONTHLY, WEEKLY, DAILY", HOURLY are supported.
     */
    recurringRule?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically  retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service  waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
     */
    retryIntervals?: pulumi.Input<pulumi.Input<number>[] | undefined>;
    /**
     * (Updatable) The type of scheduling frequency for the scheduled job.
     */
    scheduleType?: pulumi.Input<string | undefined>;
    /**
     * The current state of the scheduled job.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    systemTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The time this scheduled job was created (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The time of the last execution of this scheduled job (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
     */
    timeLastExecution?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The desired time of the next execution of this scheduled job (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
     */
    timeNextExecution?: pulumi.Input<string | undefined>;
    /**
     * The time this scheduled job was updated (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
     */
    timeUpdated?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the work request that will be rerun.
     *
     *
     * ** 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 list of work request [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this scheduled job.
     */
    workRequestIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
}
/**
 * The set of arguments for constructing a ScheduledJob resource.
 */
export interface ScheduledJobArgs {
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the scheduled job.
     */
    compartmentId: pulumi.Input<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). Example: `{"Operations.CostCenter": "42"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) User-specified description of the scheduled job. Avoid entering confidential information.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) User-friendly name for the scheduled job. Does not have to be unique and you can change the name later. Avoid entering confidential information.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * The dynamic set [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on. A scheduled job can only operate on one type of target. therefore this parameter is mutually exclusive with  managedInstanceIds, managedInstanceGroupIds, lifecycleStageIds, managedCompartmentIds.
     */
    dynamicSetIds?: pulumi.Input<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"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Indicates whether this scheduled job is managed by the Autonomous Linux service.
     */
    isManagedByAutonomousLinux?: pulumi.Input<boolean | undefined>;
    /**
     * Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies  the tenancy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) (root compartment).
     */
    isSubcompartmentIncluded?: pulumi.Input<boolean | undefined>;
    /**
     * The lifecycle stage [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on.  A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds,  or managedInstanceGroupIds, or managedCompartmentIds, or dynamicSetIds.
     */
    lifecycleStageIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
     */
    locations?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The compartment [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on.  To apply the job to all compartments in the tenancy, set this to the tenancy OCID (root compartment) and set  isSubcompartmentIncluded to true. A scheduled job can only operate on one type of target, therefore you must  supply either this or managedInstanceIds, or managedInstanceGroupIds, or lifecycleStageIds, or dynamicSetIds.
     */
    managedCompartmentIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The managed instance group [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on.  A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedCompartmentIds, or lifecycleStageIds, or dynamicSetIds.
     */
    managedInstanceGroupIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The managed instance [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that this scheduled job operates on.  A scheduled job can only operate on one type of target, therefore you must supply either this or  managedInstanceGroupIds, or managedCompartmentIds, or lifecycleStageIds, or dynamicSetIds.
     */
    managedInstanceIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * (Updatable) The list of operations this scheduled job needs to perform. A scheduled job supports only one operation type, unless it is one of the following:
     * * UPDATE_PACKAGES
     * * UPDATE_ALL
     * * UPDATE_SECURITY
     * * UPDATE_BUGFIX
     * * UPDATE_ENHANCEMENT
     * * UPDATE_OTHER
     * * UPDATE_KSPLICE_USERSPACE
     * * UPDATE_KSPLICE_KERNEL
     */
    operations: pulumi.Input<pulumi.Input<inputs.OsManagementHub.ScheduledJobOperation>[]>;
    /**
     * (Updatable) The frequency schedule for a recurring scheduled job in the [RFC5535](https://www.rfc-editor.org/rfc/rfc5535) format. Note: Currently, only FREQ/INTERVAL/BYMONTHDAY/BYDAY/BYSETPOS/BYMONTH/BYHOUR/BYMINUTE/BYSECOND rules are supported. In FREQ, only YEARLY, MONTHLY, WEEKLY, DAILY", HOURLY are supported.
     */
    recurringRule?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically  retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service  waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
     */
    retryIntervals?: pulumi.Input<pulumi.Input<number>[] | undefined>;
    /**
     * (Updatable) The type of scheduling frequency for the scheduled job.
     */
    scheduleType: pulumi.Input<string>;
    /**
     * (Updatable) The desired time of the next execution of this scheduled job (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
     */
    timeNextExecution: pulumi.Input<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the work request that will be rerun.
     *
     *
     * ** 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>;
}
//# sourceMappingURL=scheduledJob.d.ts.map