-
Notifications
You must be signed in to change notification settings - Fork 4k
Migrate ConnectedMachine from generation to main #23681
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
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
️✔️Az.Accounts
|
Type | Cmdlet | Description | Remediation |
---|---|---|---|
Get-AzConnectedExtensionMetadata | Get-AzConnectedExtensionMetadata 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-AzConnectedExtensionMetadata | Get-AzConnectedExtensionMetadata 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-AzConnectedMachine | Get-AzConnectedMachine 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-AzConnectedMachine | Get-AzConnectedMachine 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-AzConnectedMachineExtension | Get-AzConnectedMachineExtension 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-AzConnectedMachineExtension | Get-AzConnectedMachineExtension 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-AzConnectedMachineRunCommand | Get-AzConnectedMachineRunCommand 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-AzConnectedMachineRunCommand | Get-AzConnectedMachineRunCommand 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-AzConnectedPrivateLinkScope | Get-AzConnectedPrivateLinkScope 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-AzConnectedPrivateLinkScope | Get-AzConnectedPrivateLinkScope 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-AzConnectedExtensionMetadata | Get-AzConnectedExtensionMetadata 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-AzConnectedExtensionMetadata | Get-AzConnectedExtensionMetadata 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-AzConnectedMachine | Get-AzConnectedMachine 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-AzConnectedMachine | Get-AzConnectedMachine 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-AzConnectedMachineExtension | Get-AzConnectedMachineExtension 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-AzConnectedMachineExtension | Get-AzConnectedMachineExtension 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-AzConnectedMachineRunCommand | Get-AzConnectedMachineRunCommand 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-AzConnectedMachineRunCommand | Get-AzConnectedMachineRunCommand 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-AzConnectedPrivateLinkScope | Get-AzConnectedPrivateLinkScope 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-AzConnectedPrivateLinkScope | Get-AzConnectedPrivateLinkScope 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 ⚠️ Get-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Get-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $resourceGroupName. ⚠️ Get-AzConnectedPrivateLinkScope 2 1 Unassigned_Variable Get-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $resourceGroupName. ⚠️ Get-AzConnectedPrivateLinkScope 2 1 Unassigned_Variable Get-AzConnectedPrivateLinkScope -ScopeName $scopeName is a null-valued parameter value. -ScopeName Assign value for $scopeName. ⚠️ New-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable New-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $resourceGroupName. ⚠️ New-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable New-AzConnectedPrivateLinkScope -ScopeName $scopeName is a null-valued parameter value. -ScopeName Assign value for $scopeName. ⚠️ New-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable New-AzConnectedPrivateLinkScope -Location $location is a null-valued parameter value. -Location Assign value for $location. ⚠️ Remove-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Remove-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $resourceGroupName. ⚠️ Remove-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Remove-AzConnectedPrivateLinkScope -ScopeName $scopeName is a null-valued parameter value. -ScopeName Assign value for $scopeName. ⚠️ Set-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Set-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $resourceGroupName. ⚠️ Set-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Set-AzConnectedPrivateLinkScope -ScopeName $scopeName is a null-valued parameter value. -ScopeName Assign value for $scopeName. ⚠️ Set-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Set-AzConnectedPrivateLinkScope -Tag $tags is a null-valued parameter value. -Tag Assign value for $tags. ⚠️ Set-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Set-AzConnectedPrivateLinkScope -Location $location is a null-valued parameter value. -Location Assign value for $location. ⚠️ Update-AzConnectedExtension 1 2 Unassigned_Variable Update-AzConnectedExtension -ResourceGroupName $env.ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $env.ResourceGroupName. ⚠️ Update-AzConnectedExtension 1 2 Unassigned_Variable Update-AzConnectedExtension -MachineName $machineName is a null-valued parameter value. -MachineName Assign value for $machineName. ⚠️ Update-AzConnectedMachineExtension 4 4 Mismatched_Parameter_Value_Type Update-AzConnectedMachineExtension -ExtensionParameter $extToUpdate is not an expected parameter value type. -ExtensionParameter Use correct parameter value type. Expected Type is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpdate. Now the type is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension.(Command). ⚠️ Get-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Get-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $resourceGroupName. ⚠️ Get-AzConnectedPrivateLinkScope 2 1 Unassigned_Variable Get-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $resourceGroupName. ⚠️ Get-AzConnectedPrivateLinkScope 2 1 Unassigned_Variable Get-AzConnectedPrivateLinkScope -ScopeName $scopeName is a null-valued parameter value. -ScopeName Assign value for $scopeName. ⚠️ New-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable New-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $resourceGroupName. ⚠️ New-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable New-AzConnectedPrivateLinkScope -ScopeName $scopeName is a null-valued parameter value. -ScopeName Assign value for $scopeName. ⚠️ New-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable New-AzConnectedPrivateLinkScope -Location $location is a null-valued parameter value. -Location Assign value for $location. ⚠️ Remove-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Remove-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $resourceGroupName. ⚠️ Remove-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Remove-AzConnectedPrivateLinkScope -ScopeName $scopeName is a null-valued parameter value. -ScopeName Assign value for $scopeName. ⚠️ Set-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Set-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $resourceGroupName. ⚠️ Set-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Set-AzConnectedPrivateLinkScope -ScopeName $scopeName is a null-valued parameter value. -ScopeName Assign value for $scopeName. ⚠️ Set-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Set-AzConnectedPrivateLinkScope -Tag $tags is a null-valued parameter value. -Tag Assign value for $tags. ⚠️ Set-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Set-AzConnectedPrivateLinkScope -Location $location is a null-valued parameter value. -Location Assign value for $location. ⚠️ Update-AzConnectedExtension 1 2 Unassigned_Variable Update-AzConnectedExtension -ResourceGroupName $env.ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $env.ResourceGroupName. ⚠️ Update-AzConnectedExtension 1 2 Unassigned_Variable Update-AzConnectedExtension -MachineName $machineName is a null-valued parameter value. -MachineName Assign value for $machineName. ⚠️ Update-AzConnectedMachineExtension 4 4 Mismatched_Parameter_Value_Type Update-AzConnectedMachineExtension -ExtensionParameter $extToUpdate is not an expected parameter value type. -ExtensionParameter Use correct parameter value type. Expected Type is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpdate. Now the type is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension.(Command).
⚠️ Windows PowerShell - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation ⚠️ Get-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Get-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $resourceGroupName. ⚠️ Get-AzConnectedPrivateLinkScope 2 1 Unassigned_Variable Get-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $resourceGroupName. ⚠️ Get-AzConnectedPrivateLinkScope 2 1 Unassigned_Variable Get-AzConnectedPrivateLinkScope -ScopeName $scopeName is a null-valued parameter value. -ScopeName Assign value for $scopeName. ⚠️ New-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable New-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $resourceGroupName. ⚠️ New-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable New-AzConnectedPrivateLinkScope -ScopeName $scopeName is a null-valued parameter value. -ScopeName Assign value for $scopeName. ⚠️ New-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable New-AzConnectedPrivateLinkScope -Location $location is a null-valued parameter value. -Location Assign value for $location. ⚠️ Remove-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Remove-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $resourceGroupName. ⚠️ Remove-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Remove-AzConnectedPrivateLinkScope -ScopeName $scopeName is a null-valued parameter value. -ScopeName Assign value for $scopeName. ⚠️ Set-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Set-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $resourceGroupName. ⚠️ Set-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Set-AzConnectedPrivateLinkScope -ScopeName $scopeName is a null-valued parameter value. -ScopeName Assign value for $scopeName. ⚠️ Set-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Set-AzConnectedPrivateLinkScope -Tag $tags is a null-valued parameter value. -Tag Assign value for $tags. ⚠️ Set-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Set-AzConnectedPrivateLinkScope -Location $location is a null-valued parameter value. -Location Assign value for $location. ⚠️ Update-AzConnectedExtension 1 2 Unassigned_Variable Update-AzConnectedExtension -ResourceGroupName $env.ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $env.ResourceGroupName. ⚠️ Update-AzConnectedExtension 1 2 Unassigned_Variable Update-AzConnectedExtension -MachineName $machineName is a null-valued parameter value. -MachineName Assign value for $machineName. ⚠️ Update-AzConnectedMachineExtension 4 4 Mismatched_Parameter_Value_Type Update-AzConnectedMachineExtension -ExtensionParameter $extToUpdate is not an expected parameter value type. -ExtensionParameter Use correct parameter value type. Expected Type is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpdate. Now the type is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension.(Command). ⚠️ Get-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Get-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $resourceGroupName. ⚠️ Get-AzConnectedPrivateLinkScope 2 1 Unassigned_Variable Get-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $resourceGroupName. ⚠️ Get-AzConnectedPrivateLinkScope 2 1 Unassigned_Variable Get-AzConnectedPrivateLinkScope -ScopeName $scopeName is a null-valued parameter value. -ScopeName Assign value for $scopeName. ⚠️ New-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable New-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $resourceGroupName. ⚠️ New-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable New-AzConnectedPrivateLinkScope -ScopeName $scopeName is a null-valued parameter value. -ScopeName Assign value for $scopeName. ⚠️ New-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable New-AzConnectedPrivateLinkScope -Location $location is a null-valued parameter value. -Location Assign value for $location. ⚠️ Remove-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Remove-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $resourceGroupName. ⚠️ Remove-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Remove-AzConnectedPrivateLinkScope -ScopeName $scopeName is a null-valued parameter value. -ScopeName Assign value for $scopeName. ⚠️ Set-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Set-AzConnectedPrivateLinkScope -ResourceGroupName $resourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $resourceGroupName. ⚠️ Set-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Set-AzConnectedPrivateLinkScope -ScopeName $scopeName is a null-valued parameter value. -ScopeName Assign value for $scopeName. ⚠️ Set-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Set-AzConnectedPrivateLinkScope -Tag $tags is a null-valued parameter value. -Tag Assign value for $tags. ⚠️ Set-AzConnectedPrivateLinkScope 1 1 Unassigned_Variable Set-AzConnectedPrivateLinkScope -Location $location is a null-valued parameter value. -Location Assign value for $location. ⚠️ Update-AzConnectedExtension 1 2 Unassigned_Variable Update-AzConnectedExtension -ResourceGroupName $env.ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $env.ResourceGroupName. ⚠️ Update-AzConnectedExtension 1 2 Unassigned_Variable Update-AzConnectedExtension -MachineName $machineName is a null-valued parameter value. -MachineName Assign value for $machineName. ⚠️ Update-AzConnectedMachineExtension 4 4 Mismatched_Parameter_Value_Type Update-AzConnectedMachineExtension -ExtensionParameter $extToUpdate is not an expected parameter value type. -ExtensionParameter Use correct parameter value type. Expected Type is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtensionUpdate. Now the type is Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineExtension.(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
️✔️Windows PowerShell - Windows
️✔️Test
️✔️PowerShell Core - Linux
️✔️PowerShell Core - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
61dc5e7
to
0822d90
Compare
0822d90
to
1446540
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Migrate ConnectedMachine from generation to wyunchi/fix/gen2main
Checklist