Device Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains Device properties and their accessors.
public class Device : Microsoft.Azure.Devices.Shared.IETagHolder
public class Device
type Device = class
interface IETagHolder
type Device = class
Public Class Device
Implements IETagHolder
Public Class Device
- Inheritance
-
Device
- Implements
Constructors
Device() |
Creates a new instance of Device |
Device(String) |
Creates a new instance of device. |
Properties
Authentication |
Device's authentication mechanism. |
Capabilities |
Capabilities that are enabled one the device. |
CloudToDeviceMessageCount |
Number of messages sent to the device from the cloud. |
ConnectionState |
Device's connection state. |
ConnectionStateUpdatedOnUtc |
Time when the connection state was last updated. |
ConnectionStateUpdatedTime |
Time when the connection state was last updated. |
ETag |
Device's ETag. |
GenerationId |
Device's Generation Id. |
Id |
Device Id. |
LastActiveOnUtc |
Time when the device was last active. |
LastActivityTime |
Time when the device was last active. |
ParentScopes |
The scopes of the upper level edge devices if applicable. |
Scope |
The scope of the device. For edge devices, this is auto-generated and immutable. For leaf devices, set this to create child/parent relationship. |
Status |
Device's status. |
StatusReason |
Reason, if any, for the device to be in specified status. |
StatusUpdatedOnUtc |
Time when the status was last updated. |
StatusUpdatedTime |
Time when the status was last updated. |