你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PSDeviceTwin 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.
Device Twin Representation.
public class PSDeviceTwin
type PSDeviceTwin = class
Public Class PSDeviceTwin
- Inheritance
-
PSDeviceTwin
- Derived
Constructors
PSDeviceTwin() |
Properties
AuthenticationType |
Device's authentication type. |
Capabilities |
Capabilities that are enabled on the device |
CloudToDeviceMessageCount |
Number of messages sent to the Device from the Cloud. |
ConnectionState |
Device's ConnectionState. |
ConnectionStateUpdatedTime |
Time when the ConnectionState was last updated. |
DeviceId |
Device ID |
ETag |
Device's Twin ETag. |
LastActivityTime |
Time when the PSDevice was last active. |
Properties |
Device's properties. |
Status |
Device's Status. |
StatusReason |
Reason, if any, for the Device to be in specified Status. |
StatusUpdatedTime |
Time when the Status was last updated. |
Tags |
Device's Tags. |
Version |
Device's Twin Version. |