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/machine-learning/how-to-use-event-grid.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,11 +30,11 @@ When to use Event Grid for event driven actions:
30
30
31
31
## Prerequisites
32
32
33
-
To use Event Grid, you need contributor or owner access to the Azure Machine Learning workspace you will create events for.
33
+
To use Event Grid, you need contributor or owner access to the Azure Machine Learning workspace you create events for.
34
34
35
35
## The event model & types
36
36
37
-
Azure Event Grid reads events from sources, such as Azure Machine Learning and other Azure services. These events are then sent to event handlers such as Azure Event Hubs, Azure Functions, Logic Apps, and others. The following diagram shows how Event Grid connects sources and handlers, but is not a comprehensive list of supported integrations.
37
+
Azure Event Grid reads events from sources, such as Azure Machine Learning and other Azure services. These events are then sent to event handlers such as Azure Event Hubs, Azure Functions, Logic Apps, and others. The following diagram shows how Event Grid connects sources and handlers, but isn't a comprehensive list of supported integrations.
@@ -54,9 +54,9 @@ Azure Machine Learning provides events in the various points of machine learning
54
54
55
55
### Filter & subscribe to events
56
56
57
-
These events are published through Azure Event Grid. Using Azure portal, PowerShell or Azure CLI, customers can easily subscribe to events by [specifying one or more event types, and filtering conditions](../event-grid/event-filtering.md).
57
+
These events are published through Azure Event Grid. Using Azure portal, PowerShell, or Azure CLI, customers can easily subscribe to events by [specifying one or more event types, and filtering conditions](../event-grid/event-filtering.md).
58
58
59
-
When setting up your events, you can apply filters to only trigger on specific event data. In the example below, for run status changed events, you can filter by run types. The event only triggers when the criteria is met. Refer to the [Azure Machine Learning Event Grid schema](../event-grid/event-schema-machine-learning.md) to learn about event data you can filter by.
59
+
When setting up your events, you can apply filters to only trigger on specific event data. In the following example, for run status changed events, you can filter by run types. The event only triggers when the criteria are met. Refer to the [Azure Machine Learning Event Grid schema](../event-grid/event-schema-machine-learning.md) to learn about event data you can filter by.
60
60
61
61
Subscriptions for Azure Machine Learning events are protected by Azure role-based access control (Azure RBAC). Only [contributor or owner](how-to-assign-roles.md#default-roles) of a workspace can create, update, and delete event subscriptions. Filters can be applied to event subscriptions either during the [creation](/cli/azure/eventgrid/event-subscription) of the event subscription or at a later time.
62
62
@@ -106,7 +106,7 @@ Azure Event Grid allows customers to build de-coupled message handlers, which ca
106
106
* Azure Logic Apps
107
107
* Azure Event Hubs
108
108
* Azure Data Factory Pipeline
109
-
* Generic webhooks, which may be hosted on the Azure platform or elsewhere
109
+
* Generic webhooks, which might be hosted on the Azure platform or elsewhere
110
110
111
111
## Set up in Azure portal
112
112
@@ -124,7 +124,7 @@ Azure Event Grid allows customers to build de-coupled message handlers, which ca
124
124
125
125

126
126
127
-
Once you have confirmed your selection, click__Create__. After configuration, these events will be pushed to your endpoint.
127
+
Once you have confirmed your selection, select__Create__. After configuration, these events will be pushed to your endpoint.
128
128
129
129
130
130
### Set up with the CLI
@@ -166,7 +166,7 @@ Use [Azure Logic Apps](../logic-apps/index.yml) to configure emails for all your
166
166
167
167

168
168
169
-
1. Select which event(s) to be notified for. For example, the following screenshot __RunCompleted__.
169
+
1. Select which event to be notified for. For example, the following screenshot __RunCompleted__.
170
170
171
171
:::image type="content" source="./media/how-to-use-event-grid/select-event-runcomplete.png" alt-text="Screenshot showing the Machine Learning service as the resource type.":::
172
172
@@ -187,7 +187,7 @@ Use [Azure Logic Apps](../logic-apps/index.yml) to configure emails for all your
187
187
> [!IMPORTANT]
188
188
> This example relies on a feature (data drift) that is only available when using Azure Machine Learning SDK v1 or Azure CLI extension v1 for Azure Machine Learning. For more information, see [What is Azure Machine Learning CLI & SDK v2](concept-v2.md).
189
189
190
-
Models go stale over time, and not remain useful in the context it is running in. One way to tell if it's time to retrain the model is detecting data drift.
190
+
Models go stale over time, and not remain useful in the context it's running in. One way to tell if it's time to retrain the model is detecting data drift.
191
191
192
192
This example shows how to use Event Grid with an Azure Logic App to trigger retraining. The example triggers an Azure Data Factory pipeline when data drift occurs between a model's training and serving datasets.
193
193
@@ -196,7 +196,7 @@ Before you begin, perform the following actions:
196
196
* Set up a dataset monitor to [detect data drift (SDK/CLI v1)](v1/how-to-monitor-datasets.md) in a workspace
197
197
* Create a published [Azure Data Factory pipeline](../data-factory/index.yml).
198
198
199
-
In this example, a simple Data Factory pipeline is used to copy files into a blob store and run a published Machine Learning pipeline. For more information on this scenario, see how to set up a [Machine Learning step in Azure Data Factory](../data-factory/transform-data-machine-learning-service.md)
199
+
In this example, a simple Data Factory pipeline is used to copy files into a blob store and run a published Machine Learning pipeline. For more information on this scenario, see how to set up a [Machine Learning step in Azure Data Factory](../data-factory/transform-data-machine-learning-service.md).
200
200
201
201
:::image type="content" source="./media/how-to-use-event-grid/adf-mlpipeline-stage.png" alt-text="Screenshot showing the training pipeline in Azure Data Factory.":::
202
202
@@ -224,7 +224,7 @@ In this example, a simple Data Factory pipeline is used to copy files into a blo
224
224
225
225

226
226
227
-
1. Save and create the logic app using the **save** button on the top left of the page. To view your app, go to your workspace in the [Azure portal](https://portal.azure.com) and click on**Events**.
227
+
1. Save and create the logic app using the **save** button on the top left of the page. To view your app, go to your workspace in the [Azure portal](https://portal.azure.com) and select**Events**.
228
228
229
229

0 commit comments