import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Gets information about multiple Load Balancer Backends. * * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const byLBID = scaleway.getLbBackends({ * lbId: scaleway_lb.lb01.id, * }); * const byLBIDAndName = scaleway.getLbBackends({ * lbId: scaleway_lb.lb01.id, * name: "tf-backend-datasource", * }); * ``` */ export declare function getLbBackends(args: GetLbBackendsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getLbBackends. */ export interface GetLbBackendsArgs { /** * The Load Balancer ID this backend is attached to. Backends with a matching ID are listed. */ lbId: string; /** * The backend name to filter for. Backends with a matching name are listed. */ name?: string; projectId?: string; /** * `zone`) The zone in which backends exist. */ zone?: string; } /** * A collection of values returned by getLbBackends. */ export interface GetLbBackendsResult { /** * List of retrieved backends */ readonly backends: outputs.GetLbBackendsBackend[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly lbId: string; readonly name?: string; readonly organizationId: string; readonly projectId: string; readonly zone: string; } /** * Gets information about multiple Load Balancer Backends. * * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/reference-content/configuring-backends/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-backends). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const byLBID = scaleway.getLbBackends({ * lbId: scaleway_lb.lb01.id, * }); * const byLBIDAndName = scaleway.getLbBackends({ * lbId: scaleway_lb.lb01.id, * name: "tf-backend-datasource", * }); * ``` */ export declare function getLbBackendsOutput(args: GetLbBackendsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getLbBackends. */ export interface GetLbBackendsOutputArgs { /** * The Load Balancer ID this backend is attached to. Backends with a matching ID are listed. */ lbId: pulumi.Input; /** * The backend name to filter for. Backends with a matching name are listed. */ name?: pulumi.Input; projectId?: pulumi.Input; /** * `zone`) The zone in which backends exist. */ zone?: pulumi.Input; }