Skip to content

Commit d141645

Browse files
authored
Merge pull request #115919 from robinsh/robinsh-0520
Add system names table.
2 parents fdc7a87 + 7b2eda8 commit d141645

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

articles/iot-hub/iot-hub-devguide-messages-construct.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,26 @@ For more information about how to encode and decode messages sent using differen
6666
| user-id |An ID used to specify the origin of messages. When messages are generated by IoT Hub, it is set to `{iot hub name}`. |Yes|
6767
| iothub-ack |A feedback message generator. This property is used in cloud-to-device messages to request IoT Hub to generate feedback messages as a result of the consumption of the message by the device. Possible values: **none** (default): no feedback message is generated, **positive**: receive a feedback message if the message was completed, **negative**: receive a feedback message if the message expired (or maximum delivery count was reached) without being completed by the device, or **full**: both positive and negative. |Yes|
6868

69+
### System Property Names
70+
71+
The system property names vary based on the endpoint to which the messages are being routed. Please see the table below for details on these names.
72+
73+
74+
|System property name|Event Hubs|Azure Storage|Service Bus|Event Grid|
75+
|--------------------|----------|-------------|-----------|----------|
76+
|Message ID|message-id|messageId|MessageId|message-id|
77+
|Iot hub enqueued time|iothub-enqueuedtime|enqueuedTime|iothub-enqueuedtime|iothub-enqueuedtime|
78+
|User id|user-id|userId|UserId|user-id|
79+
|Connection device id|iothub-connection-device-id| connectionDeviceId|iothub-connection-device-id|iothub-connection-device-id|
80+
|Connection module id|iothub-connection-module-id|connectionModuleId|iothub-connection-module-id|iothub-connection-module-id|
81+
|Connection auth generation id|iothub-connection-auth-generation-id|connectionDeviceGenerationId| iothub-connection-auth-generation-id|iothub-connection-auth-generation-id|
82+
|Connection auth method|iothub-connection-auth-method|connectionAuthMethod|iothub-connection-auth-method|iothub-connection-auth-method|
83+
|contentType|content-type|contentType|ContentType|iothub-content-type|
84+
|contentEncoding|content-encoding|contentEncoding|ContentEncoding|iothub-content-encoding|
85+
|iothub-enqueuedtime|iothub-enqueuedtime|enqueuedTime| |iothub-enqueuedtime|
86+
|iothub-interface-name|iothub-interface-name|interfaceName|Iothub-interface-name|iothub-interface-name|
87+
|CorrelationId|correlation-id|correlationId|CorrelationId|correlation-id|
88+
6989
## Message size
7090

7191
IoT Hub measures message size in a protocol-agnostic way, considering only the actual payload. The size in bytes is calculated as the sum of the following values:

0 commit comments

Comments
 (0)