Device interface

An interface representing Device.

Properties

authentication
capabilities
cloudToDeviceMessageCount
connectionState

Possible values include: 'Disconnected', 'Connected'

connectionStateUpdatedTime
deviceId
deviceScope
etag
generationId
lastActivityTime
parentScopes
status

Possible values include: 'enabled', 'disabled'

statusReason
statusUpdatedTime

Property Details

authentication

authentication?: AuthenticationMechanism

Property Value

capabilities

capabilities?: DeviceCapabilities

Property Value

cloudToDeviceMessageCount

cloudToDeviceMessageCount?: undefined | number

Property Value

undefined | number

connectionState

Possible values include: 'Disconnected', 'Connected'

connectionState?: ConnectionState

Property Value

connectionStateUpdatedTime

connectionStateUpdatedTime?: Date

Property Value

Date

deviceId

deviceId?: undefined | string

Property Value

undefined | string

deviceScope

deviceScope?: undefined | string

Property Value

undefined | string

etag

etag?: undefined | string

Property Value

undefined | string

generationId

generationId?: undefined | string

Property Value

undefined | string

lastActivityTime

lastActivityTime?: Date

Property Value

Date

parentScopes

parentScopes?: string[]

Property Value

string[]

status

Possible values include: 'enabled', 'disabled'

status?: Status

Property Value

statusReason

statusReason?: undefined | string

Property Value

undefined | string

statusUpdatedTime

statusUpdatedTime?: Date

Property Value

Date