Package version:

Interface representing a Functions.

interface Functions {
    beginTest(resourceGroupName, jobName, functionName, options?): Promise<SimplePollerLike<OperationState<ResourceTestStatus>, ResourceTestStatus>>;
    beginTestAndWait(resourceGroupName, jobName, functionName, options?): Promise<ResourceTestStatus>;
    createOrReplace(resourceGroupName, jobName, functionName, functionParam, options?): Promise<FunctionsCreateOrReplaceResponse>;
    delete(resourceGroupName, jobName, functionName, options?): Promise<void>;
    get(resourceGroupName, jobName, functionName, options?): Promise<FunctionsGetResponse>;
    listByStreamingJob(resourceGroupName, jobName, options?): PagedAsyncIterableIterator<FunctionModel>;
    retrieveDefaultDefinition(resourceGroupName, jobName, functionName, options?): Promise<FunctionModel>;
    update(resourceGroupName, jobName, functionName, functionParam, options?): Promise<FunctionsUpdateResponse>;
}

Methods

  • 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.

    Parameters

    • 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.

    • Optional options: FunctionsTestOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<ResourceTestStatus>, ResourceTestStatus>>

  • 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.

    Parameters

    • 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.

    • Optional options: FunctionsTestOptionalParams

      The options parameters.

    Returns Promise<ResourceTestStatus>

  • Deletes a function from the streaming job.

    Parameters

    • 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.

    • Optional options: FunctionsDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

  • Updates an existing function under an existing streaming job. This can be used to partially update (ie. update one or two properties) a function without affecting the rest the job or function definition.

    Parameters

    • 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.

    • functionParam: FunctionModel

      A function object. The properties specified here will overwrite the corresponding properties in the existing function (ie. Those properties will be updated). Any properties that are set to null here will mean that the corresponding property in the existing function will remain the same and not change as a result of this PATCH operation.

    • Optional options: FunctionsUpdateOptionalParams

      The options parameters.

    Returns Promise<FunctionsUpdateResponse>

Generated using TypeDoc