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 Scheduler Definitions in Oracle Cloud Infrastructure Fleet Apps Management service. * * Returns a list of all the Schedule Definitions 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 testSchedulerDefinitions = oci.fleetappsmanagement.getSchedulerDefinitions({ * compartmentId: compartmentId, * displayName: schedulerDefinitionDisplayName, * fleetId: testFleet.id, * id: schedulerDefinitionId, * maintenanceWindowId: testMaintenanceWindow.id, * product: schedulerDefinitionProduct, * runbookId: testRunbook.id, * runbookVersionName: testRunbookVersion.name, * state: schedulerDefinitionState, * timeScheduledGreaterThanOrEqualTo: schedulerDefinitionTimeScheduledGreaterThanOrEqualTo, * timeScheduledLessThan: schedulerDefinitionTimeScheduledLessThan, * }); * ``` */ export declare function getSchedulerDefinitions(args?: GetSchedulerDefinitionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSchedulerDefinitions. */ export interface GetSchedulerDefinitionsArgs { /** * 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.GetSchedulerDefinitionsFilter[]; /** * unique Fleet identifier */ fleetId?: string; /** * Unique identifier or OCID for listing a single Schedule Definition by id. Either compartmentId or id must be provided. */ id?: string; /** * A filter to return only schedule definitions whose associated maintenanceWindowId matches the given maintenanceWindowId. */ maintenanceWindowId?: string; /** * A filter to return only dchedule definitions whose assocaited product matches the given product */ product?: string; /** * A filter to return only schedule definitions whose associated runbookId matches the given runbookId. */ runbookId?: string; /** * RunbookVersion Name filter */ runbookVersionName?: string; /** * A filter to return only scheduleDefinitions whose lifecycleState matches the given lifecycleState. */ state?: string; /** * Scheduled Time */ timeScheduledGreaterThanOrEqualTo?: string; /** * Scheduled Time */ timeScheduledLessThan?: string; } /** * A collection of values returned by getSchedulerDefinitions. */ export interface GetSchedulerDefinitionsResult { /** * 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.GetSchedulerDefinitionsFilter[]; /** * ID of the fleet */ readonly fleetId?: string; /** * The OCID of the resource. */ readonly id?: string; /** * Provide MaintenanceWindowId */ readonly maintenanceWindowId?: string; readonly product?: string; /** * The ID of the Runbook */ readonly runbookId?: string; /** * The runbook version name */ readonly runbookVersionName?: string; /** * The list of scheduler_definition_collection. */ readonly schedulerDefinitionCollections: outputs.FleetAppsManagement.GetSchedulerDefinitionsSchedulerDefinitionCollection[]; /** * The current state of the SchedulerDefinition. */ readonly state?: string; readonly timeScheduledGreaterThanOrEqualTo?: string; readonly timeScheduledLessThan?: string; } /** * This data source provides the list of Scheduler Definitions in Oracle Cloud Infrastructure Fleet Apps Management service. * * Returns a list of all the Schedule Definitions 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 testSchedulerDefinitions = oci.fleetappsmanagement.getSchedulerDefinitions({ * compartmentId: compartmentId, * displayName: schedulerDefinitionDisplayName, * fleetId: testFleet.id, * id: schedulerDefinitionId, * maintenanceWindowId: testMaintenanceWindow.id, * product: schedulerDefinitionProduct, * runbookId: testRunbook.id, * runbookVersionName: testRunbookVersion.name, * state: schedulerDefinitionState, * timeScheduledGreaterThanOrEqualTo: schedulerDefinitionTimeScheduledGreaterThanOrEqualTo, * timeScheduledLessThan: schedulerDefinitionTimeScheduledLessThan, * }); * ``` */ export declare function getSchedulerDefinitionsOutput(args?: GetSchedulerDefinitionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSchedulerDefinitions. */ export interface GetSchedulerDefinitionsOutputArgs { /** * 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 Fleet identifier */ fleetId?: pulumi.Input; /** * Unique identifier or OCID for listing a single Schedule Definition by id. Either compartmentId or id must be provided. */ id?: pulumi.Input; /** * A filter to return only schedule definitions whose associated maintenanceWindowId matches the given maintenanceWindowId. */ maintenanceWindowId?: pulumi.Input; /** * A filter to return only dchedule definitions whose assocaited product matches the given product */ product?: pulumi.Input; /** * A filter to return only schedule definitions whose associated runbookId matches the given runbookId. */ runbookId?: pulumi.Input; /** * RunbookVersion Name filter */ runbookVersionName?: pulumi.Input; /** * A filter to return only scheduleDefinitions whose lifecycleState matches the given lifecycleState. */ state?: pulumi.Input; /** * Scheduled Time */ timeScheduledGreaterThanOrEqualTo?: pulumi.Input; /** * Scheduled Time */ timeScheduledLessThan?: pulumi.Input; } //# sourceMappingURL=getSchedulerDefinitions.d.ts.map