import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific External Database Connector resource in Oracle Cloud Infrastructure Database service. * * Gets information about the specified external database connector. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExternalDatabaseConnector = oci.database.getExternalDatabaseConnector({ * externalDatabaseConnectorId: testExternalDatabaseConnectorOciDatabaseExternalDatabaseConnector.id, * }); * ``` */ export declare function getExternalDatabaseConnector(args: GetExternalDatabaseConnectorArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getExternalDatabaseConnector. */ export interface GetExternalDatabaseConnectorArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector resource (`ExternalDatabaseConnectorId`). */ externalDatabaseConnectorId: string; } /** * A collection of values returned by getExternalDatabaseConnector. */ export interface GetExternalDatabaseConnectorResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * Credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector crendentials. */ readonly connectionCredentials: outputs.Database.GetExternalDatabaseConnectorConnectionCredential[]; /** * The status of connectivity to the external database. */ readonly connectionStatus: string; /** * The Oracle AI Database connection string. */ readonly connectionStrings: outputs.Database.GetExternalDatabaseConnectorConnectionString[]; /** * The ID of the agent used for the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). */ readonly connectorAgentId: string; /** * The type of connector used by the external database resource. */ readonly connectorType: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ readonly definedTags: { [key: string]: 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; readonly externalDatabaseConnectorId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database resource. */ readonly externalDatabaseId: string; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). */ readonly id: string; /** * Additional information about the current lifecycle state. */ readonly lifecycleDetails: string; /** * The current lifecycle state of the external database connector resource. */ readonly state: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ readonly systemTags: { [key: string]: string; }; /** * The date and time the `connectionStatus` of this external connector was last updated. */ readonly timeConnectionStatusLastUpdated: string; /** * The date and time the external connector was created. */ readonly timeCreated: string; } /** * This data source provides details about a specific External Database Connector resource in Oracle Cloud Infrastructure Database service. * * Gets information about the specified external database connector. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExternalDatabaseConnector = oci.database.getExternalDatabaseConnector({ * externalDatabaseConnectorId: testExternalDatabaseConnectorOciDatabaseExternalDatabaseConnector.id, * }); * ``` */ export declare function getExternalDatabaseConnectorOutput(args: GetExternalDatabaseConnectorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getExternalDatabaseConnector. */ export interface GetExternalDatabaseConnectorOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector resource (`ExternalDatabaseConnectorId`). */ externalDatabaseConnectorId: pulumi.Input; } //# sourceMappingURL=getExternalDatabaseConnector.d.ts.map