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 Bds Instance Patch Histories in Oracle Cloud Infrastructure Big Data Service service. * * List the patch history of this cluster. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testBdsInstancePatchHistories = oci.bigdataservice.getBdsInstancePatchHistories({ * bdsInstanceId: testBdsInstance.id, * patchType: bdsInstancePatchHistoryPatchType, * patchVersion: bdsInstancePatchHistoryPatchVersion, * state: bdsInstancePatchHistoryState, * }); * ``` */ export declare function getBdsInstancePatchHistories(args: GetBdsInstancePatchHistoriesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBdsInstancePatchHistories. */ export interface GetBdsInstancePatchHistoriesArgs { /** * The OCID of the cluster. */ bdsInstanceId: string; filters?: inputs.BigDataService.GetBdsInstancePatchHistoriesFilter[]; /** * The type of a BDS patch history entity. */ patchType?: string; /** * The version of the patch */ patchVersion?: string; /** * The status of the patch. */ state?: string; } /** * A collection of values returned by getBdsInstancePatchHistories. */ export interface GetBdsInstancePatchHistoriesResult { readonly bdsInstanceId: string; readonly filters?: outputs.BigDataService.GetBdsInstancePatchHistoriesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of patch_histories. */ readonly patchHistories: outputs.BigDataService.GetBdsInstancePatchHistoriesPatchHistory[]; /** * The type of current patch history. DP - Data Plane patch(This history type is internal available only) ODH - Oracle Distribution of Hadoop update OS - Operating System update BDS - Big Data Service update */ readonly patchType?: string; readonly patchVersion?: string; /** * The status of this patch. */ readonly state?: string; } /** * This data source provides the list of Bds Instance Patch Histories in Oracle Cloud Infrastructure Big Data Service service. * * List the patch history of this cluster. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testBdsInstancePatchHistories = oci.bigdataservice.getBdsInstancePatchHistories({ * bdsInstanceId: testBdsInstance.id, * patchType: bdsInstancePatchHistoryPatchType, * patchVersion: bdsInstancePatchHistoryPatchVersion, * state: bdsInstancePatchHistoryState, * }); * ``` */ export declare function getBdsInstancePatchHistoriesOutput(args: GetBdsInstancePatchHistoriesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBdsInstancePatchHistories. */ export interface GetBdsInstancePatchHistoriesOutputArgs { /** * The OCID of the cluster. */ bdsInstanceId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The type of a BDS patch history entity. */ patchType?: pulumi.Input; /** * The version of the patch */ patchVersion?: pulumi.Input; /** * The status of the patch. */ state?: pulumi.Input; } //# sourceMappingURL=getBdsInstancePatchHistories.d.ts.map