IotHubDeviceCreatedEventData interface

Event data for Microsoft.Devices.DeviceCreated event.

Extends

Inherited 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.

Inherited 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

Inherited From DeviceLifeCycleEventProperties.deviceId

hubName

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

hubName?: string

Property Value

string

Inherited From DeviceLifeCycleEventProperties.hubName

twin

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

twin?: DeviceTwinInfo

Property Value

Inherited From DeviceLifeCycleEventProperties.twin