Skip to content

Commit e7a57f5

Browse files
authored
Merge pull request #115934 from PeterCLu/plu-update-vnet
Update CLI snippet
2 parents afb0e2a + aba5d99 commit e7a57f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/machine-learning/how-to-enable-virtual-network.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ except:
402402
__Azure CLI__
403403
404404
```azurecli-interactive
405-
az rest --method put --uri https://management.azure.com"/subscriptions/<subscription-id>/resourcegroups/<resource-group>/providers/Microsoft.ContainerService/managedClusters/<aks-resource-id>?api-version=2018-11-19 --body @body.json
405+
az rest --method put --uri https://management.azure.com/subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.MachineLearningServices/workspaces/<workspace>/computes/<compute>?api-version=2018-11-19 --body @body.json
406406
```
407407
408408
The contents of the `body.json` file referenced by the command are similar to the following JSON document:
@@ -411,7 +411,7 @@ The contents of the `body.json` file referenced by the command are similar to th
411411
{
412412
"location": "<region>",
413413
"properties": {
414-
"resourceId": "/subscriptions/<subscription-id>/resourcegroups/<resource-group>/providers/Microsoft.ContainerService/managedClusters/<aks-resource-id>",
414+
"resourceId": "/subscriptions/<subscription-id>/resourcegroups/<resource-group>/providers/Microsoft.ContainerService/managedClusters/<aks-resource-name>",
415415
"computeType": "AKS",
416416
"provisioningState": "Succeeded",
417417
"properties": {

0 commit comments

Comments
 (0)