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 Listeners in Oracle Cloud Infrastructure Network Load Balancer service. * * Lists all listeners associated with a given network load balancer. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testListeners = oci.networkloadbalancer.getListeners({ * networkLoadBalancerId: testNetworkLoadBalancer.id, * }); * ``` */ export declare function getListeners(args: GetListenersArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getListeners. */ export interface GetListenersArgs { filters?: inputs.NetworkLoadBalancer.GetListenersFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. */ networkLoadBalancerId: string; } /** * A collection of values returned by getListeners. */ export interface GetListenersResult { readonly filters?: outputs.NetworkLoadBalancer.GetListenersFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of listener_collection. */ readonly listenerCollections: outputs.NetworkLoadBalancer.GetListenersListenerCollection[]; readonly networkLoadBalancerId: string; } /** * This data source provides the list of Listeners in Oracle Cloud Infrastructure Network Load Balancer service. * * Lists all listeners associated with a given network load balancer. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testListeners = oci.networkloadbalancer.getListeners({ * networkLoadBalancerId: testNetworkLoadBalancer.id, * }); * ``` */ export declare function getListenersOutput(args: GetListenersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getListeners. */ export interface GetListenersOutputArgs { filters?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. */ networkLoadBalancerId: pulumi.Input; } //# sourceMappingURL=getListeners.d.ts.map