@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
36 lines • 1.25 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.getHubOutput = exports.getHub = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Gets information about an IOT Hub.
*/
function getHub(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("scaleway:iot/getHub:getHub", {
"hubId": args.hubId,
"name": args.name,
"projectId": args.projectId,
"region": args.region,
}, opts);
}
exports.getHub = getHub;
/**
* Gets information about an IOT Hub.
*/
function getHubOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("scaleway:iot/getHub:getHub", {
"hubId": args.hubId,
"name": args.name,
"projectId": args.projectId,
"region": args.region,
}, opts);
}
exports.getHubOutput = getHubOutput;
//# sourceMappingURL=getHub.js.map