Share via


IotHubDeviceCreatedEventData Class

Definition

Event data for Microsoft.Devices.DeviceCreated event.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Messaging.EventGrid.SystemEvents.IotHubDeviceCreatedEventData+IotHubDeviceCreatedEventDataConverter))]
public class IotHubDeviceCreatedEventData : Azure.Messaging.EventGrid.SystemEvents.DeviceLifeCycleEventProperties
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Messaging.EventGrid.SystemEvents.IotHubDeviceCreatedEventData+IotHubDeviceCreatedEventDataConverter))>]
type IotHubDeviceCreatedEventData = class
    inherit DeviceLifeCycleEventProperties
Public Class IotHubDeviceCreatedEventData
Inherits DeviceLifeCycleEventProperties
Inheritance
IotHubDeviceCreatedEventData
Attributes

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: - : . + % _ &#35; * ? ! ( ) , = @ ; $ '.

(Inherited from DeviceLifeCycleEventProperties)
HubName

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

(Inherited from DeviceLifeCycleEventProperties)
Twin

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

(Inherited from DeviceLifeCycleEventProperties)

Applies to