UNPKG

@pulumi/nomad

Version:

A Pulumi package for creating and managing nomad cloud resources.

44 lines 1.5 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.getVariableOutput = exports.getVariable = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nomad from "@pulumi/nomad"; * * const example = new nomad.Variable("example", {path: "path/of/existing/variable"}); * ``` */ function getVariable(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("nomad:index/getVariable:getVariable", { "namespace": args.namespace, "path": args.path, }, opts); } exports.getVariable = getVariable; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nomad from "@pulumi/nomad"; * * const example = new nomad.Variable("example", {path: "path/of/existing/variable"}); * ``` */ function getVariableOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("nomad:index/getVariable:getVariable", { "namespace": args.namespace, "path": args.path, }, opts); } exports.getVariableOutput = getVariableOutput; //# sourceMappingURL=getVariable.js.map