Skip to content

Commit ef8f5d2

Browse files
authored
Merge pull request #105343 from jpe316/patch-26
Update how-to-use-event-grid.md
2 parents 410111c + 36b9d1b commit ef8f5d2

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

articles/machine-learning/how-to-use-event-grid.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ For more information, see [Azure Machine Learning integration with Event Grid](c
2121

2222
Use Event Grid to enable common scenarios such as:
2323

24-
* Triggering pipelines for retraining
24+
* Send emails on run completion
25+
* Use an azure function after a model is registered
2526
* Streaming events from Azure Machine Learning to various of endpoints
27+
* Trigger an ML pipeline when drift is detected
2628

2729
## Prerequisites
28-
2930
* Contributor or owner access to the Azure Machine Learning workspace you will create events for.
30-
* Select an event handler endpoint such as a webhook or Event Hub. For more information, see [event handlers](https://docs.microsoft.com/azure/event-grid/event-handlers).
3131

32-
## Configure machine learning events using the Azure portal
32+
### Configure EventGrid using the Azure portal
3333

3434
1. Open the [Azure portal](https://portal.azure.com) and go to your Azure Machine Learning workspace.
3535

@@ -47,7 +47,7 @@ Use Event Grid to enable common scenarios such as:
4747

4848
Once you have confirmed your selection, click __Create__. After configuration, these events will be pushed to your endpoint.
4949

50-
## Set up Azure Event Grid using CLI
50+
### Configure EventGrid using the CLI
5151

5252
You can either install the latest [Azure CLI](https://docs.microsoft.com/cli/azure/install-azure-cli?view=azure-cli-latest), or use the Azure Cloud Shell that is provided as part of your Azure subscription.
5353

@@ -57,7 +57,7 @@ To install the Event Grid extension, use the following command from the CLI:
5757
az add extension --name eventgrid
5858
```
5959

60-
The following example demonstrates how to select an Azure subscription, and then create a new event subscription for Azure Machine Learning:
60+
The following example demonstrates how to select an Azure subscription and creates e a new event subscription for Azure Machine Learning:
6161

6262
```azurecli-interactive
6363
# Select the Azure subscription that contains the workspace
@@ -74,6 +74,12 @@ az eventgrid event-subscription create \
7474

7575
## Sample scenarios
7676

77+
### Use Azure Functions to deploy a model based on tags
78+
79+
An Azure Machine Learning model object contains parameters you can pivot deployments on such as model name, version, tag, and property. The model registration event can trigger an endpoint and you can use an Azure Function to deploy a model based on the value of those parameters.
80+
81+
For an example, see the [https://github.com/Azure-Samples/MachineLearningSamples-NoCodeDeploymentTriggeredByEventGrid](https://github.com/Azure-Samples/MachineLearningSamples-NoCodeDeploymentTriggeredByEventGrid) repository and follow the steps in the **readme** file.
82+
7783
### Use a Logic App to send email alerts
7884

7985
Leverage [Azure Logic Apps](https://docs.microsoft.com/azure/logic-apps/) to configure emails for all your events. Customize with conditions and specify recipients to enable collaboration and awareness across teams working together.
@@ -155,12 +161,6 @@ Now the data factory pipeline is triggered when drift occurs. View details on yo
155161
![view-in-workspace](./media/how-to-use-event-grid/view-in-workspace.png)
156162

157163

158-
### Use Azure Functions to deploy a model based on tags
159-
160-
An Azure Machine Learning model object contains parameters you can pivot deployments on such as model name, version, tag, and property. The model registration event can trigger an endpoint and you can use an Azure Function to deploy a model based on the value of those parameters.
161-
162-
For an example, see the [https://github.com/Azure-Samples/MachineLearningSamples-NoCodeDeploymentTriggeredByEventGrid](https://github.com/Azure-Samples/MachineLearningSamples-NoCodeDeploymentTriggeredByEventGrid) repository and follow the steps in the **readme** file.
163-
164164
## Next steps
165165

166166
* To learn more about available events, see the [Azure Machine Learning event schema](/azure/event-grid/event-schema-machine-learning)

0 commit comments

Comments
 (0)