import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to get the ID of an OpenStack Load Balancer listener. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as openstack from "@pulumi/openstack"; * * const listener1 = openstack.loadbalancer.getListenerV2({ * name: "listener_1", * }); * ``` */ export declare function getListenerV2(args?: GetListenerV2Args, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getListenerV2. */ export interface GetListenerV2Args { /** * The ID of the listener. Exactly one of `name`, * `listenerId` is required to be set. */ listenerId?: string; /** * The ID of the load balancer associated with * the requested listener. */ loadbalancerId?: string; /** * The name of the listener. Exactly one of `name`, * `listenerId` is required to be set. */ name?: string; /** * The protocol of the requested listener. */ protocol?: string; /** * The port on which the requested listener accepts client traffic. */ protocolPort?: number; /** * The region in which to obtain the V2 Load Balancer client. * If omitted, the `region` argument of the provider is used. */ region?: string; /** * A set of tags applied to the loadbalancer's listener. * The loadbalancer' listener will be returned if it has all of the specified tags. */ tags?: string[]; } /** * A collection of values returned by getListenerV2. */ export interface GetListenerV2Result { /** * The administrative state of the Listener. */ readonly adminStateUp: boolean; /** * A list of IPv4, IPv6 or mix of both CIDRs. */ readonly allowedCidrs: string[]; /** * A list of ALPN protocols. */ readonly alpnProtocols: string[]; /** * The TLS client authentication mode. */ readonly clientAuthentication: string; /** * The ref of the key manager service secret * containing a PEM format client CA certificate bundle for TERMINATED_HTTPS listeners. */ readonly clientCaTlsContainerRef: string; /** * The URI of the key manager service secret * containing a PEM format CA revocation list file for TERMINATED_HTTPS listeners. */ readonly clientCrlContainerRef: string; /** * The maximum number of connections allowed for the Loadbalancer. */ readonly connectionLimit: number; /** * The default pool with which the Listener is associated. */ readonly defaultPool: string; /** * The UUID of default pool. */ readonly defaultPoolId: string; /** * A reference to a Barbican container of TLS secrets. */ readonly defaultTlsContainerRef: string; /** * The description of the listener. */ readonly description: string; /** * Defines whether the includeSubDomains directive * should be added to the Strict-Transport-Security HTTP response header. */ readonly hstsIncludeSubdomains: boolean; /** * The value of the maxAge directive for the * Strict-Transport-Security HTTP response header. */ readonly hstsMaxAge: number; /** * Defines whether the preload directive should be added to the * Strict-Transport-Security HTTP response header. */ readonly hstsPreload: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A dictionary of optional headers to insert into the request * before it is sent to the backend member. */ readonly insertHeaders: { [key: string]: string; }; /** * L7policies are the L7 policies which are part of this listener. */ readonly l7policies: outputs.loadbalancer.GetListenerV2L7policy[]; readonly listenerId: string; readonly loadbalancerId: string; /** * A list of load balancer IDs. */ readonly loadbalancers: outputs.loadbalancer.GetListenerV2Loadbalancer[]; /** * The name of the listener. */ readonly name: string; /** * The operating status of the resource. */ readonly operatingStatus: string; /** * Pools are the pools which are part of this listener. */ readonly pools: outputs.loadbalancer.GetListenerV2Pool[]; /** * The owner (project/tenant) ID of the listener. */ readonly projectId: string; /** * The protocol to loadbalance. */ readonly protocol: string; /** * The port on which to listen to client traffic that is * associated with the Loadbalancer. */ readonly protocolPort: number; /** * The provisioning status of the Listener. */ readonly provisioningStatus: string; readonly region: string; /** * The list of references to TLS secrets. */ readonly sniContainerRefs: string[]; /** * Tags is a list of resource tags. */ readonly tags: string[]; /** * Frontend client inactivity timeout in milliseconds. */ readonly timeoutClientData: number; /** * Backend member connection timeout in milliseconds. */ readonly timeoutMemberConnect: number; /** * Backend member inactivity timeout in milliseconds. */ readonly timeoutMemberData: number; /** * Time, in milliseconds, to wait for additional TCP * packets for content inspection. */ readonly timeoutTcpInspect: number; /** * List of ciphers in OpenSSL format (colon-separated). */ readonly tlsCiphers: string; /** * A list of TLS protocol versions. */ readonly tlsVersions: string[]; } /** * Use this data source to get the ID of an OpenStack Load Balancer listener. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as openstack from "@pulumi/openstack"; * * const listener1 = openstack.loadbalancer.getListenerV2({ * name: "listener_1", * }); * ``` */ export declare function getListenerV2Output(args?: GetListenerV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getListenerV2. */ export interface GetListenerV2OutputArgs { /** * The ID of the listener. Exactly one of `name`, * `listenerId` is required to be set. */ listenerId?: pulumi.Input; /** * The ID of the load balancer associated with * the requested listener. */ loadbalancerId?: pulumi.Input; /** * The name of the listener. Exactly one of `name`, * `listenerId` is required to be set. */ name?: pulumi.Input; /** * The protocol of the requested listener. */ protocol?: pulumi.Input; /** * The port on which the requested listener accepts client traffic. */ protocolPort?: pulumi.Input; /** * The region in which to obtain the V2 Load Balancer client. * If omitted, the `region` argument of the provider is used. */ region?: pulumi.Input; /** * A set of tags applied to the loadbalancer's listener. * The loadbalancer' listener will be returned if it has all of the specified tags. */ tags?: pulumi.Input[]>; }