import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Schedule resource in Oracle Cloud Infrastructure Data Science service.
 *
 * Creates a new Schedule.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testSchedule = new oci.datascience.Schedule("test_schedule", {
 *     action: {
 *         actionDetails: {
 *             httpActionType: scheduleActionActionDetailsHttpActionType,
 *             createJobRunDetails: {
 *                 compartmentId: compartmentId,
 *                 definedTags: {
 *                     "Operations.CostCenter": "42",
 *                 },
 *                 displayName: scheduleActionActionDetailsCreateJobRunDetailsDisplayName,
 *                 freeformTags: {
 *                     Department: "Finance",
 *                 },
 *                 jobConfigurationOverrideDetails: {
 *                     jobType: scheduleActionActionDetailsCreateJobRunDetailsJobConfigurationOverrideDetailsJobType,
 *                     commandLineArguments: scheduleActionActionDetailsCreateJobRunDetailsJobConfigurationOverrideDetailsCommandLineArguments,
 *                     environmentVariables: scheduleActionActionDetailsCreateJobRunDetailsJobConfigurationOverrideDetailsEnvironmentVariables,
 *                     maximumRuntimeInMinutes: scheduleActionActionDetailsCreateJobRunDetailsJobConfigurationOverrideDetailsMaximumRuntimeInMinutes,
 *                 },
 *                 jobEnvironmentConfigurationOverrideDetails: {
 *                     image: scheduleActionActionDetailsCreateJobRunDetailsJobEnvironmentConfigurationOverrideDetailsImage,
 *                     jobEnvironmentType: scheduleActionActionDetailsCreateJobRunDetailsJobEnvironmentConfigurationOverrideDetailsJobEnvironmentType,
 *                     cmds: scheduleActionActionDetailsCreateJobRunDetailsJobEnvironmentConfigurationOverrideDetailsCmd,
 *                     entrypoints: scheduleActionActionDetailsCreateJobRunDetailsJobEnvironmentConfigurationOverrideDetailsEntrypoint,
 *                     imageDigest: scheduleActionActionDetailsCreateJobRunDetailsJobEnvironmentConfigurationOverrideDetailsImageDigest,
 *                     imageSignatureId: testImageSignature.id,
 *                 },
 *                 jobId: testJob.id,
 *                 jobLogConfigurationOverrideDetails: {
 *                     enableAutoLogCreation: scheduleActionActionDetailsCreateJobRunDetailsJobLogConfigurationOverrideDetailsEnableAutoLogCreation === "true",
 *                     enableLogging: scheduleActionActionDetailsCreateJobRunDetailsJobLogConfigurationOverrideDetailsEnableLogging === "true",
 *                     logGroupId: testLogGroup.id,
 *                     logId: testLog.id,
 *                 },
 *                 projectId: testProject.id,
 *             },
 *             createPipelineRunDetails: {
 *                 compartmentId: compartmentId,
 *                 configurationOverrideDetails: {
 *                     type: scheduleActionActionDetailsCreatePipelineRunDetailsConfigurationOverrideDetailsType,
 *                     commandLineArguments: scheduleActionActionDetailsCreatePipelineRunDetailsConfigurationOverrideDetailsCommandLineArguments,
 *                     environmentVariables: scheduleActionActionDetailsCreatePipelineRunDetailsConfigurationOverrideDetailsEnvironmentVariables,
 *                     maximumRuntimeInMinutes: scheduleActionActionDetailsCreatePipelineRunDetailsConfigurationOverrideDetailsMaximumRuntimeInMinutes,
 *                 },
 *                 definedTags: {
 *                     "Operations.CostCenter": "42",
 *                 },
 *                 displayName: scheduleActionActionDetailsCreatePipelineRunDetailsDisplayName,
 *                 freeformTags: {
 *                     Department: "Finance",
 *                 },
 *                 logConfigurationOverrideDetails: {
 *                     enableAutoLogCreation: scheduleActionActionDetailsCreatePipelineRunDetailsLogConfigurationOverrideDetailsEnableAutoLogCreation === "true",
 *                     enableLogging: scheduleActionActionDetailsCreatePipelineRunDetailsLogConfigurationOverrideDetailsEnableLogging === "true",
 *                     logGroupId: testLogGroup.id,
 *                     logId: testLog.id,
 *                 },
 *                 pipelineId: testPipeline.id,
 *                 projectId: testProject.id,
 *                 stepOverrideDetails: [{
 *                     stepConfigurationDetails: {
 *                         commandLineArguments: scheduleActionActionDetailsCreatePipelineRunDetailsStepOverrideDetailsStepConfigurationDetailsCommandLineArguments,
 *                         environmentVariables: scheduleActionActionDetailsCreatePipelineRunDetailsStepOverrideDetailsStepConfigurationDetailsEnvironmentVariables,
 *                         maximumRuntimeInMinutes: scheduleActionActionDetailsCreatePipelineRunDetailsStepOverrideDetailsStepConfigurationDetailsMaximumRuntimeInMinutes,
 *                     },
 *                     stepContainerConfigurationDetails: {
 *                         containerType: scheduleActionActionDetailsCreatePipelineRunDetailsStepOverrideDetailsStepContainerConfigurationDetailsContainerType,
 *                         image: scheduleActionActionDetailsCreatePipelineRunDetailsStepOverrideDetailsStepContainerConfigurationDetailsImage,
 *                         cmds: scheduleActionActionDetailsCreatePipelineRunDetailsStepOverrideDetailsStepContainerConfigurationDetailsCmd,
 *                         entrypoints: scheduleActionActionDetailsCreatePipelineRunDetailsStepOverrideDetailsStepContainerConfigurationDetailsEntrypoint,
 *                         imageDigest: scheduleActionActionDetailsCreatePipelineRunDetailsStepOverrideDetailsStepContainerConfigurationDetailsImageDigest,
 *                         imageSignatureId: testImageSignature.id,
 *                     },
 *                     stepName: scheduleActionActionDetailsCreatePipelineRunDetailsStepOverrideDetailsStepName,
 *                 }],
 *                 systemTags: scheduleActionActionDetailsCreatePipelineRunDetailsSystemTags,
 *             },
 *             mlApplicationInstanceViewId: testView.id,
 *             triggerMlApplicationInstanceViewFlowDetails: {
 *                 parameters: [{
 *                     name: scheduleActionActionDetailsTriggerMlApplicationInstanceViewFlowDetailsParametersName,
 *                     value: scheduleActionActionDetailsTriggerMlApplicationInstanceViewFlowDetailsParametersValue,
 *                 }],
 *                 triggerName: testTrigger.name,
 *             },
 *         },
 *         actionType: scheduleActionActionType,
 *     },
 *     compartmentId: compartmentId,
 *     displayName: scheduleDisplayName,
 *     projectId: testProject.id,
 *     trigger: {
 *         triggerType: scheduleTriggerTriggerType,
 *         cronExpression: scheduleTriggerCronExpression,
 *         frequency: scheduleTriggerFrequency,
 *         interval: Number(scheduleTriggerInterval),
 *         isRandomStartTime: scheduleTriggerIsRandomStartTime === "true",
 *         recurrence: scheduleTriggerRecurrence,
 *         timeEnd: scheduleTriggerTimeEnd,
 *         timeStart: scheduleTriggerTimeStart,
 *     },
 *     definedTags: {
 *         "Operations.CostCenter": "42",
 *     },
 *     description: scheduleDescription,
 *     freeformTags: {
 *         Department: "Finance",
 *     },
 *     logDetails: {
 *         logGroupId: testLogGroup.id,
 *         logId: testLog.id,
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * Schedules can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:DataScience/schedule:Schedule test_schedule "id"
 * ```
 */
export declare class Schedule extends pulumi.CustomResource {
    /**
     * Get an existing Schedule 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?: ScheduleState, opts?: pulumi.CustomResourceOptions): Schedule;
    /**
     * Returns true if the given object is an instance of Schedule.  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 Schedule;
    /**
     * (Updatable) The schedule action
     */
    readonly action: pulumi.Output<outputs.DataScience.ScheduleAction>;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the schedule.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the schedule.
     */
    readonly createdBy: pulumi.Output<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. 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) A short description of the schedule.
     */
    readonly description: pulumi.Output<string>;
    /**
     * (Updatable) A user-friendly name. Avoid entering confidential information.
     */
    readonly displayName: 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. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
     */
    readonly freeformTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * Details about the action performed by the last schedule execution. Example: `Invoked ML Application trigger.`
     */
    readonly lastScheduleRunDetails: pulumi.Output<string>;
    /**
     * A message describing the current state in more detail.
     */
    readonly lifecycleDetails: pulumi.Output<string>;
    /**
     * (Updatable) Custom logging details for schedule execution.
     */
    readonly logDetails: pulumi.Output<outputs.DataScience.ScheduleLogDetails | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate the schedule with.
     */
    readonly projectId: pulumi.Output<string>;
    /**
     * The current state of the schedule.           Example: `ACTIVE`
     */
    readonly state: pulumi.Output<string>;
    /**
     * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    readonly systemTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The date and time the schedule was created. Format is defined by RFC3339.           Example: `2022-08-05T01:02:29.600Z`
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The last schedule execution time. Format is defined by RFC3339. Example: `2022-08-05T01:02:29.600Z`
     */
    readonly timeLastScheduleRun: pulumi.Output<string>;
    /**
     * The next scheduled execution time for the schedule. Format is defined by RFC3339. Example: `2022-08-05T01:02:29.600Z`
     */
    readonly timeNextScheduledRun: pulumi.Output<string>;
    /**
     * The date and time the schedule was updated. Format is defined by RFC3339.           Example: `2022-09-05T01:02:29.600Z`
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * (Updatable) The trigger of the schedule can be UNIX cron or iCal expression or simple interval
     */
    readonly trigger: pulumi.Output<outputs.DataScience.ScheduleTrigger>;
    /**
     * Create a Schedule 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: ScheduleArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering Schedule resources.
 */
export interface ScheduleState {
    /**
     * (Updatable) The schedule action
     */
    action?: pulumi.Input<inputs.DataScience.ScheduleAction | undefined>;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the schedule.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the schedule.
     */
    createdBy?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. 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) A short description of the schedule.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) A user-friendly name. Avoid entering confidential information.
     */
    displayName?: 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. 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>;
    /**
     * Details about the action performed by the last schedule execution. Example: `Invoked ML Application trigger.`
     */
    lastScheduleRunDetails?: pulumi.Input<string | undefined>;
    /**
     * A message describing the current state in more detail.
     */
    lifecycleDetails?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Custom logging details for schedule execution.
     */
    logDetails?: pulumi.Input<inputs.DataScience.ScheduleLogDetails | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate the schedule with.
     */
    projectId?: pulumi.Input<string | undefined>;
    /**
     * The current state of the schedule.           Example: `ACTIVE`
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    systemTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The date and time the schedule was created. Format is defined by RFC3339.           Example: `2022-08-05T01:02:29.600Z`
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The last schedule execution time. Format is defined by RFC3339. Example: `2022-08-05T01:02:29.600Z`
     */
    timeLastScheduleRun?: pulumi.Input<string | undefined>;
    /**
     * The next scheduled execution time for the schedule. Format is defined by RFC3339. Example: `2022-08-05T01:02:29.600Z`
     */
    timeNextScheduledRun?: pulumi.Input<string | undefined>;
    /**
     * The date and time the schedule was updated. Format is defined by RFC3339.           Example: `2022-09-05T01:02:29.600Z`
     */
    timeUpdated?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The trigger of the schedule can be UNIX cron or iCal expression or simple interval
     */
    trigger?: pulumi.Input<inputs.DataScience.ScheduleTrigger | undefined>;
}
/**
 * The set of arguments for constructing a Schedule resource.
 */
export interface ScheduleArgs {
    /**
     * (Updatable) The schedule action
     */
    action: pulumi.Input<inputs.DataScience.ScheduleAction>;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the schedule.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. 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) A short description of the schedule.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) A user-friendly name. Avoid entering confidential information.
     */
    displayName: pulumi.Input<string>;
    /**
     * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. 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>;
    /**
     * (Updatable) Custom logging details for schedule execution.
     */
    logDetails?: pulumi.Input<inputs.DataScience.ScheduleLogDetails | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate the schedule with.
     */
    projectId: pulumi.Input<string>;
    /**
     * (Updatable) The trigger of the schedule can be UNIX cron or iCal expression or simple interval
     */
    trigger: pulumi.Input<inputs.DataScience.ScheduleTrigger>;
}
//# sourceMappingURL=schedule.d.ts.map