DeviceConnectionStateEvent interface
Schema of the Data property of an EventGridEvent for a device connection state event (DeviceConnected, DeviceDisconnected).
Properties
device |
Information about the device connection state event. |
device |
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: - : . + % _ # * ? ! ( ) , = @ ; $ '. |
hub |
Name of the IoT Hub where the device was created or deleted. |
module |
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