import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Schedule resource in Oracle Cloud Infrastructure Data Science service. * * Gets a Schedule by identifier * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSchedule = oci.datascience.getSchedule({ * scheduleId: testScheduleOciDatascienceSchedule.id, * }); * ``` */ export declare function getSchedule(args: GetScheduleArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSchedule. */ export interface GetScheduleArgs { /** * unique Schedule identifier */ scheduleId: string; } /** * A collection of values returned by getSchedule. */ export interface GetScheduleResult { /** * The schedule action */ readonly actions: outputs.DataScience.GetScheduleAction[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the schedule. */ readonly compartmentId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the schedule. */ readonly createdBy: string; /** * 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: { [key: string]: string; }; /** * A short description of the schedule. */ readonly description: string; /** * A user-friendly display name for the resource. Avoid entering confidential information. */ readonly displayName: string; /** * 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: { [key: string]: string; }; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the schedule. */ readonly id: string; /** * Details about the action performed by the last schedule execution. Example: `Invoked ML Application trigger.` */ readonly lastScheduleRunDetails: string; /** * A message describing the current state in more detail. */ readonly lifecycleDetails: string; /** * Custom logging details for schedule execution. */ readonly logDetails: outputs.DataScience.GetScheduleLogDetail[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project associated with the schedule. */ readonly projectId: string; readonly scheduleId: string; /** * The current state of the schedule. Example: `ACTIVE` */ readonly state: string; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [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: string; /** * The last schedule execution time. Format is defined by RFC3339. Example: `2022-08-05T01:02:29.600Z` */ readonly timeLastScheduleRun: string; /** * The next scheduled execution time for the schedule. Format is defined by RFC3339. Example: `2022-08-05T01:02:29.600Z` */ readonly timeNextScheduledRun: string; /** * The date and time the schedule was updated. Format is defined by RFC3339. Example: `2022-09-05T01:02:29.600Z` */ readonly timeUpdated: string; /** * The trigger of the schedule can be UNIX cron or iCal expression or simple interval */ readonly triggers: outputs.DataScience.GetScheduleTrigger[]; } /** * This data source provides details about a specific Schedule resource in Oracle Cloud Infrastructure Data Science service. * * Gets a Schedule by identifier * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSchedule = oci.datascience.getSchedule({ * scheduleId: testScheduleOciDatascienceSchedule.id, * }); * ``` */ export declare function getScheduleOutput(args: GetScheduleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSchedule. */ export interface GetScheduleOutputArgs { /** * unique Schedule identifier */ scheduleId: pulumi.Input; } //# sourceMappingURL=getSchedule.d.ts.map