Skip to content

Commit 412d49d

Browse files
Merge pull request #229244 from Naveenommi-MSFT/patch-30
(AzureCXP) fixes MicrosoftDocs/azure-docs#105847
2 parents 91b057e + 9432f73 commit 412d49d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ A deployment is a set of resources required for hosting the model that does the
415415
416416
Run the following code to create a batch deployment under the batch endpoint and set it as the default deployment.
417417
418-
:::code language="azurecli" source="~/azureml-examples-main/cli/batch-score.sh" ID="create_batch_deployment_set_default" :::
418+
::: az ml batch-deployment create --file mnist-torch-deployment.yml --endpoint-name $ENDPOINT_NAME --set-default :::
419419
420420
> [!TIP]
421421
> The `--set-default` parameter sets the newly created deployment as the default deployment of the endpoint. It's a convenient way to create a new default deployment of the endpoint, especially for the first deployment creation. As a best practice for production scenarios, you may want to create a new deployment without setting it as default, verify it, and update the default deployment later. For more information, see the [Deploy a new model](#adding-deployments-to-an-endpoint) section.

0 commit comments

Comments
 (0)