Skip to content

Commit cf998f8

Browse files
committed
final corrections
1 parent cba725e commit cf998f8

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

articles/data-manager-for-agri/how-to-use-events.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,18 @@ To learn more about how to apply filters, see <a href = "https://docs.microsoft.
5252
## Subscribing to events
5353
You can subscribe to Data Manager for Agriculture events by using Azure portal or Azure Resource Manager client. Each of these provide the user with a set of functionalities. Refer to following resources to know more about each method.
5454

55-
1. <a href = "https://docs.microsoft.com/azure/event-grid/subscribe-through-portal#:~:text=Create%20event%20subscriptions%201%20Select%20All%20services.%202,event%20types%20option%20checked.%20...%20More%20items..." target = "_blank"> Subscribe to events using portal </a>
56-
2. <a href = "https://docs.microsoft.com/azure/event-grid/sdk-overview" target = "_blank"> Subscribe to events using the ARM template client </a>
55+
<a href = "https://docs.microsoft.com/azure/event-grid/subscribe-through-portal#:~:text=Create%20event%20subscriptions%201%20Select%20All%20services.%202,event%20types%20option%20checked.%20...%20More%20items..." target = "_blank"> Subscribe to events using portal </a>
56+
57+
<a href = "https://docs.microsoft.com/azure/event-grid/sdk-overview" target = "_blank"> Subscribe to events using the ARM template client </a>
5758

5859
## Practices for consuming events
5960

6061
Applications that handle Data Manager for Agriculture events should follow a few recommended practices:
6162

62-
1. Check that the eventType is one you're prepared to process, and don't assume that all events you receive are the types you expect.
63-
2. As messages can arrive out of order, use the modifiedTime and etag fields to understand the order of events for any particular object.
64-
3. Data Manager for Agriculture events guarantees at-least-once delivery to subscribers, which ensures that all messages are outputted. However due to retries or availability of subscriptions, duplicate messages may occasionally occur. To learn more about message delivery and retry, see <a href = "https://docs.microsoft.com/azure/event-grid/delivery-and-retry" target = "_blank">Event Grid message delivery and retry </a>
65-
4. Ignore fields you don't understand. This practice will help keep you resilient to new features that might be added in the future.
63+
* Check that the eventType is one you're prepared to process, and don't assume that all events you receive are the types you expect.
64+
* As messages can arrive out of order, use the modifiedTime and etag fields to understand the order of events for any particular object.
65+
* Data Manager for Agriculture events guarantees at-least-once delivery to subscribers, which ensures that all messages are outputted. However due to retries or availability of subscriptions, duplicate messages may occasionally occur. To learn more about message delivery and retry, see <a href = "https://docs.microsoft.com/azure/event-grid/delivery-and-retry" target = "_blank">Event Grid message delivery and retry </a>
66+
* Ignore fields you don't understand. This practice will help keep you resilient to new features that might be added in the future.
6667

6768

6869
### Available event types
@@ -106,7 +107,7 @@ Applications that handle Data Manager for Agriculture events should follow a few
106107
|Microsoft.AgFoodPlatform.SensorPlacementModelJobStatusChangedV2|Published when Sensor Placement Model Job status is changed
107108

108109

109-
### Event Properties
110+
### Event properties
110111

111112
Each Azure Data Manager for Agriculture event has two parts, the first part is common across events and the second, data object contains properties specific to each event.
112113

@@ -396,7 +397,7 @@ Property| Type| Description
396397
|:-----| :----| :----|
397398
managementZoneId| string | Management Zone ID associated with the zone.
398399
partyId| string | User-defined ID of associated field.
399-
| ID | string| Id of the party it belongs tos
400+
| ID | string| Id of the party it belongs to
400401
status| string| Contains the user defined status of the resource.
401402
actionType| string| Indicates the change that triggered publishing of the event. Applicable values are created, updated, deleted.
402403
modifiedDateTime| date-time|Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ.
@@ -478,7 +479,7 @@ name| string| User-defined name of the nutrient analysis.
478479

479480

480481
## Sample events
481-
For Sample events, refer to [this](./sample_events.md) page
482+
For Sample events, refer to [this](./sample-events.md) page
482483

483484
## Next steps
484485
* For an introduction to Azure Event Grid, see [What is Event Grid?](../event-grid/overview.md)
File renamed without changes.

articles/data-manager-for-agri/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,5 @@
5858
items:
5959
- name: Region availability
6060
href: https://azure.microsoft.com/explore/global-infrastructure/products-by-region/?products=data-manager-for-agri&regions=all
61+
- name: Sample events
62+
href: sample-events.md

0 commit comments

Comments
 (0)