Skip to content

Commit 64a23b2

Browse files
Merge pull request #285672 from Padmalathas/SFI_Wave2_ROPC_Fixes
SFI_Wave2_ROPC_Batch_Fixes
2 parents ba56b08 + 3aa783e commit 64a23b2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/batch/batch-user-accounts.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Run tasks under user accounts
33
description: Learn the types of user accounts and how to configure them.
44
ms.topic: how-to
5-
ms.date: 05/16/2023
5+
ms.date: 08/27/2024
66
ms.custom:
77
ms.devlang: csharp
88
# ms.devlang: csharp, java, python
@@ -159,8 +159,8 @@ pool = batchClient.PoolOperations.CreatePool(
159159
// Add named user accounts.
160160
pool.UserAccounts = new List<UserAccount>
161161
{
162-
new UserAccount("adminUser", "xyz123", ElevationLevel.Admin),
163-
new UserAccount("nonAdminUser", "123xyz", ElevationLevel.NonAdmin),
162+
new UserAccount("adminUser", "A1bC2d", ElevationLevel.Admin),
163+
new UserAccount("nonAdminUser", "A1bC2d", ElevationLevel.NonAdmin),
164164
};
165165

166166
// Commit the pool.
@@ -208,7 +208,7 @@ pool.UserAccounts = new List<UserAccount>
208208
{
209209
new UserAccount(
210210
name: "adminUser",
211-
password: "xyz123",
211+
password: "A1bC2d",
212212
elevationLevel: ElevationLevel.Admin,
213213
linuxUserConfiguration: new LinuxUserConfiguration(
214214
uid: 12345,
@@ -217,7 +217,7 @@ pool.UserAccounts = new List<UserAccount>
217217
)),
218218
new UserAccount(
219219
name: "nonAdminUser",
220-
password: "123xyz",
220+
password: "A1bC2d",
221221
elevationLevel: ElevationLevel.NonAdmin,
222222
linuxUserConfiguration: new LinuxUserConfiguration(
223223
uid: 45678,
@@ -251,11 +251,11 @@ batchClient.poolOperations().createPool(addParameter);
251251
users = [
252252
batchmodels.UserAccount(
253253
name='pool-admin',
254-
password='******',
254+
password='A1bC2d',
255255
elevation_level=batchmodels.ElevationLevel.admin)
256256
batchmodels.UserAccount(
257257
name='pool-nonadmin',
258-
password='******',
258+
password='A1bC2d',
259259
elevation_level=batchmodels.ElevationLevel.non_admin)
260260
]
261261
pool = batchmodels.PoolAddParameter(

0 commit comments

Comments
 (0)