Skip to content

Commit 7e10da0

Browse files
committed
Suppress static analysis error for PauseTimeBetweenBatches parameter
1 parent f7633ba commit 7e10da0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineScaleSetTests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ function Test-VirtualMachineScaleSetUpdate
377377
Assert-AreEqual $tags["test2"] $returned_tags["test2"];
378378
Assert-AreEqual 3 $vmss.Sku.Capacity;
379379

380-
$vmss2 = $vmss | Update-AzureRmVmss -ResourceGroupName $rgname -Name $vmssName -SkuCapacity 4;
380+
$vmss2 = $vmss | Update-AzureRmVmss -SkuCapacity 4;
381381
$returned_tags2 = $vmss2.Tags;
382382
Assert-AreEqual 2 $returned_tags2.Count;
383383
Assert-AreEqual $tags["test1"] $returned_tags["test1"];

tools/StaticAnalysis/Exceptions/SignatureIssues.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@
398398
"Microsoft.Azure.Commands.Compute.dll","Microsoft.Azure.Commands.Compute.Extension.Chef.RemoveAzureRmVMChefExtension","Remove-AzureRmVMChefExtension","1","8410","Parameter Windows of cmdlet Remove-AzureRmVMChefExtension 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."
399399
"Microsoft.Azure.Commands.Compute.dll","Microsoft.Azure.Commands.Compute.Extension.Chef.SetAzureVMChefExtensionCommand","Set-AzureRmVMChefExtension","1","8410","Parameter BootstrapOptions of cmdlet Set-AzureRmVMChefExtension 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."
400400
"Microsoft.Azure.Commands.Compute.dll","Microsoft.Azure.Commands.Compute.Extension.Chef.SetAzureVMChefExtensionCommand","Set-AzureRmVMChefExtension","1","8410","Parameter Windows of cmdlet Set-AzureRmVMChefExtension 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."
401+
"Microsoft.Azure.Commands.Compute.dll","Microsoft.Azure.Commands.Compute.Automation.UpdateAzureRmVmss","Update-AzureRmVmss","1","8410","Parameter PauseTimeBetweenBatches of cmdlet Update-AzureRmVmss 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."
401402
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.RemoveAzureApplicationGatewayAuthenticationCertificateCommand","Remove-AzureRmApplicationGatewayAuthenticationCertificate","2","8210","Remove-AzureRmApplicationGatewayAuthenticationCertificate does not have a Force parameter but the cmdlet verb 'Remove' indicates that it may perform destructive actions under certain circumstances. Consider whether the cmdlet should have a Force parameter anduse ShouldContinue under some circumstances. ","Consider wether the cmdlet should have a Force parameter and use ShouldContinue under some circumstances. "
402403
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.SetAzureApplicationGatewayAuthenticationCertificateCommand","Set-AzureRmApplicationGatewayAuthenticationCertificate","2","8210","Set-AzureRmApplicationGatewayAuthenticationCertificate does not have a Force parameter but the cmdlet verb 'Set' indicates that it may perform destructive actions under certain circumstances. Consider whether the cmdlet should have a Force parameter anduse ShouldContinue under some circumstances. ","Consider wether the cmdlet should have a Force parameter and use ShouldContinue under some circumstances. "
403404
"Microsoft.Azure.Commands.Network.dll","Microsoft.Azure.Commands.Network.RemoveAzureApplicationGatewayBackendAddressPoolCommand","Remove-AzureRmApplicationGatewayBackendAddressPool","2","8210","Remove-AzureRmApplicationGatewayBackendAddressPool does not have a Force parameter but the cmdlet verb 'Remove' indicates that it may perform destructive actions under certain circumstances. Consider whether the cmdlet should have a Force parameter anduse ShouldContinue under some circumstances. ","Consider wether the cmdlet should have a Force parameter and use ShouldContinue under some circumstances. "

0 commit comments

Comments
 (0)