UNPKG

@lbrlabs/pulumi-grafana

Version:

A Pulumi package for creating and managing grafana.

47 lines 1.74 kB
"use strict"; // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getOncallOutgoingWebhookOutput = exports.getOncallOutgoingWebhook = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as grafana from "@pulumi/grafana"; * * const exampleOutgoingWebhook = grafana.getOncallOutgoingWebhook({ * name: "example_outgoing_webhook", * }); * ``` */ function getOncallOutgoingWebhook(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("grafana:index/getOncallOutgoingWebhook:getOncallOutgoingWebhook", { "name": args.name, }, opts); } exports.getOncallOutgoingWebhook = getOncallOutgoingWebhook; /** * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as grafana from "@pulumi/grafana"; * * const exampleOutgoingWebhook = grafana.getOncallOutgoingWebhook({ * name: "example_outgoing_webhook", * }); * ``` */ function getOncallOutgoingWebhookOutput(args, opts) { return pulumi.output(args).apply((a) => getOncallOutgoingWebhook(a, opts)); } exports.getOncallOutgoingWebhookOutput = getOncallOutgoingWebhookOutput; //# sourceMappingURL=getOncallOutgoingWebhook.js.map