< Back

Stop-AzureRmStreamAnalyticsJob

Sat Jan 11, 2020 10:45 am

NAME Stop-AzureRmStreamAnalyticsJob



SYNOPSIS

Stops a Stream Analytics job.





SYNTAX

Stop-AzureRmStreamAnalyticsJob [-ResourceGroupName] <String> [-Name] <String> [-DefaultProfile

<IAzureContextContainer>] [<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.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

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



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

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



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

System.Object







NOTES









EXAMPLE 1: Stop a running job



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



This command stops the job StreamingJob.







RELATED LINKS

Online Version:

https://docs.microsoft.com/en-us/powers ... alyticsjob

Get-AzureRmStreamAnalyticsJob

Get-AzureRmStreamAnalyticsJob

New-AzureRmStreamAnalyticsJob

Remove-AzureRmStreamAnalyticsJob

Start-AzureRmStreamAnalyticsJob