import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific External Listener resource in Oracle Cloud Infrastructure Database Management service. * * Gets the details for the external listener specified by `externalListenerId`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExternalListener = oci.databasemanagement.getExternalListener({ * externalListenerId: testExternalListenerOciDatabaseManagementExternalListener.id, * }); * ``` */ export declare function getExternalListener(args: GetExternalListenerArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getExternalListener. */ export interface GetExternalListenerArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external listener. */ externalListenerId: string; } /** * A collection of values returned by getExternalListener. */ export interface GetExternalListenerResult { /** * The additional details of the external listener defined in `{"key": "value"}` format. Example: `{"bar-key": "value"}` */ readonly additionalDetails: { [key: string]: string; }; /** * The directory that stores tracing and logging incidents when Automatic Diagnostic Repository (ADR) is enabled. */ readonly adrHomeDirectory: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the external database resides. */ readonly compartmentId: string; /** * The name of the external listener. */ readonly componentName: 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 database. The name does not have to be unique. */ readonly displayName: string; /** * The list of protocol addresses the listener is configured to listen on. */ readonly endpoints: outputs.DatabaseManagement.GetExternalListenerEndpoint[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external connector. */ readonly externalConnectorId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB home. */ readonly externalDbHomeId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB node. */ readonly externalDbNodeId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system that the listener is a part of. */ readonly externalDbSystemId: string; readonly externalListenerId: 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 name of the host on which the external listener is running. */ readonly hostName: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database. */ readonly id: string; /** * Additional information about the current lifecycle state. */ readonly lifecycleDetails: string; /** * The listener alias. */ readonly listenerAlias: string; /** * The location of the listener configuration file listener.ora. */ readonly listenerOraLocation: string; /** * The type of listener. */ readonly listenerType: string; /** * The destination directory of the listener log file. */ readonly logDirectory: string; /** * The Oracle home location of the listener. */ readonly oracleHome: string; /** * The list of ASMs that are serviced by the listener. */ readonly servicedAsms: outputs.DatabaseManagement.GetExternalListenerServicedAsm[]; /** * The list of databases that are serviced by the listener. */ readonly servicedDatabases: outputs.DatabaseManagement.GetExternalListenerServicedDatabase[]; /** * The current lifecycle state of the external listener. */ 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 external listener was created. */ readonly timeCreated: string; /** * The date and time the external listener was last updated. */ readonly timeUpdated: string; /** * The destination directory of the listener trace file. */ readonly traceDirectory: string; /** * The listener version. */ readonly version: string; } /** * This data source provides details about a specific External Listener resource in Oracle Cloud Infrastructure Database Management service. * * Gets the details for the external listener specified by `externalListenerId`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExternalListener = oci.databasemanagement.getExternalListener({ * externalListenerId: testExternalListenerOciDatabaseManagementExternalListener.id, * }); * ``` */ export declare function getExternalListenerOutput(args: GetExternalListenerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getExternalListener. */ export interface GetExternalListenerOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external listener. */ externalListenerId: pulumi.Input; } //# sourceMappingURL=getExternalListener.d.ts.map