UNPKG

@pulumi/wavefront

Version:

A Pulumi package for creating and managing wavefront cloud resources.

58 lines 1.85 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.getDashboardsOutput = exports.getDashboards = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Use this data source to get information about all Wavefront dashboards. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as wavefront from "@pulumi/wavefront"; * * // Get the information about all dashboards. * const example = wavefront.getDashboards({ * limit: 10, * offset: 0, * }); * ``` */ function getDashboards(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("wavefront:index/getDashboards:getDashboards", { "limit": args.limit, "offset": args.offset, }, opts); } exports.getDashboards = getDashboards; /** * Use this data source to get information about all Wavefront dashboards. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as wavefront from "@pulumi/wavefront"; * * // Get the information about all dashboards. * const example = wavefront.getDashboards({ * limit: 10, * offset: 0, * }); * ``` */ function getDashboardsOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("wavefront:index/getDashboards:getDashboards", { "limit": args.limit, "offset": args.offset, }, opts); } exports.getDashboardsOutput = getDashboardsOutput; //# sourceMappingURL=getDashboards.js.map