Stop-AzureRmSiteRecoveryJob

Stops a Site Recovery job.

Syntax

Stop-AzureRmSiteRecoveryJob
    -Job <ASRJob>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]
Stop-AzureRmSiteRecoveryJob
    -Name <String>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

Description

The Stop-AzureRmSiteRecoveryJob cmdlet stops an Azure Site Recovery job.

Required Parameters

-Job

Specifies the Site Recovery job object to stop.

Type:Microsoft.Azure.Commands.SiteRecovery.ASRJob
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Name

Specifies the unique name for the Site Recovery job to stop.

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

Optional Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure.

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

ASRJob

Parameter 'Job' accepts value of type 'ASRJob' from the pipeline

Outputs

Microsoft.Azure.Commands.SiteRecovery.ASRJob