UNPKG

@pulumiverse/grafana

Version:

A Pulumi package for creating and managing grafana.

50 lines 1.75 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.getSlackChannelOutput = exports.getSlackChannel = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/slack_channels/) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as grafana from "@pulumi/grafana"; * * const exampleSlackChannel = grafana.onCall.getSlackChannel({ * name: "example_slack_channel", * }); * ``` */ function getSlackChannel(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("grafana:onCall/getSlackChannel:getSlackChannel", { "name": args.name, }, opts); } exports.getSlackChannel = getSlackChannel; /** * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/slack_channels/) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as grafana from "@pulumi/grafana"; * * const exampleSlackChannel = grafana.onCall.getSlackChannel({ * name: "example_slack_channel", * }); * ``` */ function getSlackChannelOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("grafana:onCall/getSlackChannel:getSlackChannel", { "name": args.name, }, opts); } exports.getSlackChannelOutput = getSlackChannelOutput; //# sourceMappingURL=getSlackChannel.js.map