UNPKG

@pulumi/wavefront

Version:

A Pulumi package for creating and managing wavefront cloud resources.

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