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 Databases in Oracle Cloud Infrastructure Database Management service. * * Lists the external 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 testExternalDatabases = oci.databasemanagement.getExternalDatabases({ * compartmentId: compartmentId, * displayName: externalDatabaseDisplayName, * externalDatabaseId: testExternalDatabase.id, * externalDbSystemId: testExternalDbSystem.id, * }); * ``` */ export declare function getExternalDatabases(args?: GetExternalDatabasesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getExternalDatabases. */ export interface GetExternalDatabasesArgs { /** * 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; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database. */ externalDatabaseId?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. */ externalDbSystemId?: string; filters?: inputs.DatabaseManagement.GetExternalDatabasesFilter[]; } /** * A collection of values returned by getExternalDatabases. */ export interface GetExternalDatabasesResult { /** * 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; /** * The list of external_database_collection. */ readonly externalDatabaseCollections: outputs.DatabaseManagement.GetExternalDatabasesExternalDatabaseCollection[]; readonly externalDatabaseId?: string; readonly externalDbSystemId?: string; readonly filters?: outputs.DatabaseManagement.GetExternalDatabasesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; } /** * This data source provides the list of External Databases in Oracle Cloud Infrastructure Database Management service. * * Lists the external 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 testExternalDatabases = oci.databasemanagement.getExternalDatabases({ * compartmentId: compartmentId, * displayName: externalDatabaseDisplayName, * externalDatabaseId: testExternalDatabase.id, * externalDbSystemId: testExternalDbSystem.id, * }); * ``` */ export declare function getExternalDatabasesOutput(args?: GetExternalDatabasesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getExternalDatabases. */ export interface GetExternalDatabasesOutputArgs { /** * 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; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database. */ externalDatabaseId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. */ externalDbSystemId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getExternalDatabases.d.ts.map