@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
101 lines • 5.56 kB
JavaScript
;
// *** 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.zone = exports.fabric = exports.controller = exports.VnetLegacy = exports.Vnet = exports.SubnetLegacy = exports.Subnet = exports.getZonesLegacyOutput = exports.getZonesLegacy = exports.getZonesOutput = exports.getZones = exports.getVnetsLegacyOutput = exports.getVnetsLegacy = exports.getVnetsOutput = exports.getVnets = exports.getVnetLegacyOutput = exports.getVnetLegacy = exports.getVnetOutput = exports.getVnet = exports.getSubnetLegacyOutput = exports.getSubnetLegacy = exports.getSubnetOutput = exports.getSubnet = exports.ApplierLegacy = exports.Applier = void 0;
const pulumi = __importStar(require("@pulumi/pulumi"));
const utilities = __importStar(require("../utilities"));
exports.Applier = null;
utilities.lazyLoad(exports, ["Applier"], () => require("./applier"));
exports.ApplierLegacy = null;
utilities.lazyLoad(exports, ["ApplierLegacy"], () => require("./applierLegacy"));
exports.getSubnet = null;
exports.getSubnetOutput = null;
utilities.lazyLoad(exports, ["getSubnet", "getSubnetOutput"], () => require("./getSubnet"));
exports.getSubnetLegacy = null;
exports.getSubnetLegacyOutput = null;
utilities.lazyLoad(exports, ["getSubnetLegacy", "getSubnetLegacyOutput"], () => require("./getSubnetLegacy"));
exports.getVnet = null;
exports.getVnetOutput = null;
utilities.lazyLoad(exports, ["getVnet", "getVnetOutput"], () => require("./getVnet"));
exports.getVnetLegacy = null;
exports.getVnetLegacyOutput = null;
utilities.lazyLoad(exports, ["getVnetLegacy", "getVnetLegacyOutput"], () => require("./getVnetLegacy"));
exports.getVnets = null;
exports.getVnetsOutput = null;
utilities.lazyLoad(exports, ["getVnets", "getVnetsOutput"], () => require("./getVnets"));
exports.getVnetsLegacy = null;
exports.getVnetsLegacyOutput = null;
utilities.lazyLoad(exports, ["getVnetsLegacy", "getVnetsLegacyOutput"], () => require("./getVnetsLegacy"));
exports.getZones = null;
exports.getZonesOutput = null;
utilities.lazyLoad(exports, ["getZones", "getZonesOutput"], () => require("./getZones"));
exports.getZonesLegacy = null;
exports.getZonesLegacyOutput = null;
utilities.lazyLoad(exports, ["getZonesLegacy", "getZonesLegacyOutput"], () => require("./getZonesLegacy"));
exports.Subnet = null;
utilities.lazyLoad(exports, ["Subnet"], () => require("./subnet"));
exports.SubnetLegacy = null;
utilities.lazyLoad(exports, ["SubnetLegacy"], () => require("./subnetLegacy"));
exports.Vnet = null;
utilities.lazyLoad(exports, ["Vnet"], () => require("./vnet"));
exports.VnetLegacy = null;
utilities.lazyLoad(exports, ["VnetLegacy"], () => require("./vnetLegacy"));
// Export sub-modules:
const controller = __importStar(require("./controller"));
exports.controller = controller;
const fabric = __importStar(require("./fabric"));
exports.fabric = fabric;
const zone = __importStar(require("./zone"));
exports.zone = zone;
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "proxmoxve:sdn/applier:Applier":
return new exports.Applier(name, undefined, { urn });
case "proxmoxve:sdn/applierLegacy:ApplierLegacy":
return new exports.ApplierLegacy(name, undefined, { urn });
case "proxmoxve:sdn/subnet:Subnet":
return new exports.Subnet(name, undefined, { urn });
case "proxmoxve:sdn/subnetLegacy:SubnetLegacy":
return new exports.SubnetLegacy(name, undefined, { urn });
case "proxmoxve:sdn/vnet:Vnet":
return new exports.Vnet(name, undefined, { urn });
case "proxmoxve:sdn/vnetLegacy:VnetLegacy":
return new exports.VnetLegacy(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("proxmoxve", "sdn/applier", _module);
pulumi.runtime.registerResourceModule("proxmoxve", "sdn/applierLegacy", _module);
pulumi.runtime.registerResourceModule("proxmoxve", "sdn/subnet", _module);
pulumi.runtime.registerResourceModule("proxmoxve", "sdn/subnetLegacy", _module);
pulumi.runtime.registerResourceModule("proxmoxve", "sdn/vnet", _module);
pulumi.runtime.registerResourceModule("proxmoxve", "sdn/vnetLegacy", _module);
//# sourceMappingURL=index.js.map