Skip to content

Commit 9b56011

Browse files
committed
Update manifest script and help files
update help files Fixed help file
1 parent de4d638 commit 9b56011

File tree

5 files changed

+141
-26
lines changed

5 files changed

+141
-26
lines changed

src/Batch/Batch/Az.Batch.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ CmdletsToExport = 'Remove-AzBatchAccount', 'Get-AzBatchAccount',
110110
'Remove-AzBatchComputeNodeUser', 'Enable-AzBatchTask',
111111
'Set-AzBatchTask', 'Stop-AzBatchTask', 'Get-AzBatchComputeNode',
112112
'Get-AzBatchJobSchedule', 'New-AzBatchJobSchedule',
113-
'Remove-AzBatchJobSchedule', 'Get-AzBatchTaskCount',
113+
'Remove-AzBatchJobSchedule', 'Get-AzBatchTaskCount', 'Get-AzBatchTaskCounts',
114114
'Get-AzBatchPoolNodeCount',
115115
'Start-AzBatchComputeNodeServiceLogUpload',
116116
'New-AzBatchResourceFile',
117-
'Get-AzBatchSupportedVirtualMachineSkus'
117+
'Get-AzBatchSupportedVirtualMachineSkus', 'Get-AzBatchTaskSlotCounts'
118118

119119
# Variables to export from this module
120120
# VariablesToExport = @()

src/Batch/Batch/help/Az.Batch.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,16 @@ Gets the subtask information of the specified task.
101101
### [Get-AzBatchSupportedImage](Get-AzBatchSupportedImage.md)
102102
Gets Batch supported images for a Batch account.
103103

104+
### [Get-AzBatchSupportedVirtualMachineSkus](Get-AzBatchSupportedVirtualMachineSkus.md)
105+
Gets the supported Skus for a given virtual machine.
106+
104107
### [Get-AzBatchTask](Get-AzBatchTask.md)
105108
Gets the Batch tasks for a job.
106109

107-
### [Get-AzBatchTaskCounts](Get-AzBatchTaskCount.md)
110+
### [Get-AzBatchTaskCounts](Get-AzBatchTaskCounts.md)
108111
Gets the task counts for the specified job.
109112

110-
### [Get-AzBatchTaskSlotCounts](Get-AzBatchTaskCount.md)
113+
### [Get-AzBatchTaskSlotCounts](Get-AzBatchTaskSlotCounts.md)
111114
Gets the task slot counts for the specified job.
112115

113116
### [New-AzBatchAccount](New-AzBatchAccount.md)
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
---
2+
external help file: Microsoft.Azure.PowerShell.Cmdlets.Batch.dll-Help.xml
3+
Module Name: Az.Batch
4+
online version: https://docs.microsoft.com/powershell/module/az.batch/get-azbatchsupportedvirtualmachineskus
5+
schema: 2.0.0
6+
---
7+
8+
# Get-AzBatchSupportedVirtualMachineSkus
9+
10+
## SYNOPSIS
11+
Gets the supported Skus for a given virtual machine.
12+
13+
## SYNTAX
14+
15+
```
16+
Get-AzBatchSupportedVirtualMachineSkus [-Location] <String> [[-MaxResults] <Int32>] [[-Filter] <String>]
17+
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
18+
```
19+
20+
## DESCRIPTION
21+
{{ Fill in the Description }}
22+
23+
## EXAMPLES
24+
25+
### Example 1
26+
```powershell
27+
PS C:\> {{ Add example code here }}
28+
```
29+
30+
{{ Add example description here }}
31+
32+
## PARAMETERS
33+
34+
### -DefaultProfile
35+
The credentials, account, tenant, and subscription used for communication with Azure.
36+
37+
```yaml
38+
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
39+
Parameter Sets: (All)
40+
Aliases: AzContext, AzureRmContext, AzureCredential
41+
42+
Required: False
43+
Position: Named
44+
Default value: None
45+
Accept pipeline input: False
46+
Accept wildcard characters: False
47+
```
48+
49+
### -Filter
50+
OData filter expression.
51+
Valid properties for filtering are "familyName".
52+
53+
```yaml
54+
Type: System.String
55+
Parameter Sets: (All)
56+
Aliases:
57+
58+
Required: False
59+
Position: 2
60+
Default value: None
61+
Accept pipeline input: True (ByPropertyName)
62+
Accept wildcard characters: False
63+
```
64+
65+
### -Location
66+
The region to get the supported SKUs from.
67+
68+
```yaml
69+
Type: System.String
70+
Parameter Sets: (All)
71+
Aliases:
72+
73+
Required: True
74+
Position: 0
75+
Default value: None
76+
Accept pipeline input: True (ByPropertyName)
77+
Accept wildcard characters: False
78+
```
79+
80+
### -MaxResults
81+
The maximum number of items to return in the response.
82+
83+
```yaml
84+
Type: System.Nullable`1[System.Int32]
85+
Parameter Sets: (All)
86+
Aliases:
87+
88+
Required: False
89+
Position: 1
90+
Default value: None
91+
Accept pipeline input: True (ByPropertyName)
92+
Accept wildcard characters: False
93+
```
94+
95+
### CommonParameters
96+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
97+
98+
## INPUTS
99+
100+
### System.String
101+
102+
### System.Nullable`1[[System.Int32, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]
103+
104+
## OUTPUTS
105+
106+
### Microsoft.Azure.Commands.Batch.Models.PSSupportedSku
107+
108+
## NOTES
109+
110+
## RELATED LINKS

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ This command creates a Batch account named pfuller using the ResourceGroup03 res
4646
Creates a Batch account. (autogenerated)
4747

4848
<!-- Aladdin Generated Example -->
49+
50+
4951
```powershell
5052
New-AzBatchAccount -AccountName 'pfuller' -AutoStorageAccountId <String> -Location 'WestUS' -ResourceGroupName 'ResourceGroup03'
5153
```
@@ -105,7 +107,7 @@ The identity associated with the BatchAccount
105107
Type: Microsoft.Azure.Management.Batch.Models.ResourceIdentityType
106108
Parameter Sets: (All)
107109
Aliases:
108-
Accepted values: SystemAssigned, None
110+
Accepted values: SystemAssigned, UserAssigned, None
109111

110112
Required: False
111113
Position: Named

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

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ Creates a pool in the Batch service.
1616
### CloudServiceAndTargetDedicated (Default)
1717
```
1818
New-AzBatchPool [-Id] <String> -VirtualMachineSize <String> [-DisplayName <String>] [-ResizeTimeout <TimeSpan>]
19-
[-TargetDedicatedComputeNodes <Int32>] [-TargetLowPriorityComputeNodes <Int32>]
20-
[-MaxTasksPerComputeNode <Int32>] [-TaskSchedulingPolicy <PSTaskSchedulingPolicy>] [-Metadata <IDictionary>]
19+
[-TargetDedicatedComputeNodes <Int32>] [-TargetLowPriorityComputeNodes <Int32>] [-TaskSlotsPerNode <Int32>]
20+
[-TaskSchedulingPolicy <PSTaskSchedulingPolicy>] [-Metadata <IDictionary>]
2121
[-InterComputeNodeCommunicationEnabled] [-StartTask <PSStartTask>]
2222
[-CertificateReferences <PSCertificateReference[]>]
2323
[-ApplicationPackageReferences <PSApplicationPackageReference[]>]
@@ -31,8 +31,8 @@ New-AzBatchPool [-Id] <String> -VirtualMachineSize <String> [-DisplayName <Strin
3131
### VirtualMachineAndTargetDedicated
3232
```
3333
New-AzBatchPool [-Id] <String> -VirtualMachineSize <String> [-DisplayName <String>] [-ResizeTimeout <TimeSpan>]
34-
[-TargetDedicatedComputeNodes <Int32>] [-TargetLowPriorityComputeNodes <Int32>]
35-
[-MaxTasksPerComputeNode <Int32>] [-TaskSchedulingPolicy <PSTaskSchedulingPolicy>] [-Metadata <IDictionary>]
34+
[-TargetDedicatedComputeNodes <Int32>] [-TargetLowPriorityComputeNodes <Int32>] [-TaskSlotsPerNode <Int32>]
35+
[-TaskSchedulingPolicy <PSTaskSchedulingPolicy>] [-Metadata <IDictionary>]
3636
[-InterComputeNodeCommunicationEnabled] [-StartTask <PSStartTask>]
3737
[-CertificateReferences <PSCertificateReference[]>]
3838
[-ApplicationPackageReferences <PSApplicationPackageReference[]>]
@@ -46,7 +46,7 @@ New-AzBatchPool [-Id] <String> -VirtualMachineSize <String> [-DisplayName <Strin
4646
### CloudServiceAndAutoScale
4747
```
4848
New-AzBatchPool [-Id] <String> -VirtualMachineSize <String> [-DisplayName <String>]
49-
[-AutoScaleEvaluationInterval <TimeSpan>] [-AutoScaleFormula <String>] [-MaxTasksPerComputeNode <Int32>]
49+
[-AutoScaleEvaluationInterval <TimeSpan>] [-AutoScaleFormula <String>] [-TaskSlotsPerNode <Int32>]
5050
[-TaskSchedulingPolicy <PSTaskSchedulingPolicy>] [-Metadata <IDictionary>]
5151
[-InterComputeNodeCommunicationEnabled] [-StartTask <PSStartTask>]
5252
[-CertificateReferences <PSCertificateReference[]>]
@@ -61,7 +61,7 @@ New-AzBatchPool [-Id] <String> -VirtualMachineSize <String> [-DisplayName <Strin
6161
### VirtualMachineAndAutoScale
6262
```
6363
New-AzBatchPool [-Id] <String> -VirtualMachineSize <String> [-DisplayName <String>]
64-
[-AutoScaleEvaluationInterval <TimeSpan>] [-AutoScaleFormula <String>] [-MaxTasksPerComputeNode <Int32>]
64+
[-AutoScaleEvaluationInterval <TimeSpan>] [-AutoScaleFormula <String>] [-TaskSlotsPerNode <Int32>]
6565
[-TaskSchedulingPolicy <PSTaskSchedulingPolicy>] [-Metadata <IDictionary>]
6666
[-InterComputeNodeCommunicationEnabled] [-StartTask <PSStartTask>]
6767
[-CertificateReferences <PSCertificateReference[]>]
@@ -292,21 +292,6 @@ Accept pipeline input: False
292292
Accept wildcard characters: False
293293
```
294294
295-
### -MaxTasksPerComputeNode
296-
Specifies the maximum number of tasks that can run on a single compute node.
297-
298-
```yaml
299-
Type: System.Nullable`1[System.Int32]
300-
Parameter Sets: (All)
301-
Aliases:
302-
303-
Required: False
304-
Position: Named
305-
Default value: None
306-
Accept pipeline input: False
307-
Accept wildcard characters: False
308-
```
309-
310295
### -Metadata
311296
Specifies the metadata, as key/value pairs, to add to the new pool.
312297
The key is the metadata name.
@@ -430,6 +415,21 @@ Accept pipeline input: False
430415
Accept wildcard characters: False
431416
```
432417
418+
### -TaskSlotsPerNode
419+
{{ Fill TaskSlotsPerNode Description }}
420+
421+
```yaml
422+
Type: System.Nullable`1[System.Int32]
423+
Parameter Sets: (All)
424+
Aliases:
425+
426+
Required: False
427+
Position: Named
428+
Default value: None
429+
Accept pipeline input: False
430+
Accept wildcard characters: False
431+
```
432+
433433
### -UserAccount
434434
The list of user accounts to be created on each node in the pool.
435435

0 commit comments

Comments
 (0)