import * as pulumi from "@pulumi/pulumi";
/**
 * Manage the attachment of a Load Balancer in a Network in the Hetzner Cloud.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as hcloud from "@pulumi/hcloud";
 *
 * const main = new hcloud.LoadBalancer("main", {
 *     name: "main",
 *     loadBalancerType: "lb11",
 *     networkZone: "eu-central",
 * });
 * const network = new hcloud.Network("network", {
 *     name: "network",
 *     ipRange: "10.0.0.0/16",
 * });
 * const subnet = new hcloud.NetworkSubnet("subnet", {
 *     networkId: network.id.apply(x =>Number(x)),
 *     type: "cloud",
 *     networkZone: "eu-central",
 *     ipRange: "10.0.1.0/24",
 * });
 * const attachment = new hcloud.LoadBalancerNetwork("attachment", {
 *     loadBalancerId: main.id.apply(x =>Number(x)),
 *     subnetId: subnet.id,
 *     ip: "10.0.1.5",
 * });
 * ```
 *
 * ## Import
 *
 * The `pulumi import` command can be used, for example:
 *
 * ```sh
 * $ pulumi import hcloud:index/loadBalancerNetwork:LoadBalancerNetwork example "$LOAD_BALANCER_ID-$NETWORK_ID"
 * ```
 */
export declare class LoadBalancerNetwork extends pulumi.CustomResource {
    /**
     * Get an existing LoadBalancerNetwork 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?: LoadBalancerNetworkState, opts?: pulumi.CustomResourceOptions): LoadBalancerNetwork;
    /**
     * Returns true if the given object is an instance of LoadBalancerNetwork.  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 LoadBalancerNetwork;
    /**
     * Wether the Load Balancer public interface is enabled. Default is `true`.
     */
    readonly enablePublicInterface: pulumi.Output<boolean>;
    /**
     * IP to assign to the Load Balancer.
     */
    readonly ip: pulumi.Output<string>;
    /**
     * ID of the Load Balancer.
     */
    readonly loadBalancerId: pulumi.Output<number>;
    /**
     * ID of the Network to attach the Load Balancer to. Using `subnetId` is preferred. Required if `subnetId` is not set. If `subnetId` or `ip` are not set, the Load Balancer will be attached to the last subnet (ordered by `ipRange`).
     */
    readonly networkId: pulumi.Output<number>;
    /**
     * ID of the Subnet to attach the Load Balancer to. Required if `networkId` is not set.
     */
    readonly subnetId: pulumi.Output<string | undefined>;
    /**
     * Create a LoadBalancerNetwork 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: LoadBalancerNetworkArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering LoadBalancerNetwork resources.
 */
export interface LoadBalancerNetworkState {
    /**
     * Wether the Load Balancer public interface is enabled. Default is `true`.
     */
    enablePublicInterface?: pulumi.Input<boolean | undefined>;
    /**
     * IP to assign to the Load Balancer.
     */
    ip?: pulumi.Input<string | undefined>;
    /**
     * ID of the Load Balancer.
     */
    loadBalancerId?: pulumi.Input<number | undefined>;
    /**
     * ID of the Network to attach the Load Balancer to. Using `subnetId` is preferred. Required if `subnetId` is not set. If `subnetId` or `ip` are not set, the Load Balancer will be attached to the last subnet (ordered by `ipRange`).
     */
    networkId?: pulumi.Input<number | undefined>;
    /**
     * ID of the Subnet to attach the Load Balancer to. Required if `networkId` is not set.
     */
    subnetId?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a LoadBalancerNetwork resource.
 */
export interface LoadBalancerNetworkArgs {
    /**
     * Wether the Load Balancer public interface is enabled. Default is `true`.
     */
    enablePublicInterface?: pulumi.Input<boolean | undefined>;
    /**
     * IP to assign to the Load Balancer.
     */
    ip?: pulumi.Input<string | undefined>;
    /**
     * ID of the Load Balancer.
     */
    loadBalancerId: pulumi.Input<number>;
    /**
     * ID of the Network to attach the Load Balancer to. Using `subnetId` is preferred. Required if `subnetId` is not set. If `subnetId` or `ip` are not set, the Load Balancer will be attached to the last subnet (ordered by `ipRange`).
     */
    networkId?: pulumi.Input<number | undefined>;
    /**
     * ID of the Subnet to attach the Load Balancer to. Required if `networkId` is not set.
     */
    subnetId?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=loadBalancerNetwork.d.ts.map