Skip to content

Commit b81b492

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

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

tools/AzPreview/AzPreview.psd1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.16.0'; },
108108
@{ModuleName = 'Az.DevCenter'; RequiredVersion = '1.1.0'; },
109109
@{ModuleName = 'Az.DeviceProvisioningServices'; RequiredVersion = '0.10.0'; },
110110
@{ModuleName = 'Az.DeviceUpdate'; RequiredVersion = '0.1.0'; },
111-
@{ModuleName = 'Az.DevSpaces'; RequiredVersion = '0.7.4'; },
112111
@{ModuleName = 'Az.DevTestLabs'; RequiredVersion = '1.0.2'; },
113112
@{ModuleName = 'Az.DigitalTwins'; RequiredVersion = '0.2.0'; },
114113
@{ModuleName = 'Az.DiskPool'; RequiredVersion = '0.3.0'; },
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
"Module","Severity","ResourceType","SubResourceType","Command","Description"
2+
"Az.Cdn","1","Microsoft.Cdn","profiles-afdEndpoints","Clear-AzFrontDoorCdnEndpointContent","Cannot find a matched parameter set for example of Clear-AzFrontDoorCdnEndpointContent"
3+
"Az.Cdn","1","Microsoft.Cdn","profiles-endpoints-customDomains","Enable-AzCdnCustomDomainCustomHttps","Cannot find a matched parameter set for example of Enable-AzCdnCustomDomainCustomHttps"
4+
"Az.Cdn","1","Microsoft.Cdn","profiles-endpoints","Clear-AzCdnEndpointContent","Cannot find a matched parameter set for example of Clear-AzCdnEndpointContent"
5+
"Az.Cdn","1","Microsoft.Cdn","profiles-endpoints","Import-AzCdnEndpointContent","Cannot find a matched parameter set for example of Import-AzCdnEndpointContent"

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,11 @@
2121
"Az.Compute","New-AzVM","6","3","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."
2222
"Az.Compute","New-AzVM","8","10","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."
2323
"Az.Compute","New-AzVM","9","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."
24+
"Az.Compute","Set-AzVMBackupExtension","0","0","MissingDescription","5041","1","Description is missing.","D:\a\_work\1\s\src\Compute\Compute\help\Set-AzVMBackupExtension.md","Add Description. Remove any placeholders."
25+
"Az.Compute","Get-AzVMDiskEncryptionStatus","1","1","Capitalization_Conventions_Violated","5101","1","Get-AzVmDiskEncryptionStatus doesn't follow the Capitalization Conventions.","Get-AzVmDiskEncryptionStatus -ResourceGroupName 'MyResourceGroup001' -VMName 'VM001'","Check the Capitalization Conventions. Suggest format: Get-AzVMDiskEncryptionStatus"
26+
"Az.Compute","Invoke-AzVMInstallPatch","1","1","Capitalization_Conventions_Violated","5101","1","Invoke-AzVmInstallPatch doesn't follow the Capitalization Conventions.","Invoke-AzVmInstallPatch -ResourceGroupName 'MyRG' -VmName 'MyVM' -Windows -RebootSetting 'never' -MaximumDuration PT2H -ClassificationToIncludeForWindows Critical","Check the Capitalization Conventions. Suggest format: Invoke-AzVMInstallPatch"
27+
"Az.Compute","Invoke-AzVMInstallPatch","2","2","Capitalization_Conventions_Violated","5101","1","Invoke-AzVmInstallPatch doesn't follow the Capitalization Conventions.","Invoke-AzVmInstallPatch -VM $myVM -MaximumDuration 'PT90M' -RebootSetting 'Always' -Windows -ClassificationToIncludeForWindows 'Security' -KBNumberToInclude 'KB1234567', 'KB123567' -KBNumberToExclude 'KB1234702', 'KB1234802' -ExcludeKBsRequiringReboot","Check the Capitalization Conventions. Suggest format: Invoke-AzVMInstallPatch"
28+
"Az.Compute","New-AzVmssIpConfig","1","1","Capitalization_Conventions_Violated","5101","1","New-AzVmssIPConfig doesn't follow the Capitalization Conventions.","New-AzVmssIPConfig -Name 'ContosoVmssInterface02' -SubnetId $SubnetId","Check the Capitalization Conventions. Suggest format: New-AzVmssIpConfig"
29+
"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"
30+
"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"
31+
"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"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ Module,ClassName,Target,Severity,ProblemId,Description,Remediation
33
"Az.HdInsightOnAks","New-AzHdInsightOnAksClusterPool","New-AzHdInsightOnAksClusterPool","1","8410","Parameter EnableLogAnalytics of cmdlet New-AzHdInsightOnAksClusterPool 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."
44
"Az.HdInsightOnAks","Set-AzHdInsightOnAksClusterPool","Set-AzHdInsightOnAksClusterPool","1","8410","Parameter EnableLogAnalytics of cmdlet Set-AzHdInsightOnAksClusterPool 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."
55
"Az.HdInsightOnAks","New-AzHdInsightOnAksFlinkJobObject","New-AzHdInsightOnAksFlinkJobObject","1","8410","Parameter EntryClass of cmdlet New-AzHdInsightOnAksFlinkJobObject 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."
6-
"Az.HdInsightOnAks","New-AzHdInsightOnAksCluster","New-AzHdInsightOnAksCluster","1","8410","Parameter ClusterAccessProfileEnableInternalIngress of cmdlet New-AzHdInsightOnAksCluster 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.""
7-
"Az.HdInsightOnAks","New-AzHdInsightOnAksCluster","New-AzHdInsightOnAksCluster","1","8410","Parameter JobSpecEntryClass of cmdlet New-AzHdInsightOnAksCluster 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.""
6+
"Az.HdInsightOnAks","New-AzHdInsightOnAksCluster","New-AzHdInsightOnAksCluster","1","8410","Parameter ClusterAccessProfileEnableInternalIngress of cmdlet New-AzHdInsightOnAksCluster 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."
7+
"Az.HdInsightOnAks","New-AzHdInsightOnAksCluster","New-AzHdInsightOnAksCluster","1","8410","Parameter JobSpecEntryClass of cmdlet New-AzHdInsightOnAksCluster 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."

0 commit comments

Comments
 (0)