< Back

Test-AzureRmStreamAnalyticsFunction

Sat Jan 11, 2020 10:45 am

NAME Test-AzureRmStreamAnalyticsFunction



SYNOPSIS

Tests whether Stream Analytics can connect to a function.





SYNTAX

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

[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

The Test-AzureRmStreamAnalyticsFunction cmdlet tests whether Azure Stream Analytics can connect to 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



-JobName <String>

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



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



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 a Stream Analytics function belongs. This cmdlet tests a

function in the resource 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

System.Object







NOTES









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.







RELATED LINKS

Online Version:

https://docs.microsoft.com/en-us/powers ... csfunction

Get-AzureRmStreamAnalyticsFunction

New-AzureRmStreamAnalyticsFunction

Remove-AzureRmStreamAnalyticsFunction