< Back
Get-AzureRmStreamAnalyticsDefaultFunctionDefinition
Post
NAME Get-AzureRmStreamAnalyticsDefaultFunctionDefinition
SYNOPSIS
Gets the default definition of a function in Stream Analytics.
SYNTAX
Get-AzureRmStreamAnalyticsDefaultFunctionDefinition [-ResourceGroupName] <String> [-JobName] <String> [-Name]
<String> [-File] <String> [-DefaultProfile <IAzureContextContainer>] [<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.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-File <String>
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.
Required? true
Position? 3
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-JobName <String>
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.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Name <String>
Specifies the name of the Stream Analytics function for which this cmdlet gets the default definition.
Required? true
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceGroupName <String>
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.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
This cmdlet does not accept any input.
OUTPUTS
Microsoft.Azure.Commands.StreamAnalytics.Models.PSFunction
NOTES
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.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... eamanalyti
csdefaultfunctiondefinition
New-AzureRmStreamAnalyticsFunction
SYNOPSIS
Gets the default definition of a function in Stream Analytics.
SYNTAX
Get-AzureRmStreamAnalyticsDefaultFunctionDefinition [-ResourceGroupName] <String> [-JobName] <String> [-Name]
<String> [-File] <String> [-DefaultProfile <IAzureContextContainer>] [<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.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-File <String>
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.
Required? true
Position? 3
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-JobName <String>
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.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Name <String>
Specifies the name of the Stream Analytics function for which this cmdlet gets the default definition.
Required? true
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceGroupName <String>
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.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
This cmdlet does not accept any input.
OUTPUTS
Microsoft.Azure.Commands.StreamAnalytics.Models.PSFunction
NOTES
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.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... eamanalyti
csdefaultfunctiondefinition
New-AzureRmStreamAnalyticsFunction