import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
export declare class Listener extends pulumi.CustomResource {
    /**
     * Get an existing Listener resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ListenerState, opts?: pulumi.CustomResourceOptions): Listener;
    /**
     * Returns true if the given object is an instance of Listener.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is Listener;
    /**
     * The connection timeout of the listener.
     */
    readonly connectionTimeout: pulumi.Output<number | undefined>;
    /**
     * The create time of the listener.
     */
    readonly createTime: pulumi.Output<string>;
    /**
     * The description of the listener.
     */
    readonly description: pulumi.Output<string | undefined>;
    /**
     * Whether to enable the listener.
     */
    readonly enabled: pulumi.Output<boolean | undefined>;
    /**
     * The end port of the listener. Range: 0-65535.
     */
    readonly endPort: pulumi.Output<number | undefined>;
    /**
     * The name of the listener.
     */
    readonly listenerName: pulumi.Output<string | undefined>;
    /**
     * The id of the NLB.
     */
    readonly loadBalancerId: pulumi.Output<string>;
    /**
     * The port of the listener. Range: 0-65535.
     */
    readonly port: pulumi.Output<number>;
    /**
     * The protocol of the listener. Valid values: `TCP`, `UDP`.
     */
    readonly protocol: pulumi.Output<string>;
    /**
     * The id of the server group.
     */
    readonly serverGroupId: pulumi.Output<string>;
    /**
     * The start port of the listener. Range: 0-65535.
     */
    readonly startPort: pulumi.Output<number | undefined>;
    /**
     * The status of the listener.
     */
    readonly status: pulumi.Output<string>;
    /**
     * Tags.
     */
    readonly tags: pulumi.Output<outputs.nlb.ListenerTag[] | undefined>;
    /**
     * The update time of the listener.
     */
    readonly updateTime: pulumi.Output<string>;
    /**
     * Create a Listener resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: ListenerArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering Listener resources.
 */
export interface ListenerState {
    /**
     * The connection timeout of the listener.
     */
    connectionTimeout?: pulumi.Input<number>;
    /**
     * The create time of the listener.
     */
    createTime?: pulumi.Input<string>;
    /**
     * The description of the listener.
     */
    description?: pulumi.Input<string>;
    /**
     * Whether to enable the listener.
     */
    enabled?: pulumi.Input<boolean>;
    /**
     * The end port of the listener. Range: 0-65535.
     */
    endPort?: pulumi.Input<number>;
    /**
     * The name of the listener.
     */
    listenerName?: pulumi.Input<string>;
    /**
     * The id of the NLB.
     */
    loadBalancerId?: pulumi.Input<string>;
    /**
     * The port of the listener. Range: 0-65535.
     */
    port?: pulumi.Input<number>;
    /**
     * The protocol of the listener. Valid values: `TCP`, `UDP`.
     */
    protocol?: pulumi.Input<string>;
    /**
     * The id of the server group.
     */
    serverGroupId?: pulumi.Input<string>;
    /**
     * The start port of the listener. Range: 0-65535.
     */
    startPort?: pulumi.Input<number>;
    /**
     * The status of the listener.
     */
    status?: pulumi.Input<string>;
    /**
     * Tags.
     */
    tags?: pulumi.Input<pulumi.Input<inputs.nlb.ListenerTag>[]>;
    /**
     * The update time of the listener.
     */
    updateTime?: pulumi.Input<string>;
}
/**
 * The set of arguments for constructing a Listener resource.
 */
export interface ListenerArgs {
    /**
     * The connection timeout of the listener.
     */
    connectionTimeout?: pulumi.Input<number>;
    /**
     * The description of the listener.
     */
    description?: pulumi.Input<string>;
    /**
     * Whether to enable the listener.
     */
    enabled?: pulumi.Input<boolean>;
    /**
     * The end port of the listener. Range: 0-65535.
     */
    endPort?: pulumi.Input<number>;
    /**
     * The name of the listener.
     */
    listenerName?: pulumi.Input<string>;
    /**
     * The id of the NLB.
     */
    loadBalancerId: pulumi.Input<string>;
    /**
     * The port of the listener. Range: 0-65535.
     */
    port: pulumi.Input<number>;
    /**
     * The protocol of the listener. Valid values: `TCP`, `UDP`.
     */
    protocol: pulumi.Input<string>;
    /**
     * The id of the server group.
     */
    serverGroupId: pulumi.Input<string>;
    /**
     * The start port of the listener. Range: 0-65535.
     */
    startPort?: pulumi.Input<number>;
    /**
     * Tags.
     */
    tags?: pulumi.Input<pulumi.Input<inputs.nlb.ListenerTag>[]>;
}
