UNPKG

@pulumi/wavefront

Version:

A Pulumi package for creating and managing wavefront cloud resources.

52 lines 1.6 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.getRoleOutput = exports.getRole = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Use this data source to get information about a Wavefront role by its ID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as wavefront from "@pulumi/wavefront"; * * // Get the information about the role. * const example = wavefront.getRole({ * id: "role-id", * }); * ``` */ function getRole(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("wavefront:index/getRole:getRole", { "id": args.id, }, opts); } exports.getRole = getRole; /** * Use this data source to get information about a Wavefront role by its ID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as wavefront from "@pulumi/wavefront"; * * // Get the information about the role. * const example = wavefront.getRole({ * id: "role-id", * }); * ``` */ function getRoleOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("wavefront:index/getRole:getRole", { "id": args.id, }, opts); } exports.getRoleOutput = getRoleOutput; //# sourceMappingURL=getRole.js.map