@lbrlabs/pulumi-grafana
Version:
A Pulumi package for creating and managing grafana.
31 lines • 1.49 kB
JavaScript
;
// *** 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.getOncallActionOutput = exports.getOncallAction = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* **Note:** This data source is going to be deprecated, please use outgoing webhook data source instead.
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/)
*
* !> Deprecated: Use the `grafana.OncallOutgoingWebhook` data source instead.
*/
function getOncallAction(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("grafana:index/getOncallAction:getOncallAction", {
"name": args.name,
}, opts);
}
exports.getOncallAction = getOncallAction;
/**
* **Note:** This data source is going to be deprecated, please use outgoing webhook data source instead.
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/)
*
* !> Deprecated: Use the `grafana.OncallOutgoingWebhook` data source instead.
*/
function getOncallActionOutput(args, opts) {
return pulumi.output(args).apply((a) => getOncallAction(a, opts));
}
exports.getOncallActionOutput = getOncallActionOutput;
//# sourceMappingURL=getOncallAction.js.map