"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.Pool = exports.Job = exports.getPoolOutput = exports.getPool = exports.getCertificateOutput = exports.getCertificate = exports.getApplicationOutput = exports.getApplication = exports.getAccountOutput = exports.getAccount = exports.Certificate = exports.Application = exports.Account = void 0;
const pulumi = __importStar(require("@pulumi/pulumi"));
const utilities = __importStar(require("../utilities"));
exports.Account = null;
utilities.lazyLoad(exports, ["Account"], () => require("./account"));
exports.Application = null;
utilities.lazyLoad(exports, ["Application"], () => require("./application"));
exports.Certificate = null;
utilities.lazyLoad(exports, ["Certificate"], () => require("./certificate"));
exports.getAccount = null;
exports.getAccountOutput = null;
utilities.lazyLoad(exports, ["getAccount", "getAccountOutput"], () => require("./getAccount"));
exports.getApplication = null;
exports.getApplicationOutput = null;
utilities.lazyLoad(exports, ["getApplication", "getApplicationOutput"], () => require("./getApplication"));
exports.getCertificate = null;
exports.getCertificateOutput = null;
utilities.lazyLoad(exports, ["getCertificate", "getCertificateOutput"], () => require("./getCertificate"));
exports.getPool = null;
exports.getPoolOutput = null;
utilities.lazyLoad(exports, ["getPool", "getPoolOutput"], () => require("./getPool"));
exports.Job = null;
utilities.lazyLoad(exports, ["Job"], () => require("./job"));
exports.Pool = null;
utilities.lazyLoad(exports, ["Pool"], () => require("./pool"));
const _module = {
    version: utilities.getVersion(),
    construct: (name, type, urn) => {
        switch (type) {
            case "azure:batch/account:Account":
                return new exports.Account(name, undefined, { urn });
            case "azure:batch/application:Application":
                return new exports.Application(name, undefined, { urn });
            case "azure:batch/certificate:Certificate":
                return new exports.Certificate(name, undefined, { urn });
            case "azure:batch/job:Job":
                return new exports.Job(name, undefined, { urn });
            case "azure:batch/pool:Pool":
                return new exports.Pool(name, undefined, { urn });
            default:
                throw new Error(`unknown resource type ${type}`);
        }
    },
};
pulumi.runtime.registerResourceModule("azure", "batch/account", _module);
pulumi.runtime.registerResourceModule("azure", "batch/application", _module);
pulumi.runtime.registerResourceModule("azure", "batch/certificate", _module);
pulumi.runtime.registerResourceModule("azure", "batch/job", _module);
pulumi.runtime.registerResourceModule("azure", "batch/pool", _module);
//# sourceMappingURL=index.js.map