UNPKG

@pulumi/nomad

Version:

A Pulumi package for creating and managing nomad cloud resources.

50 lines 1.48 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.getNodePoolOutput = exports.getNodePool = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Get information about a node pool in Nomad. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nomad from "@pulumi/nomad"; * * const dev = nomad.getNodePool({ * name: "dev", * }); * ``` */ function getNodePool(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("nomad:index/getNodePool:getNodePool", { "name": args.name, }, opts); } exports.getNodePool = getNodePool; /** * Get information about a node pool in Nomad. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nomad from "@pulumi/nomad"; * * const dev = nomad.getNodePool({ * name: "dev", * }); * ``` */ function getNodePoolOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("nomad:index/getNodePool:getNodePool", { "name": args.name, }, opts); } exports.getNodePoolOutput = getNodePoolOutput; //# sourceMappingURL=getNodePool.js.map