JavaScriptFunctionRetrieveDefaultDefinitionParameters interface

The parameters needed to retrieve the default function definition for a JavaScript function.

Extends

Properties

bindingType

Polymorphic discriminator, which specifies the different types this object can be

script

The JavaScript code containing a single function definition. For example: 'function (x, y) { return x + y; }'.

udfType

The function type.

Property Details

bindingType

Polymorphic discriminator, which specifies the different types this object can be

bindingType: "Microsoft.StreamAnalytics/JavascriptUdf"

Property Value

"Microsoft.StreamAnalytics/JavascriptUdf"

script

The JavaScript code containing a single function definition. For example: 'function (x, y) { return x + y; }'.

script?: string

Property Value

string

udfType

The function type.

udfType?: "Scalar"

Property Value

"Scalar"