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 Execution Windows in Oracle Cloud Infrastructure Database service. * * Lists the execution window resources in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExecutionWindows = oci.database.getExecutionWindows({ * compartmentId: compartmentId, * displayName: executionWindowDisplayName, * executionResourceId: testResource.id, * state: executionWindowState, * }); * ``` */ export declare function getExecutionWindows(args: GetExecutionWindowsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getExecutionWindows. */ export interface GetExecutionWindowsArgs { /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId: string; /** * A filter to return only resources that match the entire display name given. The match is not case sensitive. */ displayName?: string; /** * A filter to return only resources that match the given resource id exactly. */ executionResourceId?: string; filters?: inputs.Database.GetExecutionWindowsFilter[]; /** * A filter to return only resources that match the given lifecycle state exactly. */ state?: string; } /** * A collection of values returned by getExecutionWindows. */ export interface GetExecutionWindowsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * The user-friendly name for the execution window. The name does not need to be unique. */ readonly displayName?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution resource the execution window belongs to. */ readonly executionResourceId?: string; /** * The list of execution_windows. */ readonly executionWindows: outputs.Database.GetExecutionWindowsExecutionWindow[]; readonly filters?: outputs.Database.GetExecutionWindowsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The current state of the Schedule Policy. Valid states are CREATED, SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS. */ readonly state?: string; } /** * This data source provides the list of Execution Windows in Oracle Cloud Infrastructure Database service. * * Lists the execution window resources in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExecutionWindows = oci.database.getExecutionWindows({ * compartmentId: compartmentId, * displayName: executionWindowDisplayName, * executionResourceId: testResource.id, * state: executionWindowState, * }); * ``` */ export declare function getExecutionWindowsOutput(args: GetExecutionWindowsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getExecutionWindows. */ export interface GetExecutionWindowsOutputArgs { /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the entire display name given. The match is not case sensitive. */ displayName?: pulumi.Input; /** * A filter to return only resources that match the given resource id exactly. */ executionResourceId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that match the given lifecycle state exactly. */ state?: pulumi.Input; } //# sourceMappingURL=getExecutionWindows.d.ts.map