UNPKG

@pulumi/wavefront

Version:

A Pulumi package for creating and managing wavefront cloud resources.

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