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 Cloud Databases in Oracle Cloud Infrastructure Database Management service. * * Lists the cloud databases in the specified compartment or in the specified DB system. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCloudDatabases = oci.databasemanagement.getCloudDatabases({ * cloudDbSystemId: testCloudDbSystem.id, * compartmentId: compartmentId, * displayName: cloudDatabaseDisplayName, * }); * ``` */ export declare function getCloudDatabases(args: GetCloudDatabasesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCloudDatabases. */ export interface GetCloudDatabasesArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud DB system. */ cloudDbSystemId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: string; /** * A filter to only return the resources that match the entire display name. */ displayName?: string; filters?: inputs.DatabaseManagement.GetCloudDatabasesFilter[]; } /** * A collection of values returned by getCloudDatabases. */ export interface GetCloudDatabasesResult { /** * The list of cloud_database_collection. */ readonly cloudDatabaseCollections: outputs.DatabaseManagement.GetCloudDatabasesCloudDatabaseCollection[]; readonly cloudDbSystemId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId?: string; /** * The user-friendly name for the database. The name does not have to be unique. */ readonly displayName?: string; readonly filters?: outputs.DatabaseManagement.GetCloudDatabasesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; } /** * This data source provides the list of Cloud Databases in Oracle Cloud Infrastructure Database Management service. * * Lists the cloud databases in the specified compartment or in the specified DB system. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCloudDatabases = oci.databasemanagement.getCloudDatabases({ * cloudDbSystemId: testCloudDbSystem.id, * compartmentId: compartmentId, * displayName: cloudDatabaseDisplayName, * }); * ``` */ export declare function getCloudDatabasesOutput(args: GetCloudDatabasesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCloudDatabases. */ export interface GetCloudDatabasesOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud DB system. */ cloudDbSystemId: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * A filter to only return the resources that match the entire display name. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getCloudDatabases.d.ts.map