Skip to content

Commit 511831e

Browse files
Merge pull request #285203 from Blackmist/291242-password
removing optional password field
2 parents 690c064 + ce79ec6 commit 511831e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

articles/machine-learning/how-to-manage-rest.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.reviewer: deeikele
88
services: machine-learning
99
ms.service: azure-machine-learning
1010
ms.subservice: enterprise-readiness
11-
ms.date: 02/02/2024
11+
ms.date: 08/21/2024
1212
ms.topic: how-to
1313
ms.custom:
1414
---
@@ -238,7 +238,7 @@ providers/Microsoft.MachineLearningServices/workspaces/<YOUR-WORKSPACE-NAME>/com
238238
-H "Authorization:Bearer <YOUR-ACCESS-TOKEN>"
239239
```
240240

241-
To create or overwrite a named compute resource, you'll use a PUT request. In the following, in addition to the now-familiar replacements of `YOUR-SUBSCRIPTION-ID`, `YOUR-RESOURCE-GROUP`, `YOUR-WORKSPACE-NAME`, and `YOUR-ACCESS-TOKEN`, replace `YOUR-COMPUTE-NAME`, and values for `location`, `vmSize`, `vmPriority`, `scaleSettings`, `adminUserName`, and `adminUserPassword`. The following command creates a dedicated, single-node Standard_D1 (a basic CPU compute resource) that will scale down after 30 minutes:
241+
To create or overwrite a named compute resource, you'll use a PUT request. In the following example, in addition to the now-familiar replacements of `YOUR-SUBSCRIPTION-ID`, `YOUR-RESOURCE-GROUP`, `YOUR-WORKSPACE-NAME`, and `YOUR-ACCESS-TOKEN`, replace `YOUR-COMPUTE-NAME`, and values for `location`, `vmSize`, `vmPriority`, and `scaleSettings`. The following command creates a dedicated, single-node Standard_D1 (a basic CPU compute resource) that will scale down after 30 minutes:
242242

243243
```bash
244244
curl -X PUT \
@@ -258,10 +258,6 @@ curl -X PUT \
258258
"nodeIdleTimeBeforeScaleDown": "PT30M"
259259
}
260260
}
261-
},
262-
"userAccountCredentials": {
263-
"adminUserName": "<ADMIN_USERNAME>",
264-
"adminUserPassword": "<ADMIN_PASSWORD>"
265261
}
266262
}'
267263
```

0 commit comments

Comments
 (0)