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 Database Software Images in Oracle Cloud Infrastructure Database service. * * Gets a list of the database software images in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDatabaseSoftwareImages = oci.database.getDatabaseSoftwareImages({ * compartmentId: compartmentId, * dbSystemId: testDbSystem.id, * displayName: databaseSoftwareImageDisplayName, * imageShapeFamily: databaseSoftwareImageImageShapeFamily, * imageType: databaseSoftwareImageImageType, * isUpgradeSupported: databaseSoftwareImageIsUpgradeSupported === "true", * state: databaseSoftwareImageState, * }); * ``` */ export declare function getDatabaseSoftwareImages(args: GetDatabaseSoftwareImagesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDatabaseSoftwareImages. */ export interface GetDatabaseSoftwareImagesArgs { /** * 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; /** * A filter to return only resources that match the entire display name given. The match is not case sensitive. */ displayName?: string; filters?: inputs.Database.GetDatabaseSoftwareImagesFilter[]; /** * A filter to return only resources that match the given image shape family exactly. */ imageShapeFamily?: string; /** * A filter to return only resources that match the given image type exactly. */ imageType?: string; /** * If provided, filters the results to the set of database versions which are supported for Upgrade. */ isUpgradeSupported?: boolean; /** * A filter to return only resources that match the given lifecycle state exactly. */ state?: string; } /** * A collection of values returned by getDatabaseSoftwareImages. */ export interface GetDatabaseSoftwareImagesResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * The list of database_software_images. */ readonly databaseSoftwareImages: outputs.Database.GetDatabaseSoftwareImagesDatabaseSoftwareImage[]; readonly dbSystemId?: string; /** * The user-friendly name for the database software image. The name does not have to be unique. */ readonly displayName?: string; readonly filters?: outputs.Database.GetDatabaseSoftwareImagesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * To what shape the image is meant for. */ readonly imageShapeFamily?: string; /** * The type of software image. Can be grid or database. */ readonly imageType?: string; /** * True if this Database software image is supported for Upgrade. */ readonly isUpgradeSupported?: boolean; /** * The current state of the database software image. */ readonly state?: string; } /** * This data source provides the list of Database Software Images in Oracle Cloud Infrastructure Database service. * * Gets a list of the database software images in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDatabaseSoftwareImages = oci.database.getDatabaseSoftwareImages({ * compartmentId: compartmentId, * dbSystemId: testDbSystem.id, * displayName: databaseSoftwareImageDisplayName, * imageShapeFamily: databaseSoftwareImageImageShapeFamily, * imageType: databaseSoftwareImageImageType, * isUpgradeSupported: databaseSoftwareImageIsUpgradeSupported === "true", * state: databaseSoftwareImageState, * }); * ``` */ export declare function getDatabaseSoftwareImagesOutput(args: GetDatabaseSoftwareImagesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDatabaseSoftwareImages. */ export interface GetDatabaseSoftwareImagesOutputArgs { /** * 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; /** * 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 image shape family exactly. */ imageShapeFamily?: pulumi.Input; /** * A filter to return only resources that match the given image type exactly. */ imageType?: pulumi.Input; /** * If provided, filters the results to the set of database versions which are supported for Upgrade. */ isUpgradeSupported?: pulumi.Input; /** * A filter to return only resources that match the given lifecycle state exactly. */ state?: pulumi.Input; } //# sourceMappingURL=getDatabaseSoftwareImages.d.ts.map