Share via


StreamingJobFunctionResource.RetrieveDefaultDefinitionAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/functions/{functionName}/retrieveDefaultDefinition
  • Operation Id: Functions_RetrieveDefaultDefinition
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StreamAnalytics.StreamingJobFunctionResource>> RetrieveDefaultDefinitionAsync (Azure.ResourceManager.StreamAnalytics.Models.FunctionRetrieveDefaultDefinitionContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member RetrieveDefaultDefinitionAsync : Azure.ResourceManager.StreamAnalytics.Models.FunctionRetrieveDefaultDefinitionContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StreamAnalytics.StreamingJobFunctionResource>>
override this.RetrieveDefaultDefinitionAsync : Azure.ResourceManager.StreamAnalytics.Models.FunctionRetrieveDefaultDefinitionContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StreamAnalytics.StreamingJobFunctionResource>>
Public Overridable Function RetrieveDefaultDefinitionAsync (Optional content As FunctionRetrieveDefaultDefinitionContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StreamingJobFunctionResource))

Parameters

content
FunctionRetrieveDefaultDefinitionContent

Parameters used to specify the type of function to retrieve the default definition for.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to