Skip to content

Suppress the exception for UX files #20199

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"Module","Severity","ResourceType","SubResourceType","Command","Description"
"Az.DataFactory","1","Microsoft.Datafactory","factories","Remove-AzDataFactoryV2","Cannot find a matched parameter set for example of Remove-AzDataFactoryV2"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"Module","Severity","ResourceType","SubResourceType","Command","Description"
"Az.Monitor","1","Microsoft.Monitor","components","Get-AzApplicationInsights","Doc url is expect: https://learn.microsoft.com/powershell/module/az.monitor/get-azapplicationinsights but get: https://learn.microsoft.com/powershell/module/az.applicationinsights/get-azapplicationinsights"
"Az.Monitor","2","Microsoft.Monitor","components","Get-AzApplicationInsights","The path /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.insights/components/{name} doesn't contains the right resource tpye: Microsoft.Monitor"
"Az.Monitor","1","Microsoft.Monitor","components","Get-AzApplicationInsights","Cmdlet Get-AzApplicationInsights is not contained in Az.Monitor."
"Az.Monitor","1","Microsoft.Monitor","components","Remove-AzApplicationInsights","Doc url is expect: https://learn.microsoft.com/powershell/module/az.monitor/remove-azapplicationinsights but get: https://learn.microsoft.com/powershell/module/az.applicationinsights/remove-azapplicationinsights"
"Az.Monitor","2","Microsoft.Monitor","components","Remove-AzApplicationInsights","The path /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.insights/components/{name} doesn't contains the right resource tpye: Microsoft.Monitor"
"Az.Monitor","1","Microsoft.Monitor","components","Remove-AzApplicationInsights","Cmdlet Remove-AzApplicationInsights is not contained in Az.Monitor."
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"Module","Severity","ResourceType","SubResourceType","Command","Description"
"Az.Resources","1","Microsoft.Resources","subscriptions","Get-AzSubscription","Doc url is expect: https://learn.microsoft.com/powershell/module/az.resources/get-azsubscription but get: https://learn.microsoft.com/powershell/module/az.accounts/get-azsubscription"
"Az.Resources","1","Microsoft.Resources","subscriptions","Get-AzSubscription","Cmdlet Get-AzSubscription is not contained in Az.Resources."
"Az.Resources","2","Microsoft.Resources","subscriptionsResourcegroups","Get-AzResourceGroup","The path /subscriptions/{subscriptionId}/resourceGroups/{name} doesn't contains the right resource tpye: Microsoft.Resources"
"Az.Resources","2","Microsoft.Resources","subscriptionsResourcegroups","Remove-AzResourceGroup","The path /subscriptions/{subscriptionId}/resourceGroups/{name} doesn't contains the right resource tpye: Microsoft.Resources"
4 changes: 4 additions & 0 deletions tools/StaticAnalysis/Exceptions/Az.Sql/UXMetadataIssues.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"Module","Severity","ResourceType","SubResourceType","Command","Description"
"Az.Sql","1","Microsoft.Sql","sqlDatabase","Suspend-AzSqlDatabase","Doc url is expect: https://learn.microsoft.com/powershell/module/az.sql/suspend-azsqldatabase but get: https://learn.microsoft.com/powershell/module/az.compute/restart-azvm"
"Az.Sql","2","Microsoft.Sql","sqlDatabase","Suspend-AzSqlDatabase","The path /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{VMName} doesn't contains the right resource tpye: Microsoft.Sql"
"Az.Sql","1","Microsoft.Sql","sqlDatabase","Suspend-AzSqlDatabase","Cannot find the defination of parameter Name in example"