Skip to content

Commit 899154e

Browse files
committed
Edits
1 parent 6a1f9a5 commit 899154e

4 files changed

+7
-7
lines changed

articles/iot-hub/how-to-schedule-broadcast-jobs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This article shows you how to create back-end app code to schedule and broadcast
1919
Use Azure IoT Hub to schedule and track jobs that update up to millions of devices for the following operations:
2020

2121
* Invoke direct methods
22-
* Updated device twin desired properties
22+
* Updated device twins
2323

2424
A job wraps one of these actions and tracks the execution against a set of devices that is defined by a device twin query. For example, a back-end app can use a job to invoke a direct method on 10,000 devices that reboots the devices. You specify the set of devices with a device twin query and schedule the job to run at a future time. The job monitors progress as each of the devices receives and executes the reboot direct method.
2525

includes/iot-hub-howto-schedule-broadcast-jobs-dotnet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ new CloudToDeviceMethod("LockDoor", TimeSpan.FromSeconds(5),
7373
TimeSpan.FromSeconds(5));
7474
```
7575

76-
This example schedules a job for a direct method named "LockDoor" on one device named "Device-1". One or more devices included in the scheduled job are contained second parameter as a query condition.
76+
This example schedules a job for a direct method named "LockDoor" on one device named "Device-1". One or more devices included in the scheduled job are contained second parameter as a query condition. For more information about query conditions, see [IoT Hub query language for device and module twins, jobs, and message routing](/azure/iot-hub/iot-hub-devguide-query-language).
7777

7878
```csharp
7979
string methodJobId = Guid.NewGuid().ToString(); // a unique job ID
@@ -102,7 +102,7 @@ twin.ETag = "*";
102102
twin.Properties.Desired["LocationUpdate"] = DateTime.UtcNow;
103103
```
104104

105-
Next, call `ScheduleTwinUpdateAsync`. Specify the devices to be updated as a query in the second parameter.
105+
Next, call `ScheduleTwinUpdateAsync`. Specify the devices to be updated as a query in the second parameter. For more information about query conditions, see [IoT Hub query language for device and module twins, jobs, and message routing](/azure/iot-hub/iot-hub-devguide-query-language).
106106

107107
```csharp
108108
string twinJobId = Guid.NewGuid().ToString();

includes/iot-hub-howto-schedule-broadcast-jobs-node.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ var methodParams = {
7474
Then call `scheduleDeviceMethod` to schedule the direct method call job:
7575

7676
* Each job must have a unique job ID. You can use this job ID to monitor a job as described in the **Monitor a job** section of this article.
77-
* Specify a `queryCondition` parameter to evaluate which devices to run the job on.
77+
* Specify a `queryCondition` parameter to evaluate which devices to run the job on. For more information about query conditions, see [IoT Hub query language for device and module twins, jobs, and message routing](/azure/iot-hub/iot-hub-devguide-query-language).
7878
* Check the `jobResult` callback for the job schedule result. If the job was successfully scheduled, you can monitor the job status as shown in the **Monitor a job** section of this article.
7979

8080
For example:
@@ -126,7 +126,7 @@ var twinPatch = {
126126
Then call `scheduleTwinUpdate` to schedule the device twin desired property update job:
127127

128128
* Each job must have a unique job ID. You can use this job ID to monitor a job as described in the **Monitor a job** section of this article.
129-
* Specify a `queryCondition` parameter to evaluate which devices to run the job on.
129+
* Specify a `queryCondition` parameter to evaluate which devices to run the job on. For more information about query conditions, see [IoT Hub query language for device and module twins, jobs, and message routing](/azure/iot-hub/iot-hub-devguide-query-language).
130130
* Check the `jobResult` callback for the job schedule result. If the job was successfully scheduled, you can monitor the job status as shown in the **Monitor a job** section of this article.
131131

132132
For example:

includes/iot-hub-howto-schedule-broadcast-jobs-python.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Use [create_scheduled_job](/python/api/azure-iot-hub/azure.iot.hub.iothubjobmana
8282
* Set `type` to `scheduleDeviceMethod`
8383
* Use `cloud_to_device_method` to set the direct method name and payload
8484
* Use `max_execution_time_in_seconds` to specify the execution time in seconds
85-
* Use `query_condition` to specify the devices to be included for the direct method call
85+
* Use `query_condition` to specify the devices to be included for the direct method call. For more information about query conditions, see [IoT Hub query language for device and module twins, jobs, and message routing](/azure/iot-hub/iot-hub-devguide-query-language).
8686

8787
For example:
8888

@@ -114,7 +114,7 @@ Use [create_scheduled_job](/python/api/azure-iot-hub/azure.iot.hub.iothubjobmana
114114
* Set `type` to `scheduleUpdateTwin`
115115
* Use `update_twin` to set the direct method name and payload
116116
* Use `max_execution_time_in_seconds` to specify the execution time in seconds
117-
* Use `query_condition` to specify a condition for one or more devices that have the direct method call
117+
* Use `query_condition` to specify a condition for one or more devices that have the direct method call. For more information about query conditions, see [IoT Hub query language for device and module twins, jobs, and message routing](/azure/iot-hub/iot-hub-devguide-query-language).
118118

119119
For example:
120120

0 commit comments

Comments
 (0)