UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

52 lines 1.54 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.getLbIpsOutput = exports.getLbIps = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Gets information about multiple Load Balancer IPs. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myKey = scaleway.getLbIps({ * ipCidrRange: "0.0.0.0/0", * zone: "fr-par-2", * }); * ``` */ function getLbIps(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scaleway:index/getLbIps:getLbIps", { "ipCidrRange": args.ipCidrRange, "projectId": args.projectId, "zone": args.zone, }, opts); } exports.getLbIps = getLbIps; /** * Gets information about multiple Load Balancer IPs. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myKey = scaleway.getLbIps({ * ipCidrRange: "0.0.0.0/0", * zone: "fr-par-2", * }); * ``` */ function getLbIpsOutput(args, opts) { return pulumi.output(args).apply((a) => getLbIps(a, opts)); } exports.getLbIpsOutput = getLbIpsOutput; //# sourceMappingURL=getLbIps.js.map