Stop-​Azure​Rm​Stream​Analytics​Job

Stops a Stream Analytics job.

Syntax

Stop-AzureRmStreamAnalyticsJob
    [-ResourceGroupName] <String>
    [-Name] <String>
    [-PipelineVariable <String>]
    [<CommonParameters>]

Description

The Stop-AzureRmStreamAnalyticsJob cmdlet asynchronously stops a Stream Analytics job from running in Azure and deallocates resources that were that were being used. The job definition and metadata remain available within your subscription through both the Azure Portal and Management APIs, such that the job can be edited and restarted. You will not be charged for a job in the Stopped state.

Examples

EXAMPLE 1: Stop a running job

PS C:\>Stop-AzureRmStreamAnalyticsJob -ResourceGroupName "StreamAnalytics-Default-West-US" -Name "StreamingJob"

This command stops the job StreamingJob.

Required Parameters

-Name

Specifies the name of the Azure Stream Analytics job to stop.

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

Specifies the name of the resource group to which the Azure Stream Analytics job belongs.

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

Optional Parameters

-PipelineVariable

Not Specified

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

Outputs

System.Object