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 Executions in Oracle Cloud Infrastructure Fleet Apps Management service. * * Returns a list of all executions that are scheduled. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSchedulerExecutions = oci.fleetappsmanagement.getSchedulerExecutions({ * compartmentId: compartmentId, * compartmentIdInSubtree: schedulerExecutionCompartmentIdInSubtree === "true", * displayName: schedulerExecutionDisplayName, * lifecycleOperation: schedulerExecutionLifecycleOperation, * resourceId: testResource.id, * runbookId: testRunbook.id, * runbookVersionName: testRunbookVersion.name, * schedulerDefintionId: testSchedulerDefintion.id, * schedulerJobId: testJob.id, * substate: schedulerExecutionSubstate, * timeScheduledGreaterThanOrEqualTo: schedulerExecutionTimeScheduledGreaterThanOrEqualTo, * timeScheduledLessThan: schedulerExecutionTimeScheduledLessThan, * }); * ``` */ export declare function getSchedulerExecutions(args?: GetSchedulerExecutionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSchedulerExecutions. */ export interface GetSchedulerExecutionsArgs { /** * The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified. */ compartmentId?: string; /** * If set to true, resources will be returned for not only the provided compartment, but all compartments which descend from it. Which resources are returned and their field contents depends on the value of accessLevel. */ compartmentIdInSubtree?: boolean; /** * A filter to return only resources that match the entire display name given. */ displayName?: string; filters?: inputs.FleetAppsManagement.GetSchedulerExecutionsFilter[]; /** * A filter to return only resources their lifecycleOperation matches the given lifecycleOperation. */ lifecycleOperation?: string; /** * ResourceId filter (Example FleetId) */ resourceId?: string; /** * A filter to return only schedule definitions whose associated runbookId matches the given runbookId. */ runbookId?: string; /** * RunbookVersion Name filter */ runbookVersionName?: string; /** * SchedulerDefinition identifier */ schedulerDefintionId?: string; /** * SchedulerJob identifier filter */ schedulerJobId?: string; /** * A filter to return only resources their subState matches the given subState. */ substate?: string; /** * Scheduled Time */ timeScheduledGreaterThanOrEqualTo?: string; /** * Scheduled Time */ timeScheduledLessThan?: string; } /** * A collection of values returned by getSchedulerExecutions. */ export interface GetSchedulerExecutionsResult { /** * Compartment OCID */ readonly compartmentId?: string; readonly compartmentIdInSubtree?: boolean; /** * 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.GetSchedulerExecutionsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly lifecycleOperation?: string; /** * FleetId associated with the Schedule. */ readonly resourceId?: string; /** * RunbookId associated with the Schedule. */ readonly runbookId?: string; /** * Name of the Runbook version associated with the Schedule. */ readonly runbookVersionName?: string; readonly schedulerDefintionId?: string; /** * The list of scheduler_execution_collection. */ readonly schedulerExecutionCollections: outputs.FleetAppsManagement.GetSchedulerExecutionsSchedulerExecutionCollection[]; /** * SchedulerJobId associated with the Schedule. */ readonly schedulerJobId?: string; readonly substate?: string; readonly timeScheduledGreaterThanOrEqualTo?: string; readonly timeScheduledLessThan?: string; } /** * This data source provides the list of Scheduler Executions in Oracle Cloud Infrastructure Fleet Apps Management service. * * Returns a list of all executions that are scheduled. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSchedulerExecutions = oci.fleetappsmanagement.getSchedulerExecutions({ * compartmentId: compartmentId, * compartmentIdInSubtree: schedulerExecutionCompartmentIdInSubtree === "true", * displayName: schedulerExecutionDisplayName, * lifecycleOperation: schedulerExecutionLifecycleOperation, * resourceId: testResource.id, * runbookId: testRunbook.id, * runbookVersionName: testRunbookVersion.name, * schedulerDefintionId: testSchedulerDefintion.id, * schedulerJobId: testJob.id, * substate: schedulerExecutionSubstate, * timeScheduledGreaterThanOrEqualTo: schedulerExecutionTimeScheduledGreaterThanOrEqualTo, * timeScheduledLessThan: schedulerExecutionTimeScheduledLessThan, * }); * ``` */ export declare function getSchedulerExecutionsOutput(args?: GetSchedulerExecutionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSchedulerExecutions. */ export interface GetSchedulerExecutionsOutputArgs { /** * The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified. */ compartmentId?: pulumi.Input; /** * If set to true, resources will be returned for not only the provided compartment, but all compartments which descend from it. Which resources are returned and their field contents depends on the value of accessLevel. */ compartmentIdInSubtree?: pulumi.Input; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources their lifecycleOperation matches the given lifecycleOperation. */ lifecycleOperation?: pulumi.Input; /** * ResourceId filter (Example FleetId) */ resourceId?: 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; /** * SchedulerDefinition identifier */ schedulerDefintionId?: pulumi.Input; /** * SchedulerJob identifier filter */ schedulerJobId?: pulumi.Input; /** * A filter to return only resources their subState matches the given subState. */ substate?: pulumi.Input; /** * Scheduled Time */ timeScheduledGreaterThanOrEqualTo?: pulumi.Input; /** * Scheduled Time */ timeScheduledLessThan?: pulumi.Input; } //# sourceMappingURL=getSchedulerExecutions.d.ts.map