@pulumi/wavefront
Version:
A Pulumi package for creating and managing wavefront cloud resources.
52 lines • 1.67 kB
JavaScript
;
// *** 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.getEventOutput = exports.getEvent = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Use this data source to get information about a certain Wavefront event.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as wavefront from "@pulumi/wavefront";
*
* // Get the information about a Wavefront event by its ID.
* const example = wavefront.getEvent({
* id: "sample-event-id",
* });
* ```
*/
function getEvent(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("wavefront:index/getEvent:getEvent", {
"id": args.id,
}, opts);
}
exports.getEvent = getEvent;
/**
* Use this data source to get information about a certain Wavefront event.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as wavefront from "@pulumi/wavefront";
*
* // Get the information about a Wavefront event by its ID.
* const example = wavefront.getEvent({
* id: "sample-event-id",
* });
* ```
*/
function getEventOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("wavefront:index/getEvent:getEvent", {
"id": args.id,
}, opts);
}
exports.getEventOutput = getEventOutput;
//# sourceMappingURL=getEvent.js.map