@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
82 lines (81 loc) • 2.5 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* Gets information about an IOT Device.
*/
/** @deprecated scaleway.index/getiotdevice.getIotDevice has been deprecated in favor of scaleway.iot/getdevice.getDevice */
export declare function getIotDevice(args?: GetIotDeviceArgs, opts?: pulumi.InvokeOptions): Promise<GetIotDeviceResult>;
/**
* A collection of arguments for invoking getIotDevice.
*/
export interface GetIotDeviceArgs {
/**
* The device ID.
* Only one of the `name` and `deviceId` should be specified.
*/
deviceId?: string;
/**
* The hub ID.
*/
hubId?: string;
/**
* The name of the Hub.
* Only one of the `name` and `deviceId` should be specified.
*/
name?: string;
/**
* `region`) The region in which the hub exists.
*/
region?: string;
}
/**
* A collection of values returned by getIotDevice.
*/
export interface GetIotDeviceResult {
readonly allowInsecure: boolean;
readonly allowMultipleConnections: boolean;
readonly certificates: outputs.GetIotDeviceCertificate[];
readonly createdAt: string;
readonly description: string;
readonly deviceId?: string;
readonly hubId: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly isConnected: boolean;
readonly lastActivityAt: string;
readonly messageFilters: outputs.GetIotDeviceMessageFilter[];
readonly name?: string;
readonly region?: string;
readonly status: string;
readonly updatedAt: string;
}
/**
* Gets information about an IOT Device.
*/
/** @deprecated scaleway.index/getiotdevice.getIotDevice has been deprecated in favor of scaleway.iot/getdevice.getDevice */
export declare function getIotDeviceOutput(args?: GetIotDeviceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIotDeviceResult>;
/**
* A collection of arguments for invoking getIotDevice.
*/
export interface GetIotDeviceOutputArgs {
/**
* The device ID.
* Only one of the `name` and `deviceId` should be specified.
*/
deviceId?: pulumi.Input<string>;
/**
* The hub ID.
*/
hubId?: pulumi.Input<string>;
/**
* The name of the Hub.
* Only one of the `name` and `deviceId` should be specified.
*/
name?: pulumi.Input<string>;
/**
* `region`) The region in which the hub exists.
*/
region?: pulumi.Input<string>;
}