Migrate Migrate from generation to main#22025
Merged
vidai-msft merged 3 commits intomainfrom Jun 9, 2023
Merged
Conversation
️✔️Az.Accounts
|
| Type | Cmdlet | Example | Line | RuleName | Description | Extent | Remediation |
|---|---|---|---|---|---|---|---|
| 1 | 6 | Mismatched_Parameter_Value_Type | New-AzMigrateReplicationPolicy -ProviderSpecificInput $providerSpecificPolicy is not an expected parameter value type. | -ProviderSpecificInput | Use correct parameter value type. Expected Type is Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IPolicyProviderSpecificInput. Now the type is .(Type). | ||
| 1 | 10 | Mismatched_Parameter_Value_Type | New-AzMigrateReplicationProtectionContainerMapping -ProviderSpecificInput $providerSpecificInput is not an expected parameter value type. | -ProviderSpecificInput | Use correct parameter value type. Expected Type is Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IReplicationProviderSpecificContainerMappingInput. Now the type is .(Type). | ||
| 2 | 1 | Unassigned_Variable | Get-AzMigrateServerReplication -TargetObjectID $env.srsMachineId is a null-valued parameter value. | -TargetObjectID | Assign value for $env.srsMachineId. | ||
| 2 | 1 | Unassigned_Variable | Get-AzMigrateServerReplication -SubscriptionId $env.srsSubscriptionId is a null-valued parameter value. | -SubscriptionId | Assign value for $env.srsSubscriptionId. | ||
| 2 | 1 | Unassigned_Variable | Get-AzMigrateServerReplication -TargetObjectID $env.srsMachineId is a null-valued parameter value. | -TargetObjectID | Assign value for $env.srsMachineId. | ||
| 2 | 1 | Unassigned_Variable | Get-AzMigrateServerReplication -SubscriptionId $env.srsSubscriptionId is a null-valued parameter value. | -SubscriptionId | Assign value for $env.srsSubscriptionId. | ||
| 2 | 2 | Unassigned_Variable | Start-AzMigrateTestMigrationCleanup -InputObject $ob is a null-valued parameter value. | -InputObject | Assign value for $ob. |
⚠️ Windows PowerShell - Windows
| Type | Cmdlet | Example | Line | RuleName | Description | Extent | Remediation |
|---|---|---|---|---|---|---|---|
| 1 | 6 | Mismatched_Parameter_Value_Type | New-AzMigrateReplicationPolicy -ProviderSpecificInput $providerSpecificPolicy is not an expected parameter value type. | -ProviderSpecificInput | Use correct parameter value type. Expected Type is Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IPolicyProviderSpecificInput. Now the type is .(Type). | ||
| 1 | 10 | Mismatched_Parameter_Value_Type | New-AzMigrateReplicationProtectionContainerMapping -ProviderSpecificInput $providerSpecificInput is not an expected parameter value type. | -ProviderSpecificInput | Use correct parameter value type. Expected Type is Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IReplicationProviderSpecificContainerMappingInput. Now the type is .(Type). | ||
| 2 | 1 | Unassigned_Variable | Get-AzMigrateServerReplication -TargetObjectID $env.srsMachineId is a null-valued parameter value. | -TargetObjectID | Assign value for $env.srsMachineId. | ||
| 2 | 1 | Unassigned_Variable | Get-AzMigrateServerReplication -SubscriptionId $env.srsSubscriptionId is a null-valued parameter value. | -SubscriptionId | Assign value for $env.srsSubscriptionId. | ||
| 2 | 1 | Unassigned_Variable | Get-AzMigrateServerReplication -TargetObjectID $env.srsMachineId is a null-valued parameter value. | -TargetObjectID | Assign value for $env.srsMachineId. | ||
| 2 | 1 | Unassigned_Variable | Get-AzMigrateServerReplication -SubscriptionId $env.srsSubscriptionId is a null-valued parameter value. | -SubscriptionId | Assign value for $env.srsSubscriptionId. | ||
| 2 | 2 | Unassigned_Variable | Start-AzMigrateTestMigrationCleanup -InputObject $ob is a null-valued parameter value. | -InputObject | Assign value for $ob. |
️✔️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
⚠️ - 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 - Linux
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
8cb4080 to
d5dd612
Compare
vidai-msft
approved these changes
Jun 9, 2023
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
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 Migrate from generation to main
Checklist