@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
92 lines (91 loc) • 3.18 kB
TypeScript
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).
*/
/** @deprecated scaleway.index/getlbs.getLbs has been deprecated in favor of scaleway.loadbalancers/getloadbalancers.getLoadBalancers */
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 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 getLbs.
*/
export interface GetLbsResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* List of retrieved Load Balancers
*/
readonly lbs: outputs.GetLbsLb[];
/**
* 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).
*/
/** @deprecated scaleway.index/getlbs.getLbs has been deprecated in favor of scaleway.loadbalancers/getloadbalancers.getLoadBalancers */
export declare function getLbsOutput(args?: GetLbsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLbsResult>;
/**
* A collection of arguments for invoking getLbs.
*/
export interface GetLbsOutputArgs {
/**
* 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>;
}