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-deploy-mlflow-models-online-progressive.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
@@ -79,7 +79,7 @@ The workspace is the top-level resource for Azure Machine Learning, providing a
79
79
```python
80
80
import json
81
81
import mlflow
82
-
importurllib.request
82
+
importrequests
83
83
import pandas as pd
84
84
from mlflow.deployments import get_deploy_client
85
85
```
@@ -198,7 +198,12 @@ We are going to exploit this functionality by deploying multiple versions of the
198
198
We can configure the properties of this endpoint using a configuration file. In this case, we are configuring the authentication mode of the endpoint to be "key".
199
199
200
200
```python
201
-
endpoint_config = {"auth_mode": "key"}
201
+
endpoint_config = {
202
+
"auth_mode": "key",
203
+
"identity": {
204
+
"type": "system_assigned"
205
+
}
206
+
}
202
207
```
203
208
204
209
Let's write this configuration into a `JSON` file:
@@ -308,6 +313,9 @@ So far, the endpoint is empty. There are no deployments on it. Let's create the
308
313
}
309
314
```
310
315
316
+
> [!NOTE]
317
+
> The full specification of this configuration can be found at [Managed online deployment schema (v2)](reference-yaml-deployment-managed-online.md).
318
+
311
319
Write the configuration to a file:
312
320
313
321
```python
@@ -404,9 +412,7 @@ So far, the endpoint is empty. There are no deployments on it. Let's create the
0 commit comments