UNPKG

@pulumi/wavefront

Version:

A Pulumi package for creating and managing wavefront cloud resources.

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