@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
43 lines • 2.14 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.Route = exports.Network = exports.Hub = exports.getHubOutput = exports.getHub = exports.getDeviceOutput = exports.getDevice = exports.Device = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
exports.Device = null;
utilities.lazyLoad(exports, ["Device"], () => require("./device"));
exports.getDevice = null;
exports.getDeviceOutput = null;
utilities.lazyLoad(exports, ["getDevice", "getDeviceOutput"], () => require("./getDevice"));
exports.getHub = null;
exports.getHubOutput = null;
utilities.lazyLoad(exports, ["getHub", "getHubOutput"], () => require("./getHub"));
exports.Hub = null;
utilities.lazyLoad(exports, ["Hub"], () => require("./hub"));
exports.Network = null;
utilities.lazyLoad(exports, ["Network"], () => require("./network"));
exports.Route = null;
utilities.lazyLoad(exports, ["Route"], () => require("./route"));
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "scaleway:iot/device:Device":
return new exports.Device(name, undefined, { urn });
case "scaleway:iot/hub:Hub":
return new exports.Hub(name, undefined, { urn });
case "scaleway:iot/network:Network":
return new exports.Network(name, undefined, { urn });
case "scaleway:iot/route:Route":
return new exports.Route(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("scaleway", "iot/device", _module);
pulumi.runtime.registerResourceModule("scaleway", "iot/hub", _module);
pulumi.runtime.registerResourceModule("scaleway", "iot/network", _module);
pulumi.runtime.registerResourceModule("scaleway", "iot/route", _module);
//# sourceMappingURL=index.js.map