Skip to content

Commit bdaf61f

Browse files
[skip ci] Archive 26a72c5 (#28541)
1 parent 26a72c5 commit bdaf61f

File tree

4 files changed

+49
-35
lines changed

4 files changed

+49
-35
lines changed

generated/Migrate/Migrate.Autorest/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
2121
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
2222
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Migrate")]
23-
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.8.0")]
24-
[assembly: System.Reflection.AssemblyVersionAttribute("2.8.0")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.9.0")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("2.9.0")]
2525
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
2626
[assembly: System.CLSCompliantAttribute(false)]

generated/Migrate/Migrate.Autorest/exports/Get-AzMigrateServerMigrationStatus.ps1

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ Retrieves the details of the replicating server status.
2020
.Description
2121
The Get-AzMigrateServerMigrationStatus cmdlet retrieves the replication status for the replicating server.
2222
.Example
23-
Get-AzMigrateServerMigrationStatus -ResourceGroupName cbtpvtrg -ProjectName migpvt
23+
Get-AzMigrateServerMigrationStatus -ProjectName "cbt-resync-gql" -ResourceGroupName "ankitbaluni-resync-rg"
2424
.Example
25-
Get-AzMigrateServerMigrationStatus -ProjectName "migpvt-ecyproj" -ResourceGroupName "cbtprivatestamprg" -MachineName "CVM-Win2019"
25+
Get-AzMigrateServerMigrationStatus -ProjectName "cbt-resync-gql" -ResourceGroupName "ankitbaluni-resync-rg" -MachineName "Rhel8-Vm"
2626
.Example
27-
Get-AzMigrateServerMigrationStatus -ProjectName "migpvt-ecyproj" -ResourceGroupName "cbtprivatestamprg" -ApplianceName "migpvt"
27+
Get-AzMigrateServerMigrationStatus -ProjectName "cbt-resync-gql" -ResourceGroupName "ankitbaluni-resync-rg" -ApplianceName "cbtresyncgql"
28+
.Example
29+
Get-AzMigrateServerMigrationStatus -ProjectName "cbt-resync-gql" -ResourceGroupName "ankitbaluni-resync-rg" -MachineName "Rhel8-Vm" -Expedite
2830
2931
.Outputs
3032
System.Management.Automation.PSObject[]
@@ -38,15 +40,13 @@ param(
3840
[Parameter(Mandatory)]
3941
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')]
4042
[System.String]
41-
# [Parameter(ParameterSetName = 'GetByPrioritiseServer', Mandatory)]
42-
# Specifies the Resource Group of the Azure Migrate Project in the current subscription.
43+
# Specifies the Resource Group of the Azure Migrate Project in the current subscription.
4344
${ResourceGroupName},
4445

4546
[Parameter(Mandatory)]
4647
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')]
4748
[System.String]
48-
# [Parameter(ParameterSetName = 'GetByPrioritiseServer', Mandatory)]
49-
# Specifies the Azure Migrate project in the current subscription.
49+
# Specifies the Azure Migrate project in the current subscription.
5050
${ProjectName},
5151

5252
[Parameter()]
@@ -56,20 +56,26 @@ param(
5656
# Azure Subscription ID.
5757
${SubscriptionId},
5858

59-
[Parameter(ParameterSetName='GetByApplianceName', Mandatory)]
60-
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')]
61-
[System.String]
62-
# Specifies the name of the appliance.
63-
${ApplianceName},
64-
59+
[Parameter(ParameterSetName='GetByPrioritiseServer', Mandatory)]
6560
[Parameter(ParameterSetName='GetHealthByMachineName', Mandatory)]
6661
[Parameter(ParameterSetName='GetByMachineName', Mandatory)]
6762
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')]
6863
[System.String]
69-
# [Parameter(ParameterSetName = 'GetByPrioritiseServer', Mandatory)]
70-
# Specifies the display name of the replicating machine.
64+
# Specifies the display name of the replicating machine.
7165
${MachineName},
7266

67+
[Parameter(ParameterSetName='GetByPrioritiseServer', Mandatory)]
68+
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')]
69+
[System.Management.Automation.SwitchParameter]
70+
# Specifies whether to expedite the operation of a replicating server.
71+
${Expedite},
72+
73+
[Parameter(ParameterSetName='GetByApplianceName', Mandatory)]
74+
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')]
75+
[System.String]
76+
# Specifies the name of the appliance.
77+
${ApplianceName},
78+
7379
[Parameter(ParameterSetName='GetHealthByMachineName', Mandatory)]
7480
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')]
7581
[System.Management.Automation.SwitchParameter]
@@ -163,11 +169,12 @@ begin {
163169

164170
$mapping = @{
165171
ListByName = 'Az.Migrate.custom\Get-AzMigrateServerMigrationStatus';
172+
GetByPrioritiseServer = 'Az.Migrate.custom\Get-AzMigrateServerMigrationStatus';
166173
GetByApplianceName = 'Az.Migrate.custom\Get-AzMigrateServerMigrationStatus';
167174
GetHealthByMachineName = 'Az.Migrate.custom\Get-AzMigrateServerMigrationStatus';
168175
GetByMachineName = 'Az.Migrate.custom\Get-AzMigrateServerMigrationStatus';
169176
}
170-
if (('ListByName', 'GetByApplianceName', 'GetHealthByMachineName', 'GetByMachineName') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
177+
if (('ListByName', 'GetByPrioritiseServer', 'GetByApplianceName', 'GetHealthByMachineName', 'GetByMachineName') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
171178
$testPlayback = $false
172179
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
173180
if ($testPlayback) {

generated/Migrate/Migrate.Autorest/exports/ProxyCmdletDefinitions.ps1

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3735,11 +3735,13 @@ Retrieves the details of the replicating server status.
37353735
.Description
37363736
The Get-AzMigrateServerMigrationStatus cmdlet retrieves the replication status for the replicating server.
37373737
.Example
3738-
Get-AzMigrateServerMigrationStatus -ResourceGroupName cbtpvtrg -ProjectName migpvt
3738+
Get-AzMigrateServerMigrationStatus -ProjectName "cbt-resync-gql" -ResourceGroupName "ankitbaluni-resync-rg"
37393739
.Example
3740-
Get-AzMigrateServerMigrationStatus -ProjectName "migpvt-ecyproj" -ResourceGroupName "cbtprivatestamprg" -MachineName "CVM-Win2019"
3740+
Get-AzMigrateServerMigrationStatus -ProjectName "cbt-resync-gql" -ResourceGroupName "ankitbaluni-resync-rg" -MachineName "Rhel8-Vm"
37413741
.Example
3742-
Get-AzMigrateServerMigrationStatus -ProjectName "migpvt-ecyproj" -ResourceGroupName "cbtprivatestamprg" -ApplianceName "migpvt"
3742+
Get-AzMigrateServerMigrationStatus -ProjectName "cbt-resync-gql" -ResourceGroupName "ankitbaluni-resync-rg" -ApplianceName "cbtresyncgql"
3743+
.Example
3744+
Get-AzMigrateServerMigrationStatus -ProjectName "cbt-resync-gql" -ResourceGroupName "ankitbaluni-resync-rg" -MachineName "Rhel8-Vm" -Expedite
37433745
37443746
.Outputs
37453747
System.Management.Automation.PSObject[]
@@ -3753,15 +3755,13 @@ param(
37533755
[Parameter(Mandatory)]
37543756
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')]
37553757
[System.String]
3756-
# [Parameter(ParameterSetName = 'GetByPrioritiseServer', Mandatory)]
3757-
# Specifies the Resource Group of the Azure Migrate Project in the current subscription.
3758+
# Specifies the Resource Group of the Azure Migrate Project in the current subscription.
37583759
${ResourceGroupName},
37593760

37603761
[Parameter(Mandatory)]
37613762
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')]
37623763
[System.String]
3763-
# [Parameter(ParameterSetName = 'GetByPrioritiseServer', Mandatory)]
3764-
# Specifies the Azure Migrate project in the current subscription.
3764+
# Specifies the Azure Migrate project in the current subscription.
37653765
${ProjectName},
37663766

37673767
[Parameter()]
@@ -3771,20 +3771,26 @@ param(
37713771
# Azure Subscription ID.
37723772
${SubscriptionId},
37733773

3774-
[Parameter(ParameterSetName='GetByApplianceName', Mandatory)]
3775-
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')]
3776-
[System.String]
3777-
# Specifies the name of the appliance.
3778-
${ApplianceName},
3779-
3774+
[Parameter(ParameterSetName='GetByPrioritiseServer', Mandatory)]
37803775
[Parameter(ParameterSetName='GetHealthByMachineName', Mandatory)]
37813776
[Parameter(ParameterSetName='GetByMachineName', Mandatory)]
37823777
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')]
37833778
[System.String]
3784-
# [Parameter(ParameterSetName = 'GetByPrioritiseServer', Mandatory)]
3785-
# Specifies the display name of the replicating machine.
3779+
# Specifies the display name of the replicating machine.
37863780
${MachineName},
37873781

3782+
[Parameter(ParameterSetName='GetByPrioritiseServer', Mandatory)]
3783+
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')]
3784+
[System.Management.Automation.SwitchParameter]
3785+
# Specifies whether to expedite the operation of a replicating server.
3786+
${Expedite},
3787+
3788+
[Parameter(ParameterSetName='GetByApplianceName', Mandatory)]
3789+
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')]
3790+
[System.String]
3791+
# Specifies the name of the appliance.
3792+
${ApplianceName},
3793+
37883794
[Parameter(ParameterSetName='GetHealthByMachineName', Mandatory)]
37893795
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')]
37903796
[System.Management.Automation.SwitchParameter]
@@ -3878,11 +3884,12 @@ begin {
38783884

38793885
$mapping = @{
38803886
ListByName = 'Az.Migrate.custom\Get-AzMigrateServerMigrationStatus';
3887+
GetByPrioritiseServer = 'Az.Migrate.custom\Get-AzMigrateServerMigrationStatus';
38813888
GetByApplianceName = 'Az.Migrate.custom\Get-AzMigrateServerMigrationStatus';
38823889
GetHealthByMachineName = 'Az.Migrate.custom\Get-AzMigrateServerMigrationStatus';
38833890
GetByMachineName = 'Az.Migrate.custom\Get-AzMigrateServerMigrationStatus';
38843891
}
3885-
if (('ListByName', 'GetByApplianceName', 'GetHealthByMachineName', 'GetByMachineName') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
3892+
if (('ListByName', 'GetByPrioritiseServer', 'GetByApplianceName', 'GetHealthByMachineName', 'GetByMachineName') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
38863893
$testPlayback = $false
38873894
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
38883895
if ($testPlayback) {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"generate_Id": "4e55833b-f8ae-4cf1-9514-f2c589c80cae"
2+
"generate_Id": "82e14e38-5c92-49e1-9872-c0ecb5ed742c"
33
}

0 commit comments

Comments
 (0)