UNPKG

@upcloud/pulumi-upcloud

Version:

A Pulumi package for creating and managing UpCloud resources.

32 lines 1.24 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getNetworksOutput = exports.getNetworks = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Use this data source to get the available UpCloud networks. */ function getNetworks(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("upcloud:index/getNetworks:getNetworks", { "filterName": args.filterName, "zone": args.zone, }, opts); } exports.getNetworks = getNetworks; /** * Use this data source to get the available UpCloud networks. */ function getNetworksOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("upcloud:index/getNetworks:getNetworks", { "filterName": args.filterName, "zone": args.zone, }, opts); } exports.getNetworksOutput = getNetworksOutput; //# sourceMappingURL=getNetworks.js.map