Skip to content

Commit 7b81b88

Browse files
azure-powershell-botazurepowershell
andauthored
Sync tools folder from main branch to generation branch (#24849)
Co-authored-by: azurepowershell <[email protected]>
1 parent a3efe99 commit 7b81b88

File tree

3 files changed

+7
-308
lines changed

3 files changed

+7
-308
lines changed

tools/AzPreview/AzPreview.psm1

Lines changed: 0 additions & 308 deletions
This file was deleted.

tools/CreateMappings_rules.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -883,5 +883,9 @@
883883
{
884884
"module": "StandbyPool",
885885
"alias": "StandbyPool"
886+
},
887+
{
888+
"module": "Chaos",
889+
"alias": "Chaos"
886890
}
887891
]

tools/StaticAnalysis/Exceptions/Az.Compute/ExampleIssues.csv

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@
2929
"Az.Compute","New-AzVmssIpConfig","2","1","Capitalization_Conventions_Violated","5101","1","New-AzVmssIPConfig doesn't follow the Capitalization Conventions.","New-AzVmssIPConfig -Name 'ContosoVmssInterface03' -LoadBalancerInboundNatPoolsId $expectedLb.InboundNatPools[0].Id -LoadBalancerBackendAddressPoolsId $expectedLb.BackendAddressPools[0].Id -SubnetId $SubnetId","Check the Capitalization Conventions. Suggest format: New-AzVmssIpConfig"
3030
"Az.Compute","New-AzVmssIpTagConfig","1","2","Capitalization_Conventions_Violated","5101","1","New-AzVmssIPConfig doesn't follow the Capitalization Conventions.","New-AzVmssIPConfig -Name 'test' -SubnetId $subnetId -IpTag $ipTag","Check the Capitalization Conventions. Suggest format: New-AzVmssIpConfig"
3131
"Az.Compute","Set-AzVMBginfoExtension","1","1","Capitalization_Conventions_Violated","5101","1","Set-AzVMBgInfoExtension doesn't follow the Capitalization Conventions.","Set-AzVMBgInfoExtension -ResourceGroupName 'ContosoRG' -VMName 'ContosoVM' -Name 'ExtensionName' -TypeHandlerVersion '2.1' -Location 'West Europe'","Check the Capitalization Conventions. Suggest format: Set-AzVMBginfoExtension"
32+
"Az.Compute","New-AzVM","7","9","Invalid_Cmdlet","5000","1","New-AzResourceGroup is not a valid command name.","New-AzResourceGroup -Name $resourceGroupName -Location $loc -Force","Check the spell of New-AzResourceGroup."
33+
"Az.Compute","New-AzVM","8","4","Invalid_Cmdlet","5000","1","New-AzResourceGroup is not a valid command name.","New-AzResourceGroup -Name $rgname -Location $loc -Force","Check the spell of New-AzResourceGroup."
34+
"Az.Compute","New-AzVmss","6","3","Invalid_Cmdlet","5000","1","New-AzResourceGroup is not a valid command name.","New-AzResourceGroup -Name $rgname -Location $loc -Force","Check the spell of New-AzResourceGroup."

0 commit comments

Comments
 (0)