Test-​Azure​Rm​Stream​Analytics​Function

Tests whether Stream Analytics can connect to a function.

Syntax

Test-AzureRmStreamAnalyticsFunction
    [-ResourceGroupName] <String>
    [-JobName] <String>
    [-Name] <String>
    [<CommonParameters>]

Description

The Test-AzureRmStreamAnalyticsFunction cmdlet tests whether Azure Stream Analytics can connect to a function.

Examples

Example 1: Test a Stream Analytics function

PS C:\>Test-AzureRmStreamAnalyticsFunction -ResourceGroupName "StreamAnalytics-Default-West-US" -JobName "StreamJob22" -Name "ScoreTweet"

This command tests the connection status of the function named ScoreTweet in the job named StreamJob22.

Required Parameters

-JobName

Specifies the name of the Stream Analytics job to which a function belongs.

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 that this cmdlet tests.

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 a Stream Analytics function belongs. This cmdlet tests a function in the resource group that this parameter specifies.

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

Outputs

System.Object