UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

40 lines 1.9 kB
"use strict"; // *** 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.getIotDeviceOutput = exports.getIotDevice = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Gets information about an IOT Device. */ /** @deprecated scaleway.index/getiotdevice.getIotDevice has been deprecated in favor of scaleway.iot/getdevice.getDevice */ function getIotDevice(args, opts) { pulumi.log.warn("getIotDevice is deprecated: scaleway.index/getiotdevice.getIotDevice has been deprecated in favor of scaleway.iot/getdevice.getDevice"); args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scaleway:index/getIotDevice:getIotDevice", { "deviceId": args.deviceId, "hubId": args.hubId, "name": args.name, "region": args.region, }, opts); } exports.getIotDevice = getIotDevice; /** * Gets information about an IOT Device. */ /** @deprecated scaleway.index/getiotdevice.getIotDevice has been deprecated in favor of scaleway.iot/getdevice.getDevice */ function getIotDeviceOutput(args, opts) { pulumi.log.warn("getIotDevice is deprecated: scaleway.index/getiotdevice.getIotDevice has been deprecated in favor of scaleway.iot/getdevice.getDevice"); args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("scaleway:index/getIotDevice:getIotDevice", { "deviceId": args.deviceId, "hubId": args.hubId, "name": args.name, "region": args.region, }, opts); } exports.getIotDeviceOutput = getIotDeviceOutput; //# sourceMappingURL=getIotDevice.js.map