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 Database Connectors in Oracle Cloud Infrastructure Database service. * * Gets a list of the external database connectors in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExternalDatabaseConnectors = oci.database.getExternalDatabaseConnectors({ * compartmentId: compartmentId, * externalDatabaseId: testDatabase.id, * displayName: externalDatabaseConnectorDisplayName, * state: externalDatabaseConnectorState, * }); * ``` */ export declare function getExternalDatabaseConnectors(args: GetExternalDatabaseConnectorsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getExternalDatabaseConnectors. */ export interface GetExternalDatabaseConnectorsArgs { /** * 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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database whose connectors will be listed. */ externalDatabaseId: string; filters?: inputs.Database.GetExternalDatabaseConnectorsFilter[]; /** * A filter to return only resources that match the specified lifecycle state. */ state?: string; } /** * A collection of values returned by getExternalDatabaseConnectors. */ export interface GetExternalDatabaseConnectorsResult { /** * 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 connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). The name does not have to be unique. */ readonly displayName?: string; /** * The list of external_database_connectors. */ readonly externalDatabaseConnectors: outputs.Database.GetExternalDatabaseConnectorsExternalDatabaseConnector[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database resource. */ readonly externalDatabaseId: string; readonly filters?: outputs.Database.GetExternalDatabaseConnectorsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The current lifecycle state of the external database connector resource. */ readonly state?: string; } /** * This data source provides the list of External Database Connectors in Oracle Cloud Infrastructure Database service. * * Gets a list of the external database connectors in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExternalDatabaseConnectors = oci.database.getExternalDatabaseConnectors({ * compartmentId: compartmentId, * externalDatabaseId: testDatabase.id, * displayName: externalDatabaseConnectorDisplayName, * state: externalDatabaseConnectorState, * }); * ``` */ export declare function getExternalDatabaseConnectorsOutput(args: GetExternalDatabaseConnectorsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getExternalDatabaseConnectors. */ export interface GetExternalDatabaseConnectorsOutputArgs { /** * 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 [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database whose connectors will be listed. */ externalDatabaseId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that match the specified lifecycle state. */ state?: pulumi.Input; } //# sourceMappingURL=getExternalDatabaseConnectors.d.ts.map