"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.WorkspaceApplicationGroupAssociation = exports.Workspace = exports.ScalingPlanHostPoolAssociation = exports.ScalingPlan = exports.HostPool = exports.getWorkspaceOutput = exports.getWorkspace = exports.GetHostPoolRegistrationInfo = exports.getHostPoolOutput = exports.getHostPool = exports.getApplicationGroupOutput = exports.getApplicationGroup = exports.ApplicationGroup = exports.Application = void 0;
const pulumi = __importStar(require("@pulumi/pulumi"));
const utilities = __importStar(require("../utilities"));
exports.Application = null;
utilities.lazyLoad(exports, ["Application"], () => require("./application"));
exports.ApplicationGroup = null;
utilities.lazyLoad(exports, ["ApplicationGroup"], () => require("./applicationGroup"));
exports.getApplicationGroup = null;
exports.getApplicationGroupOutput = null;
utilities.lazyLoad(exports, ["getApplicationGroup", "getApplicationGroupOutput"], () => require("./getApplicationGroup"));
exports.getHostPool = null;
exports.getHostPoolOutput = null;
utilities.lazyLoad(exports, ["getHostPool", "getHostPoolOutput"], () => require("./getHostPool"));
exports.GetHostPoolRegistrationInfo = null;
utilities.lazyLoad(exports, ["GetHostPoolRegistrationInfo"], () => require("./getHostPoolRegistrationInfo"));
exports.getWorkspace = null;
exports.getWorkspaceOutput = null;
utilities.lazyLoad(exports, ["getWorkspace", "getWorkspaceOutput"], () => require("./getWorkspace"));
exports.HostPool = null;
utilities.lazyLoad(exports, ["HostPool"], () => require("./hostPool"));
exports.ScalingPlan = null;
utilities.lazyLoad(exports, ["ScalingPlan"], () => require("./scalingPlan"));
exports.ScalingPlanHostPoolAssociation = null;
utilities.lazyLoad(exports, ["ScalingPlanHostPoolAssociation"], () => require("./scalingPlanHostPoolAssociation"));
exports.Workspace = null;
utilities.lazyLoad(exports, ["Workspace"], () => require("./workspace"));
exports.WorkspaceApplicationGroupAssociation = null;
utilities.lazyLoad(exports, ["WorkspaceApplicationGroupAssociation"], () => require("./workspaceApplicationGroupAssociation"));
const _module = {
    version: utilities.getVersion(),
    construct: (name, type, urn) => {
        switch (type) {
            case "azure:desktopvirtualization/application:Application":
                return new exports.Application(name, undefined, { urn });
            case "azure:desktopvirtualization/applicationGroup:ApplicationGroup":
                return new exports.ApplicationGroup(name, undefined, { urn });
            case "azure:desktopvirtualization/getHostPoolRegistrationInfo:getHostPoolRegistrationInfo":
                return new exports.GetHostPoolRegistrationInfo(name, undefined, { urn });
            case "azure:desktopvirtualization/hostPool:HostPool":
                return new exports.HostPool(name, undefined, { urn });
            case "azure:desktopvirtualization/scalingPlan:ScalingPlan":
                return new exports.ScalingPlan(name, undefined, { urn });
            case "azure:desktopvirtualization/scalingPlanHostPoolAssociation:ScalingPlanHostPoolAssociation":
                return new exports.ScalingPlanHostPoolAssociation(name, undefined, { urn });
            case "azure:desktopvirtualization/workspace:Workspace":
                return new exports.Workspace(name, undefined, { urn });
            case "azure:desktopvirtualization/workspaceApplicationGroupAssociation:WorkspaceApplicationGroupAssociation":
                return new exports.WorkspaceApplicationGroupAssociation(name, undefined, { urn });
            default:
                throw new Error(`unknown resource type ${type}`);
        }
    },
};
pulumi.runtime.registerResourceModule("azure", "desktopvirtualization/application", _module);
pulumi.runtime.registerResourceModule("azure", "desktopvirtualization/applicationGroup", _module);
pulumi.runtime.registerResourceModule("azure", "desktopvirtualization/getHostPoolRegistrationInfo", _module);
pulumi.runtime.registerResourceModule("azure", "desktopvirtualization/hostPool", _module);
pulumi.runtime.registerResourceModule("azure", "desktopvirtualization/scalingPlan", _module);
pulumi.runtime.registerResourceModule("azure", "desktopvirtualization/scalingPlanHostPoolAssociation", _module);
pulumi.runtime.registerResourceModule("azure", "desktopvirtualization/workspace", _module);
pulumi.runtime.registerResourceModule("azure", "desktopvirtualization/workspaceApplicationGroupAssociation", _module);
//# sourceMappingURL=index.js.map