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 Oneoff Patches in Oracle Cloud Infrastructure Database service. * * Lists one-off patches in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOneoffPatches = oci.database.getOneoffPatches({ * compartmentId: compartmentId, * displayName: oneoffPatchDisplayName, * state: oneoffPatchState, * }); * ``` */ export declare function getOneoffPatches(args: GetOneoffPatchesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOneoffPatches. */ export interface GetOneoffPatchesArgs { /** * (Updatable) 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; filters?: inputs.Database.GetOneoffPatchesFilter[]; /** * A filter to return only resources that match the given lifecycle state exactly */ state?: string; } /** * A collection of values returned by getOneoffPatches. */ export interface GetOneoffPatchesResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * One-off patch name. */ readonly displayName?: string; readonly filters?: outputs.Database.GetOneoffPatchesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of oneoff_patches. */ readonly oneoffPatches: outputs.Database.GetOneoffPatchesOneoffPatch[]; /** * The current state of the one-off patch. */ readonly state?: string; } /** * This data source provides the list of Oneoff Patches in Oracle Cloud Infrastructure Database service. * * Lists one-off patches in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOneoffPatches = oci.database.getOneoffPatches({ * compartmentId: compartmentId, * displayName: oneoffPatchDisplayName, * state: oneoffPatchState, * }); * ``` */ export declare function getOneoffPatchesOutput(args: GetOneoffPatchesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOneoffPatches. */ export interface GetOneoffPatchesOutputArgs { /** * (Updatable) 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; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that match the given lifecycle state exactly */ state?: pulumi.Input; } //# sourceMappingURL=getOneoffPatches.d.ts.map