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 Db Versions in Oracle Cloud Infrastructure Database service. * * Gets a list of supported Oracle Database versions. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDbVersions = oci.database.getDbVersions({ * compartmentId: compartmentId, * dbSystemId: testDbSystem.id, * dbSystemShape: dbVersionDbSystemShape, * isDatabaseSoftwareImageSupported: dbVersionIsDatabaseSoftwareImageSupported === "true", * isUpgradeSupported: dbVersionIsUpgradeSupported === "true", * shapeAttribute: dbVersionShapeAttribute, * storageManagement: dbVersionStorageManagement, * }); * ``` */ export declare function getDbVersions(args: GetDbVersionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDbVersions. */ export interface GetDbVersionsArgs { /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId: string; /** * The DB system [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). If provided, filters the results to the set of database versions which are supported for the DB system. */ dbSystemId?: string; /** * If provided, filters the results to the set of database versions which are supported for the given shape. */ dbSystemShape?: string; filters?: inputs.Database.GetDbVersionsFilter[]; /** * If true, filters the results to the set of Oracle Database versions that are supported for Oracle Cloud Infrastructure database software images. */ isDatabaseSoftwareImageSupported?: boolean; /** * If provided, filters the results to the set of database versions which are supported for Upgrade. */ isUpgradeSupported?: boolean; /** * If provided and applicable, return the results based on the shapeAttribute provided */ shapeAttribute?: string; /** * The DB system storage management option. Used to list database versions available for that storage manager. Valid values are `ASM` and `LVM`. * * ASM specifies Oracle Automatic Storage Management * * LVM specifies logical volume manager, sometimes called logical disk manager. */ storageManagement?: string; } /** * A collection of values returned by getDbVersions. */ export interface GetDbVersionsResult { readonly compartmentId: string; readonly dbSystemId?: string; readonly dbSystemShape?: string; /** * The list of db_versions. */ readonly dbVersions: outputs.Database.GetDbVersionsDbVersion[]; readonly filters?: outputs.Database.GetDbVersionsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly isDatabaseSoftwareImageSupported?: boolean; /** * True if this version of the Oracle Database software is supported for Upgrade. */ readonly isUpgradeSupported?: boolean; readonly shapeAttribute?: string; readonly storageManagement?: string; } /** * This data source provides the list of Db Versions in Oracle Cloud Infrastructure Database service. * * Gets a list of supported Oracle Database versions. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDbVersions = oci.database.getDbVersions({ * compartmentId: compartmentId, * dbSystemId: testDbSystem.id, * dbSystemShape: dbVersionDbSystemShape, * isDatabaseSoftwareImageSupported: dbVersionIsDatabaseSoftwareImageSupported === "true", * isUpgradeSupported: dbVersionIsUpgradeSupported === "true", * shapeAttribute: dbVersionShapeAttribute, * storageManagement: dbVersionStorageManagement, * }); * ``` */ export declare function getDbVersionsOutput(args: GetDbVersionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDbVersions. */ export interface GetDbVersionsOutputArgs { /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId: pulumi.Input; /** * The DB system [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). If provided, filters the results to the set of database versions which are supported for the DB system. */ dbSystemId?: pulumi.Input; /** * If provided, filters the results to the set of database versions which are supported for the given shape. */ dbSystemShape?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * If true, filters the results to the set of Oracle Database versions that are supported for Oracle Cloud Infrastructure database software images. */ isDatabaseSoftwareImageSupported?: pulumi.Input; /** * If provided, filters the results to the set of database versions which are supported for Upgrade. */ isUpgradeSupported?: pulumi.Input; /** * If provided and applicable, return the results based on the shapeAttribute provided */ shapeAttribute?: pulumi.Input; /** * The DB system storage management option. Used to list database versions available for that storage manager. Valid values are `ASM` and `LVM`. * * ASM specifies Oracle Automatic Storage Management * * LVM specifies logical volume manager, sometimes called logical disk manager. */ storageManagement?: pulumi.Input; } //# sourceMappingURL=getDbVersions.d.ts.map