Test-AzureRmStreamAnalyticsFunction

Tests whether Stream Analytics can connect to a function.

Syntax

Test-AzureRmStreamAnalyticsFunction
    [-JobName] <String>
    [-Name] <String>
    [-ResourceGroupName] <String>
    [-DefaultProfile <IAzureContextContainer>]
    [<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

Optional Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure.

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

System.Object