UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

98 lines (97 loc) 2.42 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Gets information about multiple Load Balancers. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myKey = scaleway.getLbs({ * name: "foobar", * zone: "fr-par-2", * }); * ``` */ export declare function getLbs(args?: GetLbsArgs, opts?: pulumi.InvokeOptions): Promise<GetLbsResult>; /** * A collection of arguments for invoking getLbs. */ export interface GetLbsArgs { /** * The load balancer name used as a filter. LBs with a name like it are listed. */ name?: string; /** * The ID of the project the load-balancer is associated with. */ projectId?: string; /** * `zone`) The zone in which LBs exist. */ zone?: string; } /** * A collection of values returned by getLbs. */ export interface GetLbsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * List of found LBs */ readonly lbs: outputs.GetLbsLb[]; /** * The name of the load-balancer. */ readonly name?: string; /** * The organization ID the load-balancer is associated with. */ readonly organizationId: string; /** * The ID of the project the load-balancer is associated with. */ readonly projectId: string; /** * The zone in which the load-balancer is. */ readonly zone: string; } /** * Gets information about multiple Load Balancers. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myKey = scaleway.getLbs({ * name: "foobar", * zone: "fr-par-2", * }); * ``` */ export declare function getLbsOutput(args?: GetLbsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetLbsResult>; /** * A collection of arguments for invoking getLbs. */ export interface GetLbsOutputArgs { /** * The load balancer name used as a filter. LBs with a name like it are listed. */ name?: pulumi.Input<string>; /** * The ID of the project the load-balancer is associated with. */ projectId?: pulumi.Input<string>; /** * `zone`) The zone in which LBs exist. */ zone?: pulumi.Input<string>; }