import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Task Schedule resource in Oracle Cloud Infrastructure Jms service. * * Returns a task schedule. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTaskSchedule = oci.jms.getTaskSchedule({ * taskScheduleId: testTaskScheduleOciJmsTaskSchedule.id, * fleetId: testFleet.id, * }); * ``` */ export declare function getTaskSchedule(args: GetTaskScheduleArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTaskSchedule. */ export interface GetTaskScheduleArgs { /** * The ID of the Fleet. */ fleetId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to identify this task schedule. */ taskScheduleId: string; } /** * A collection of values returned by getTaskSchedule. */ export interface GetTaskScheduleResult { /** * Name of the task creator. */ readonly createdBy: string; /** * Recurrence specification for the task schedule execution (formatted according to [RFC-5545](https://icalendar.org/RFC-Specifications/iCalendar-RFC-5545/)). To run daily for 10 occurrences starts on September 2, 2024 09:00 UTC, it should be 'DTSTART=20240902T090000Z; RRULE:FREQ=DAILY;COUNT=10'. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 UTC, it should be 'DTSTART=20240805T090000Z;RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z'. */ readonly executionRecurrences: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. */ readonly fleetId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to identify this task schedule. */ readonly id: string; /** * The name of the task schedule. */ readonly name: string; /** * All possible status of task schedule. */ readonly state: string; /** * The minimum details of a task. */ readonly taskDetails: outputs.Jms.GetTaskScheduleTaskDetail[]; readonly taskScheduleId: string; /** * The date and time the task schedule was created (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). */ readonly timeCreated: string; /** * The date and time the task schedule ran last (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). */ readonly timeLastRun: string; /** * The date and time the task schedule was last updated (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). */ readonly timeLastUpdated: string; /** * The date and time the task schedule will run next (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). */ readonly timeNextRun: string; } /** * This data source provides details about a specific Task Schedule resource in Oracle Cloud Infrastructure Jms service. * * Returns a task schedule. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTaskSchedule = oci.jms.getTaskSchedule({ * taskScheduleId: testTaskScheduleOciJmsTaskSchedule.id, * fleetId: testFleet.id, * }); * ``` */ export declare function getTaskScheduleOutput(args: GetTaskScheduleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTaskSchedule. */ export interface GetTaskScheduleOutputArgs { /** * The ID of the Fleet. */ fleetId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to identify this task schedule. */ taskScheduleId: pulumi.Input; } //# sourceMappingURL=getTaskSchedule.d.ts.map