UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

51 lines 1.59 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. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myDevice = scaleway.getIotDevice({ * deviceId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ function getIotDevice(args, opts) { 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. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myDevice = scaleway.getIotDevice({ * deviceId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ function getIotDeviceOutput(args, opts) { return pulumi.output(args).apply((a) => getIotDevice(a, opts)); } exports.getIotDeviceOutput = getIotDeviceOutput; //# sourceMappingURL=getIotDevice.js.map