Skip to content

Commit 1eae3c9

Browse files
authored
Merge pull request #85441 from robinsh/robinsh-0814
replace 'rule' with 'query', small edits per Ashita.
2 parents ed45e28 + e383975 commit 1eae3c9

6 files changed

+15
-12
lines changed

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,15 @@ For more information about how to encode and decode messages sent using differen
4444

4545
## System Properties of **D2C** IoT Hub messages
4646

47-
| Property | Description |User Settable?|Keyword for routing query|
47+
| Property | Description |User Settable?|Keyword for </br>routing query|
4848
| --- | --- | --- | --- |
49-
| message-id |A user-settable identifier for the message used for request-reply patterns. Format: A case-sensitive string (up to 128 characters long) of ASCII 7-bit alphanumeric characters + `{'-', ':', '.', '+', '%', '_', '#', '*', '?', '!', '(', ')', ',', '=', '@', ';', '$', '''}`. | Yes | MessageId |
50-
| iothub-enqueuedtime |Date and time the [Device-to-Cloud](iot-hub-devguide-d2c-guidance.md) message was received by IoT Hub. | No | EnqueuedTime |
51-
| 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 | UserId |
52-
| iothub-connection-device-id |An ID set by IoT Hub on device-to-cloud messages. It contains the **deviceId** of the device that sent the message. | No | DeviceId |
53-
| iothub-connection-auth-generation-id |An ID set by IoT Hub on device-to-cloud messages. It contains the **generationId** (as per [Device identity properties](iot-hub-devguide-identity-registry.md#device-identity-properties)) of the device that sent the message. | No |DeviceGenerationId |
54-
| iothub-connection-auth-method |An authentication method set by IoT Hub on device-to-cloud messages. This property contains information about the authentication method used to authenticate the device sending the message.| No | AuthMethod |
49+
| message-id |A user-settable identifier for the message used for request-reply patterns. Format: A case-sensitive string (up to 128 characters long) of ASCII 7-bit alphanumeric characters + `{'-', ':', '.', '+', '%', '_', '#', '*', '?', '!', '(', ')', ',', '=', '@', ';', '$', '''}`. | Yes | messageId |
50+
| iothub-enqueuedtime |Date and time the [Device-to-Cloud](iot-hub-devguide-d2c-guidance.md) message was received by IoT Hub. | No | enqueuedTime |
51+
| 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 | userId |
52+
| iothub-connection-device-id |An ID set by IoT Hub on device-to-cloud messages. It contains the **deviceId** of the device that sent the message. | No | connectionDeviceId |
53+
| iothub-connection-module-id |An ID set by IoT Hub on device-to-cloud messages. It contains the **moduleId** of the device that sent the message. | No | connectionModuleId |
54+
| iothub-connection-auth-generation-id |An ID set by IoT Hub on device-to-cloud messages. It contains the **connectionDeviceGenerationId** (as per [Device identity properties](iot-hub-devguide-identity-registry.md#device-identity-properties)) of the device that sent the message. | No |connectionDeviceGenerationId |
55+
| iothub-connection-auth-method |An authentication method set by IoT Hub on device-to-cloud messages. This property contains information about the authentication method used to authenticate the device sending the message.| No | connectionAuthMethod |
5556

5657
## System Properties of **C2D** IoT Hub messages
5758

articles/iot-hub/iot-hub-event-grid.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,3 +198,5 @@ Applications that handle IoT Hub events should follow these suggested practices:
198198
* [Learn more about Event Grid](../event-grid/overview.md)
199199

200200
* [Compare the differences between routing IoT Hub events and messages](iot-hub-event-grid-routing-comparison.md)
201+
202+
* [Learn how to use IoT telemetry events to implement IoT spatial analytics using Azure Maps (and IoT Hub message routing)](../azure-maps/tutorial-iot-hub-maps.md#filter-events-using-iot-hub-message-routing)

articles/iot-hub/tutorial-message-enrichments.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Here are the resources created by the script. **Enriched** means that resource i
7979

8080
```azurecli-interactive
8181
# This command retrieves the subscription id of the current Azure account.
82-
# This field is used when setting up the routing rules.
82+
# This field is used when setting up the routing queries.
8383
subscriptionID=$(az account show --query id -o tsv)
8484
8585
# Concatenate this number onto the resources that have to be globally unique.
@@ -264,7 +264,7 @@ At this point, the resources are all set up and the routing is configured. You c
264264

265265
## Send messages to the IoT Hub
266266

267-
Now that the message enrichments are configured for the endpoint, run the Simulated Device application to send messages to the IoT Hub. The hub has been set up with rules that accomplish the following :
267+
Now that the message enrichments are configured for the endpoint, run the Simulated Device application to send messages to the IoT Hub. The hub has been set up with settings that accomplish the following :
268268

269269
* Messages routed to the storage endpoint ContosoStorageEndpointOriginal will not be enriched and will be stored in the storage container `original`.
270270

articles/iot-hub/tutorial-routing-config-message-routing-CLI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Copy and paste the script below into Cloud Shell and press Enter. It runs the sc
4040
4141
```azurecli-interactive
4242
# This command retrieves the subscription id of the current Azure account.
43-
# This field is used when setting up the routing rules.
43+
# This field is used when setting up the routing queries.
4444
subscriptionID=$(az account show --query id)
4545
4646
# Concatenate this number onto the resources that have to be globally unique.

articles/iot-hub/tutorial-routing-config-message-routing-PowerShell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Copy and paste the script below into Cloud Shell and press Enter. It runs the sc
4040

4141
```azurepowershell-interactive
4242
# This command retrieves the subscription id of the current Azure account.
43-
# This field is used when setting up the routing rules.
43+
# This field is used when setting up the routing queries.
4444
$subscriptionID = (Get-AzContext).Subscription.Id
4545
4646
# Concatenate this number onto the resources that have to be globally unique.

articles/iot-hub/tutorial-routing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ A note about debugging: this script uses the continuation symbol (the backslash
3131
```azurecli-interactive
3232
# This retrieves the subscription id of the account
3333
# in which you're logged in.
34-
# This field is used to set up the routing rules.
34+
# This field is used to set up the routing queries.
3535
subscriptionID=$(az account show --query id)
3636
3737
# Concatenate this number onto the resources that have to be globally unique.

0 commit comments

Comments
 (0)