import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Gets information about multiple Load Balancer routes. * * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const byFrontendID = scaleway.getLbRoutes({ * frontendId: scaleway_lb_frontend.frt01.id, * }); * const myKey = scaleway.getLbRoutes({ * frontendId: "11111111-1111-1111-1111-111111111111", * zone: "fr-par-2", * }); * ``` */ export declare function getLbRoutes(args?: GetLbRoutesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getLbRoutes. */ export interface GetLbRoutesArgs { /** * The frontend ID (the origin of the redirection), to filter for. Routes with a matching frontend ID are listed. */ frontendId?: string; projectId?: string; /** * `zone`) The zone in which the routes exist. */ zone?: string; } /** * A collection of values returned by getLbRoutes. */ export interface GetLbRoutesResult { readonly frontendId?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly organizationId: string; readonly projectId: string; /** * List of retrieved routes */ readonly routes: outputs.GetLbRoutesRoute[]; readonly zone: string; } /** * Gets information about multiple Load Balancer routes. * * For more information, see the [main documentation](https://www.scaleway.com/en/docs/network/load-balancer/how-to/create-manage-routes/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-route). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const byFrontendID = scaleway.getLbRoutes({ * frontendId: scaleway_lb_frontend.frt01.id, * }); * const myKey = scaleway.getLbRoutes({ * frontendId: "11111111-1111-1111-1111-111111111111", * zone: "fr-par-2", * }); * ``` */ export declare function getLbRoutesOutput(args?: GetLbRoutesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getLbRoutes. */ export interface GetLbRoutesOutputArgs { /** * The frontend ID (the origin of the redirection), to filter for. Routes with a matching frontend ID are listed. */ frontendId?: pulumi.Input; projectId?: pulumi.Input; /** * `zone`) The zone in which the routes exist. */ zone?: pulumi.Input; }