"use strict";
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getMetricsOutput = exports.getMetrics = exports.getMetricDataOutput = exports.getMetricData = exports.getAlarmsOutput = exports.getAlarms = exports.getAlarmSuppressionsOutput = exports.getAlarmSuppressions = exports.getAlarmSuppressionOutput = exports.getAlarmSuppression = exports.getAlarmStatusesOutput = exports.getAlarmStatuses = exports.getAlarmHistoryCollectionOutput = exports.getAlarmHistoryCollection = exports.getAlarmOutput = exports.getAlarm = exports.AlarmSuppression = exports.Alarm = void 0;
const pulumi = __importStar(require("@pulumi/pulumi"));
const utilities = __importStar(require("../utilities"));
exports.Alarm = null;
utilities.lazyLoad(exports, ["Alarm"], () => require("./alarm"));
exports.AlarmSuppression = null;
utilities.lazyLoad(exports, ["AlarmSuppression"], () => require("./alarmSuppression"));
exports.getAlarm = null;
exports.getAlarmOutput = null;
utilities.lazyLoad(exports, ["getAlarm", "getAlarmOutput"], () => require("./getAlarm"));
exports.getAlarmHistoryCollection = null;
exports.getAlarmHistoryCollectionOutput = null;
utilities.lazyLoad(exports, ["getAlarmHistoryCollection", "getAlarmHistoryCollectionOutput"], () => require("./getAlarmHistoryCollection"));
exports.getAlarmStatuses = null;
exports.getAlarmStatusesOutput = null;
utilities.lazyLoad(exports, ["getAlarmStatuses", "getAlarmStatusesOutput"], () => require("./getAlarmStatuses"));
exports.getAlarmSuppression = null;
exports.getAlarmSuppressionOutput = null;
utilities.lazyLoad(exports, ["getAlarmSuppression", "getAlarmSuppressionOutput"], () => require("./getAlarmSuppression"));
exports.getAlarmSuppressions = null;
exports.getAlarmSuppressionsOutput = null;
utilities.lazyLoad(exports, ["getAlarmSuppressions", "getAlarmSuppressionsOutput"], () => require("./getAlarmSuppressions"));
exports.getAlarms = null;
exports.getAlarmsOutput = null;
utilities.lazyLoad(exports, ["getAlarms", "getAlarmsOutput"], () => require("./getAlarms"));
exports.getMetricData = null;
exports.getMetricDataOutput = null;
utilities.lazyLoad(exports, ["getMetricData", "getMetricDataOutput"], () => require("./getMetricData"));
exports.getMetrics = null;
exports.getMetricsOutput = null;
utilities.lazyLoad(exports, ["getMetrics", "getMetricsOutput"], () => require("./getMetrics"));
const _module = {
    version: utilities.getVersion(),
    construct: (name, type, urn) => {
        switch (type) {
            case "oci:Monitoring/alarm:Alarm":
                return new exports.Alarm(name, undefined, { urn });
            case "oci:Monitoring/alarmSuppression:AlarmSuppression":
                return new exports.AlarmSuppression(name, undefined, { urn });
            default:
                throw new Error(`unknown resource type ${type}`);
        }
    },
};
pulumi.runtime.registerResourceModule("oci", "Monitoring/alarm", _module);
pulumi.runtime.registerResourceModule("oci", "Monitoring/alarmSuppression", _module);
//# sourceMappingURL=index.js.map