Skip to content

Commit 6934dc8

Browse files
azure-powershell-botazurepowershell
andauthored
Sync tools folder from main branch to generation branch (#24031)
Co-authored-by: azurepowershell <[email protected]>
1 parent 1864b90 commit 6934dc8

16 files changed

+9
-8
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
-1.5 MB
Binary file not shown.
Binary file not shown.
17.4 KB
Binary file not shown.
Binary file not shown.
35.1 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

tools/Common.Netcore.Dependencies.Test.targets

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,5 @@
4040

4141
<ItemGroup>
4242
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
43-
<PackageReference Include="Microsoft.Identity.Client" Version="4.49.1" />
4443
</ItemGroup>
4544
</Project>

tools/CreateMappings_rules.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -859,5 +859,9 @@
859859
{
860860
"module": "Fleet",
861861
"alias": "Fleet"
862+
},
863+
{
864+
"module": "ManagedNetworkFabric",
865+
"alias": "Managed Network Fabric"
862866
}
863867
]

tools/Gen2Master/MoveFromGeneration2Master.ps1

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Function Move-Generation2Master {
4141
New-Item -Type Directory -Path $DestPath -Force
4242
New-Item "$DestPath\$ModuleName\Properties" -ItemType Directory
4343
New-Item "$DestPath\$ModuleName\help" -ItemType Directory
44+
Update-MappingJson $ModuleName
4445
}
4546
$Dir2Copy = @{
4647
'custom' = 'custom'
@@ -152,13 +153,6 @@ Function Move-Generation2Master {
152153
$Psd1Metadata.NestedModules = Unique-PathList $Psd1Metadata.NestedModules
153154

154155
New-ModuleManifest -Path $DestPsd1Path @Psd1Metadata
155-
156-
if (-not (Test-Path "$DestPath\$ModuleName\Properties")) {
157-
New-Item "$DestPath\$ModuleName\Properties" -ItemType Directory
158-
# Copy the assemblyinfo file
159-
Copy-Template -SourceName AssemblyInfo.cs -DestPath "$DestPath\$ModuleName\Properties" -DestName AssemblyInfo.cs -ModuleName $submoduleName
160-
Update-MappingJson $ModuleName
161-
}
162156
# update module page
163157
dotnet build $slnFilePath
164158
# start a job to update markdown help module, since we can not uninstall a module in the same process.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
"Module","Cmdlet","Example","Line","RuleName","ProblemId","Severity","Description","Extent","Remediation"
2+
"Az.ManagedNetworkFabric","Update-AzNetworkFabricNeighborGroup","1","6","TerminatorExpectedAtEndOfString","5200","1","The string is missing the terminator: '.","' ) } }","Unexpected Error. Please check [Trouble Shotting for Unexpected Errors in Example Issues](https://github.com/Azure/azure-powershell/blob/main/documentation/Debugging-StaticAnalysis-Errors.md#Troubleshotting-Example-Issues) for more details."
3+
"Az.ManagedNetworkFabric","Update-AzNetworkFabricInternetGateway","1","0","MissingEndCurlyBrace","5200","1","Missing closing '}' in statement block or type definition.","{","Unexpected Error. Please check [Trouble Shotting for Unexpected Errors in Example Issues](https://github.com/Azure/azure-powershell/blob/main/documentation/Debugging-StaticAnalysis-Errors.md#Troubleshotting-Example-Issues) for more details."
4+
"Az.ManagedNetworkFabric","Update-AzNetworkFabricInternetGateway","1","1","Invalid_Cmdlet","5000","1","/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/InternetGatewayRules/Igatewayrulename' } function ManagedNetworkFabric-Update-AzNetworkFabricNeighborGroup-1{ $destination = @{ Ipv4Address = @( '10.11.10.11' ) Ipv6Address = @( '2FF::/101' ) } } is not a valid command name.","/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/InternetGatewayRules/Igatewayrulename' } function ManagedNetworkFabric-Update-AzNetworkFabricNeighborGroup-1{ $destination = @{ Ipv4Address = @( '10.11.10.11' ) Ipv6Address = @( '2FF::/101' ) } }","Check the spell of /resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/InternetGatewayRules/Igatewayrulename' } function ManagedNetworkFabric-Update-AzNetworkFabricNeighborGroup-1{ $destination = @{ Ipv4Address = @( '10.11.10.11' ) Ipv6Address = @( '2FF::/101' ) } } ."

0 commit comments

Comments
 (0)