Start-AzureRmStreamAnalyticsJob

Starts a Stream Analytics job.

Warning

The AzureRM PowerShell module has been officially deprecated as of February 29, 2024. Users are advised to migrate from AzureRM to the Az PowerShell module to ensure continued support and updates.

Although the AzureRM module may still function, it's no longer maintained or supported, placing any continued use at the user's discretion and risk. Please refer to our migration resources for guidance on transitioning to the Az module.

Syntax

Start-AzureRmStreamAnalyticsJob
     [-Name] <String>
     [[-OutputStartMode] <String>]
     [[-OutputStartTime] <DateTime>]
     [-ResourceGroupName] <String>
     [-DefaultProfile <IAzureContextContainer>]
     [<CommonParameters>]

Description

The Start-AzureRmStreamAnalyticsJob cmdlet asynchronously deploys and starts a Stream Analytics job in Azure.

Examples

EXAMPLE 1: Start a Stream Analytics job

PS C:\>Start-AzureRmStreamAnalyticsJob -ResourceGroupName "StreamAnalytics-Default-West-US" -Name "StreamingJob" -OutputStartMode "CustomTime" -OutputStartTime "2014-07-03T01:00Z"

This command starts the job StreamingJob and specifies that the output event stream should start at timestamp 2014-07-03T01:00Z.

Parameters

-DefaultProfile

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

Type:IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

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

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-OutputStartMode

Specifies the start mode for the job. Valid values are:

  • JobStartTime - This value indicates that the starting point of the output event stream should start when the job is started.
  • CustomTime - This value indicates that the starting point of the output event stream should start at a custom time that is specified in the OutputStartTime parameter. -- LastOutputEventTime - This value indicates that the starting point of the output event stream should start from the last event output time. If the property is absent, the default is JobStartTime.
Type:String
Position:2
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-OutputStartTime

Specifies the output start time. This value is either an ISO-8601 formatted time stamp that indicates the starting point of the output event stream, or $Null to indicate that the output event stream will start whenever the streaming job is started. This property must have a value if OutputStartMode is set to CustomTime.

Type:Nullable<T>[DateTime]
Position:3
Default value:None
Required:False
Accept pipeline input:True
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
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

Nullable<T>[[System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]

Outputs

Boolean