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 Listeners in Oracle Cloud Infrastructure Database Management service. * * Lists the listeners in the specified external DB system. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExternalListeners = oci.databasemanagement.getExternalListeners({ * compartmentId: compartmentId, * displayName: externalListenerDisplayName, * externalDbSystemId: testExternalDbSystem.id, * }); * ``` */ export declare function getExternalListeners(args?: GetExternalListenersArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getExternalListeners. */ export interface GetExternalListenersArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: string; /** * A filter to only return the resources that match the entire display name. */ displayName?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. */ externalDbSystemId?: string; filters?: inputs.DatabaseManagement.GetExternalListenersFilter[]; } /** * A collection of values returned by getExternalListeners. */ export interface GetExternalListenersResult { /** * 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 user-friendly name for the database. The name does not have to be unique. */ readonly displayName?: 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; /** * The list of external_listener_collection. */ readonly externalListenerCollections: outputs.DatabaseManagement.GetExternalListenersExternalListenerCollection[]; readonly filters?: outputs.DatabaseManagement.GetExternalListenersFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; } /** * This data source provides the list of External Listeners in Oracle Cloud Infrastructure Database Management service. * * Lists the listeners in the specified external DB system. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExternalListeners = oci.databasemanagement.getExternalListeners({ * compartmentId: compartmentId, * displayName: externalListenerDisplayName, * externalDbSystemId: testExternalDbSystem.id, * }); * ``` */ export declare function getExternalListenersOutput(args?: GetExternalListenersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getExternalListeners. */ export interface GetExternalListenersOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * A filter to only return the resources that match the entire display name. */ displayName?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. */ externalDbSystemId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getExternalListeners.d.ts.map