-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
DeviceLifeCycleEventProperties.cs
36 lines (31 loc) · 1.96 KB
/
DeviceLifeCycleEventProperties.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.Messaging.EventGrid.SystemEvents
{
/// <summary> Schema of the Data property of an EventGridEvent for a device life cycle event (DeviceCreated, DeviceDeleted). </summary>
public partial class DeviceLifeCycleEventProperties
{
/// <summary> Initializes a new instance of DeviceLifeCycleEventProperties. </summary>
internal DeviceLifeCycleEventProperties()
{
}
/// <summary> Initializes a new instance of DeviceLifeCycleEventProperties. </summary>
/// <param name="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; * ? ! ( ) , = @ ; $ '. </param>
/// <param name="hubName"> Name of the IoT Hub where the device was created or deleted. </param>
/// <param name="twin"> Information about the device twin, which is the cloud representation of application device metadata. </param>
internal DeviceLifeCycleEventProperties(string deviceId, string hubName, DeviceTwinInfo twin)
{
DeviceId = deviceId;
HubName = hubName;
Twin = twin;
}
/// <summary> 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; * ? ! ( ) , = @ ; $ '. </summary>
public string DeviceId { get; }
/// <summary> Name of the IoT Hub where the device was created or deleted. </summary>
public string HubName { get; }
/// <summary> Information about the device twin, which is the cloud representation of application device metadata. </summary>
public DeviceTwinInfo Twin { get; }
}
}