import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data source for retrieving a fixed schedule for Harness AutoStopping rule */ export declare function getSchedule(args: GetScheduleArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSchedule. */ export interface GetScheduleArgs { /** * Type of the schedule. Valid values are `uptime` and `downtime` */ scheduleType: string; } /** * A collection of values returned by getSchedule. */ export interface GetScheduleResult { /** * Time until which schedule will be active. Need to be in YYYY-MM-DD HH:mm:SS format. Eg 2006-01-02 15:04:05 */ readonly endingOn: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Unique identifier of the schedule */ readonly identifier: number; /** * Name of the schedule */ readonly name: string; /** * Priority when multiple schedules apply to the same AutoStopping rules. 1 is the highest priority; 2 is next, and larger numbers indicate lower priority. */ readonly priority: number; /** * For defining periodic schedule. Periodic nature will be applicable from the time of creation of schedule, unless specific 'time_period' is specified */ readonly repeats: outputs.autostopping.GetScheduleRepeat[]; /** * ID of AutoStopping rules on which the schedule applies */ readonly rules: number[]; /** * Type of the schedule. Valid values are `uptime` and `downtime` */ readonly scheduleType: string; /** * Time from which schedule will be active. Schedule will take immediate effect if startingFrom is not specified. Need to be in YYYY-MM-DD HH:mm:SS format. Eg 2006-01-02 15:04:05 */ readonly startingFrom: string; /** * Time zone in which schedule needs to be executed */ readonly timeZone: string; } /** * Data source for retrieving a fixed schedule for Harness AutoStopping rule */ export declare function getScheduleOutput(args: GetScheduleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSchedule. */ export interface GetScheduleOutputArgs { /** * Type of the schedule. Valid values are `uptime` and `downtime` */ scheduleType: pulumi.Input; } //# sourceMappingURL=getSchedule.d.ts.map