DeviceConnectionStateEventProperties interface

Schema of the Data property of an EventGridEvent for a device connection state event (DeviceConnected, DeviceDisconnected).

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:

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

Property Details

deviceConnectionStateEventInfo

Information about the device connection state event.

deviceConnectionStateEventInfo?: DeviceConnectionStateEventInfo

Property Value

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

hubName

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

hubName?: string

Property Value

string

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