import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Get information about Scaleway 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 "@ediri/scaleway"; * import * as scaleway from "@pulumi/scaleway"; * * const mainLbIp = new scaleway.LbIp("mainLbIp", {}); * const mainLb = new scaleway.Lb("mainLb", { * ipId: mainLbIp.id, * type: "LB-S", * }); * const mainLbBackend = new scaleway.LbBackend("mainLbBackend", { * lbId: mainLb.id, * forwardProtocol: "http", * forwardPort: 80, * }); * const byID = scaleway.getLbBackendOutput({ * backendId: mainLbBackend.id, * }); * const byName = scaleway.getLbBackendOutput({ * name: mainLbBackend.name, * lbId: mainLb.id, * }); * ``` */ export declare function getLbBackend(args?: GetLbBackendArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getLbBackend. */ export interface GetLbBackendArgs { /** * The backend ID. * - Only one of `name` and `backendId` should be specified. */ backendId?: string; /** * Load Balancer ID this backend is attached to. */ lbId?: string; /** * The name of the backend. * - When using `name` you should specify the `lb-id` */ name?: string; } /** * A collection of values returned by getLbBackend. */ export interface GetLbBackendResult { readonly backendId?: string; readonly failoverHost: string; readonly forwardPort: number; readonly forwardPortAlgorithm: string; readonly forwardProtocol: string; readonly healthCheckDelay: string; readonly healthCheckHttp: outputs.GetLbBackendHealthCheckHttp[]; readonly healthCheckHttps: outputs.GetLbBackendHealthCheckHttp[]; readonly healthCheckMaxRetries: number; readonly healthCheckPort: number; readonly healthCheckSendProxy: boolean; readonly healthCheckTcps: outputs.GetLbBackendHealthCheckTcp[]; readonly healthCheckTimeout: string; readonly healthCheckTransientDelay: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ignoreSslServerVerify: boolean; readonly lbId?: string; readonly maxConnections: number; readonly maxRetries: number; readonly name?: string; readonly onMarkedDownAction: string; readonly proxyProtocol: string; readonly redispatchAttemptCount: number; readonly sendProxyV2: boolean; readonly serverIps: string[]; readonly sslBridging: boolean; readonly stickySessions: string; readonly stickySessionsCookieName: string; readonly timeoutConnect: string; readonly timeoutQueue: string; readonly timeoutServer: string; readonly timeoutTunnel: string; } /** * Get information about Scaleway 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 "@ediri/scaleway"; * import * as scaleway from "@pulumi/scaleway"; * * const mainLbIp = new scaleway.LbIp("mainLbIp", {}); * const mainLb = new scaleway.Lb("mainLb", { * ipId: mainLbIp.id, * type: "LB-S", * }); * const mainLbBackend = new scaleway.LbBackend("mainLbBackend", { * lbId: mainLb.id, * forwardProtocol: "http", * forwardPort: 80, * }); * const byID = scaleway.getLbBackendOutput({ * backendId: mainLbBackend.id, * }); * const byName = scaleway.getLbBackendOutput({ * name: mainLbBackend.name, * lbId: mainLb.id, * }); * ``` */ export declare function getLbBackendOutput(args?: GetLbBackendOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getLbBackend. */ export interface GetLbBackendOutputArgs { /** * The backend ID. * - Only one of `name` and `backendId` should be specified. */ backendId?: pulumi.Input; /** * Load Balancer ID this backend is attached to. */ lbId?: pulumi.Input; /** * The name of the backend. * - When using `name` you should specify the `lb-id` */ name?: pulumi.Input; }