Udostępnij za pośrednictwem


FunctionsOperationsExtensions.Test Method

Definition

Tests if the information provided for a function is valid. This can range from testing the connection to the underlying web service behind the function or making sure the function code provided is syntactically correct.

public static Microsoft.Azure.Management.StreamAnalytics.Models.ResourceTestStatus Test (this Microsoft.Azure.Management.StreamAnalytics.IFunctionsOperations operations, string resourceGroupName, string jobName, string functionName, Microsoft.Azure.Management.StreamAnalytics.Models.Function function = default);
static member Test : Microsoft.Azure.Management.StreamAnalytics.IFunctionsOperations * string * string * string * Microsoft.Azure.Management.StreamAnalytics.Models.Function -> Microsoft.Azure.Management.StreamAnalytics.Models.ResourceTestStatus
<Extension()>
Public Function Test (operations As IFunctionsOperations, resourceGroupName As String, jobName As String, functionName As String, Optional function As Function = Nothing) As ResourceTestStatus

Parameters

operations
IFunctionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

jobName
String

The name of the streaming job.

functionName
String

The name of the function.

function
Function

If the function specified does not already exist, this parameter must contain the full function definition intended to be tested. If the function specified already exists, this parameter can be left null to test the existing function as is or if specified, the properties specified will overwrite the corresponding properties in the existing function (exactly like a PATCH operation) and the resulting function will be tested.

Returns

Applies to