@pulumiverse/grafana
Version:
A Pulumi package for creating and managing grafana.
84 lines • 5.37 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.UserNotificationRule = exports.Schedule = exports.Route = exports.OutgoingWebhook = exports.OnCallShift = exports.Integration = exports.getUsersOutput = exports.getUsers = exports.getUserGroupOutput = exports.getUserGroup = exports.getUserOutput = exports.getUser = exports.getTeamOutput = exports.getTeam = exports.getSlackChannelOutput = exports.getSlackChannel = exports.getScheduleOutput = exports.getSchedule = exports.getOutgoingWebhookOutput = exports.getOutgoingWebhook = exports.getIntegrationOutput = exports.getIntegration = exports.getEscalationChainOutput = exports.getEscalationChain = exports.EscalationChain = exports.Escalation = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
exports.Escalation = null;
utilities.lazyLoad(exports, ["Escalation"], () => require("./escalation"));
exports.EscalationChain = null;
utilities.lazyLoad(exports, ["EscalationChain"], () => require("./escalationChain"));
exports.getEscalationChain = null;
exports.getEscalationChainOutput = null;
utilities.lazyLoad(exports, ["getEscalationChain", "getEscalationChainOutput"], () => require("./getEscalationChain"));
exports.getIntegration = null;
exports.getIntegrationOutput = null;
utilities.lazyLoad(exports, ["getIntegration", "getIntegrationOutput"], () => require("./getIntegration"));
exports.getOutgoingWebhook = null;
exports.getOutgoingWebhookOutput = null;
utilities.lazyLoad(exports, ["getOutgoingWebhook", "getOutgoingWebhookOutput"], () => require("./getOutgoingWebhook"));
exports.getSchedule = null;
exports.getScheduleOutput = null;
utilities.lazyLoad(exports, ["getSchedule", "getScheduleOutput"], () => require("./getSchedule"));
exports.getSlackChannel = null;
exports.getSlackChannelOutput = null;
utilities.lazyLoad(exports, ["getSlackChannel", "getSlackChannelOutput"], () => require("./getSlackChannel"));
exports.getTeam = null;
exports.getTeamOutput = null;
utilities.lazyLoad(exports, ["getTeam", "getTeamOutput"], () => require("./getTeam"));
exports.getUser = null;
exports.getUserOutput = null;
utilities.lazyLoad(exports, ["getUser", "getUserOutput"], () => require("./getUser"));
exports.getUserGroup = null;
exports.getUserGroupOutput = null;
utilities.lazyLoad(exports, ["getUserGroup", "getUserGroupOutput"], () => require("./getUserGroup"));
exports.getUsers = null;
exports.getUsersOutput = null;
utilities.lazyLoad(exports, ["getUsers", "getUsersOutput"], () => require("./getUsers"));
exports.Integration = null;
utilities.lazyLoad(exports, ["Integration"], () => require("./integration"));
exports.OnCallShift = null;
utilities.lazyLoad(exports, ["OnCallShift"], () => require("./onCallShift"));
exports.OutgoingWebhook = null;
utilities.lazyLoad(exports, ["OutgoingWebhook"], () => require("./outgoingWebhook"));
exports.Route = null;
utilities.lazyLoad(exports, ["Route"], () => require("./route"));
exports.Schedule = null;
utilities.lazyLoad(exports, ["Schedule"], () => require("./schedule"));
exports.UserNotificationRule = null;
utilities.lazyLoad(exports, ["UserNotificationRule"], () => require("./userNotificationRule"));
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "grafana:onCall/escalation:Escalation":
return new exports.Escalation(name, undefined, { urn });
case "grafana:onCall/escalationChain:EscalationChain":
return new exports.EscalationChain(name, undefined, { urn });
case "grafana:onCall/integration:Integration":
return new exports.Integration(name, undefined, { urn });
case "grafana:onCall/onCallShift:OnCallShift":
return new exports.OnCallShift(name, undefined, { urn });
case "grafana:onCall/outgoingWebhook:OutgoingWebhook":
return new exports.OutgoingWebhook(name, undefined, { urn });
case "grafana:onCall/route:Route":
return new exports.Route(name, undefined, { urn });
case "grafana:onCall/schedule:Schedule":
return new exports.Schedule(name, undefined, { urn });
case "grafana:onCall/userNotificationRule:UserNotificationRule":
return new exports.UserNotificationRule(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("grafana", "onCall/escalation", _module);
pulumi.runtime.registerResourceModule("grafana", "onCall/escalationChain", _module);
pulumi.runtime.registerResourceModule("grafana", "onCall/integration", _module);
pulumi.runtime.registerResourceModule("grafana", "onCall/onCallShift", _module);
pulumi.runtime.registerResourceModule("grafana", "onCall/outgoingWebhook", _module);
pulumi.runtime.registerResourceModule("grafana", "onCall/route", _module);
pulumi.runtime.registerResourceModule("grafana", "onCall/schedule", _module);
pulumi.runtime.registerResourceModule("grafana", "onCall/userNotificationRule", _module);
//# sourceMappingURL=index.js.map