IotHubDeviceConnectedEventData interface

Event data for Microsoft.Devices.DeviceConnected event.

Extends

Inherited Properties

deviceConnectionStateEventInfo

Information about the device connection state event.

deviceId

The unique identifier of the device. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit alphanumeric characters plus the following special characters:

  • : . + % _ # * ? ! ( ) , = @ ; $ '.
hubName

Name of the IoT Hub where the device was created or deleted.

moduleId

The unique identifier of the module. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit alphanumeric characters plus the following special characters:

  • : . + % _ # * ? ! ( ) , = @ ; $ '.

Inherited Property Details

deviceConnectionStateEventInfo

Information about the device connection state event.

deviceConnectionStateEventInfo?: DeviceConnectionStateEventInfo

Property Value

Inherited From DeviceConnectionStateEventProperties.deviceConnectionStateEventInfo

deviceId

The unique identifier of the device. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit alphanumeric characters plus the following special characters:

  • : . + % _ # * ? ! ( ) , = @ ; $ '.
deviceId?: string

Property Value

string

Inherited From DeviceConnectionStateEventProperties.deviceId

hubName

Name of the IoT Hub where the device was created or deleted.

hubName?: string

Property Value

string

Inherited From DeviceConnectionStateEventProperties.hubName

moduleId

The unique identifier of the module. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit alphanumeric characters plus the following special characters:

  • : . + % _ # * ? ! ( ) , = @ ; $ '.
moduleId?: string

Property Value

string

Inherited From DeviceConnectionStateEventProperties.moduleId