Function Interface

public interface Function

An immutable client-side representation of Function.

Method Summary

Modifier and Type Method and Description
abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract FunctionInner innerModel()

Gets the inner com.azure.resourcemanager.streamanalytics.fluent.models.FunctionInner object.

abstract String name()

Gets the name property: Resource name.

abstract FunctionProperties properties()

Gets the properties property: The properties that are associated with a function.

abstract Function refresh()

Refreshes the resource to sync with Azure.

abstract Function refresh(Context context)

Refreshes the resource to sync with Azure.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract Function retrieveDefaultDefinition()

Retrieves the default definition of a function based on the parameters specified.

abstract Response<Function> retrieveDefaultDefinitionWithResponse(FunctionRetrieveDefaultDefinitionParameters functionRetrieveDefaultDefinitionParameters, Context context)

Retrieves the default definition of a function based on the parameters specified.

abstract ResourceTestStatus test()

Tests if the information provided for a function is valid.

abstract ResourceTestStatus test(FunctionInner function, Context context)

Tests if the information provided for a function is valid.

abstract String type()

Gets the type property: Resource type.

abstract Update update()

Begins update for the Function resource.

Method Details

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract FunctionInner innerModel()

Gets the inner com.azure.resourcemanager.streamanalytics.fluent.models.FunctionInner object.

Returns:

the inner object.

name

public abstract String name()

Gets the name property: Resource name.

Returns:

the name value.

properties

public abstract FunctionProperties properties()

Gets the properties property: The properties that are associated with a function.

Returns:

the properties value.

refresh

public abstract Function refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract Function refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

retrieveDefaultDefinition

public abstract Function retrieveDefaultDefinition()

Retrieves the default definition of a function based on the parameters specified.

Returns:

a function object, containing all information associated with the named function.

retrieveDefaultDefinitionWithResponse

public abstract Response retrieveDefaultDefinitionWithResponse(FunctionRetrieveDefaultDefinitionParameters functionRetrieveDefaultDefinitionParameters, Context context)

Retrieves the default definition of a function based on the parameters specified.

Parameters:

functionRetrieveDefaultDefinitionParameters - Parameters used to specify the type of function to retrieve the default definition for.
context - The context to associate with this operation.

Returns:

a function object, containing all information associated with the named function along with Response<T>.

test

public abstract ResourceTestStatus test()

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.

Returns:

describes the status of the test operation along with error information, if applicable.

test

public abstract ResourceTestStatus test(FunctionInner function, Context context)

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:

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.
context - The context to associate with this operation.

Returns:

describes the status of the test operation along with error information, if applicable.

type

public abstract String type()

Gets the type property: Resource type.

Returns:

the type value.

update

public abstract Function.Update update()

Begins update for the Function resource.

Returns:

the stage of resource update.

Applies to