Start-AzStreamAnalyticsJob

Starts a Stream Analytics job.

Syntax

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

Description

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

Examples

EXAMPLE 1: Start a Stream Analytics job

PS C:\> Start-AzStreamAnalyticsJob -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:Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
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
Accept pipeline input:True (ByPropertyName)
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
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:System.Nullable`1[System.DateTime]
Position:3
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

Inputs

String

System.Nullable`1[[System.DateTime, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]

Outputs

Boolean