@pulumi/yandex
Version:
A Pulumi package for creating and managing yandex cloud resources.
82 lines (81 loc) • 2.43 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Get information about a Yandex IoT Core device. For more information about IoT Core, see
* [Yandex.Cloud IoT Device](https://cloud.yandex.com/docs/iot-core/quickstart).
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as yandex from "@pulumi/yandex";
*
* const myDevice = pulumi.output(yandex.getIotCoreDevice({
* deviceId: "are1sampleregistry11",
* }));
* ```
*
* This data source is used to define [Yandex.Cloud IoT Device](https://cloud.yandex.com/docs/iot-core/quickstart) that can be used by other resources.
*/
export declare function getIotCoreDevice(args?: GetIotCoreDeviceArgs, opts?: pulumi.InvokeOptions): Promise<GetIotCoreDeviceResult>;
/**
* A collection of arguments for invoking getIotCoreDevice.
*/
export interface GetIotCoreDeviceArgs {
/**
* IoT Core Device id used to define device
*/
deviceId?: string;
/**
* IoT Core Device name used to define device
*/
name?: string;
}
/**
* A collection of values returned by getIotCoreDevice.
*/
export interface GetIotCoreDeviceResult {
/**
* A set of key/value aliases pairs to assign to the IoT Core Device
*/
readonly aliases: {
[key: string]: string;
};
/**
* A set of certificate's fingerprints for the IoT Core Device
*/
readonly certificates: string[];
/**
* Creation timestamp of the IoT Core Device
*/
readonly createdAt: string;
/**
* Description of the IoT Core Device
*/
readonly description: string;
readonly deviceId?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly name?: string;
/**
* A set of passwords's id for the IoT Core Device
*/
readonly passwords: string[];
/**
* IoT Core Registry ID for the IoT Core Device
*/
readonly registryId: string;
}
export declare function getIotCoreDeviceOutput(args?: GetIotCoreDeviceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetIotCoreDeviceResult>;
/**
* A collection of arguments for invoking getIotCoreDevice.
*/
export interface GetIotCoreDeviceOutputArgs {
/**
* IoT Core Device id used to define device
*/
deviceId?: pulumi.Input<string>;
/**
* IoT Core Device name used to define device
*/
name?: pulumi.Input<string>;
}