import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Gets information about a Load Balancer. * * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const byName = scaleway.getLb({ * name: "foobar", * }); * const byId = scaleway.getLb({ * lbId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getLb(args?: GetLbArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getLb. */ export interface GetLbArgs { lbId?: string; /** * The Load Balancer name. */ name?: string; /** * The ID of the Project the Load Balancer is associated with. */ projectId?: string; releaseIp?: boolean; /** * (Defaults to provider `zone`) The zone in which the Load Balancer exists. */ zone?: string; } /** * A collection of values returned by getLb. */ export interface GetLbResult { readonly assignFlexibleIp: boolean; readonly assignFlexibleIpv6: boolean; readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The Load Balancer public IP address. */ readonly ipAddress: string; readonly ipId: string; readonly ipIds: string[]; readonly ipv6Address: string; readonly lbId?: string; readonly name?: string; readonly organizationId: string; readonly privateNetworks: outputs.GetLbPrivateNetwork[]; readonly projectId?: string; readonly region: string; readonly releaseIp?: boolean; readonly sslCompatibilityLevel: string; /** * The tags associated with the Load Balancer. */ readonly tags: string[]; /** * The Load Balancer type. */ readonly type: string; /** * (Defaults to provider `zone`) The zone in which the Load Balancer exists. */ readonly zone?: string; } /** * Gets information about a Load Balancer. * * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/concepts/#load-balancers) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-load-balancer-list-load-balancers). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const byName = scaleway.getLb({ * name: "foobar", * }); * const byId = scaleway.getLb({ * lbId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getLbOutput(args?: GetLbOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getLb. */ export interface GetLbOutputArgs { lbId?: pulumi.Input; /** * The Load Balancer name. */ name?: pulumi.Input; /** * The ID of the Project the Load Balancer is associated with. */ projectId?: pulumi.Input; releaseIp?: pulumi.Input; /** * (Defaults to provider `zone`) The zone in which the Load Balancer exists. */ zone?: pulumi.Input; }