Skip to content

Commit 2e23388

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into heidist-work
2 parents d926f26 + 51d183c commit 2e23388

9 files changed

+47
-13
lines changed

articles/azure-monitor/logs/daily-cap.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ Until September 18, 2023, some data security-related data types collected [Micro
6969
- Update
7070
- UpdateSummary
7171
- CommonSecurityLog
72+
- Syslog
7273

7374
## Set the daily cap
7475
### Log Analytics workspace

articles/machine-learning/how-to-authenticate-batch-endpoint.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,40 @@ In this case, we want to execute a batch endpoint using the identity of the user
9191
9292
# [REST](#tab/rest)
9393
94-
When working with REST APIs, we recommend to using either a [service principal](#running-jobs-using-a-service-principal) or a [managed identity](#running-jobs-using-a-managed-identity) to interact with the API.
94+
When working with REST, we recommend invoking batch endpoints using a service principal. However, if you want to test a particular deployment using REST with your own credentials, you can do it by generating an Azure AD token for your account. Follow these steps:
95+
96+
1. The simplest way to get a valid token for your user account is to use the Azure CLI. In a console, run the following command:
97+
98+
```azurecli
99+
az account get-access-token --resource https://ml.azure.com --query "accessToken" --output tsv
100+
```
101+
102+
1. Take note of the generated output.
103+
104+
1. Once authenticated, make a request to the invocation URI replacing `<TOKEN>` by the one you obtained before.
105+
106+
__Request__:
107+
108+
```http
109+
POST jobs HTTP/1.1
110+
Host: <ENDPOINT_URI>
111+
Authorization: Bearer <TOKEN>
112+
Content-Type: application/json
113+
```
114+
__Body:__
115+
116+
```json
117+
{
118+
"properties": {
119+
"InputData": {
120+
"mnistinput": {
121+
"JobInputType" : "UriFolder",
122+
"Uri": "https://azuremlexampledata.blob.core.windows.net/data/heart-disease-uci"
123+
}
124+
}
125+
}
126+
}
127+
```
95128
96129
---
97130

articles/machine-learning/how-to-deploy-model-custom-output.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Follow the next steps to create a deployment using the previous scoring script:
154154
155155
# [Azure CLI](#tab/cli)
156156

157-
To create a new deployment under the created endpoint, create a `YAML` configuration like the following:
157+
To create a new deployment under the created endpoint, create a `YAML` configuration like the following. You can check the [full batch endpoint YAML schema](reference-yaml-endpoint-batch.md) for extra properties.
158158

159159
:::code language="yaml" source="~/azureml-examples-batch-pup/cli/endpoints/batch/deploy-models/custom-outputs-parquet/deployment.yml":::
160160

articles/machine-learning/how-to-image-processing-batch.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ One the scoring script is created, it's time to create a batch deployment for it
187187

188188
# [Azure CLI](#tab/cli)
189189

190-
To create a new deployment under the created endpoint, create a `YAML` configuration like the following:
190+
To create a new deployment under the created endpoint, create a `YAML` configuration like the following. You can check the [full batch endpoint YAML schema](reference-yaml-endpoint-batch.md) for extra properties.
191191

192192
:::code language="yaml" source="~/azureml-examples-main/cli/endpoints/batch/deploy-models/imagenet-classifier/deployment-by-file.yml":::
193193

@@ -392,7 +392,7 @@ On those cases, we may want to perform inference on the entire batch of data. Th
392392

393393
# [Azure CLI](#tab/cli)
394394

395-
To create a new deployment under the created endpoint, create a `YAML` configuration like the following:
395+
To create a new deployment under the created endpoint, create a `YAML` configuration like the following. You can check the [full batch endpoint YAML schema](reference-yaml-endpoint-batch.md) for extra properties.
396396

397397
:::code language="yaml" source="~/azureml-examples-main/cli/endpoints/batch/deploy-models/imagenet-classifier/deployment-by-batch.yml":::
398398

articles/machine-learning/how-to-mlflow-batch.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Follow these steps to deploy an MLflow model to a batch endpoint for running bat
115115

116116
# [Azure CLI](#tab/cli)
117117

118-
To create a new deployment under the created endpoint, create a `YAML` configuration like the following:
118+
To create a new deployment under the created endpoint, create a `YAML` configuration like the following. You can check the [full batch endpoint YAML schema](reference-yaml-endpoint-batch.md) for extra properties.
119119

120120
:::code language="yaml" source="~/azureml-examples-batch-pup/cli/endpoints/batch/deploy-models/heart-classifier-mlflow/deployment-simple/deployment.yml" :::
121121

@@ -363,7 +363,7 @@ Use the following steps to deploy an MLflow model with a custom scoring script.
363363

364364
# [Azure CLI](#tab/cli)
365365

366-
To create a new deployment under the created endpoint, create a `YAML` configuration like the following:
366+
To create a new deployment under the created endpoint, create a `YAML` configuration like the following. You can check the [full batch endpoint YAML schema](reference-yaml-endpoint-batch.md) for extra properties.
367367

368368
:::code language="yaml" source="~/azureml-examples-batch-pup/cli/endpoints/batch/deploy-models/heart-classifier-mlflow/deployment-custom/deployment.yml" :::
369369

articles/machine-learning/how-to-nlp-processing-batch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ Let's create the deployment that hosts the model:
214214

215215
# [Azure CLI](#tab/cli)
216216

217-
To create a new deployment under the created endpoint, create a `YAML` configuration like the following:
217+
To create a new deployment under the created endpoint, create a `YAML` configuration like the following. You can check the [full batch endpoint YAML schema](reference-yaml-endpoint-batch.md) for extra properties.
218218

219219
__deployment.yml__
220220

articles/machine-learning/how-to-use-batch-pipeline-deployments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ To deploy the pipeline component, we have to create a batch deployment. A deploy
135135

136136
# [Azure CLI](#tab/cli)
137137

138-
The `deployment.yml` file contains the deployment's configuration.
138+
The `deployment.yml` file contains the deployment's configuration. You can check the [full batch endpoint YAML schema](reference-yaml-endpoint-batch.md) for extra properties.
139139

140140
__deployment.yml__
141141

articles/machine-learning/how-to-use-batch-scoring-pipeline.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ To deploy the pipeline component, we have to create a batch deployment. A deploy
273273

274274
# [Azure CLI](#tab/cli)
275275

276-
The `deployment.yml` file contains the deployment's configuration.
276+
The `deployment.yml` file contains the deployment's configuration. You can check the [full batch endpoint YAML schema](reference-yaml-endpoint-batch.md) for extra properties.
277277

278278
__deployment.yml__
279279

@@ -431,4 +431,4 @@ ml_client.compute.begin_delete(name="batch-cluster")
431431

432432
- [Create batch endpoints from pipeline jobs (preview)](how-to-use-batch-pipeline-from-job.md)
433433
- [Accessing data from batch endpoints jobs](how-to-access-data-batch-endpoints-jobs.md)
434-
- [Troubleshooting batch endpoints](how-to-troubleshoot-batch-endpoints.md)
434+
- [Troubleshooting batch endpoints](how-to-troubleshoot-batch-endpoints.md)

articles/machine-learning/how-to-use-batch-training-pipeline.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ To deploy the pipeline component, we have to create a batch deployment. A deploy
257257

258258
# [Azure CLI](#tab/cli)
259259

260-
The `deployment-ordinal/deployment.yml` file contains the deployment's configuration.
260+
The `deployment-ordinal/deployment.yml` file contains the deployment's configuration. You can check the [full batch endpoint YAML schema](reference-yaml-endpoint-batch.md) for extra properties.
261261

262262
__deployment-ordinal/deployment.yml__
263263

@@ -401,7 +401,7 @@ By default, we used `ordinal` previously. Let's now change the categorical encod
401401

402402
# [Azure CLI](#tab/cli)
403403

404-
The `deployment-onehot/deployment.yml` file contains the deployment's configuration.
404+
The `deployment-onehot/deployment.yml` file contains the deployment's configuration. You can check the [full batch endpoint YAML schema](reference-yaml-endpoint-batch.md) for extra properties.
405405

406406
__deployment-onehot/deployment.yml__
407407

@@ -527,4 +527,4 @@ ml_client.compute.begin_delete(name="batch-cluster")
527527
- [How to deploy a pipeline to perform batch scoring with preprocessing (preview)](how-to-use-batch-scoring-pipeline.md)
528528
- [Create batch endpoints from pipeline jobs (preview)](how-to-use-batch-pipeline-from-job.md)
529529
- [Accessing data from batch endpoints jobs](how-to-access-data-batch-endpoints-jobs.md)
530-
- [Troubleshooting batch endpoints](how-to-troubleshoot-batch-endpoints.md)
530+
- [Troubleshooting batch endpoints](how-to-troubleshoot-batch-endpoints.md)

0 commit comments

Comments
 (0)