Stop-​Azs​Storage​Container​Migration

Tries to stop the container migration operation specified by the given job ID.

Syntax

Stop-AzsStorageContainerMigration
    -JobId <String>
    [-SkipCertificateValidation]
    [<CommonParameters>]

Description

The Stop-AzsStorageContainerMigration cmdlet tries to stop the container migration operation specified by the given job ID. This cmdlet is available for Azure Stack multi-node instances only.

Examples

Example 1

$jobId = Start-AzsStorageContainerMigration -ContainerToMigrate $containers[1] -DestinationShareUncPath $DestinationShare.UncPath 

Stop-AzsStorageContainerMigration -JobId $jobId

Required Parameters

-JobId

Specifies the Job ID of the Azs container migration that this cmdlet stops.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-SkipCertificateValidation

Indicates that the cmdlet does not validate the certificate.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False