@pulumiverse/grafana
Version:
A Pulumi package for creating and managing grafana.
27 lines • 1.47 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.NotificationsInhibitionRule = exports.AlertEnrichment = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
exports.AlertEnrichment = null;
utilities.lazyLoad(exports, ["AlertEnrichment"], () => require("./alertEnrichment"));
exports.NotificationsInhibitionRule = null;
utilities.lazyLoad(exports, ["NotificationsInhibitionRule"], () => require("./notificationsInhibitionRule"));
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "grafana:alerting/v1beta1/alertEnrichment:AlertEnrichment":
return new exports.AlertEnrichment(name, undefined, { urn });
case "grafana:alerting/v1beta1/notificationsInhibitionRule:NotificationsInhibitionRule":
return new exports.NotificationsInhibitionRule(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("grafana", "alerting/v1beta1/alertEnrichment", _module);
pulumi.runtime.registerResourceModule("grafana", "alerting/v1beta1/notificationsInhibitionRule", _module);
//# sourceMappingURL=index.js.map