Skip to content
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

Migrate Resources from generation to main #26129

Merged
merged 2 commits into from
Sep 19, 2024
Merged

Migrate Resources from generation to main #26129

merged 2 commits into from
Sep 19, 2024

Conversation

azure-pipelines[bot]
Copy link
Contributor

Description

Migrate Resources from generation to main
The last commit of src/Resources in generation is:
commit c9fb1b8 Author: Chris Stackhouse cstack@microsoft.com Date: Wed Sep 18 10:35:13 2024 -0700 Add support for selectors and overrides in Azure Policy CRUD cmdlets (#26031) * Implement ResourceSelector and Override parameters for New/Update-AzPolicyAssignment Implement ResourceSelector parameter for New/Update-AzPolicyExemption Add new tests for selectors and overrides Add new examples for selectors and overrides * Rerecord tests * Fix two examples to contain only powershell commands * Rebuild docs * Switch tag new tests as -LiveOnly

Checklist

  • SHOULD select appropriate branch. Cmdlets from Autorest.PowerShell should go to generation branch.
  • SHOULD make the title of PR clear and informative, and in the present imperative tense.
  • SHOULD update ChangeLog.md file(s) appropriately
    • For any service, the ChangeLog.md file can be found at src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
    • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense. Add changelog in description section if PR goes into generation branch.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD have approved design review for the changes in this repository (Microsoft internal only) with following situations
    • Create new module from scratch
    • Create new resource types which are not easy to conform to Azure PowerShell Design Guidelines
    • Create new resource type which name doesn't use module name as prefix
    • Have design question before implementation
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT introduce breaking changes in Az minor release except preview version.
  • SHOULD NOT adjust version of module manually in pull request

Copy link

azure-client-tools-bot-prd bot commented Sep 18, 2024

️✔️Az.Accounts
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Az.Blueprint
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Test
⚠️ - Linux
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 23.08 % Test coverage for the module cannot be lower than 50%.
⚠️ - MacOS
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 23.08% Test coverage for the module cannot be lower than 50%.
⚠️PowerShell Core - Windows
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 23.08% Test coverage for the module cannot be lower than 50%.
⚠️Windows PowerShell - Windows
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 23.08% Test coverage for the module cannot be lower than 50%.
️✔️Az.CosmosDB
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.KeyVault
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Az.MachineLearning
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Test
⚠️ - Linux
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 0.00 % Test coverage for the module cannot be lower than 50%.
⚠️ - MacOS
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 0.00% Test coverage for the module cannot be lower than 50%.
⚠️PowerShell Core - Windows
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 0.00% Test coverage for the module cannot be lower than 50%.
⚠️Windows PowerShell - Windows
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 0.00% Test coverage for the module cannot be lower than 50%.
️✔️Az.ManagedServiceIdentity
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Monitor
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Network
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Az.Resources
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Breaking Change Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Signature Check
⚠️PowerShell Core - Windows
Type Cmdlet Description Remediation
⚠️ Get-AzADGroupOwner Get-AzADGroupOwner Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue
⚠️ Get-AzADGroupOwner Get-AzADGroupOwner changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ Get-AzADServicePrincipalAppRoleAssignment Get-AzADServicePrincipalAppRoleAssignment Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue
⚠️ Get-AzADServicePrincipalAppRoleAssignment Get-AzADServicePrincipalAppRoleAssignment changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ Get-AzPolicyAssignment Get-AzPolicyAssignment Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue
⚠️ Get-AzPolicyAssignment Get-AzPolicyAssignment changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ Get-AzPolicyDefinition Get-AzPolicyDefinition Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue
⚠️ Get-AzPolicyDefinition Get-AzPolicyDefinition changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ Get-AzPolicyExemption Get-AzPolicyExemption Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue
⚠️ Get-AzPolicyExemption Get-AzPolicyExemption changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ Get-AzPolicySetDefinition Get-AzPolicySetDefinition Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue
⚠️ Get-AzPolicySetDefinition Get-AzPolicySetDefinition changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️Windows PowerShell - Windows
Type Cmdlet Description Remediation
⚠️ Get-AzADGroupOwner Get-AzADGroupOwner Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue
⚠️ Get-AzADGroupOwner Get-AzADGroupOwner changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ Get-AzADServicePrincipalAppRoleAssignment Get-AzADServicePrincipalAppRoleAssignment Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue
⚠️ Get-AzADServicePrincipalAppRoleAssignment Get-AzADServicePrincipalAppRoleAssignment changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ Get-AzPolicyAssignment Get-AzPolicyAssignment Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue
⚠️ Get-AzPolicyAssignment Get-AzPolicyAssignment changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ Get-AzPolicyDefinition Get-AzPolicyDefinition Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue
⚠️ Get-AzPolicyDefinition Get-AzPolicyDefinition changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ Get-AzPolicyExemption Get-AzPolicyExemption Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue
⚠️ Get-AzPolicyExemption Get-AzPolicyExemption changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ Get-AzPolicySetDefinition Get-AzPolicySetDefinition Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue
⚠️ Get-AzPolicySetDefinition Get-AzPolicySetDefinition changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️Help Example Check
⚠️PowerShell Core - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ New-AzPolicyAssignment 9 3 Mismatched_Parameter_Value_Type New-AzPolicyAssignment -PolicyDefinition $Policy is not an expected parameter value type. -PolicyDefinition Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinition.(Command).
⚠️ New-AzPolicyAssignment 10 4 Mismatched_Parameter_Value_Type New-AzPolicyAssignment -PolicyDefinition $Policy is not an expected parameter value type. -PolicyDefinition Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinition.(Command).
⚠️ New-AzPolicyAssignment 11 5 Mismatched_Parameter_Value_Type New-AzPolicyAssignment -PolicyDefinition $Policy is not an expected parameter value type. -PolicyDefinition Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinition.(Command).
⚠️ New-AzPolicyAssignment 12 13 Mismatched_Parameter_Value_Type New-AzPolicyAssignment -PolicyDefinition $Policy is not an expected parameter value type. -PolicyDefinition Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinition.(Command).
⚠️ New-AzPolicyExemption 3 3 Mismatched_Parameter_Value_Type New-AzPolicyExemption -PolicyAssignment $Assignment is not an expected parameter value type. -PolicyAssignment Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyAssignment.(Command).
⚠️ New-AzPolicyExemption 4 3 Mismatched_Parameter_Value_Type New-AzPolicyExemption -PolicyAssignment $Assignment is not an expected parameter value type. -PolicyAssignment Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyAssignment.(Command).
⚠️ New-AzPolicyExemption 4 3 Unassigned_Variable New-AzPolicyExemption -Scope $SpecialVM.Id is a null-valued parameter value. -Scope Assign value for $SpecialVM.Id.
⚠️ New-AzPolicyExemption 5 3 Mismatched_Parameter_Value_Type New-AzPolicyExemption -PolicyAssignment $Assignment is not an expected parameter value type. -PolicyAssignment Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyAssignment.(Command).
⚠️ Update-AzPolicyAssignment 10 3 Is_Alias Set-AzPolicyAssignment is an alias of 'Update-AzPolicyAssignment'. Set-AzPolicyAssignment -Id $PolicyAssignment.ResourceId -EnforcementMode Default Use formal name 'Update-AzPolicyAssignment' of the alias 'Set-AzPolicyAssignment'.
⚠️ Update-AzPolicyAssignment 10 3 Mismatched_Parameter_Value_Type Set-AzPolicyAssignment -Id $PolicyAssignment.ResourceId is not an expected parameter value type. -Id Use correct parameter value type. Expected Type is string. Now the type is .(Command).
⚠️ Update-AzPolicyExemption 6 2 Is_Alias Set-AzPolicyExemption is an alias of 'Update-AzPolicyExemption'. Set-AzPolicyExemption -Id $PolicyExemption.ResourceId -ClearExpiration Use formal name 'Update-AzPolicyExemption' of the alias 'Set-AzPolicyExemption'.
⚠️ Update-AzPolicyExemption 6 2 Mismatched_Parameter_Value_Type Set-AzPolicyExemption -Id $PolicyExemption.ResourceId is not an expected parameter value type. -Id Use correct parameter value type. Expected Type is string. Now the type is .(Command).
⚠️ New-AzADUser 2 2 Unassigned_Variable New-AzADUser -DisplayName $uname is a null-valued parameter value. -DisplayName Assign value for $uname.
⚠️ New-AzADUser 2 2 Unassigned_Variable New-AzADUser -MailNickname $nickname is a null-valued parameter value. -MailNickname Assign value for $nickname.
⚠️ New-AzADUser 2 2 Unassigned_Variable New-AzADUser -UserPrincipalName $upn is a null-valued parameter value. -UserPrincipalName Assign value for $upn.
⚠️ New-AzPolicyAssignment 9 3 Mismatched_Parameter_Value_Type New-AzPolicyAssignment -PolicyDefinition $Policy is not an expected parameter value type. -PolicyDefinition Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinition.(Command).
⚠️ New-AzPolicyAssignment 10 4 Mismatched_Parameter_Value_Type New-AzPolicyAssignment -PolicyDefinition $Policy is not an expected parameter value type. -PolicyDefinition Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinition.(Command).
⚠️ New-AzPolicyAssignment 11 5 Mismatched_Parameter_Value_Type New-AzPolicyAssignment -PolicyDefinition $Policy is not an expected parameter value type. -PolicyDefinition Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinition.(Command).
⚠️ New-AzPolicyAssignment 12 13 Mismatched_Parameter_Value_Type New-AzPolicyAssignment -PolicyDefinition $Policy is not an expected parameter value type. -PolicyDefinition Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinition.(Command).
⚠️ New-AzPolicyExemption 3 3 Mismatched_Parameter_Value_Type New-AzPolicyExemption -PolicyAssignment $Assignment is not an expected parameter value type. -PolicyAssignment Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyAssignment.(Command).
⚠️ New-AzPolicyExemption 4 3 Mismatched_Parameter_Value_Type New-AzPolicyExemption -PolicyAssignment $Assignment is not an expected parameter value type. -PolicyAssignment Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyAssignment.(Command).
⚠️ New-AzPolicyExemption 4 3 Unassigned_Variable New-AzPolicyExemption -Scope $SpecialVM.Id is a null-valued parameter value. -Scope Assign value for $SpecialVM.Id.
⚠️ New-AzPolicyExemption 5 3 Mismatched_Parameter_Value_Type New-AzPolicyExemption -PolicyAssignment $Assignment is not an expected parameter value type. -PolicyAssignment Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyAssignment.(Command).
⚠️ Update-AzPolicyAssignment 10 3 Is_Alias Set-AzPolicyAssignment is an alias of 'Update-AzPolicyAssignment'. Set-AzPolicyAssignment -Id $PolicyAssignment.ResourceId -EnforcementMode Default Use formal name 'Update-AzPolicyAssignment' of the alias 'Set-AzPolicyAssignment'.
⚠️ Update-AzPolicyAssignment 10 3 Mismatched_Parameter_Value_Type Set-AzPolicyAssignment -Id $PolicyAssignment.ResourceId is not an expected parameter value type. -Id Use correct parameter value type. Expected Type is string. Now the type is .(Command).
⚠️ Update-AzPolicyExemption 6 2 Is_Alias Set-AzPolicyExemption is an alias of 'Update-AzPolicyExemption'. Set-AzPolicyExemption -Id $PolicyExemption.ResourceId -ClearExpiration Use formal name 'Update-AzPolicyExemption' of the alias 'Set-AzPolicyExemption'.
⚠️ Update-AzPolicyExemption 6 2 Mismatched_Parameter_Value_Type Set-AzPolicyExemption -Id $PolicyExemption.ResourceId is not an expected parameter value type. -Id Use correct parameter value type. Expected Type is string. Now the type is .(Command).
⚠️Windows PowerShell - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ New-AzPolicyAssignment 9 3 Mismatched_Parameter_Value_Type New-AzPolicyAssignment -PolicyDefinition $Policy is not an expected parameter value type. -PolicyDefinition Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinition.(Command).
⚠️ New-AzPolicyAssignment 10 4 Mismatched_Parameter_Value_Type New-AzPolicyAssignment -PolicyDefinition $Policy is not an expected parameter value type. -PolicyDefinition Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinition.(Command).
⚠️ New-AzPolicyAssignment 11 5 Mismatched_Parameter_Value_Type New-AzPolicyAssignment -PolicyDefinition $Policy is not an expected parameter value type. -PolicyDefinition Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinition.(Command).
⚠️ New-AzPolicyAssignment 12 13 Mismatched_Parameter_Value_Type New-AzPolicyAssignment -PolicyDefinition $Policy is not an expected parameter value type. -PolicyDefinition Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinition.(Command).
⚠️ New-AzPolicyExemption 3 3 Mismatched_Parameter_Value_Type New-AzPolicyExemption -PolicyAssignment $Assignment is not an expected parameter value type. -PolicyAssignment Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyAssignment.(Command).
⚠️ New-AzPolicyExemption 4 3 Mismatched_Parameter_Value_Type New-AzPolicyExemption -PolicyAssignment $Assignment is not an expected parameter value type. -PolicyAssignment Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyAssignment.(Command).
⚠️ New-AzPolicyExemption 4 3 Unassigned_Variable New-AzPolicyExemption -Scope $SpecialVM.Id is a null-valued parameter value. -Scope Assign value for $SpecialVM.Id.
⚠️ New-AzPolicyExemption 5 3 Mismatched_Parameter_Value_Type New-AzPolicyExemption -PolicyAssignment $Assignment is not an expected parameter value type. -PolicyAssignment Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyAssignment.(Command).
⚠️ Update-AzPolicyAssignment 10 3 Is_Alias Set-AzPolicyAssignment is an alias of 'Update-AzPolicyAssignment'. Set-AzPolicyAssignment -Id $PolicyAssignment.ResourceId -EnforcementMode Default Use formal name 'Update-AzPolicyAssignment' of the alias 'Set-AzPolicyAssignment'.
⚠️ Update-AzPolicyAssignment 10 3 Mismatched_Parameter_Value_Type Set-AzPolicyAssignment -Id $PolicyAssignment.ResourceId is not an expected parameter value type. -Id Use correct parameter value type. Expected Type is string. Now the type is .(Command).
⚠️ Update-AzPolicyExemption 6 2 Is_Alias Set-AzPolicyExemption is an alias of 'Update-AzPolicyExemption'. Set-AzPolicyExemption -Id $PolicyExemption.ResourceId -ClearExpiration Use formal name 'Update-AzPolicyExemption' of the alias 'Set-AzPolicyExemption'.
⚠️ Update-AzPolicyExemption 6 2 Mismatched_Parameter_Value_Type Set-AzPolicyExemption -Id $PolicyExemption.ResourceId is not an expected parameter value type. -Id Use correct parameter value type. Expected Type is string. Now the type is .(Command).
⚠️ New-AzADUser 2 2 Unassigned_Variable New-AzADUser -DisplayName $uname is a null-valued parameter value. -DisplayName Assign value for $uname.
⚠️ New-AzADUser 2 2 Unassigned_Variable New-AzADUser -MailNickname $nickname is a null-valued parameter value. -MailNickname Assign value for $nickname.
⚠️ New-AzADUser 2 2 Unassigned_Variable New-AzADUser -UserPrincipalName $upn is a null-valued parameter value. -UserPrincipalName Assign value for $upn.
⚠️ New-AzPolicyAssignment 9 3 Mismatched_Parameter_Value_Type New-AzPolicyAssignment -PolicyDefinition $Policy is not an expected parameter value type. -PolicyDefinition Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinition.(Command).
⚠️ New-AzPolicyAssignment 10 4 Mismatched_Parameter_Value_Type New-AzPolicyAssignment -PolicyDefinition $Policy is not an expected parameter value type. -PolicyDefinition Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinition.(Command).
⚠️ New-AzPolicyAssignment 11 5 Mismatched_Parameter_Value_Type New-AzPolicyAssignment -PolicyDefinition $Policy is not an expected parameter value type. -PolicyDefinition Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinition.(Command).
⚠️ New-AzPolicyAssignment 12 13 Mismatched_Parameter_Value_Type New-AzPolicyAssignment -PolicyDefinition $Policy is not an expected parameter value type. -PolicyDefinition Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinition.(Command).
⚠️ New-AzPolicyExemption 3 3 Mismatched_Parameter_Value_Type New-AzPolicyExemption -PolicyAssignment $Assignment is not an expected parameter value type. -PolicyAssignment Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyAssignment.(Command).
⚠️ New-AzPolicyExemption 4 3 Mismatched_Parameter_Value_Type New-AzPolicyExemption -PolicyAssignment $Assignment is not an expected parameter value type. -PolicyAssignment Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyAssignment.(Command).
⚠️ New-AzPolicyExemption 4 3 Unassigned_Variable New-AzPolicyExemption -Scope $SpecialVM.Id is a null-valued parameter value. -Scope Assign value for $SpecialVM.Id.
⚠️ New-AzPolicyExemption 5 3 Mismatched_Parameter_Value_Type New-AzPolicyExemption -PolicyAssignment $Assignment is not an expected parameter value type. -PolicyAssignment Use correct parameter value type. Expected Type is psobject. Now the type is Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyAssignment.(Command).
⚠️ Update-AzPolicyAssignment 10 3 Is_Alias Set-AzPolicyAssignment is an alias of 'Update-AzPolicyAssignment'. Set-AzPolicyAssignment -Id $PolicyAssignment.ResourceId -EnforcementMode Default Use formal name 'Update-AzPolicyAssignment' of the alias 'Set-AzPolicyAssignment'.
⚠️ Update-AzPolicyAssignment 10 3 Mismatched_Parameter_Value_Type Set-AzPolicyAssignment -Id $PolicyAssignment.ResourceId is not an expected parameter value type. -Id Use correct parameter value type. Expected Type is string. Now the type is .(Command).
⚠️ Update-AzPolicyExemption 6 2 Is_Alias Set-AzPolicyExemption is an alias of 'Update-AzPolicyExemption'. Set-AzPolicyExemption -Id $PolicyExemption.ResourceId -ClearExpiration Use formal name 'Update-AzPolicyExemption' of the alias 'Set-AzPolicyExemption'.
⚠️ Update-AzPolicyExemption 6 2 Mismatched_Parameter_Value_Type Set-AzPolicyExemption -Id $PolicyExemption.ResourceId is not an expected parameter value type. -Id Use correct parameter value type. Expected Type is string. Now the type is .(Command).
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️File Change Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️UX Metadata Check
⚠️PowerShell Core - Windows
Type Module ResourceType SubResourceType Command Description
⚠️ Az.Resources Microsoft.Resources subscriptionsResourcegroups Get-AzResourceGroup The path /subscriptions/{subscriptionId}/resourceGroups/{name} doesn't contains the right resource tpye: Microsoft.Resources
⚠️ Az.Resources Microsoft.Resources subscriptionsResourcegroups Remove-AzResourceGroup The path /subscriptions/{subscriptionId}/resourceGroups/{name} doesn't contains the right resource tpye: Microsoft.Resources
⚠️Windows PowerShell - Windows
Type Module ResourceType SubResourceType Command Description
⚠️ Az.Resources Microsoft.Resources subscriptionsResourcegroups Get-AzResourceGroup The path /subscriptions/{subscriptionId}/resourceGroups/{name} doesn't contains the right resource tpye: Microsoft.Resources
⚠️ Az.Resources Microsoft.Resources subscriptionsResourcegroups Remove-AzResourceGroup The path /subscriptions/{subscriptionId}/resourceGroups/{name} doesn't contains the right resource tpye: Microsoft.Resources
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows

Copy link
Contributor

Thank you for your contribution azure-pipelines[bot]! We will review the pull request and get back to you soon.

@msJinLei msJinLei merged commit 924eb68 into main Sep 19, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants