Skip to content

Commit 17cc1ee

Browse files
committed
Static analysis baselines
1 parent 196beb0 commit 17cc1ee

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,6 @@
4848
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.ThreatDetection.Cmdlet.SetAzureSqlServerThreatDetection","Set-AzSqlServerThreatDetectionPolicy","0","2110","The element type for parameter 'ExcludedDetectionType' has been changed from 'Microsoft.Azure.Commands.Sql.ThreatDetection.Model.DetectionType' to 'System.String'.","Change the element type for parameter 'ExcludedDetectionType' back to 'Microsoft.Azure.Commands.Sql.ThreatDetection.Model.DetectionType'."
4949
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.ManagedInstance.Cmdlet.GetAzureSqlManagedInstance","Get-AzSqlInstance","0","1050","The parameter set '__AllParameterSets' for cmdlet 'Get-AzSqlInstance' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'Get-AzSqlInstance'."
5050
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.ManagedInstance.Cmdlet.NewAzureSqlManagedInstance","New-AzSqlInstance","0","1050","The parameter set '__AllParameterSets' for cmdlet 'New-AzSqlInstance' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'New-AzSqlInstance'."
51-
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.ManagedDatabase.Cmdlet.RestoreAzureRmSqlManagedDatabase","Restore-AzSqlInstanceDatabase","0","2020","The cmdlet 'Restore-AzSqlInstanceDatabase' no longer supports the type 'Microsoft.Azure.Commands.Sql.ManagedDatabase.Model.AzureSqlManagedDatabaseModel' for parameter 'InputObject'.","Change the type for parameter 'InputObject' back to 'Microsoft.Azure.Commands.Sql.ManagedDatabase.Model.AzureSqlManagedDatabaseModel'."
51+
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.ManagedDatabase.Cmdlet.RestoreAzureRmSqlManagedDatabase","Restore-AzSqlInstanceDatabase","0","2020","The cmdlet 'Restore-AzSqlInstanceDatabase' no longer supports the type 'Microsoft.Azure.Commands.Sql.ManagedDatabase.Model.AzureSqlManagedDatabaseModel' for parameter 'InputObject'.","Change the type for parameter 'InputObject' back to 'Microsoft.Azure.Commands.Sql.ManagedDatabase.Model.AzureSqlManagedDatabaseModel'."
52+
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.Cmdlet.GetAzureSqlDatabaseIndexRecommendations","Get-AzSqlDatabaseIndexRecommendation","0","1010","The cmdlet 'Get-AzSqlDatabaseIndexRecommendation' no longer supports the alias 'Get-AzSqlDatabaseIndexRecommendations'.","Add the alias 'Get-AzSqlDatabaseIndexRecommendations back to the cmdlet 'Get-AzSqlDatabaseIndexRecommendation'."
53+
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.Backup.Cmdlet.GetAzureSqlDatabaseRestorePoints","Get-AzSqlDatabaseRestorePoint","0","1010","The cmdlet 'Get-AzSqlDatabaseRestorePoint' no longer supports the alias 'Get-AzSqlDatabaseRestorePoints'.","Add the alias 'Get-AzSqlDatabaseRestorePoints back to the cmdlet 'Get-AzSqlDatabaseRestorePoint'."

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,4 +227,5 @@
227227
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.ElasticJobs.Cmdlet.SetAzureSqlElasticJobStep","Set-AzSqlElasticJobStep","1","8410","Parameter TimeoutSeconds of cmdlet Set-AzSqlElasticJobStep does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name."
228228
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.ElasticJobs.Cmdlet.SetAzureSqlElasticJobStep","Set-AzSqlElasticJobStep","1","8410","Parameter RetryAttempts of cmdlet Set-AzSqlElasticJobStep does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name."
229229
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.ElasticJobs.Cmdlet.SetAzureSqlElasticJobStep","Set-AzSqlElasticJobStep","1","8410","Parameter InitialRetryIntervalSeconds of cmdlet Set-AzSqlElasticJobStep does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name."
230-
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.ElasticJobs.Cmdlet.SetAzureSqlElasticJobStep","Set-AzSqlElasticJobStep","1","8410","Parameter MaximumRetryIntervalSeconds of cmdlet Set-AzSqlElasticJobStep does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name."
230+
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.ElasticJobs.Cmdlet.SetAzureSqlElasticJobStep","Set-AzSqlElasticJobStep","1","8410","Parameter MaximumRetryIntervalSeconds of cmdlet Set-AzSqlElasticJobStep does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name."
231+
"D:\a\1\s\artifacts\Debug\Az.Sql\Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.Backup.Cmdlet.GetAzureSqlDatabaseRestorePoint","Get-AzSqlDatabaseRestorePoint","2","8200","Get-AzSqlDatabaseRestorePoint changes the confirm impact. Please ensure that the change in ConfirmImpact is justified","Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact."

0 commit comments

Comments
 (0)