@natzka-oss/pulumi-netbox
Version:
A Pulumi package for creating and managing Netbox cloud resources.
67 lines • 4.08 kB
JavaScript
;
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.VirtualMachine = exports.VirtualDisk = exports.PrimaryIp = exports.Interface = exports.getVirtualMachinesOutput = exports.getVirtualMachines = exports.getInterfacesOutput = exports.getInterfaces = exports.getClusterTypeOutput = exports.getClusterType = exports.getClusterGroupOutput = exports.getClusterGroup = exports.getClusterOutput = exports.getCluster = exports.ClusterType = exports.ClusterGroup = exports.Cluster = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
exports.Cluster = null;
utilities.lazyLoad(exports, ["Cluster"], () => require("./cluster"));
exports.ClusterGroup = null;
utilities.lazyLoad(exports, ["ClusterGroup"], () => require("./clusterGroup"));
exports.ClusterType = null;
utilities.lazyLoad(exports, ["ClusterType"], () => require("./clusterType"));
exports.getCluster = null;
exports.getClusterOutput = null;
utilities.lazyLoad(exports, ["getCluster", "getClusterOutput"], () => require("./getCluster"));
exports.getClusterGroup = null;
exports.getClusterGroupOutput = null;
utilities.lazyLoad(exports, ["getClusterGroup", "getClusterGroupOutput"], () => require("./getClusterGroup"));
exports.getClusterType = null;
exports.getClusterTypeOutput = null;
utilities.lazyLoad(exports, ["getClusterType", "getClusterTypeOutput"], () => require("./getClusterType"));
exports.getInterfaces = null;
exports.getInterfacesOutput = null;
utilities.lazyLoad(exports, ["getInterfaces", "getInterfacesOutput"], () => require("./getInterfaces"));
exports.getVirtualMachines = null;
exports.getVirtualMachinesOutput = null;
utilities.lazyLoad(exports, ["getVirtualMachines", "getVirtualMachinesOutput"], () => require("./getVirtualMachines"));
exports.Interface = null;
utilities.lazyLoad(exports, ["Interface"], () => require("./interface"));
exports.PrimaryIp = null;
utilities.lazyLoad(exports, ["PrimaryIp"], () => require("./primaryIp"));
exports.VirtualDisk = null;
utilities.lazyLoad(exports, ["VirtualDisk"], () => require("./virtualDisk"));
exports.VirtualMachine = null;
utilities.lazyLoad(exports, ["VirtualMachine"], () => require("./virtualMachine"));
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "netbox:virt/cluster:Cluster":
return new exports.Cluster(name, undefined, { urn });
case "netbox:virt/clusterGroup:ClusterGroup":
return new exports.ClusterGroup(name, undefined, { urn });
case "netbox:virt/clusterType:ClusterType":
return new exports.ClusterType(name, undefined, { urn });
case "netbox:virt/interface:Interface":
return new exports.Interface(name, undefined, { urn });
case "netbox:virt/primaryIp:PrimaryIp":
return new exports.PrimaryIp(name, undefined, { urn });
case "netbox:virt/virtualDisk:VirtualDisk":
return new exports.VirtualDisk(name, undefined, { urn });
case "netbox:virt/virtualMachine:VirtualMachine":
return new exports.VirtualMachine(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("netbox", "virt/cluster", _module);
pulumi.runtime.registerResourceModule("netbox", "virt/clusterGroup", _module);
pulumi.runtime.registerResourceModule("netbox", "virt/clusterType", _module);
pulumi.runtime.registerResourceModule("netbox", "virt/interface", _module);
pulumi.runtime.registerResourceModule("netbox", "virt/primaryIp", _module);
pulumi.runtime.registerResourceModule("netbox", "virt/virtualDisk", _module);
pulumi.runtime.registerResourceModule("netbox", "virt/virtualMachine", _module);
//# sourceMappingURL=index.js.map