DeviceLifeCycleEventProperties interface

Schema of the Data property of an EventGridEvent for a device life cycle event (DeviceCreated, DeviceDeleted).

Properties

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.

twin

Information about the device twin, which is the cloud representation of application device metadata.

Property Details

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

twin

Information about the device twin, which is the cloud representation of application device metadata.

twin?: DeviceTwinInfo

Property Value