Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Migrate/custom/New-AzMigrateServerReplication.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The New-AzMigrateServerReplication cmdlet starts the replication for a particula
https://docs.microsoft.com/en-us/powershell/module/az.migrate/new-azmigrateserverreplication
#>
function New-AzMigrateServerReplication {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IMigrationItem])]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob])]
[CmdletBinding(DefaultParameterSetName='ByIdDefaultUser', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='ByIdDefaultUser', Mandatory)]
Expand Down
8 changes: 1 addition & 7 deletions src/Migrate/custom/Remove-AzMigrateServerReplication.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The Remove-AzMigrateServerReplication cmdlet stops the replication for a migrate
https://docs.microsoft.com/en-us/powershell/module/az.migrate/remove-azmigrateserverreplication
#>
function Remove-AzMigrateServerReplication {
[OutputType([System.Boolean])]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob])]
[CmdletBinding(DefaultParameterSetName='ByIDVMwareCbt', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='ByIDVMwareCbt', Mandatory)]
Expand Down Expand Up @@ -83,12 +83,6 @@ function Remove-AzMigrateServerReplication {
[System.Uri]
# The URI for the proxy server to use
${Proxy},

[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Runtime')]
[System.Management.Automation.SwitchParameter]
# Returns true when the command succeeds
${PassThru},

[Parameter(DontShow)]
[ValidateNotNull()]
Expand Down
2 changes: 1 addition & 1 deletion src/Migrate/custom/Restart-AzMigrateServerReplication.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The Restart-AzMigrateServerReplication cmdlet repairs the replication for the sp
https://docs.microsoft.com/en-us/powershell/module/az.migrate/restart-azmigrateserverreplication
#>
function Restart-AzMigrateServerReplication{
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IMigrationItem])]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob])]
[CmdletBinding(DefaultParameterSetName='ByIDVMwareCbt', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='ByIDVMwareCbt', Mandatory)]
Expand Down
2 changes: 1 addition & 1 deletion src/Migrate/custom/Set-AzMigrateServerReplication.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The Set-AzMigrateServerReplication cmdlet updates the target properties for the
https://docs.microsoft.com/en-us/powershell/module/az.migrate/set-azmigrateserverreplication
#>
function Set-AzMigrateServerReplication {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IMigrationItem])]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob])]
[CmdletBinding(DefaultParameterSetName='ByIDVMwareCbt', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='ByIDVMwareCbt', Mandatory)]
Expand Down
2 changes: 1 addition & 1 deletion src/Migrate/custom/Start-AzMigrateServerMigration.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Starts the migration for the replicating server.
https://docs.microsoft.com/en-us/powershell/module/az.migrate/start-azmigraterservermigration
#>
function Start-AzMigrateServerMigration {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IMigrationItem])]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob])]
[CmdletBinding(DefaultParameterSetName='ByIDVMwareCbt', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='ByIDVMwareCbt', Mandatory)]
Expand Down
2 changes: 1 addition & 1 deletion src/Migrate/custom/Start-AzMigrateTestMigration.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The Start-AzMigrateTestMigration cmdlet initiates the test migration for the rep
https://docs.microsoft.com/en-us/powershell/module/az.migrate/start-azmigratetestmigration
#>
function Start-AzMigrateTestMigration {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IMigrationItem])]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob])]
[CmdletBinding(DefaultParameterSetName='ByIDVMwareCbt', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='ByIDVMwareCbt', Mandatory)]
Expand Down
2 changes: 1 addition & 1 deletion src/Migrate/custom/Start-AzMigrateTestMigrationCleanup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The Start-AzMigrateTestMigrationCleanup cmdlet initiates the clean up of the tes
https://docs.microsoft.com/en-us/powershell/module/az.migrate/start-azmigratetestmigrationcleanup
#>
function Start-AzMigrateTestMigrationCleanup {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IMigrationItem])]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob])]
[CmdletBinding(DefaultParameterSetName='ByIDVMwareCbt', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='ByIDVMwareCbt', Mandatory)]
Expand Down
2 changes: 1 addition & 1 deletion src/Migrate/docs/New-AzMigrateServerReplication.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IMigrationItem
### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob

## NOTES

Expand Down
21 changes: 3 additions & 18 deletions src/Migrate/docs/Remove-AzMigrateServerReplication.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ Stops replication for the migrated server.
### ByIDVMwareCbt (Default)
```
Remove-AzMigrateServerReplication -TargetObjectID <String> [-SubscriptionId <String>] [-ForceRemove <String>]
[-DefaultProfile <PSObject>] [-PassThru] [<CommonParameters>]
[-DefaultProfile <PSObject>] [<CommonParameters>]
```

### ByInputObjectVMwareCbt
```
Remove-AzMigrateServerReplication -InputObject <IMigrationItem> [-SubscriptionId <String>]
[-ForceRemove <String>] [-DefaultProfile <PSObject>] [-PassThru] [<CommonParameters>]
[-ForceRemove <String>] [-DefaultProfile <PSObject>] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -166,21 +166,6 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -PassThru
Returns true when the command succeeds

```yaml
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -SubscriptionId
Azure Subscription ID.

Expand Down Expand Up @@ -219,7 +204,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### System.Boolean
### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob

## NOTES

Expand Down
2 changes: 1 addition & 1 deletion src/Migrate/docs/Restart-AzMigrateServerReplication.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IMigrationItem
### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob

## NOTES

Expand Down
2 changes: 1 addition & 1 deletion src/Migrate/docs/Set-AzMigrateServerReplication.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IMigrationItem
### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob

## NOTES

Expand Down
2 changes: 1 addition & 1 deletion src/Migrate/docs/Start-AzMigrateServerMigration.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IMigrationItem
### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob

## NOTES

Expand Down
2 changes: 1 addition & 1 deletion src/Migrate/docs/Start-AzMigrateTestMigration.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IMigrationItem
### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob

## NOTES

Expand Down
2 changes: 1 addition & 1 deletion src/Migrate/docs/Start-AzMigrateTestMigrationCleanup.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IMigrationItem
### Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110.IJob

## NOTES

Expand Down