@@ -15,27 +15,28 @@ Creates a pool in the Batch service.
15
15
### CloudServiceAndTargetDedicated (Default)
16
16
```
17
17
New-AzureBatchPool [-Id] <String> -VirtualMachineSize <String> [-DisplayName <String>]
18
- [-ResizeTimeout <TimeSpan>] [-TargetDedicated <Int32>] [-MaxTasksPerComputeNode <Int32>]
19
- [-TaskSchedulingPolicy <PSTaskSchedulingPolicy>] [-Metadata <IDictionary>]
18
+ [-ResizeTimeout <TimeSpan>] [-TargetDedicatedComputeNodes <Int32>] [-TargetLowPriorityComputeNodes <Int32>]
19
+ [-MaxTasksPerComputeNode <Int32>] [- TaskSchedulingPolicy <PSTaskSchedulingPolicy>] [-Metadata <IDictionary>]
20
20
[-InterComputeNodeCommunicationEnabled] [-StartTask <PSStartTask>]
21
21
[-CertificateReferences <PSCertificateReference[]>]
22
22
[-ApplicationPackageReferences <PSApplicationPackageReference[]>]
23
23
[-CloudServiceConfiguration <PSCloudServiceConfiguration>] [-NetworkConfiguration <PSNetworkConfiguration>]
24
- -BatchContext <BatchAccountContext> [-DefaultProfile <IAzureContextContainer >] [-WhatIf] [-Confirm]
25
- [<CommonParameters>]
24
+ [-UserAccounts <PSUserAccount[] >] -BatchContext <BatchAccountContext>
25
+ [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [ <CommonParameters>]
26
26
```
27
27
28
28
### VirtualMachineAndTargetDedicated
29
29
```
30
30
New-AzureBatchPool [-Id] <String> -VirtualMachineSize <String> [-DisplayName <String>]
31
- [-ResizeTimeout <TimeSpan>] [-TargetDedicated <Int32>] [-MaxTasksPerComputeNode <Int32>]
32
- [-TaskSchedulingPolicy <PSTaskSchedulingPolicy>] [-Metadata <IDictionary>]
31
+ [-ResizeTimeout <TimeSpan>] [-TargetDedicatedComputeNodes <Int32>] [-TargetLowPriorityComputeNodes <Int32>]
32
+ [-MaxTasksPerComputeNode <Int32>] [- TaskSchedulingPolicy <PSTaskSchedulingPolicy>] [-Metadata <IDictionary>]
33
33
[-InterComputeNodeCommunicationEnabled] [-StartTask <PSStartTask>]
34
34
[-CertificateReferences <PSCertificateReference[]>]
35
35
[-ApplicationPackageReferences <PSApplicationPackageReference[]>]
36
36
[-VirtualMachineConfiguration <PSVirtualMachineConfiguration>]
37
- [-NetworkConfiguration <PSNetworkConfiguration>] -BatchContext <BatchAccountContext>
38
- [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
37
+ [-NetworkConfiguration <PSNetworkConfiguration>] [-UserAccounts <PSUserAccount[]>]
38
+ -BatchContext <BatchAccountContext> [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
39
+ [<CommonParameters>]
39
40
```
40
41
41
42
### CloudServiceAndAutoScale
@@ -47,8 +48,8 @@ New-AzureBatchPool [-Id] <String> -VirtualMachineSize <String> [-DisplayName <St
47
48
[-CertificateReferences <PSCertificateReference[]>]
48
49
[-ApplicationPackageReferences <PSApplicationPackageReference[]>]
49
50
[-CloudServiceConfiguration <PSCloudServiceConfiguration>] [-NetworkConfiguration <PSNetworkConfiguration>]
50
- -BatchContext <BatchAccountContext> [-DefaultProfile <IAzureContextContainer >] [-WhatIf] [-Confirm]
51
- [<CommonParameters>]
51
+ [-UserAccounts <PSUserAccount[] >] -BatchContext <BatchAccountContext>
52
+ [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [ <CommonParameters>]
52
53
```
53
54
54
55
### VirtualMachineAndAutoScale
@@ -60,8 +61,9 @@ New-AzureBatchPool [-Id] <String> -VirtualMachineSize <String> [-DisplayName <St
60
61
[-CertificateReferences <PSCertificateReference[]>]
61
62
[-ApplicationPackageReferences <PSApplicationPackageReference[]>]
62
63
[-VirtualMachineConfiguration <PSVirtualMachineConfiguration>]
63
- [-NetworkConfiguration <PSNetworkConfiguration>] -BatchContext <BatchAccountContext>
64
- [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
64
+ [-NetworkConfiguration <PSNetworkConfiguration>] [-UserAccounts <PSUserAccount[]>]
65
+ -BatchContext <BatchAccountContext> [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
66
+ [<CommonParameters>]
65
67
```
66
68
67
69
## DESCRIPTION
@@ -71,7 +73,7 @@ The **New-AzureBatchPool** cmdlet creates a pool in the Azure Batch service unde
71
73
72
74
### Example 1: Create a new pool using the TargetDedicated parameter set
73
75
```
74
- PS C:\>New-AzureBatchPool -Id "MyPool" -VirtualMachineSize "Small" -OSFamily "4" -TargetOSVersion "*" -TargetDedicated 3 -BatchContext $Context
76
+ PS C:\>New-AzureBatchPool -Id "MyPool" -VirtualMachineSize "Small" -OSFamily "4" -TargetOSVersion "*" -TargetDedicatedComputeNodes 3 -BatchContext $Context
75
77
```
76
78
77
79
This command creates a new pool with ID MyPool using the TargetDedicated parameter set.
@@ -313,8 +315,23 @@ Accept pipeline input: False
313
315
Accept wildcard characters : False
314
316
` ` `
315
317
316
- ### -TargetDedicated
317
- Specifies the target number of compute nodes to allocate to the pool.
318
+ ### -TargetDedicatedComputeNodes
319
+ Specifies the target number of dedicated compute nodes to allocate to the pool.
320
+
321
+ ` ` ` yaml
322
+ Type : Int32
323
+ Parameter Sets : CloudServiceAndTargetDedicated, VirtualMachineAndTargetDedicated
324
+ Aliases : TargetDedicated
325
+
326
+ Required : False
327
+ Position : Named
328
+ Default value : None
329
+ Accept pipeline input : False
330
+ Accept wildcard characters : False
331
+ ` ` `
332
+
333
+ ### -TargetLowPriorityComputeNodes
334
+ Specifies the target number of low-priority compute nodes to allocate to the pool.
318
335
319
336
` ` ` yaml
320
337
Type : Int32
@@ -343,6 +360,21 @@ Accept pipeline input: False
343
360
Accept wildcard characters : False
344
361
` ` `
345
362
363
+ ### -UserAccounts
364
+ The list of user accounts to be created on each node in the pool.
365
+
366
+ ` ` ` yaml
367
+ Type : PSUserAccount[]
368
+ Parameter Sets : (All)
369
+ Aliases :
370
+
371
+ Required : False
372
+ Position : Named
373
+ Default value : None
374
+ Accept pipeline input : False
375
+ Accept wildcard characters : False
376
+ ` ` `
377
+
346
378
### -VirtualMachineConfiguration
347
379
Specifies configuration settings for a pool on the virtual machines infrastructure.
348
380
0 commit comments