import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Maintenance Windows in Oracle Cloud Infrastructure Fleet Apps Management service. * * Returns a list of all the Maintenance Windows in the specified compartment. * The query parameter `compartmentId` is required unless the query parameter `id` is specified. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMaintenanceWindows = oci.fleetappsmanagement.getMaintenanceWindows({ * compartmentId: compartmentId, * displayName: maintenanceWindowDisplayName, * id: maintenanceWindowId, * state: maintenanceWindowState, * timeScheduleStartGreaterThanOrEqualTo: maintenanceWindowTimeScheduleStartGreaterThanOrEqualTo, * }); * ``` */ export declare function getMaintenanceWindows(args?: GetMaintenanceWindowsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMaintenanceWindows. */ export interface GetMaintenanceWindowsArgs { /** * The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified. */ compartmentId?: string; /** * A filter to return only resources that match the entire display name given. */ displayName?: string; filters?: inputs.FleetAppsManagement.GetMaintenanceWindowsFilter[]; /** * Unique identifier or OCID for listing a single maintenance window by id. Either compartmentId or id must be provided. */ id?: string; /** * A filter to return only resources whose lifecycleState matches the given lifecycleState. */ state?: string; /** * A filter to return only resources whose timeScheduleStart is greater than or equal to the provided date and time. */ timeScheduleStartGreaterThanOrEqualTo?: string; } /** * A collection of values returned by getMaintenanceWindows. */ export interface GetMaintenanceWindowsResult { /** * Compartment OCID */ readonly compartmentId?: string; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource` */ readonly displayName?: string; readonly filters?: outputs.FleetAppsManagement.GetMaintenanceWindowsFilter[]; /** * The OCID of the resource. */ readonly id?: string; /** * The list of maintenance_window_collection. */ readonly maintenanceWindowCollections: outputs.FleetAppsManagement.GetMaintenanceWindowsMaintenanceWindowCollection[]; /** * The current state of the MaintenanceWindow. */ readonly state?: string; readonly timeScheduleStartGreaterThanOrEqualTo?: string; } /** * This data source provides the list of Maintenance Windows in Oracle Cloud Infrastructure Fleet Apps Management service. * * Returns a list of all the Maintenance Windows in the specified compartment. * The query parameter `compartmentId` is required unless the query parameter `id` is specified. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMaintenanceWindows = oci.fleetappsmanagement.getMaintenanceWindows({ * compartmentId: compartmentId, * displayName: maintenanceWindowDisplayName, * id: maintenanceWindowId, * state: maintenanceWindowState, * timeScheduleStartGreaterThanOrEqualTo: maintenanceWindowTimeScheduleStartGreaterThanOrEqualTo, * }); * ``` */ export declare function getMaintenanceWindowsOutput(args?: GetMaintenanceWindowsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMaintenanceWindows. */ export interface GetMaintenanceWindowsOutputArgs { /** * The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified. */ compartmentId?: pulumi.Input; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Unique identifier or OCID for listing a single maintenance window by id. Either compartmentId or id must be provided. */ id?: pulumi.Input; /** * A filter to return only resources whose lifecycleState matches the given lifecycleState. */ state?: pulumi.Input; /** * A filter to return only resources whose timeScheduleStart is greater than or equal to the provided date and time. */ timeScheduleStartGreaterThanOrEqualTo?: pulumi.Input; } //# sourceMappingURL=getMaintenanceWindows.d.ts.map