Get-​Azure​Rm​Stream​Analytics​Default​Function​Definition

Gets the default definition of a function in Stream Analytics.

Syntax

Get-AzureRmStreamAnalyticsDefaultFunctionDefinition
   [-ResourceGroupName] <String>
   [-JobName] <String>
   [-Name] <String>
   [-File] <String>
   [<CommonParameters>]

Description

The Get-AzureRmStreamAnalyticsDefaultFunctionDefinition cmdlet gets the default definition of a function in Azure Stream Analytics. You can use the default definition and the New-AzureRmStreamAnalyticsFunction cmdlet to create a function. You can modify the default definition before you create a function.

Examples

Example 1: Get the default definition of a Stream Analytics function

PS C:\>Get-AzureRmStreamAnalyticsDefaultFunctionDefinition -ResourceGroupName "StreamAnalytics-Default-West-US" -JobName "StreamJob22" -File "C:\RetrieveDefaultDefinitionRequest.json" -Name "ScoreTweet"

This command gets the default definition of the function named ScoreTweet by using the parameters specified in the RetrieveDefaultDefinitionRequest.json file.

Required Parameters

-File

Specifies the path of a .json file that contains the JavaScript Object Notation (JSON) representation of the request body for the retrieve default function definition request.

Type:String
Position:3
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-JobName

Specifies the name of the Stream Analytics job to which functions belong. This cmdlet gets the default definition for a function in the job that this parameter specifies.

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Name

Specifies the name of the Stream Analytics function for which this cmdlet gets the default definition.

Type:String
Position:2
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ResourceGroupName

Specifies the name of the resource group to which Stream Analytics functions belongs. This cmdlet gets a function definition for the group that this parameter specifies.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False