From 7e7fcbd75c9656e6aa6b3be2f4e224a249fdb0d7 Mon Sep 17 00:00:00 2001 From: azure-powershell-bot <65331932+azure-powershell-bot@users.noreply.github.com> Date: Wed, 10 Sep 2025 03:23:59 +0000 Subject: [PATCH] [skip ci] Archive 26a72c5d22e2df339461bbe9df221d187798b504 --- .../Properties/AssemblyInfo.cs | 4 +- .../Get-AzMigrateServerMigrationStatus.ps1 | 39 +++++++++++-------- .../exports/ProxyCmdletDefinitions.ps1 | 39 +++++++++++-------- .../Migrate.Autorest/generate-info.json | 2 +- 4 files changed, 49 insertions(+), 35 deletions(-) diff --git a/generated/Migrate/Migrate.Autorest/Properties/AssemblyInfo.cs b/generated/Migrate/Migrate.Autorest/Properties/AssemblyInfo.cs index cdc548a94515..9b94307f162a 100644 --- a/generated/Migrate/Migrate.Autorest/Properties/AssemblyInfo.cs +++ b/generated/Migrate/Migrate.Autorest/Properties/AssemblyInfo.cs @@ -20,7 +20,7 @@ [assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")] [assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")] [assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Migrate")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("2.8.0")] -[assembly: System.Reflection.AssemblyVersionAttribute("2.8.0")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("2.9.0")] +[assembly: System.Reflection.AssemblyVersionAttribute("2.9.0")] [assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] [assembly: System.CLSCompliantAttribute(false)] diff --git a/generated/Migrate/Migrate.Autorest/exports/Get-AzMigrateServerMigrationStatus.ps1 b/generated/Migrate/Migrate.Autorest/exports/Get-AzMigrateServerMigrationStatus.ps1 index f26d51ba3323..2f93febde543 100644 --- a/generated/Migrate/Migrate.Autorest/exports/Get-AzMigrateServerMigrationStatus.ps1 +++ b/generated/Migrate/Migrate.Autorest/exports/Get-AzMigrateServerMigrationStatus.ps1 @@ -20,11 +20,13 @@ Retrieves the details of the replicating server status. .Description The Get-AzMigrateServerMigrationStatus cmdlet retrieves the replication status for the replicating server. .Example -Get-AzMigrateServerMigrationStatus -ResourceGroupName cbtpvtrg -ProjectName migpvt +Get-AzMigrateServerMigrationStatus -ProjectName "cbt-resync-gql" -ResourceGroupName "ankitbaluni-resync-rg" .Example -Get-AzMigrateServerMigrationStatus -ProjectName "migpvt-ecyproj" -ResourceGroupName "cbtprivatestamprg" -MachineName "CVM-Win2019" +Get-AzMigrateServerMigrationStatus -ProjectName "cbt-resync-gql" -ResourceGroupName "ankitbaluni-resync-rg" -MachineName "Rhel8-Vm" .Example -Get-AzMigrateServerMigrationStatus -ProjectName "migpvt-ecyproj" -ResourceGroupName "cbtprivatestamprg" -ApplianceName "migpvt" +Get-AzMigrateServerMigrationStatus -ProjectName "cbt-resync-gql" -ResourceGroupName "ankitbaluni-resync-rg" -ApplianceName "cbtresyncgql" +.Example +Get-AzMigrateServerMigrationStatus -ProjectName "cbt-resync-gql" -ResourceGroupName "ankitbaluni-resync-rg" -MachineName "Rhel8-Vm" -Expedite .Outputs System.Management.Automation.PSObject[] @@ -38,15 +40,13 @@ param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')] [System.String] - # [Parameter(ParameterSetName = 'GetByPrioritiseServer', Mandatory)] - # Specifies the Resource Group of the Azure Migrate Project in the current subscription. + # Specifies the Resource Group of the Azure Migrate Project in the current subscription. ${ResourceGroupName}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')] [System.String] - # [Parameter(ParameterSetName = 'GetByPrioritiseServer', Mandatory)] - # Specifies the Azure Migrate project in the current subscription. + # Specifies the Azure Migrate project in the current subscription. ${ProjectName}, [Parameter()] @@ -56,20 +56,26 @@ param( # Azure Subscription ID. ${SubscriptionId}, - [Parameter(ParameterSetName='GetByApplianceName', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')] - [System.String] - # Specifies the name of the appliance. - ${ApplianceName}, - + [Parameter(ParameterSetName='GetByPrioritiseServer', Mandatory)] [Parameter(ParameterSetName='GetHealthByMachineName', Mandatory)] [Parameter(ParameterSetName='GetByMachineName', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')] [System.String] - # [Parameter(ParameterSetName = 'GetByPrioritiseServer', Mandatory)] - # Specifies the display name of the replicating machine. + # Specifies the display name of the replicating machine. ${MachineName}, + [Parameter(ParameterSetName='GetByPrioritiseServer', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')] + [System.Management.Automation.SwitchParameter] + # Specifies whether to expedite the operation of a replicating server. + ${Expedite}, + + [Parameter(ParameterSetName='GetByApplianceName', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')] + [System.String] + # Specifies the name of the appliance. + ${ApplianceName}, + [Parameter(ParameterSetName='GetHealthByMachineName', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')] [System.Management.Automation.SwitchParameter] @@ -163,11 +169,12 @@ begin { $mapping = @{ ListByName = 'Az.Migrate.custom\Get-AzMigrateServerMigrationStatus'; + GetByPrioritiseServer = 'Az.Migrate.custom\Get-AzMigrateServerMigrationStatus'; GetByApplianceName = 'Az.Migrate.custom\Get-AzMigrateServerMigrationStatus'; GetHealthByMachineName = 'Az.Migrate.custom\Get-AzMigrateServerMigrationStatus'; GetByMachineName = 'Az.Migrate.custom\Get-AzMigrateServerMigrationStatus'; } - if (('ListByName', 'GetByApplianceName', 'GetHealthByMachineName', 'GetByMachineName') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + if (('ListByName', 'GetByPrioritiseServer', 'GetByApplianceName', 'GetHealthByMachineName', 'GetByMachineName') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { diff --git a/generated/Migrate/Migrate.Autorest/exports/ProxyCmdletDefinitions.ps1 b/generated/Migrate/Migrate.Autorest/exports/ProxyCmdletDefinitions.ps1 index 6ef75bd910a2..015eb0651ca4 100644 --- a/generated/Migrate/Migrate.Autorest/exports/ProxyCmdletDefinitions.ps1 +++ b/generated/Migrate/Migrate.Autorest/exports/ProxyCmdletDefinitions.ps1 @@ -3735,11 +3735,13 @@ Retrieves the details of the replicating server status. .Description The Get-AzMigrateServerMigrationStatus cmdlet retrieves the replication status for the replicating server. .Example -Get-AzMigrateServerMigrationStatus -ResourceGroupName cbtpvtrg -ProjectName migpvt +Get-AzMigrateServerMigrationStatus -ProjectName "cbt-resync-gql" -ResourceGroupName "ankitbaluni-resync-rg" .Example -Get-AzMigrateServerMigrationStatus -ProjectName "migpvt-ecyproj" -ResourceGroupName "cbtprivatestamprg" -MachineName "CVM-Win2019" +Get-AzMigrateServerMigrationStatus -ProjectName "cbt-resync-gql" -ResourceGroupName "ankitbaluni-resync-rg" -MachineName "Rhel8-Vm" .Example -Get-AzMigrateServerMigrationStatus -ProjectName "migpvt-ecyproj" -ResourceGroupName "cbtprivatestamprg" -ApplianceName "migpvt" +Get-AzMigrateServerMigrationStatus -ProjectName "cbt-resync-gql" -ResourceGroupName "ankitbaluni-resync-rg" -ApplianceName "cbtresyncgql" +.Example +Get-AzMigrateServerMigrationStatus -ProjectName "cbt-resync-gql" -ResourceGroupName "ankitbaluni-resync-rg" -MachineName "Rhel8-Vm" -Expedite .Outputs System.Management.Automation.PSObject[] @@ -3753,15 +3755,13 @@ param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')] [System.String] - # [Parameter(ParameterSetName = 'GetByPrioritiseServer', Mandatory)] - # Specifies the Resource Group of the Azure Migrate Project in the current subscription. + # Specifies the Resource Group of the Azure Migrate Project in the current subscription. ${ResourceGroupName}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')] [System.String] - # [Parameter(ParameterSetName = 'GetByPrioritiseServer', Mandatory)] - # Specifies the Azure Migrate project in the current subscription. + # Specifies the Azure Migrate project in the current subscription. ${ProjectName}, [Parameter()] @@ -3771,20 +3771,26 @@ param( # Azure Subscription ID. ${SubscriptionId}, - [Parameter(ParameterSetName='GetByApplianceName', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')] - [System.String] - # Specifies the name of the appliance. - ${ApplianceName}, - + [Parameter(ParameterSetName='GetByPrioritiseServer', Mandatory)] [Parameter(ParameterSetName='GetHealthByMachineName', Mandatory)] [Parameter(ParameterSetName='GetByMachineName', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')] [System.String] - # [Parameter(ParameterSetName = 'GetByPrioritiseServer', Mandatory)] - # Specifies the display name of the replicating machine. + # Specifies the display name of the replicating machine. ${MachineName}, + [Parameter(ParameterSetName='GetByPrioritiseServer', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')] + [System.Management.Automation.SwitchParameter] + # Specifies whether to expedite the operation of a replicating server. + ${Expedite}, + + [Parameter(ParameterSetName='GetByApplianceName', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')] + [System.String] + # Specifies the name of the appliance. + ${ApplianceName}, + [Parameter(ParameterSetName='GetHealthByMachineName', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')] [System.Management.Automation.SwitchParameter] @@ -3878,11 +3884,12 @@ begin { $mapping = @{ ListByName = 'Az.Migrate.custom\Get-AzMigrateServerMigrationStatus'; + GetByPrioritiseServer = 'Az.Migrate.custom\Get-AzMigrateServerMigrationStatus'; GetByApplianceName = 'Az.Migrate.custom\Get-AzMigrateServerMigrationStatus'; GetHealthByMachineName = 'Az.Migrate.custom\Get-AzMigrateServerMigrationStatus'; GetByMachineName = 'Az.Migrate.custom\Get-AzMigrateServerMigrationStatus'; } - if (('ListByName', 'GetByApplianceName', 'GetHealthByMachineName', 'GetByMachineName') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + if (('ListByName', 'GetByPrioritiseServer', 'GetByApplianceName', 'GetHealthByMachineName', 'GetByMachineName') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { diff --git a/generated/Migrate/Migrate.Autorest/generate-info.json b/generated/Migrate/Migrate.Autorest/generate-info.json index 92b7c03aaac0..5e43d25161a9 100644 --- a/generated/Migrate/Migrate.Autorest/generate-info.json +++ b/generated/Migrate/Migrate.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "4e55833b-f8ae-4cf1-9514-f2c589c80cae" + "generate_Id": "82e14e38-5c92-49e1-9872-c0ecb5ed742c" }