UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

36 lines 1.29 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.getDeviceOutput = exports.getDevice = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Gets information about an IOT Device. */ function getDevice(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scaleway:iot/getDevice:getDevice", { "deviceId": args.deviceId, "hubId": args.hubId, "name": args.name, "region": args.region, }, opts); } exports.getDevice = getDevice; /** * Gets information about an IOT Device. */ function getDeviceOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("scaleway:iot/getDevice:getDevice", { "deviceId": args.deviceId, "hubId": args.hubId, "name": args.name, "region": args.region, }, opts); } exports.getDeviceOutput = getDeviceOutput; //# sourceMappingURL=getDevice.js.map