Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

New-AzureStreamAnalyticsOutput

New-AzureStreamAnalyticsOutput

microsoft.azure.commands.streamanalytics.dll

Synopsis

Creates a new output within a Stream Analytics job or updates an existing output. The name of the output can be specified in the .JSON file or on the command line. If both are specified, the name on command line must be the same with the one in the file. If you specify an output that already exists and do not specify -Force parameter, the cmdlet will ask whether or not to replace the existing output. If you specify -Force parameter and specify an existing output name, the output will be replaced without confirmation.

Syntax

New-AzureStreamAnalyticsOutput [-JobName] [-Name] [-File] [-Force] [-ResourceGroupName] [-Profile] [<CommonParameters>]

Detailed Description

The New-AzureStreamAnalyticsOutput cmdlet creates a new output within a Stream Analytics job or updates an existing output. The name of the output can be specified in the .JSON file or on the command line. If both are specified, the name on command line must be the same with the one in the file. If you specify an output that already exists and do not specify -Force parameter, the cmdlet will ask whether or not to replace the existing output. If you specify -Force parameter and specify an existing output name, the output will be replaced without confirmation.

Parameters

-JobName <String>

Specifies the name of the Azure Stream Analytics job that the Azure Stream Analytics output should be created under.

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Name <String>

Specifies the name of the Azure Stream Analytics output to create.

Aliases

None

Required?

false

Position

2

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-File <String>

Specifies the path to a JSON file that contains the JSON representation of the Azure Stream Analytics output to create.

Aliases

None

Required?

true

Position

3

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Force <SwitchParameter>

If this parameter is specified, the cmdlet will replace the specified Azure Stream Analytics output if it already exists without asking for confirmation.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-ResourceGroupName <String>

Specifies the name of the resource group that the Azure Stream Analytics output should be created under.

Aliases

None

Required?

true

Position

0

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Profile <AzureProfile>

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-PipelineVariable <string>

Not Specified

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type

Microsoft.Azure.Commands.StreamAnalytics.Models.PSOutput

Notes

Examples

-------------------------- EXAMPLE 1 --------------------------

This command creates a new output called "output" in the job StreamingJob. If an existing output with this name is already defined, the cmdlet will ask whether or not to replace it.

New-AzureStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -File "C:\Output.json" -JobName StreamingJob -Name output

-------------------------- EXAMPLE 2 --------------------------

This command replaces the definition for "output" in the job StreamingJob.

New-AzureStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -File "C:\Output.json" -JobName StreamingJob -Name output -Force

Get-AzureStreamAnalyticsOutput
Remove-AzureStreamAnalyticsOutput
Test-AzureStreamAnalyticsOutput