UNPKG

@pulumi/wavefront

Version:

A Pulumi package for creating and managing wavefront cloud resources.

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