Skip to content

Commit 9822b3b

Browse files
authored
Update ExampleIssues.csv
1 parent f56cb89 commit 9822b3b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,13 @@
212212
"Az.Resources","New-AzPolicySetDefinition","3","3","Invalid_Cmdlet","5000","1",": is not a valid command name.",": '/providers/Microsoft.Authorization/policyDefinitions/2a0e14a6-b0a6-4fab-991a-187a4f81c498', 'groupNames': [ 'group1' ]","Check the spell of :."
213213
"Az.Resources","New-AzPolicySetDefinition","3","7","Invalid_Cmdlet","5000","1",": is not a valid command name.",": '/providers/Microsoft.Authorization/policyDefinitions/464dbb85-3d5f-4a1d-bb09-95a9b5dd19cf', 'groupNames': [ 'group2' ]","Check the spell of :."
214214
"Az.Resources","New-AzRoleAssignment","5","2","Mismatched_Parameter_Value_Type","5111","2","New-AzRoleAssignment -ApplicationId $servicePrincipal.ApplicationId is not an expected parameter value type.","-ApplicationId","Use correct parameter value type. Expected Type is string. Now the type is .(Command)."
215+
"Az.Resources","New-AzRoleAssignment","1","1","Invalid_Cmdlet","5000","1","New-AzRoleAssignment is not a valid command name.","New-AzRoleAssignment -ResourceGroupName rg1 -SignInName [email protected] -RoleDefinitionName Reader -AllowDelegation","Check the spell of New-AzRoleAssignment."
216+
"Az.Resources","New-AzRoleAssignment","3","1","Invalid_Cmdlet","5000","1","New-AzRoleAssignment is not a valid command name.","New-AzRoleAssignment -SignInName [email protected] -RoleDefinitionName Owner -Scope '/subscriptions/00001111-aaaa-2222-bbbb-3333cccc4444/resourcegroups/rg1/providers/Microsoft.Web/sites/site1'","Check the spell of New-AzRoleAssignment."
217+
"Az.Resources","New-AzRoleAssignment","4","1","Invalid_Cmdlet","5000","1","New-AzRoleAssignment is not a valid command name.","New-AzRoleAssignment -ObjectId 00001111-aaaa-2222-bbbb-3333cccc4444 -RoleDefinitionName 'Virtual Machine Contributor' -ResourceName Devices-Engineering-ProjectRND -ResourceType Microsoft.Network/virtualNetworks/subnets -ParentResource virtualNetworks/VNET-EASTUS-01 -ResourceGroupName Network","Check the spell of New-AzRoleAssignment."
218+
"Az.Resources","New-AzRoleAssignment","5","1","Invalid_Cmdlet","5000","1","New-AzADServicePrincipal is not a valid command name.","New-AzADServicePrincipal -DisplayName 'testServiceprincipal'","Check the spell of New-AzADServicePrincipal."
219+
"Az.Resources","New-AzRoleAssignment","5","2","Invalid_Cmdlet","5000","1","New-AzRoleAssignment is not a valid command name.","New-AzRoleAssignment -RoleDefinitionName 'Reader' -ApplicationId $servicePrincipal.ApplicationId","Check the spell of New-AzRoleAssignment."
220+
"Az.Resources","New-AzRoleAssignment","6","29","Invalid_Cmdlet","5000","1","New-AzRoleAssignment is not a valid command name.","New-AzRoleAssignment @DelegationParams","Check the spell of New-AzRoleAssignment."
221+
"Az.Resources","New-AzRoleAssignment","7","33","Invalid_Cmdlet","5000","1","New-AzRoleAssignment is not a valid command name.","New-AzRoleAssignment @DelegationParams","Check the spell of New-AzRoleAssignment."
215222
"Az.Resources","Remove-AzADAppCredential","1","1","Unassigned_Variable","5110","2","Remove-AzADAppCredential -DisplayName $name is a null-valued parameter value.","-DisplayName","Assign value for $name."
216223
"Az.Resources","Remove-AzADAppCredential","1","1","Unassigned_Variable","5110","2","Remove-AzADAppCredential -KeyId $keyid is a null-valued parameter value.","-KeyId","Assign value for $keyid."
217224
"Az.Resources","Remove-AzADAppCredential","2","1","Unassigned_Variable","5110","2","Get-AzADApplication -DisplayName $name is a null-valued parameter value.","-DisplayName","Assign value for $name."

0 commit comments

Comments
 (0)