Start-​Azure​Rm​Stream​Analytics​Job

Starts a Stream Analytics job.

Syntax

Start-AzureRmStreamAnalyticsJob
     [-ResourceGroupName] <String>
     [-Name] <String>
     [[-OutputStartMode] <String>]
     [[-OutputStartTime] <DateTime>]
     [<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.

Required Parameters

-Name

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

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

-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
Accept pipeline input:True (ByPropertyName)
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:DateTime
Position:3
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Outputs

System.Object