@pulumi/hcloud
Version:
A Pulumi package for creating and managing hcloud cloud resources.
253 lines • 16.6 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! ***
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 __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.getServer = exports.getPrimaryIpsOutput = exports.getPrimaryIps = exports.getPrimaryIpOutput = exports.getPrimaryIp = exports.getPlacementGroupsOutput = exports.getPlacementGroups = exports.getPlacementGroupOutput = exports.getPlacementGroup = exports.getNetworksOutput = exports.getNetworks = exports.getNetworkOutput = exports.getNetwork = exports.getLocationsOutput = exports.getLocations = exports.getLocationOutput = exports.getLocation = exports.getLoadBalancersOutput = exports.getLoadBalancers = exports.getLoadBalancerTypesOutput = exports.getLoadBalancerTypes = exports.getLoadBalancerTypeOutput = exports.getLoadBalancerType = exports.getLoadBalancerOutput = exports.getLoadBalancer = exports.getImagesOutput = exports.getImages = exports.getImageOutput = exports.getImage = exports.getFloatingIpsOutput = exports.getFloatingIps = exports.getFloatingIpOutput = exports.getFloatingIp = exports.getFirewallsOutput = exports.getFirewalls = exports.getFirewallOutput = exports.getFirewall = exports.getDatacentersOutput = exports.getDatacenters = exports.getDatacenterOutput = exports.getDatacenter = exports.getCertificatesOutput = exports.getCertificates = exports.getCertificateOutput = exports.getCertificate = exports.FloatingIpAssignment = exports.FloatingIp = exports.FirewallAttachment = exports.Firewall = exports.Certificate = void 0;
exports.types = exports.config = exports.VolumeAttachment = exports.Volume = exports.UploadedCertificate = exports.SshKey = exports.Snapshot = exports.ServerNetwork = exports.Server = exports.Rdns = exports.PrimaryIp = exports.PlacementGroup = exports.NetworkSubnet = exports.NetworkRoute = exports.Network = exports.ManagedCertificate = exports.LoadBalancerTarget = exports.LoadBalancerService = exports.LoadBalancerNetwork = exports.LoadBalancer = exports.getVolumesOutput = exports.getVolumes = exports.getVolumeOutput = exports.getVolume = exports.getSshKeysOutput = exports.getSshKeys = exports.getSshKeyOutput = exports.getSshKey = exports.getServersOutput = exports.getServers = exports.getServerTypesOutput = exports.getServerTypes = exports.getServerTypeOutput = exports.getServerType = exports.getServerOutput = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
exports.Certificate = null;
utilities.lazyLoad(exports, ["Certificate"], () => require("./certificate"));
exports.Firewall = null;
utilities.lazyLoad(exports, ["Firewall"], () => require("./firewall"));
exports.FirewallAttachment = null;
utilities.lazyLoad(exports, ["FirewallAttachment"], () => require("./firewallAttachment"));
exports.FloatingIp = null;
utilities.lazyLoad(exports, ["FloatingIp"], () => require("./floatingIp"));
exports.FloatingIpAssignment = null;
utilities.lazyLoad(exports, ["FloatingIpAssignment"], () => require("./floatingIpAssignment"));
exports.getCertificate = null;
exports.getCertificateOutput = null;
utilities.lazyLoad(exports, ["getCertificate", "getCertificateOutput"], () => require("./getCertificate"));
exports.getCertificates = null;
exports.getCertificatesOutput = null;
utilities.lazyLoad(exports, ["getCertificates", "getCertificatesOutput"], () => require("./getCertificates"));
exports.getDatacenter = null;
exports.getDatacenterOutput = null;
utilities.lazyLoad(exports, ["getDatacenter", "getDatacenterOutput"], () => require("./getDatacenter"));
exports.getDatacenters = null;
exports.getDatacentersOutput = null;
utilities.lazyLoad(exports, ["getDatacenters", "getDatacentersOutput"], () => require("./getDatacenters"));
exports.getFirewall = null;
exports.getFirewallOutput = null;
utilities.lazyLoad(exports, ["getFirewall", "getFirewallOutput"], () => require("./getFirewall"));
exports.getFirewalls = null;
exports.getFirewallsOutput = null;
utilities.lazyLoad(exports, ["getFirewalls", "getFirewallsOutput"], () => require("./getFirewalls"));
exports.getFloatingIp = null;
exports.getFloatingIpOutput = null;
utilities.lazyLoad(exports, ["getFloatingIp", "getFloatingIpOutput"], () => require("./getFloatingIp"));
exports.getFloatingIps = null;
exports.getFloatingIpsOutput = null;
utilities.lazyLoad(exports, ["getFloatingIps", "getFloatingIpsOutput"], () => require("./getFloatingIps"));
exports.getImage = null;
exports.getImageOutput = null;
utilities.lazyLoad(exports, ["getImage", "getImageOutput"], () => require("./getImage"));
exports.getImages = null;
exports.getImagesOutput = null;
utilities.lazyLoad(exports, ["getImages", "getImagesOutput"], () => require("./getImages"));
exports.getLoadBalancer = null;
exports.getLoadBalancerOutput = null;
utilities.lazyLoad(exports, ["getLoadBalancer", "getLoadBalancerOutput"], () => require("./getLoadBalancer"));
exports.getLoadBalancerType = null;
exports.getLoadBalancerTypeOutput = null;
utilities.lazyLoad(exports, ["getLoadBalancerType", "getLoadBalancerTypeOutput"], () => require("./getLoadBalancerType"));
exports.getLoadBalancerTypes = null;
exports.getLoadBalancerTypesOutput = null;
utilities.lazyLoad(exports, ["getLoadBalancerTypes", "getLoadBalancerTypesOutput"], () => require("./getLoadBalancerTypes"));
exports.getLoadBalancers = null;
exports.getLoadBalancersOutput = null;
utilities.lazyLoad(exports, ["getLoadBalancers", "getLoadBalancersOutput"], () => require("./getLoadBalancers"));
exports.getLocation = null;
exports.getLocationOutput = null;
utilities.lazyLoad(exports, ["getLocation", "getLocationOutput"], () => require("./getLocation"));
exports.getLocations = null;
exports.getLocationsOutput = null;
utilities.lazyLoad(exports, ["getLocations", "getLocationsOutput"], () => require("./getLocations"));
exports.getNetwork = null;
exports.getNetworkOutput = null;
utilities.lazyLoad(exports, ["getNetwork", "getNetworkOutput"], () => require("./getNetwork"));
exports.getNetworks = null;
exports.getNetworksOutput = null;
utilities.lazyLoad(exports, ["getNetworks", "getNetworksOutput"], () => require("./getNetworks"));
exports.getPlacementGroup = null;
exports.getPlacementGroupOutput = null;
utilities.lazyLoad(exports, ["getPlacementGroup", "getPlacementGroupOutput"], () => require("./getPlacementGroup"));
exports.getPlacementGroups = null;
exports.getPlacementGroupsOutput = null;
utilities.lazyLoad(exports, ["getPlacementGroups", "getPlacementGroupsOutput"], () => require("./getPlacementGroups"));
exports.getPrimaryIp = null;
exports.getPrimaryIpOutput = null;
utilities.lazyLoad(exports, ["getPrimaryIp", "getPrimaryIpOutput"], () => require("./getPrimaryIp"));
exports.getPrimaryIps = null;
exports.getPrimaryIpsOutput = null;
utilities.lazyLoad(exports, ["getPrimaryIps", "getPrimaryIpsOutput"], () => require("./getPrimaryIps"));
exports.getServer = null;
exports.getServerOutput = null;
utilities.lazyLoad(exports, ["getServer", "getServerOutput"], () => require("./getServer"));
exports.getServerType = null;
exports.getServerTypeOutput = null;
utilities.lazyLoad(exports, ["getServerType", "getServerTypeOutput"], () => require("./getServerType"));
exports.getServerTypes = null;
exports.getServerTypesOutput = null;
utilities.lazyLoad(exports, ["getServerTypes", "getServerTypesOutput"], () => require("./getServerTypes"));
exports.getServers = null;
exports.getServersOutput = null;
utilities.lazyLoad(exports, ["getServers", "getServersOutput"], () => require("./getServers"));
exports.getSshKey = null;
exports.getSshKeyOutput = null;
utilities.lazyLoad(exports, ["getSshKey", "getSshKeyOutput"], () => require("./getSshKey"));
exports.getSshKeys = null;
exports.getSshKeysOutput = null;
utilities.lazyLoad(exports, ["getSshKeys", "getSshKeysOutput"], () => require("./getSshKeys"));
exports.getVolume = null;
exports.getVolumeOutput = null;
utilities.lazyLoad(exports, ["getVolume", "getVolumeOutput"], () => require("./getVolume"));
exports.getVolumes = null;
exports.getVolumesOutput = null;
utilities.lazyLoad(exports, ["getVolumes", "getVolumesOutput"], () => require("./getVolumes"));
exports.LoadBalancer = null;
utilities.lazyLoad(exports, ["LoadBalancer"], () => require("./loadBalancer"));
exports.LoadBalancerNetwork = null;
utilities.lazyLoad(exports, ["LoadBalancerNetwork"], () => require("./loadBalancerNetwork"));
exports.LoadBalancerService = null;
utilities.lazyLoad(exports, ["LoadBalancerService"], () => require("./loadBalancerService"));
exports.LoadBalancerTarget = null;
utilities.lazyLoad(exports, ["LoadBalancerTarget"], () => require("./loadBalancerTarget"));
exports.ManagedCertificate = null;
utilities.lazyLoad(exports, ["ManagedCertificate"], () => require("./managedCertificate"));
exports.Network = null;
utilities.lazyLoad(exports, ["Network"], () => require("./network"));
exports.NetworkRoute = null;
utilities.lazyLoad(exports, ["NetworkRoute"], () => require("./networkRoute"));
exports.NetworkSubnet = null;
utilities.lazyLoad(exports, ["NetworkSubnet"], () => require("./networkSubnet"));
exports.PlacementGroup = null;
utilities.lazyLoad(exports, ["PlacementGroup"], () => require("./placementGroup"));
exports.PrimaryIp = null;
utilities.lazyLoad(exports, ["PrimaryIp"], () => require("./primaryIp"));
__exportStar(require("./provider"), exports);
const provider_1 = require("./provider");
exports.Rdns = null;
utilities.lazyLoad(exports, ["Rdns"], () => require("./rdns"));
exports.Server = null;
utilities.lazyLoad(exports, ["Server"], () => require("./server"));
exports.ServerNetwork = null;
utilities.lazyLoad(exports, ["ServerNetwork"], () => require("./serverNetwork"));
exports.Snapshot = null;
utilities.lazyLoad(exports, ["Snapshot"], () => require("./snapshot"));
exports.SshKey = null;
utilities.lazyLoad(exports, ["SshKey"], () => require("./sshKey"));
exports.UploadedCertificate = null;
utilities.lazyLoad(exports, ["UploadedCertificate"], () => require("./uploadedCertificate"));
exports.Volume = null;
utilities.lazyLoad(exports, ["Volume"], () => require("./volume"));
exports.VolumeAttachment = null;
utilities.lazyLoad(exports, ["VolumeAttachment"], () => require("./volumeAttachment"));
// Export sub-modules:
const config = require("./config");
exports.config = config;
const types = require("./types");
exports.types = types;
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "hcloud:index/certificate:Certificate":
return new exports.Certificate(name, undefined, { urn });
case "hcloud:index/firewall:Firewall":
return new exports.Firewall(name, undefined, { urn });
case "hcloud:index/firewallAttachment:FirewallAttachment":
return new exports.FirewallAttachment(name, undefined, { urn });
case "hcloud:index/floatingIp:FloatingIp":
return new exports.FloatingIp(name, undefined, { urn });
case "hcloud:index/floatingIpAssignment:FloatingIpAssignment":
return new exports.FloatingIpAssignment(name, undefined, { urn });
case "hcloud:index/loadBalancer:LoadBalancer":
return new exports.LoadBalancer(name, undefined, { urn });
case "hcloud:index/loadBalancerNetwork:LoadBalancerNetwork":
return new exports.LoadBalancerNetwork(name, undefined, { urn });
case "hcloud:index/loadBalancerService:LoadBalancerService":
return new exports.LoadBalancerService(name, undefined, { urn });
case "hcloud:index/loadBalancerTarget:LoadBalancerTarget":
return new exports.LoadBalancerTarget(name, undefined, { urn });
case "hcloud:index/managedCertificate:ManagedCertificate":
return new exports.ManagedCertificate(name, undefined, { urn });
case "hcloud:index/network:Network":
return new exports.Network(name, undefined, { urn });
case "hcloud:index/networkRoute:NetworkRoute":
return new exports.NetworkRoute(name, undefined, { urn });
case "hcloud:index/networkSubnet:NetworkSubnet":
return new exports.NetworkSubnet(name, undefined, { urn });
case "hcloud:index/placementGroup:PlacementGroup":
return new exports.PlacementGroup(name, undefined, { urn });
case "hcloud:index/primaryIp:PrimaryIp":
return new exports.PrimaryIp(name, undefined, { urn });
case "hcloud:index/rdns:Rdns":
return new exports.Rdns(name, undefined, { urn });
case "hcloud:index/server:Server":
return new exports.Server(name, undefined, { urn });
case "hcloud:index/serverNetwork:ServerNetwork":
return new exports.ServerNetwork(name, undefined, { urn });
case "hcloud:index/snapshot:Snapshot":
return new exports.Snapshot(name, undefined, { urn });
case "hcloud:index/sshKey:SshKey":
return new exports.SshKey(name, undefined, { urn });
case "hcloud:index/uploadedCertificate:UploadedCertificate":
return new exports.UploadedCertificate(name, undefined, { urn });
case "hcloud:index/volume:Volume":
return new exports.Volume(name, undefined, { urn });
case "hcloud:index/volumeAttachment:VolumeAttachment":
return new exports.VolumeAttachment(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("hcloud", "index/certificate", _module);
pulumi.runtime.registerResourceModule("hcloud", "index/firewall", _module);
pulumi.runtime.registerResourceModule("hcloud", "index/firewallAttachment", _module);
pulumi.runtime.registerResourceModule("hcloud", "index/floatingIp", _module);
pulumi.runtime.registerResourceModule("hcloud", "index/floatingIpAssignment", _module);
pulumi.runtime.registerResourceModule("hcloud", "index/loadBalancer", _module);
pulumi.runtime.registerResourceModule("hcloud", "index/loadBalancerNetwork", _module);
pulumi.runtime.registerResourceModule("hcloud", "index/loadBalancerService", _module);
pulumi.runtime.registerResourceModule("hcloud", "index/loadBalancerTarget", _module);
pulumi.runtime.registerResourceModule("hcloud", "index/managedCertificate", _module);
pulumi.runtime.registerResourceModule("hcloud", "index/network", _module);
pulumi.runtime.registerResourceModule("hcloud", "index/networkRoute", _module);
pulumi.runtime.registerResourceModule("hcloud", "index/networkSubnet", _module);
pulumi.runtime.registerResourceModule("hcloud", "index/placementGroup", _module);
pulumi.runtime.registerResourceModule("hcloud", "index/primaryIp", _module);
pulumi.runtime.registerResourceModule("hcloud", "index/rdns", _module);
pulumi.runtime.registerResourceModule("hcloud", "index/server", _module);
pulumi.runtime.registerResourceModule("hcloud", "index/serverNetwork", _module);
pulumi.runtime.registerResourceModule("hcloud", "index/snapshot", _module);
pulumi.runtime.registerResourceModule("hcloud", "index/sshKey", _module);
pulumi.runtime.registerResourceModule("hcloud", "index/uploadedCertificate", _module);
pulumi.runtime.registerResourceModule("hcloud", "index/volume", _module);
pulumi.runtime.registerResourceModule("hcloud", "index/volumeAttachment", _module);
pulumi.runtime.registerResourcePackage("hcloud", {
version: utilities.getVersion(),
constructProvider: (name, type, urn) => {
if (type !== "pulumi:providers:hcloud") {
throw new Error(`unknown provider type ${type}`);
}
return new provider_1.Provider(name, undefined, { urn });
},
});
//# sourceMappingURL=index.js.map