import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Cloud Listener resource in Oracle Cloud Infrastructure Database Management service. * * Gets the details for the cloud listener specified by `cloudListenerId`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCloudListener = oci.databasemanagement.getCloudListener({ * cloudListenerId: testCloudListenerOciDatabaseManagementCloudListener.id, * }); * ``` */ export declare function getCloudListener(args: GetCloudListenerArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCloudListener. */ export interface GetCloudListenerArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud listener. */ cloudListenerId: string; } /** * A collection of values returned by getCloudListener. */ export interface GetCloudListenerResult { /** * The additional details of the cloud 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 cloud connector. */ readonly cloudConnectorId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud DB home. */ readonly cloudDbHomeId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud DB node. */ readonly cloudDbNodeId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud DB system that the listener is a part of. */ readonly cloudDbSystemId: string; readonly cloudListenerId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the cloud database resides. */ readonly compartmentId: string; /** * The name of the cloud listener. */ readonly componentName: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the existing DBaas Oracle Cloud Infrastructure resource matching the discovered DB system component. */ readonly dbaasId: 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.GetCloudListenerEndpoint[]; /** * 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 cloud listener is running. */ readonly hostName: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud 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.GetCloudListenerServicedAsm[]; /** * The list of databases that are serviced by the listener. */ readonly servicedDatabases: outputs.DatabaseManagement.GetCloudListenerServicedDatabase[]; /** * The current lifecycle state of the cloud 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 cloud listener was created. */ readonly timeCreated: string; /** * The date and time the cloud 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 Cloud Listener resource in Oracle Cloud Infrastructure Database Management service. * * Gets the details for the cloud listener specified by `cloudListenerId`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCloudListener = oci.databasemanagement.getCloudListener({ * cloudListenerId: testCloudListenerOciDatabaseManagementCloudListener.id, * }); * ``` */ export declare function getCloudListenerOutput(args: GetCloudListenerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCloudListener. */ export interface GetCloudListenerOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud listener. */ cloudListenerId: pulumi.Input; } //# sourceMappingURL=getCloudListener.d.ts.map