import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Scheduler Definition resource in Oracle Cloud Infrastructure Fleet Apps Management service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/fleet-management/latest/SchedulerDefinition
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/fleet_apps_management
 *
 * Create a SchedulerDefinition to perform lifecycle operations.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testSchedulerDefinition = new oci.fleetappsmanagement.SchedulerDefinition("test_scheduler_definition", {
 *     actionGroups: [{
 *         fleetId: testFleet.id,
 *         kind: schedulerDefinitionActionGroupsKind,
 *         runbookId: testRunbook.id,
 *         runbookVersionName: testRunbookVersion.name,
 *         displayName: schedulerDefinitionActionGroupsDisplayName,
 *         sequence: Number(schedulerDefinitionActionGroupsSequence),
 *     }],
 *     compartmentId: compartmentId,
 *     schedule: {
 *         executionStartdate: schedulerDefinitionScheduleExecutionStartdate,
 *         type: schedulerDefinitionScheduleType,
 *         duration: schedulerDefinitionScheduleDuration,
 *         maintenanceWindowId: testMaintenanceWindow.id,
 *         recurrences: schedulerDefinitionScheduleRecurrences,
 *     },
 *     definedTags: {
 *         "foo-namespace.bar-key": "value",
 *     },
 *     description: schedulerDefinitionDescription,
 *     displayName: schedulerDefinitionDisplayName,
 *     freeformTags: {
 *         "bar-key": "value",
 *     },
 *     runBooks: [{
 *         runbookId: testRunbook.id,
 *         runbookVersionName: testRunbookVersion.name,
 *         inputParameters: [{
 *             stepName: schedulerDefinitionRunBooksInputParametersStepName,
 *             arguments: [{
 *                 kind: schedulerDefinitionRunBooksInputParametersArgumentsKind,
 *                 name: schedulerDefinitionRunBooksInputParametersArgumentsName,
 *                 content: {
 *                     bucket: schedulerDefinitionRunBooksInputParametersArgumentsContentBucket,
 *                     checksum: schedulerDefinitionRunBooksInputParametersArgumentsContentChecksum,
 *                     namespace: schedulerDefinitionRunBooksInputParametersArgumentsContentNamespace,
 *                     object: schedulerDefinitionRunBooksInputParametersArgumentsContentObject,
 *                     sourceType: schedulerDefinitionRunBooksInputParametersArgumentsContentSourceType,
 *                 },
 *                 value: schedulerDefinitionRunBooksInputParametersArgumentsValue,
 *             }],
 *         }],
 *     }],
 * });
 * ```
 *
 * ## Import
 *
 * SchedulerDefinitions can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:FleetAppsManagement/schedulerDefinition:SchedulerDefinition test_scheduler_definition "id"
 * ```
 */
export declare class SchedulerDefinition extends pulumi.CustomResource {
    /**
     * Get an existing SchedulerDefinition 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?: SchedulerDefinitionState, opts?: pulumi.CustomResourceOptions): SchedulerDefinition;
    /**
     * Returns true if the given object is an instance of SchedulerDefinition.  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 SchedulerDefinition;
    /**
     * (Updatable) Action Groups associated with the Schedule.
     */
    readonly actionGroups: pulumi.Output<outputs.FleetAppsManagement.SchedulerDefinitionActionGroup[]>;
    /**
     * Compartment OCID
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * Count of Action Groups affected by the Schedule.
     */
    readonly countOfAffectedActionGroups: pulumi.Output<number>;
    /**
     * Count of Resources affected by the Schedule.
     */
    readonly countOfAffectedResources: pulumi.Output<number>;
    /**
     * Count of Targets affected by the Schedule.
     */
    readonly countOfAffectedTargets: pulumi.Output<number>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
     */
    readonly description: pulumi.Output<string>;
    /**
     * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.  Example: `My new resource`
     */
    readonly displayName: pulumi.Output<string>;
    /**
     * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     */
    readonly freeformTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
     */
    readonly lifecycleDetails: pulumi.Output<string>;
    /**
     * All LifeCycle Operations that are part of the schedule.
     */
    readonly lifecycleOperations: pulumi.Output<string[]>;
    /**
     * All products that are part of the schedule for PRODUCT ActionGroup Type.
     */
    readonly products: pulumi.Output<string[]>;
    /**
     * Associated region
     */
    readonly resourceRegion: pulumi.Output<string>;
    /**
     * (Updatable) Runbooks.
     */
    readonly runBooks: pulumi.Output<outputs.FleetAppsManagement.SchedulerDefinitionRunBook[]>;
    /**
     * (Updatable) Schedule Information.
     */
    readonly schedule: pulumi.Output<outputs.FleetAppsManagement.SchedulerDefinitionSchedule>;
    /**
     * The current state of the SchedulerDefinition.
     */
    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 resource was created. An RFC3339 formatted datetime string.
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The scheduled date for the next run of the Job.
     */
    readonly timeOfNextRun: pulumi.Output<string>;
    /**
     * The time this resource was last updated. An RFC3339 formatted datetime string.
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * Create a SchedulerDefinition 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: SchedulerDefinitionArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering SchedulerDefinition resources.
 */
export interface SchedulerDefinitionState {
    /**
     * (Updatable) Action Groups associated with the Schedule.
     */
    actionGroups?: pulumi.Input<pulumi.Input<inputs.FleetAppsManagement.SchedulerDefinitionActionGroup>[] | undefined>;
    /**
     * Compartment OCID
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * Count of Action Groups affected by the Schedule.
     */
    countOfAffectedActionGroups?: pulumi.Input<number | undefined>;
    /**
     * Count of Resources affected by the Schedule.
     */
    countOfAffectedResources?: pulumi.Input<number | undefined>;
    /**
     * Count of Targets affected by the Schedule.
     */
    countOfAffectedTargets?: pulumi.Input<number | undefined>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.  Example: `My new resource`
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
     */
    lifecycleDetails?: pulumi.Input<string | undefined>;
    /**
     * All LifeCycle Operations that are part of the schedule.
     */
    lifecycleOperations?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * All products that are part of the schedule for PRODUCT ActionGroup Type.
     */
    products?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * Associated region
     */
    resourceRegion?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Runbooks.
     */
    runBooks?: pulumi.Input<pulumi.Input<inputs.FleetAppsManagement.SchedulerDefinitionRunBook>[] | undefined>;
    /**
     * (Updatable) Schedule Information.
     */
    schedule?: pulumi.Input<inputs.FleetAppsManagement.SchedulerDefinitionSchedule | undefined>;
    /**
     * The current state of the SchedulerDefinition.
     */
    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 resource was created. An RFC3339 formatted datetime string.
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The scheduled date for the next run of the Job.
     */
    timeOfNextRun?: pulumi.Input<string | undefined>;
    /**
     * The time this resource was last updated. An RFC3339 formatted datetime string.
     */
    timeUpdated?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a SchedulerDefinition resource.
 */
export interface SchedulerDefinitionArgs {
    /**
     * (Updatable) Action Groups associated with the Schedule.
     */
    actionGroups: pulumi.Input<pulumi.Input<inputs.FleetAppsManagement.SchedulerDefinitionActionGroup>[]>;
    /**
     * Compartment OCID
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.  Example: `My new resource`
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) Runbooks.
     */
    runBooks?: pulumi.Input<pulumi.Input<inputs.FleetAppsManagement.SchedulerDefinitionRunBook>[] | undefined>;
    /**
     * (Updatable) Schedule Information.
     */
    schedule: pulumi.Input<inputs.FleetAppsManagement.SchedulerDefinitionSchedule>;
}
//# sourceMappingURL=schedulerDefinition.d.ts.map