You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/data-manager-for-agri/how-to-use-events.md
+13-10Lines changed: 13 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,8 +27,11 @@ Data Manager for Agriculture events allow applications to react to creation, del
27
27
Azure Functions, Azure Logic Apps, or even to your own http listener can subscribe to these events. Azure Event Grid provides reliable event delivery to your applications through rich retry policies and dead-lettering.
28
28
29
29
Here are example scenarios for consuming events in our service:
30
-
1. When downloading satellite or weather data or executing jobs, you can use events to respond to changes in job status. You can minimize long polling can and decreasing the number of API calls to the service. You can also get prompt notification of job completion. All our asynchronous ingestion jobs are capable of supporting events. > [!NOTE]
30
+
1. When downloading satellite or weather data or executing jobs, you can use events to respond to changes in job status. You can minimize long polling can and decreasing the number of API calls to the service. You can also get prompt notification of job completion. All our asynchronous ingestion jobs are capable of supporting events.
31
+
32
+
> [!NOTE]
31
33
> Events related to ISV solutions flow are not currently supported.
34
+
32
35
2. If there are modifications to data-plane resources such as party, fields, farms and other similar elements, you can react to changes and you can trigger workflows.
33
36
34
37
## Filtering events
@@ -38,13 +41,13 @@ For instance, for the PartyChanged event, to receive notifications for changes f
38
41
39
42
EndsWith- /Party1234
40
43
The subject for this event is of the format
41
-
```"/parties/Party1234"```
44
+
```"/parties/Party1234"```
42
45
43
46
Subjects in an event schema provide 'starts with' and 'exact match' filters as well.
44
47
45
48
Similarly, to filter the same event for a group of party IDs, use the Advanced filter on partyId field in the event data object. In a single subscription, you may add five advanced filters with a limit of 25 values for each key filtered.
46
49
47
-
To learn more about how to apply filters, see <ahref = "https://docs.microsoft.com/azure/event-grid/how-to-filter-events"target = "_blank"> Filter events for Event Grid </a>
50
+
To learn more about how to apply filters, see <ahref = "https://docs.microsoft.com/azure/event-grid/how-to-filter-events"target = "_blank"> filter events for Event Grid. </a>
48
51
49
52
## Subscribing to events
50
53
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.
@@ -62,7 +65,7 @@ Applications that handle Data Manager for Agriculture events should follow a few
62
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
66
64
67
65
-
### **Available event types**
68
+
### Available event types
66
69
67
70
|Event Name | Description|
68
71
|:-----|:----|
@@ -149,7 +152,7 @@ description| string| Textual description of the resource.
149
152
name| string| Name to identify resource.
150
153
partyId| string| ID of the party it belongs to.
151
154
152
-
For device Data Model, and Sensor Data Model events, the data object contains following properties:
155
+
For device data model, and sensor data model events, the data object contains following properties:
0 commit comments