DeviceLifeCycleEventProperties Class

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

C#
public class DeviceLifeCycleEventProperties
Inheritance
DeviceLifeCycleEventProperties
Derived

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.

Applies to

Product Versions
Azure SDK for .NET Latest, Preview