UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

52 lines 1.47 kB
"use strict"; // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getLbsOutput = exports.getLbs = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Gets information about multiple Load Balancers. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myKey = scaleway.getLbs({ * name: "foobar", * zone: "fr-par-2", * }); * ``` */ function getLbs(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scaleway:index/getLbs:getLbs", { "name": args.name, "projectId": args.projectId, "zone": args.zone, }, opts); } exports.getLbs = getLbs; /** * Gets information about multiple Load Balancers. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myKey = scaleway.getLbs({ * name: "foobar", * zone: "fr-par-2", * }); * ``` */ function getLbsOutput(args, opts) { return pulumi.output(args).apply((a) => getLbs(a, opts)); } exports.getLbsOutput = getLbsOutput; //# sourceMappingURL=getLbs.js.map