Skip to content

Commit dc43fd2

Browse files
committed
Add exceptions for expected breaking changes
1 parent 521e91a commit dc43fd2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tools/StaticAnalysis/Exceptions/Az.Batch/BreakingChangeIssues.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,3 +117,4 @@
117117
"Microsoft.Azure.PowerShell.Cmdlets.Batch.dll","Microsoft.Azure.Commands.Batch.SetBatchTaskCommand","Set-AzBatchTask","0","3010","The property 'CoreQuota' of type 'Microsoft.Azure.Commands.Batch.BatchAccountContext' has been removed.","Add the property 'CoreQuota' back to type 'Microsoft.Azure.Commands.Batch.BatchAccountContext'."
118118
"Microsoft.Azure.PowerShell.Cmdlets.Batch.dll","Microsoft.Azure.Commands.Batch.StopBatchTaskCommand","Stop-AzBatchTask","0","3000","The type of property 'EnvironmentSettings' of type 'Microsoft.Azure.Commands.Batch.Models.PSCloudTask' has changed from 'System.Collections.Generic.IList`1[Microsoft.Azure.Commands.Batch.Models.PSEnvironmentSetting]' to 'System.Collections.IDictionary'.","Change the type of property 'EnvironmentSettings' back to 'System.Collections.Generic.IList`1[Microsoft.Azure.Commands.Batch.Models.PSEnvironmentSetting]'."
119119
"Microsoft.Azure.PowerShell.Cmdlets.Batch.dll","Microsoft.Azure.Commands.Batch.StopBatchTaskCommand","Stop-AzBatchTask","0","3010","The property 'CoreQuota' of type 'Microsoft.Azure.Commands.Batch.BatchAccountContext' has been removed.","Add the property 'CoreQuota' back to type 'Microsoft.Azure.Commands.Batch.BatchAccountContext'."
120+
"Microsoft.Azure.PowerShell.Cmdlets.Batch.dll","Microsoft.Azure.Commands.Batch.GetBatchAccountNodeAgentSkuCommand","Get-AzBatchNodeAgentSku","0","1000","The cmdlet 'Get-AzBatchNodeAgentSku' has been removed and no alias was found for the original cmdlet name.","Add the cmdlet 'Get-AzBatchNodeAgentSku' back to the module, or add an alias to the original cmdlet name."

tools/StaticAnalysis/Exceptions/Az.Batch/SignatureIssues.csv

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,5 @@
111111
"Microsoft.Azure.PowerShell.Cmdlets.Batch.dll","Microsoft.Azure.Commands.Batch.NewBatchJobScheduleCommand","New-AzBatchJobSchedule","1","8100","New-AzBatchJobSchedule Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue"
112112
"Microsoft.Azure.PowerShell.Cmdlets.Batch.dll","Microsoft.Azure.Commands.Batch.NewBatchJobScheduleCommand","New-AzBatchJobSchedule","1","8600","Cmdlet 'New-AzBatchJobSchedule' has no defined output type.","Add an OutputType attribute that declares the type of the object(s) returned by this cmdlet. If this cmdlet returns no output, please set the output type to 'bool' and make sure to implement the 'PassThru' parameter."
113113
"Microsoft.Azure.PowerShell.Cmdlets.Batch.dll","Microsoft.Azure.Commands.Batch.RemoveBatchJobScheduleCommand","Remove-AzBatchJobSchedule","1","8600","Cmdlet 'Remove-AzBatchJobSchedule' has no defined output type.","Add an OutputType attribute that declares the type of the object(s) returned by this cmdlet. If this cmdlet returns no output, please set the output type to 'bool' and make sure to implement the 'PassThru' parameter."
114-
"Microsoft.Azure.PowerShell.Cmdlets.Batch.dll","Microsoft.Azure.Commands.Batch.NewBatchResourceFileCommand","New-AzBatchResourceFile","1","8100","New-AzBatchResourceFile Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue"
114+
"Microsoft.Azure.PowerShell.Cmdlets.Batch.dll","Microsoft.Azure.Commands.Batch.NewBatchResourceFileCommand","New-AzBatchResourceFile","1","8100","New-AzBatchResourceFile Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue"
115+
"D:\a\1\s\artifacts\Debug\Az.Batch\Microsoft.Azure.PowerShell.Cmdlets.Batch.dll","Microsoft.Azure.Commands.Batch.GetBatchAccountSupportedImagesCommand","Get-AzBatchSupportedImages","1","8400","Get-AzBatchSupportedImages uses the noun 'AzBatchSupportedImages', which does not follow the enforced naming convention of using a singular noun for a cmdlet name.","Consider using a singular noun for the cmdlet name."

0 commit comments

Comments
 (0)