UNPKG

@pulumiverse/grafana

Version:

A Pulumi package for creating and managing grafana.

50 lines 1.81 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.getOutgoingWebhookOutput = exports.getOutgoingWebhook = 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.onCall.getOutgoingWebhook({ * name: "example_outgoing_webhook", * }); * ``` */ function getOutgoingWebhook(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("grafana:onCall/getOutgoingWebhook:getOutgoingWebhook", { "name": args.name, }, opts); } exports.getOutgoingWebhook = getOutgoingWebhook; /** * * [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.onCall.getOutgoingWebhook({ * name: "example_outgoing_webhook", * }); * ``` */ function getOutgoingWebhookOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("grafana:onCall/getOutgoingWebhook:getOutgoingWebhook", { "name": args.name, }, opts); } exports.getOutgoingWebhookOutput = getOutgoingWebhookOutput; //# sourceMappingURL=getOutgoingWebhook.js.map