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 Databases in Oracle Cloud Infrastructure Database service.
 *
 * Gets a list of the databases in the specified Database Home.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testDatabases = oci.database.getDatabases({
 *     compartmentId: compartmentId,
 *     dbHomeId: testDbHome.id,
 *     dbName: databaseDbName,
 *     state: databaseState,
 *     systemId: testSystem.id,
 * });
 * ```
 */
export declare function getDatabases(args: GetDatabasesArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabasesResult>;
/**
 * A collection of arguments for invoking getDatabases.
 */
export interface GetDatabasesArgs {
    /**
     * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
     */
    compartmentId: string;
    /**
     * A Database Home [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). *Note: Either `dbHomeId` or `systemId` is required to make the LIST API call.
     */
    dbHomeId?: string;
    /**
     * A filter to return only resources that match the entire database name given. The match is not case sensitive.
     */
    dbName?: string;
    filters?: inputs.Database.GetDatabasesFilter[];
    /**
     * A filter to return only resources that match the given lifecycle state exactly.
     */
    state?: string;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata DB system that you want to filter the database results by. Applies only to Exadata DB systems.
     */
    systemId?: string;
}
/**
 * A collection of values returned by getDatabases.
 */
export interface GetDatabasesResult {
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
     */
    readonly compartmentId: string;
    /**
     * The list of databases.
     */
    readonly databases: outputs.Database.GetDatabasesDatabase[];
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Home.
     */
    readonly dbHomeId?: string;
    /**
     * The database name.
     */
    readonly dbName?: string;
    readonly filters?: outputs.Database.GetDatabasesFilter[];
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * The current state of the database.
     */
    readonly state?: string;
    readonly systemId?: string;
}
/**
 * This data source provides the list of Databases in Oracle Cloud Infrastructure Database service.
 *
 * Gets a list of the databases in the specified Database Home.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testDatabases = oci.database.getDatabases({
 *     compartmentId: compartmentId,
 *     dbHomeId: testDbHome.id,
 *     dbName: databaseDbName,
 *     state: databaseState,
 *     systemId: testSystem.id,
 * });
 * ```
 */
export declare function getDatabasesOutput(args: GetDatabasesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDatabasesResult>;
/**
 * A collection of arguments for invoking getDatabases.
 */
export interface GetDatabasesOutputArgs {
    /**
     * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
     */
    compartmentId: pulumi.Input<string>;
    /**
     * A Database Home [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). *Note: Either `dbHomeId` or `systemId` is required to make the LIST API call.
     */
    dbHomeId?: pulumi.Input<string | undefined>;
    /**
     * A filter to return only resources that match the entire database name given. The match is not case sensitive.
     */
    dbName?: pulumi.Input<string | undefined>;
    filters?: pulumi.Input<pulumi.Input<inputs.Database.GetDatabasesFilterArgs>[] | undefined>;
    /**
     * A filter to return only resources that match the given lifecycle state exactly.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata DB system that you want to filter the database results by. Applies only to Exadata DB systems.
     */
    systemId?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getDatabases.d.ts.map