import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Retrieves a Fleet Automation Agent upgrade schedule by ID. Reading schedules requires an application key with the `hostsRead` permission. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Reading Fleet Automation schedules requires the hosts_read permission. * const nonproduction = datadog.getFleetSchedule({ * id: "", * }); * ``` */ export declare function getFleetSchedule(args: GetFleetScheduleArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getFleetSchedule. */ export interface GetFleetScheduleArgs { /** * Unique identifier of the Fleet Automation schedule. */ id: string; } /** * A collection of values returned by getFleetSchedule. */ export interface GetFleetScheduleResult { /** * RFC 3339 timestamp when the schedule was created. */ readonly createdAt: string; /** * User handle of the person who created the schedule. */ readonly createdBy: string; /** * Unique identifier of the Fleet Automation schedule. */ readonly id: string; /** * Whether this is the organization's default schedule. */ readonly isDefault: boolean; /** * Human-readable name of the schedule. */ readonly name: string; /** * RFC 3339 timestamp of the next maintenance window, or null when no next run can be computed. */ readonly nextRun: string; /** * Notification configuration attached to the schedule, when available. */ readonly notificationRule: outputs.GetFleetScheduleNotificationRule; /** * Datadog host query used to select the Agent upgrade targets. */ readonly query: string; /** * Recurrence and maintenance-window configuration for the schedule. */ readonly rule: outputs.GetFleetScheduleRule; /** * Whether the schedule is `active` or `inactive`. */ readonly status: string; /** * RFC 3339 timestamp when the schedule was last updated. */ readonly updatedAt: string; /** * User handle of the person who last updated the schedule. */ readonly updatedBy: string; /** * Number of major Agent versions behind the latest version targeted by the schedule. */ readonly versionToLatest: number; } /** * Retrieves a Fleet Automation Agent upgrade schedule by ID. Reading schedules requires an application key with the `hostsRead` permission. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Reading Fleet Automation schedules requires the hosts_read permission. * const nonproduction = datadog.getFleetSchedule({ * id: "", * }); * ``` */ export declare function getFleetScheduleOutput(args: GetFleetScheduleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getFleetSchedule. */ export interface GetFleetScheduleOutputArgs { /** * Unique identifier of the Fleet Automation schedule. */ id: pulumi.Input; } //# sourceMappingURL=getFleetSchedule.d.ts.map