"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 __exportStar = (this && this.__exportStar) || function(m, exports) {
    for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Map = exports.getMapDependencyViewForAllMachinesOutput = exports.getMapDependencyViewForAllMachines = exports.getMapOutput = exports.getMap = exports.getDiscoverySourceOutput = exports.getDiscoverySource = exports.DiscoverySource = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
exports.DiscoverySource = null;
utilities.lazyLoad(exports, ["DiscoverySource"], () => require("./discoverySource"));
exports.getDiscoverySource = null;
exports.getDiscoverySourceOutput = null;
utilities.lazyLoad(exports, ["getDiscoverySource", "getDiscoverySourceOutput"], () => require("./getDiscoverySource"));
exports.getMap = null;
exports.getMapOutput = null;
utilities.lazyLoad(exports, ["getMap", "getMapOutput"], () => require("./getMap"));
exports.getMapDependencyViewForAllMachines = null;
exports.getMapDependencyViewForAllMachinesOutput = null;
utilities.lazyLoad(exports, ["getMapDependencyViewForAllMachines", "getMapDependencyViewForAllMachinesOutput"], () => require("./getMapDependencyViewForAllMachines"));
exports.Map = null;
utilities.lazyLoad(exports, ["Map"], () => require("./map"));
// Export enums:
__exportStar(require("../types/enums/dependencymap"), exports);
const _module = {
    version: utilities.getVersion(),
    construct: (name, type, urn) => {
        switch (type) {
            case "azure-native:dependencymap:DiscoverySource":
                return new exports.DiscoverySource(name, undefined, { urn });
            case "azure-native:dependencymap:Map":
                return new exports.Map(name, undefined, { urn });
            default:
                throw new Error(`unknown resource type ${type}`);
        }
    },
};
pulumi.runtime.registerResourceModule("azure-native", "dependencymap", _module);
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9kZXBlbmRlbmN5bWFwL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxzRUFBc0U7QUFDdEUsaUZBQWlGOzs7Ozs7Ozs7Ozs7Ozs7OztBQUVqRix5Q0FBeUM7QUFDekMsMENBQTBDO0FBSzdCLFFBQUEsZUFBZSxHQUF1RCxJQUFXLENBQUM7QUFDL0YsU0FBUyxDQUFDLFFBQVEsQ0FBQyxPQUFPLEVBQUUsQ0FBQyxpQkFBaUIsQ0FBQyxFQUFFLEdBQUcsRUFBRSxDQUFDLE9BQU8sQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDLENBQUM7QUFHeEUsUUFBQSxrQkFBa0IsR0FBNkQsSUFBVyxDQUFDO0FBQzNGLFFBQUEsd0JBQXdCLEdBQW1FLElBQVcsQ0FBQztBQUNwSCxTQUFTLENBQUMsUUFBUSxDQUFDLE9BQU8sRUFBRSxDQUFDLG9CQUFvQixFQUFDLDBCQUEwQixDQUFDLEVBQUUsR0FBRyxFQUFFLENBQUMsT0FBTyxDQUFDLHNCQUFzQixDQUFDLENBQUMsQ0FBQztBQUd6RyxRQUFBLE1BQU0sR0FBcUMsSUFBVyxDQUFDO0FBQ3ZELFFBQUEsWUFBWSxHQUEyQyxJQUFXLENBQUM7QUFDaEYsU0FBUyxDQUFDLFFBQVEsQ0FBQyxPQUFPLEVBQUUsQ0FBQyxRQUFRLEVBQUMsY0FBYyxDQUFDLEVBQUUsR0FBRyxFQUFFLENBQUMsT0FBTyxDQUFDLFVBQVUsQ0FBQyxDQUFDLENBQUM7Q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