UNPKG

@muhlba91/pulumi-proxmoxve

Version:

A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.

326 lines 20.7 kB
"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; }; 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.getPoolLegacyOutput = exports.getPoolLegacy = exports.getNodesLegacyOutput = exports.getNodesLegacy = exports.getNodeLegacyOutput = exports.getNodeLegacy = exports.getHostsLegacyOutput = exports.getHostsLegacy = exports.getHaresourcesLegacyOutput = exports.getHaresourcesLegacy = exports.getHaresourcesOutput = exports.getHaresources = exports.getHaresourceLegacyOutput = exports.getHaresourceLegacy = exports.getHaresourceOutput = exports.getHaresource = exports.getHagroupsLegacyOutput = exports.getHagroupsLegacy = exports.getHagroupsOutput = exports.getHagroups = exports.getHagroupLegacyOutput = exports.getHagroupLegacy = exports.getHagroupOutput = exports.getHagroup = exports.getGroupsLegacyOutput = exports.getGroupsLegacy = exports.getGroupLegacyOutput = exports.getGroupLegacy = exports.getFilesOutput = exports.getFiles = exports.getFileLegacyOutput = exports.getFileLegacy = exports.getFileOutput = exports.getFile = exports.getDnsLegacyOutput = exports.getDnsLegacy = exports.getDatastoresLegacyOutput = exports.getDatastoresLegacy = exports.getDatastoresOutput = exports.getDatastores = exports.getContainersLegacyOutput = exports.getContainersLegacy = exports.getContainerLegacyOutput = exports.getContainerLegacy = exports.FileLegacy = exports.DnsLegacy = exports.ContainerLegacy = exports.CertificateLegacy = exports.AclLegacy = exports.Acl = void 0; exports.acme = exports.VmLegacy = exports.Vm2Legacy = exports.Vm = exports.UserLegacy = exports.TimeLegacy = exports.RoleLegacy = exports.ReplicationLegacy = exports.Replication = exports.PoolLegacy = exports.HostsLegacy = exports.HaruleLegacy = exports.Harule = exports.HaresourceLegacy = exports.Haresource = exports.HagroupLegacy = exports.Hagroup = exports.GroupLegacy = exports.getVmsLegacyOutput = exports.getVmsLegacy = exports.getVmLegacyOutput = exports.getVmLegacy = exports.getVm2LegacyOutput = exports.getVm2Legacy = exports.getVmOutput = exports.getVm = exports.getVersionLegacyOutput = exports.getVersionLegacy = exports.getVersionOutput = exports.getVersion = exports.getUsersLegacyOutput = exports.getUsersLegacy = exports.getUserLegacyOutput = exports.getUserLegacy = exports.getTimeLegacyOutput = exports.getTimeLegacy = exports.getRolesLegacyOutput = exports.getRolesLegacy = exports.getRoleLegacyOutput = exports.getRoleLegacy = exports.getReplicationsLegacyOutput = exports.getReplicationsLegacy = exports.getReplicationsOutput = exports.getReplications = exports.getReplicationLegacyOutput = exports.getReplicationLegacy = exports.getReplicationOutput = exports.getReplication = exports.getPoolsLegacyOutput = exports.getPoolsLegacy = void 0; exports.user = exports.types = exports.storage = exports.sdn = exports.realm = exports.pool = exports.oci = exports.node = exports.network = exports.metrics = exports.hardware = exports.firewall = exports.download = exports.config = exports.cluster = exports.cloned = exports.ceph = exports.backup = exports.apt = void 0; const pulumi = __importStar(require("@pulumi/pulumi")); const utilities = __importStar(require("./utilities")); exports.Acl = null; utilities.lazyLoad(exports, ["Acl"], () => require("./acl")); exports.AclLegacy = null; utilities.lazyLoad(exports, ["AclLegacy"], () => require("./aclLegacy")); exports.CertificateLegacy = null; utilities.lazyLoad(exports, ["CertificateLegacy"], () => require("./certificateLegacy")); exports.ContainerLegacy = null; utilities.lazyLoad(exports, ["ContainerLegacy"], () => require("./containerLegacy")); exports.DnsLegacy = null; utilities.lazyLoad(exports, ["DnsLegacy"], () => require("./dnsLegacy")); exports.FileLegacy = null; utilities.lazyLoad(exports, ["FileLegacy"], () => require("./fileLegacy")); exports.getContainerLegacy = null; exports.getContainerLegacyOutput = null; utilities.lazyLoad(exports, ["getContainerLegacy", "getContainerLegacyOutput"], () => require("./getContainerLegacy")); exports.getContainersLegacy = null; exports.getContainersLegacyOutput = null; utilities.lazyLoad(exports, ["getContainersLegacy", "getContainersLegacyOutput"], () => require("./getContainersLegacy")); exports.getDatastores = null; exports.getDatastoresOutput = null; utilities.lazyLoad(exports, ["getDatastores", "getDatastoresOutput"], () => require("./getDatastores")); exports.getDatastoresLegacy = null; exports.getDatastoresLegacyOutput = null; utilities.lazyLoad(exports, ["getDatastoresLegacy", "getDatastoresLegacyOutput"], () => require("./getDatastoresLegacy")); exports.getDnsLegacy = null; exports.getDnsLegacyOutput = null; utilities.lazyLoad(exports, ["getDnsLegacy", "getDnsLegacyOutput"], () => require("./getDnsLegacy")); exports.getFile = null; exports.getFileOutput = null; utilities.lazyLoad(exports, ["getFile", "getFileOutput"], () => require("./getFile")); exports.getFileLegacy = null; exports.getFileLegacyOutput = null; utilities.lazyLoad(exports, ["getFileLegacy", "getFileLegacyOutput"], () => require("./getFileLegacy")); exports.getFiles = null; exports.getFilesOutput = null; utilities.lazyLoad(exports, ["getFiles", "getFilesOutput"], () => require("./getFiles")); exports.getGroupLegacy = null; exports.getGroupLegacyOutput = null; utilities.lazyLoad(exports, ["getGroupLegacy", "getGroupLegacyOutput"], () => require("./getGroupLegacy")); exports.getGroupsLegacy = null; exports.getGroupsLegacyOutput = null; utilities.lazyLoad(exports, ["getGroupsLegacy", "getGroupsLegacyOutput"], () => require("./getGroupsLegacy")); exports.getHagroup = null; exports.getHagroupOutput = null; utilities.lazyLoad(exports, ["getHagroup", "getHagroupOutput"], () => require("./getHagroup")); exports.getHagroupLegacy = null; exports.getHagroupLegacyOutput = null; utilities.lazyLoad(exports, ["getHagroupLegacy", "getHagroupLegacyOutput"], () => require("./getHagroupLegacy")); exports.getHagroups = null; exports.getHagroupsOutput = null; utilities.lazyLoad(exports, ["getHagroups", "getHagroupsOutput"], () => require("./getHagroups")); exports.getHagroupsLegacy = null; exports.getHagroupsLegacyOutput = null; utilities.lazyLoad(exports, ["getHagroupsLegacy", "getHagroupsLegacyOutput"], () => require("./getHagroupsLegacy")); exports.getHaresource = null; exports.getHaresourceOutput = null; utilities.lazyLoad(exports, ["getHaresource", "getHaresourceOutput"], () => require("./getHaresource")); exports.getHaresourceLegacy = null; exports.getHaresourceLegacyOutput = null; utilities.lazyLoad(exports, ["getHaresourceLegacy", "getHaresourceLegacyOutput"], () => require("./getHaresourceLegacy")); exports.getHaresources = null; exports.getHaresourcesOutput = null; utilities.lazyLoad(exports, ["getHaresources", "getHaresourcesOutput"], () => require("./getHaresources")); exports.getHaresourcesLegacy = null; exports.getHaresourcesLegacyOutput = null; utilities.lazyLoad(exports, ["getHaresourcesLegacy", "getHaresourcesLegacyOutput"], () => require("./getHaresourcesLegacy")); exports.getHostsLegacy = null; exports.getHostsLegacyOutput = null; utilities.lazyLoad(exports, ["getHostsLegacy", "getHostsLegacyOutput"], () => require("./getHostsLegacy")); exports.getNodeLegacy = null; exports.getNodeLegacyOutput = null; utilities.lazyLoad(exports, ["getNodeLegacy", "getNodeLegacyOutput"], () => require("./getNodeLegacy")); exports.getNodesLegacy = null; exports.getNodesLegacyOutput = null; utilities.lazyLoad(exports, ["getNodesLegacy", "getNodesLegacyOutput"], () => require("./getNodesLegacy")); exports.getPoolLegacy = null; exports.getPoolLegacyOutput = null; utilities.lazyLoad(exports, ["getPoolLegacy", "getPoolLegacyOutput"], () => require("./getPoolLegacy")); exports.getPoolsLegacy = null; exports.getPoolsLegacyOutput = null; utilities.lazyLoad(exports, ["getPoolsLegacy", "getPoolsLegacyOutput"], () => require("./getPoolsLegacy")); exports.getReplication = null; exports.getReplicationOutput = null; utilities.lazyLoad(exports, ["getReplication", "getReplicationOutput"], () => require("./getReplication")); exports.getReplicationLegacy = null; exports.getReplicationLegacyOutput = null; utilities.lazyLoad(exports, ["getReplicationLegacy", "getReplicationLegacyOutput"], () => require("./getReplicationLegacy")); exports.getReplications = null; exports.getReplicationsOutput = null; utilities.lazyLoad(exports, ["getReplications", "getReplicationsOutput"], () => require("./getReplications")); exports.getReplicationsLegacy = null; exports.getReplicationsLegacyOutput = null; utilities.lazyLoad(exports, ["getReplicationsLegacy", "getReplicationsLegacyOutput"], () => require("./getReplicationsLegacy")); exports.getRoleLegacy = null; exports.getRoleLegacyOutput = null; utilities.lazyLoad(exports, ["getRoleLegacy", "getRoleLegacyOutput"], () => require("./getRoleLegacy")); exports.getRolesLegacy = null; exports.getRolesLegacyOutput = null; utilities.lazyLoad(exports, ["getRolesLegacy", "getRolesLegacyOutput"], () => require("./getRolesLegacy")); exports.getTimeLegacy = null; exports.getTimeLegacyOutput = null; utilities.lazyLoad(exports, ["getTimeLegacy", "getTimeLegacyOutput"], () => require("./getTimeLegacy")); exports.getUserLegacy = null; exports.getUserLegacyOutput = null; utilities.lazyLoad(exports, ["getUserLegacy", "getUserLegacyOutput"], () => require("./getUserLegacy")); exports.getUsersLegacy = null; exports.getUsersLegacyOutput = null; utilities.lazyLoad(exports, ["getUsersLegacy", "getUsersLegacyOutput"], () => require("./getUsersLegacy")); exports.getVersion = null; exports.getVersionOutput = null; utilities.lazyLoad(exports, ["getVersion", "getVersionOutput"], () => require("./getVersion")); exports.getVersionLegacy = null; exports.getVersionLegacyOutput = null; utilities.lazyLoad(exports, ["getVersionLegacy", "getVersionLegacyOutput"], () => require("./getVersionLegacy")); exports.getVm = null; exports.getVmOutput = null; utilities.lazyLoad(exports, ["getVm", "getVmOutput"], () => require("./getVm")); exports.getVm2Legacy = null; exports.getVm2LegacyOutput = null; utilities.lazyLoad(exports, ["getVm2Legacy", "getVm2LegacyOutput"], () => require("./getVm2Legacy")); exports.getVmLegacy = null; exports.getVmLegacyOutput = null; utilities.lazyLoad(exports, ["getVmLegacy", "getVmLegacyOutput"], () => require("./getVmLegacy")); exports.getVmsLegacy = null; exports.getVmsLegacyOutput = null; utilities.lazyLoad(exports, ["getVmsLegacy", "getVmsLegacyOutput"], () => require("./getVmsLegacy")); exports.GroupLegacy = null; utilities.lazyLoad(exports, ["GroupLegacy"], () => require("./groupLegacy")); exports.Hagroup = null; utilities.lazyLoad(exports, ["Hagroup"], () => require("./hagroup")); exports.HagroupLegacy = null; utilities.lazyLoad(exports, ["HagroupLegacy"], () => require("./hagroupLegacy")); exports.Haresource = null; utilities.lazyLoad(exports, ["Haresource"], () => require("./haresource")); exports.HaresourceLegacy = null; utilities.lazyLoad(exports, ["HaresourceLegacy"], () => require("./haresourceLegacy")); exports.Harule = null; utilities.lazyLoad(exports, ["Harule"], () => require("./harule")); exports.HaruleLegacy = null; utilities.lazyLoad(exports, ["HaruleLegacy"], () => require("./haruleLegacy")); exports.HostsLegacy = null; utilities.lazyLoad(exports, ["HostsLegacy"], () => require("./hostsLegacy")); exports.PoolLegacy = null; utilities.lazyLoad(exports, ["PoolLegacy"], () => require("./poolLegacy")); __exportStar(require("./provider"), exports); const provider_1 = require("./provider"); exports.Replication = null; utilities.lazyLoad(exports, ["Replication"], () => require("./replication")); exports.ReplicationLegacy = null; utilities.lazyLoad(exports, ["ReplicationLegacy"], () => require("./replicationLegacy")); exports.RoleLegacy = null; utilities.lazyLoad(exports, ["RoleLegacy"], () => require("./roleLegacy")); exports.TimeLegacy = null; utilities.lazyLoad(exports, ["TimeLegacy"], () => require("./timeLegacy")); exports.UserLegacy = null; utilities.lazyLoad(exports, ["UserLegacy"], () => require("./userLegacy")); exports.Vm = null; utilities.lazyLoad(exports, ["Vm"], () => require("./vm")); exports.Vm2Legacy = null; utilities.lazyLoad(exports, ["Vm2Legacy"], () => require("./vm2Legacy")); exports.VmLegacy = null; utilities.lazyLoad(exports, ["VmLegacy"], () => require("./vmLegacy")); // Export sub-modules: const acme = __importStar(require("./acme")); exports.acme = acme; const apt = __importStar(require("./apt")); exports.apt = apt; const backup = __importStar(require("./backup")); exports.backup = backup; const ceph = __importStar(require("./ceph")); exports.ceph = ceph; const cloned = __importStar(require("./cloned")); exports.cloned = cloned; const cluster = __importStar(require("./cluster")); exports.cluster = cluster; const config = __importStar(require("./config")); exports.config = config; const download = __importStar(require("./download")); exports.download = download; const firewall = __importStar(require("./firewall")); exports.firewall = firewall; const hardware = __importStar(require("./hardware")); exports.hardware = hardware; const metrics = __importStar(require("./metrics")); exports.metrics = metrics; const network = __importStar(require("./network")); exports.network = network; const node = __importStar(require("./node")); exports.node = node; const oci = __importStar(require("./oci")); exports.oci = oci; const pool = __importStar(require("./pool")); exports.pool = pool; const realm = __importStar(require("./realm")); exports.realm = realm; const sdn = __importStar(require("./sdn")); exports.sdn = sdn; const storage = __importStar(require("./storage")); exports.storage = storage; const types = __importStar(require("./types")); exports.types = types; const user = __importStar(require("./user")); exports.user = user; const _module = { version: utilities.getVersion(), construct: (name, type, urn) => { switch (type) { case "proxmoxve:index/acl:Acl": return new exports.Acl(name, undefined, { urn }); case "proxmoxve:index/aclLegacy:AclLegacy": return new exports.AclLegacy(name, undefined, { urn }); case "proxmoxve:index/certificateLegacy:CertificateLegacy": return new exports.CertificateLegacy(name, undefined, { urn }); case "proxmoxve:index/containerLegacy:ContainerLegacy": return new exports.ContainerLegacy(name, undefined, { urn }); case "proxmoxve:index/dnsLegacy:DnsLegacy": return new exports.DnsLegacy(name, undefined, { urn }); case "proxmoxve:index/fileLegacy:FileLegacy": return new exports.FileLegacy(name, undefined, { urn }); case "proxmoxve:index/groupLegacy:GroupLegacy": return new exports.GroupLegacy(name, undefined, { urn }); case "proxmoxve:index/hagroup:Hagroup": return new exports.Hagroup(name, undefined, { urn }); case "proxmoxve:index/hagroupLegacy:HagroupLegacy": return new exports.HagroupLegacy(name, undefined, { urn }); case "proxmoxve:index/haresource:Haresource": return new exports.Haresource(name, undefined, { urn }); case "proxmoxve:index/haresourceLegacy:HaresourceLegacy": return new exports.HaresourceLegacy(name, undefined, { urn }); case "proxmoxve:index/harule:Harule": return new exports.Harule(name, undefined, { urn }); case "proxmoxve:index/haruleLegacy:HaruleLegacy": return new exports.HaruleLegacy(name, undefined, { urn }); case "proxmoxve:index/hostsLegacy:HostsLegacy": return new exports.HostsLegacy(name, undefined, { urn }); case "proxmoxve:index/poolLegacy:PoolLegacy": return new exports.PoolLegacy(name, undefined, { urn }); case "proxmoxve:index/replication:Replication": return new exports.Replication(name, undefined, { urn }); case "proxmoxve:index/replicationLegacy:ReplicationLegacy": return new exports.ReplicationLegacy(name, undefined, { urn }); case "proxmoxve:index/roleLegacy:RoleLegacy": return new exports.RoleLegacy(name, undefined, { urn }); case "proxmoxve:index/timeLegacy:TimeLegacy": return new exports.TimeLegacy(name, undefined, { urn }); case "proxmoxve:index/userLegacy:UserLegacy": return new exports.UserLegacy(name, undefined, { urn }); case "proxmoxve:index/vm2Legacy:Vm2Legacy": return new exports.Vm2Legacy(name, undefined, { urn }); case "proxmoxve:index/vm:Vm": return new exports.Vm(name, undefined, { urn }); case "proxmoxve:index/vmLegacy:VmLegacy": return new exports.VmLegacy(name, undefined, { urn }); default: throw new Error(`unknown resource type ${type}`); } }, }; pulumi.runtime.registerResourceModule("proxmoxve", "index/acl", _module); pulumi.runtime.registerResourceModule("proxmoxve", "index/aclLegacy", _module); pulumi.runtime.registerResourceModule("proxmoxve", "index/certificateLegacy", _module); pulumi.runtime.registerResourceModule("proxmoxve", "index/containerLegacy", _module); pulumi.runtime.registerResourceModule("proxmoxve", "index/dnsLegacy", _module); pulumi.runtime.registerResourceModule("proxmoxve", "index/fileLegacy", _module); pulumi.runtime.registerResourceModule("proxmoxve", "index/groupLegacy", _module); pulumi.runtime.registerResourceModule("proxmoxve", "index/hagroup", _module); pulumi.runtime.registerResourceModule("proxmoxve", "index/hagroupLegacy", _module); pulumi.runtime.registerResourceModule("proxmoxve", "index/haresource", _module); pulumi.runtime.registerResourceModule("proxmoxve", "index/haresourceLegacy", _module); pulumi.runtime.registerResourceModule("proxmoxve", "index/harule", _module); pulumi.runtime.registerResourceModule("proxmoxve", "index/haruleLegacy", _module); pulumi.runtime.registerResourceModule("proxmoxve", "index/hostsLegacy", _module); pulumi.runtime.registerResourceModule("proxmoxve", "index/poolLegacy", _module); pulumi.runtime.registerResourceModule("proxmoxve", "index/replication", _module); pulumi.runtime.registerResourceModule("proxmoxve", "index/replicationLegacy", _module); pulumi.runtime.registerResourceModule("proxmoxve", "index/roleLegacy", _module); pulumi.runtime.registerResourceModule("proxmoxve", "index/timeLegacy", _module); pulumi.runtime.registerResourceModule("proxmoxve", "index/userLegacy", _module); pulumi.runtime.registerResourceModule("proxmoxve", "index/vm", _module); pulumi.runtime.registerResourceModule("proxmoxve", "index/vm2Legacy", _module); pulumi.runtime.registerResourceModule("proxmoxve", "index/vmLegacy", _module); pulumi.runtime.registerResourcePackage("proxmoxve", { version: utilities.getVersion(), constructProvider: (name, type, urn) => { if (type !== "pulumi:providers:proxmoxve") { throw new Error(`unknown provider type ${type}`); } return new provider_1.Provider(name, undefined, { urn }); }, }); //# sourceMappingURL=index.js.map