UNPKG

@pulumi/wavefront

Version:

A Pulumi package for creating and managing wavefront cloud resources.

52 lines 1.7 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.getUserOutput = exports.getUser = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Use this data source to get information for a given user by email from Wavefront. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as wavefront from "@pulumi/wavefront"; * * // Get the info for user "example.user@example.com" * const example = wavefront.getUser({ * email: "example.user@example.com", * }); * ``` */ function getUser(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("wavefront:index/getUser:getUser", { "email": args.email, }, opts); } exports.getUser = getUser; /** * Use this data source to get information for a given user by email from Wavefront. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as wavefront from "@pulumi/wavefront"; * * // Get the info for user "example.user@example.com" * const example = wavefront.getUser({ * email: "example.user@example.com", * }); * ``` */ function getUserOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("wavefront:index/getUser:getUser", { "email": args.email, }, opts); } exports.getUserOutput = getUserOutput; //# sourceMappingURL=getUser.js.map