UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

86 lines (85 loc) 2.42 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Gets information about multiple Load Balancer Routes. * * ## 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<GetLbRoutesResult>; /** * A collection of arguments for invoking getLbRoutes. */ export interface GetLbRoutesArgs { /** * The frontend ID origin of redirection used as a filter. routes with a frontend ID like it are listed. */ frontendId?: string; projectId?: string; /** * `zone`) The zone in which 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 found routes */ readonly routes: outputs.GetLbRoutesRoute[]; readonly zone: string; } /** * Gets information about multiple Load Balancer Routes. * * ## 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.InvokeOptions): pulumi.Output<GetLbRoutesResult>; /** * A collection of arguments for invoking getLbRoutes. */ export interface GetLbRoutesOutputArgs { /** * The frontend ID origin of redirection used as a filter. routes with a frontend ID like it are listed. */ frontendId?: pulumi.Input<string>; projectId?: pulumi.Input<string>; /** * `zone`) The zone in which routes exist. */ zone?: pulumi.Input<string>; }