@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
40 lines • 1.81 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.getIotHubOutput = exports.getIotHub = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Gets information about an IOT Hub.
*/
/** @deprecated scaleway.index/getiothub.getIotHub has been deprecated in favor of scaleway.iot/gethub.getHub */
function getIotHub(args, opts) {
pulumi.log.warn("getIotHub is deprecated: scaleway.index/getiothub.getIotHub has been deprecated in favor of scaleway.iot/gethub.getHub");
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("scaleway:index/getIotHub:getIotHub", {
"hubId": args.hubId,
"name": args.name,
"projectId": args.projectId,
"region": args.region,
}, opts);
}
exports.getIotHub = getIotHub;
/**
* Gets information about an IOT Hub.
*/
/** @deprecated scaleway.index/getiothub.getIotHub has been deprecated in favor of scaleway.iot/gethub.getHub */
function getIotHubOutput(args, opts) {
pulumi.log.warn("getIotHub is deprecated: scaleway.index/getiothub.getIotHub has been deprecated in favor of scaleway.iot/gethub.getHub");
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("scaleway:index/getIotHub:getIotHub", {
"hubId": args.hubId,
"name": args.name,
"projectId": args.projectId,
"region": args.region,
}, opts);
}
exports.getIotHubOutput = getIotHubOutput;
//# sourceMappingURL=getIotHub.js.map