import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific External Db System Connector resource in Oracle Cloud Infrastructure Database Management service. * * Gets the details for the external connector specified by `externalDbSystemConnectorId`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExternalDbSystemConnector = oci.databasemanagement.getExternalDbSystemConnector({ * externalDbSystemConnectorId: testExternalDbSystemConnectorOciDatabaseManagementExternalDbSystemConnector.id, * }); * ``` */ export declare function getExternalDbSystemConnector(args: GetExternalDbSystemConnectorArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getExternalDbSystemConnector. */ export interface GetExternalDbSystemConnectorArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external connector. */ externalDbSystemConnectorId: string; } /** * A collection of values returned by getExternalDbSystemConnector. */ export interface GetExternalDbSystemConnectorResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent used for the external DB system connector. */ readonly agentId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * The error message indicating the reason for connection failure or `null` if the connection was successful. */ readonly connectionFailureMessage: string; /** * The connection details required to connect to an external DB system component. */ readonly connectionInfos: outputs.DatabaseManagement.GetExternalDbSystemConnectorConnectionInfo[]; /** * The status of connectivity to the external DB system component. */ readonly connectionStatus: string; /** * The type of connector. */ 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). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * The user-friendly name for the external connector. The name does not have to be unique. */ readonly displayName: string; readonly externalDbSystemConnectorId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system that the connector is a part of. */ readonly externalDbSystemId: 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 DB system connector. */ readonly id: string; /** * Additional information about the current lifecycle state. */ readonly lifecycleDetails: string; /** * The current lifecycle state of the external DB system connector. */ 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). System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The date and time the connectionStatus of the external DB system connector was last updated. */ readonly timeConnectionStatusLastUpdated: string; /** * The date and time the external DB system connector was created. */ readonly timeCreated: string; /** * The date and time the external DB system connector was last updated. */ readonly timeUpdated: string; } /** * This data source provides details about a specific External Db System Connector resource in Oracle Cloud Infrastructure Database Management service. * * Gets the details for the external connector specified by `externalDbSystemConnectorId`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExternalDbSystemConnector = oci.databasemanagement.getExternalDbSystemConnector({ * externalDbSystemConnectorId: testExternalDbSystemConnectorOciDatabaseManagementExternalDbSystemConnector.id, * }); * ``` */ export declare function getExternalDbSystemConnectorOutput(args: GetExternalDbSystemConnectorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getExternalDbSystemConnector. */ export interface GetExternalDbSystemConnectorOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external connector. */ externalDbSystemConnectorId: pulumi.Input; } //# sourceMappingURL=getExternalDbSystemConnector.d.ts.map