UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

90 lines (89 loc) 3.05 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets information about multiple Load Balancers. * * For more information, see the [main documentation](https://www.scaleway.com/en/docs/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). */ export declare function getLoadBalancers(args?: GetLoadBalancersArgs, opts?: pulumi.InvokeOptions): Promise<GetLoadBalancersResult>; /** * A collection of arguments for invoking getLoadBalancers. */ export interface GetLoadBalancersArgs { /** * The Load Balancer name to filter for. Load Balancers with a matching name are listed. */ name?: string; /** * The ID of the Project the Load Balancer is associated with. */ projectId?: string; /** * List of tags to filter for. Load Balancers with these exact tags are listed. */ tags?: string[]; /** * `zone`) The zone in which the Load Balancers exist. */ zone?: string; } /** * A collection of values returned by getLoadBalancers. */ export interface GetLoadBalancersResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * List of retrieved Load Balancers */ readonly lbs: outputs.loadbalancers.GetLoadBalancersLb[]; /** * The name of the Load Balancer. */ readonly name?: string; /** * The ID of the Organization the Load Balancer is associated with. */ readonly organizationId: string; /** * The ID of the Project the Load Balancer is associated with. */ readonly projectId: string; /** * The tags associated with the Load Balancer. */ readonly tags?: string[]; /** * The zone of the Load Balancer. */ readonly zone: string; } /** * Gets information about multiple Load Balancers. * * For more information, see the [main documentation](https://www.scaleway.com/en/docs/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). */ export declare function getLoadBalancersOutput(args?: GetLoadBalancersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLoadBalancersResult>; /** * A collection of arguments for invoking getLoadBalancers. */ export interface GetLoadBalancersOutputArgs { /** * The Load Balancer name to filter for. Load Balancers with a matching name are listed. */ name?: pulumi.Input<string>; /** * The ID of the Project the Load Balancer is associated with. */ projectId?: pulumi.Input<string>; /** * List of tags to filter for. Load Balancers with these exact tags are listed. */ tags?: pulumi.Input<pulumi.Input<string>[]>; /** * `zone`) The zone in which the Load Balancers exist. */ zone?: pulumi.Input<string>; }