UNPKG

@pulumi/gcp

Version:

A Pulumi package for creating and managing Google Cloud Platform resources.

52 lines 1.65 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 gcp from "@pulumi/gcp"; * * const run_service = gcp.runtimeconfig.getVariable({ * parent: "my-service", * name: "prod-variables/hostname", * }); * ``` */ function getVariable(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("gcp:runtimeconfig/getVariable:getVariable", { "name": args.name, "parent": args.parent, "project": args.project, }, opts); } exports.getVariable = getVariable; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const run_service = gcp.runtimeconfig.getVariable({ * parent: "my-service", * name: "prod-variables/hostname", * }); * ``` */ function getVariableOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("gcp:runtimeconfig/getVariable:getVariable", { "name": args.name, "parent": args.parent, "project": args.project, }, opts); } exports.getVariableOutput = getVariableOutput; //# sourceMappingURL=getVariable.js.map