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 Patch Management Databases in Oracle Cloud Infrastructure Dblm service. * * > **WARNING:** End of Life: Database Lifecycle Management is deprecated and will reach end of life in January 2027. DBLM Terraform resources and data sources will no longer be supported after that date. * * Gets the list of databases * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPatchManagementDatabases = oci.dblm.getPatchManagementDatabases({ * compartmentId: compartmentId, * databaseRelease: patchManagementDatabaseDatabaseRelease, * databaseType: patchManagementDatabaseDatabaseType, * displayName: patchManagementDatabaseDisplayName, * drifterPatchId: Number(testPatch.id), * imageCompliance: patchManagementDatabaseImageCompliance, * imageId: testImage.id, * severityTypes: patchManagementDatabaseSeverityType, * state: patchManagementDatabaseState, * }); * ``` */ export declare function getPatchManagementDatabases(args?: GetPatchManagementDatabasesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getPatchManagementDatabases. */ export interface GetPatchManagementDatabasesArgs { /** * The ID of the compartment in which to list resources. */ compartmentId?: string; /** * A filter to return only database that match the given release version. */ databaseRelease?: string; /** * Filter by database type. Possible values Single Instance or RAC. */ databaseType?: string; /** * A filter to return only resources that match the entire display name given. */ displayName?: string; /** * A filter to return only database that have given patchId as additional patch (drifter from image version). */ drifterPatchId?: number; filters?: inputs.Dblm.GetPatchManagementDatabasesFilter[]; /** * Filter databases by image compliance status. */ imageCompliance?: string; /** * Subscribed image */ imageId?: string; /** * Filter by one or more severity types. Possible values are critical, high, medium, low, info and none. */ severityTypes?: string[]; /** * A filter to return only resources their lifecycleState matches the given lifecycleState. */ state?: string; } /** * A collection of values returned by getPatchManagementDatabases. */ export interface GetPatchManagementDatabasesResult { readonly compartmentId?: string; readonly databaseRelease?: string; /** * Database type. */ readonly databaseType?: string; readonly displayName?: string; readonly drifterPatchId?: number; readonly filters?: outputs.Dblm.GetPatchManagementDatabasesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly imageCompliance?: string; /** * Image identifier. */ readonly imageId?: string; /** * The list of patch_databases_collection. */ readonly patchDatabasesCollections: outputs.Dblm.GetPatchManagementDatabasesPatchDatabasesCollection[]; readonly severityTypes?: string[]; /** * The current state of the database. */ readonly state?: string; } /** * This data source provides the list of Patch Management Databases in Oracle Cloud Infrastructure Dblm service. * * > **WARNING:** End of Life: Database Lifecycle Management is deprecated and will reach end of life in January 2027. DBLM Terraform resources and data sources will no longer be supported after that date. * * Gets the list of databases * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPatchManagementDatabases = oci.dblm.getPatchManagementDatabases({ * compartmentId: compartmentId, * databaseRelease: patchManagementDatabaseDatabaseRelease, * databaseType: patchManagementDatabaseDatabaseType, * displayName: patchManagementDatabaseDisplayName, * drifterPatchId: Number(testPatch.id), * imageCompliance: patchManagementDatabaseImageCompliance, * imageId: testImage.id, * severityTypes: patchManagementDatabaseSeverityType, * state: patchManagementDatabaseState, * }); * ``` */ export declare function getPatchManagementDatabasesOutput(args?: GetPatchManagementDatabasesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getPatchManagementDatabases. */ export interface GetPatchManagementDatabasesOutputArgs { /** * The ID of the compartment in which to list resources. */ compartmentId?: pulumi.Input; /** * A filter to return only database that match the given release version. */ databaseRelease?: pulumi.Input; /** * Filter by database type. Possible values Single Instance or RAC. */ databaseType?: pulumi.Input; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; /** * A filter to return only database that have given patchId as additional patch (drifter from image version). */ drifterPatchId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Filter databases by image compliance status. */ imageCompliance?: pulumi.Input; /** * Subscribed image */ imageId?: pulumi.Input; /** * Filter by one or more severity types. Possible values are critical, high, medium, low, info and none. */ severityTypes?: pulumi.Input[] | undefined>; /** * A filter to return only resources their lifecycleState matches the given lifecycleState. */ state?: pulumi.Input; } //# sourceMappingURL=getPatchManagementDatabases.d.ts.map