Skip to content

Commit 4c548ad

Browse files
committed
update help files
1 parent 85688f9 commit 4c548ad

File tree

2 files changed

+39
-17
lines changed

2 files changed

+39
-17
lines changed

src/Batch/Batch/help/New-AzBatchAccount.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ The public network access type
237237
Type: Microsoft.Azure.Management.Batch.Models.PublicNetworkAccessType
238238
Parameter Sets: (All)
239239
Aliases:
240-
Accepted values: Enabled, Disabled
240+
Accepted values: Enabled, Disabled, SecuredByPerimeter
241241

242242
Required: False
243243
Position: Named

src/Batch/Batch/help/New-AzBatchPool.md

Lines changed: 38 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,50 @@ Creates a pool in the Batch service.
1313

1414
## SYNTAX
1515

16-
### VirtualMachineAndTargetDedicated (Default)
16+
### CloudServiceAndTargetDedicated (Default)
1717
```
1818
New-AzBatchPool [-Id] <String> -VirtualMachineSize <String> [-DisplayName <String>] [-ResizeTimeout <TimeSpan>]
1919
[-TargetDedicatedComputeNodes <Int32>] [-TargetLowPriorityComputeNodes <Int32>] [-TaskSlotsPerNode <Int32>]
20-
[-UpgradePolicy <PSUpgradePolicy>] [-TaskSchedulingPolicy <PSTaskSchedulingPolicy>]
21-
[-Metadata <IDictionary>] [-InterComputeNodeCommunicationEnabled]
22-
[-StartTask <PSStartTask>] [-ApplicationPackageReferences <PSApplicationPackageReference[]>]
20+
[-UpgradePolicy <PSUpgradePolicy>] [-TaskSchedulingPolicy <PSTaskSchedulingPolicy>] [-Metadata <IDictionary>]
21+
[-InterComputeNodeCommunicationEnabled] [-StartTask <PSStartTask>]
22+
[-ApplicationPackageReferences <PSApplicationPackageReference[]>]
23+
[-NetworkConfiguration <PSNetworkConfiguration>] [-MountConfiguration <PSMountConfiguration[]>]
24+
[-UserAccount <PSUserAccount[]>] -BatchContext <BatchAccountContext>
25+
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
26+
```
27+
28+
### VirtualMachineAndTargetDedicated
29+
```
30+
New-AzBatchPool [-Id] <String> -VirtualMachineSize <String> [-DisplayName <String>] [-ResizeTimeout <TimeSpan>]
31+
[-TargetDedicatedComputeNodes <Int32>] [-TargetLowPriorityComputeNodes <Int32>] [-TaskSlotsPerNode <Int32>]
32+
[-UpgradePolicy <PSUpgradePolicy>] [-TaskSchedulingPolicy <PSTaskSchedulingPolicy>] [-Metadata <IDictionary>]
33+
[-InterComputeNodeCommunicationEnabled] [-StartTask <PSStartTask>]
34+
[-ApplicationPackageReferences <PSApplicationPackageReference[]>]
2335
[-VirtualMachineConfiguration <PSVirtualMachineConfiguration>]
2436
[-NetworkConfiguration <PSNetworkConfiguration>] [-MountConfiguration <PSMountConfiguration[]>]
25-
[-UserAccount <PSUserAccount[]>] -BatchContext <BatchAccountContext>
37+
[-UserAccount <PSUserAccount[]>] -BatchContext <BatchAccountContext>
38+
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
39+
```
40+
41+
### CloudServiceAndAutoScale
42+
```
43+
New-AzBatchPool [-Id] <String> -VirtualMachineSize <String> [-DisplayName <String>]
44+
[-AutoScaleEvaluationInterval <TimeSpan>] [-AutoScaleFormula <String>] [-TaskSlotsPerNode <Int32>]
45+
[-UpgradePolicy <PSUpgradePolicy>] [-TaskSchedulingPolicy <PSTaskSchedulingPolicy>] [-Metadata <IDictionary>]
46+
[-InterComputeNodeCommunicationEnabled] [-StartTask <PSStartTask>]
47+
[-ApplicationPackageReferences <PSApplicationPackageReference[]>]
48+
[-NetworkConfiguration <PSNetworkConfiguration>] [-MountConfiguration <PSMountConfiguration[]>]
49+
[-UserAccount <PSUserAccount[]>] -BatchContext <BatchAccountContext>
2650
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
2751
```
2852

2953
### VirtualMachineAndAutoScale
3054
```
3155
New-AzBatchPool [-Id] <String> -VirtualMachineSize <String> [-DisplayName <String>]
3256
[-AutoScaleEvaluationInterval <TimeSpan>] [-AutoScaleFormula <String>] [-TaskSlotsPerNode <Int32>]
33-
[-UpgradePolicy <PSUpgradePolicy>] [-TaskSchedulingPolicy <PSTaskSchedulingPolicy>]
34-
[-Metadata <IDictionary>] [-InterComputeNodeCommunicationEnabled]
35-
[-StartTask <PSStartTask>] [-ApplicationPackageReferences <PSApplicationPackageReference[]>]
57+
[-UpgradePolicy <PSUpgradePolicy>] [-TaskSchedulingPolicy <PSTaskSchedulingPolicy>] [-Metadata <IDictionary>]
58+
[-InterComputeNodeCommunicationEnabled] [-StartTask <PSStartTask>]
59+
[-ApplicationPackageReferences <PSApplicationPackageReference[]>]
3660
[-VirtualMachineConfiguration <PSVirtualMachineConfiguration>]
3761
[-NetworkConfiguration <PSNetworkConfiguration>] [-MountConfiguration <PSMountConfiguration[]>]
3862
[-UserAccount <PSUserAccount[]>] -BatchContext <BatchAccountContext>
@@ -44,8 +68,6 @@ The **New-AzBatchPool** cmdlet creates a pool in the Azure Batch service under t
4468

4569
## EXAMPLES
4670

47-
The pool is configured to use STANDARD_D1_V2 virtual machines with operating system version of family four.
48-
4971
### Example 1: Create a new pool using the TargetDedicated parameter set using VirtualMachineConfiguration
5072
```powershell
5173
$imageReference = New-Object -TypeName "Microsoft.Azure.Commands.Batch.Models.PSImageReference" -ArgumentList @("WindowsServer", "MicrosoftWindowsServer", "2016-Datacenter", "*")
@@ -105,7 +127,7 @@ The default value is 15 minutes, and the minimum value is 5 minutes.
105127
106128
```yaml
107129
Type: System.Nullable`1[System.TimeSpan]
108-
Parameter Sets: VirtualMachineAndAutoScale
130+
Parameter Sets: CloudServiceAndAutoScale, VirtualMachineAndAutoScale
109131
Aliases:
110132

111133
Required: False
@@ -120,7 +142,7 @@ Specifies the formula for automatically scaling the pool.
120142
121143
```yaml
122144
Type: System.String
123-
Parameter Sets: VirtualMachineAndAutoScale
145+
Parameter Sets: CloudServiceAndAutoScale, VirtualMachineAndAutoScale
124146
Aliases:
125147

126148
Required: False
@@ -258,7 +280,7 @@ Specifies the time-out for allocating compute nodes to the pool.
258280
259281
```yaml
260282
Type: System.Nullable`1[System.TimeSpan]
261-
Parameter Sets: VirtualMachineAndTargetDedicated
283+
Parameter Sets: CloudServiceAndTargetDedicated, VirtualMachineAndTargetDedicated
262284
Aliases:
263285

264286
Required: False
@@ -289,7 +311,7 @@ Specifies the target number of dedicated compute nodes to allocate to the pool.
289311
290312
```yaml
291313
Type: System.Nullable`1[System.Int32]
292-
Parameter Sets: VirtualMachineAndTargetDedicated
314+
Parameter Sets: CloudServiceAndTargetDedicated, VirtualMachineAndTargetDedicated
293315
Aliases: TargetDedicated
294316

295317
Required: False
@@ -304,7 +326,7 @@ Specifies the target number of low-priority compute nodes to allocate to the poo
304326
305327
```yaml
306328
Type: System.Nullable`1[System.Int32]
307-
Parameter Sets: VirtualMachineAndTargetDedicated
329+
Parameter Sets: CloudServiceAndTargetDedicated, VirtualMachineAndTargetDedicated
308330
Aliases:
309331

310332
Required: False
@@ -458,4 +480,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
458480
459481
[Remove-AzBatchPool](./Remove-AzBatchPool.md)
460482
461-
[Azure Batch Cmdlets](/powershell/module/Az.Batch/)
483+
[Azure Batch Cmdlets](/powershell/module/Az.Batch/)

0 commit comments

Comments
 (0)