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 External Pluggable Databases in Oracle Cloud Infrastructure Database service. * * Gets a list of the [ExternalPluggableDatabase](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalPluggableDatabaseDetails) * resources in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExternalPluggableDatabases = oci.database.getExternalPluggableDatabases({ * compartmentId: compartmentId, * displayName: externalPluggableDatabaseDisplayName, * externalContainerDatabaseId: testExternalContainerDatabase.id, * state: externalPluggableDatabaseState, * }); * ``` */ export declare function getExternalPluggableDatabases(args: GetExternalPluggableDatabasesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getExternalPluggableDatabases. */ export interface GetExternalPluggableDatabasesArgs { /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId: string; /** * A filter to return only resources that match the entire display name given. The match is not case sensitive. */ displayName?: string; /** * The ExternalContainerDatabase [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ externalContainerDatabaseId?: string; filters?: inputs.Database.GetExternalPluggableDatabasesFilter[]; /** * A filter to return only resources that match the specified lifecycle state. */ state?: string; } /** * A collection of values returned by getExternalPluggableDatabases. */ export interface GetExternalPluggableDatabasesResult { /** * 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 external database. The name does not have to be unique. */ readonly displayName?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external container database](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalContainerDatabaseDetails) that contains the specified [external pluggable database](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalPluggableDatabaseDetails) resource. */ readonly externalContainerDatabaseId?: string; /** * The list of external_pluggable_databases. */ readonly externalPluggableDatabases: outputs.Database.GetExternalPluggableDatabasesExternalPluggableDatabase[]; readonly filters?: outputs.Database.GetExternalPluggableDatabasesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The current state of the Oracle Cloud Infrastructure external database resource. */ readonly state?: string; } /** * This data source provides the list of External Pluggable Databases in Oracle Cloud Infrastructure Database service. * * Gets a list of the [ExternalPluggableDatabase](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalPluggableDatabaseDetails) * resources in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExternalPluggableDatabases = oci.database.getExternalPluggableDatabases({ * compartmentId: compartmentId, * displayName: externalPluggableDatabaseDisplayName, * externalContainerDatabaseId: testExternalContainerDatabase.id, * state: externalPluggableDatabaseState, * }); * ``` */ export declare function getExternalPluggableDatabasesOutput(args: GetExternalPluggableDatabasesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getExternalPluggableDatabases. */ export interface GetExternalPluggableDatabasesOutputArgs { /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the entire display name given. The match is not case sensitive. */ displayName?: pulumi.Input; /** * The ExternalContainerDatabase [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ externalContainerDatabaseId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that match the specified lifecycle state. */ state?: pulumi.Input; } //# sourceMappingURL=getExternalPluggableDatabases.d.ts.map