Share via


AzureFunctionActivity Class

Definition

Azure Function activity.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Analytics.Synapse.Artifacts.Models.AzureFunctionActivity+AzureFunctionActivityConverter))]
public class AzureFunctionActivity : Azure.Analytics.Synapse.Artifacts.Models.ExecutionActivity
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Analytics.Synapse.Artifacts.Models.AzureFunctionActivity+AzureFunctionActivityConverter))>]
type AzureFunctionActivity = class
    inherit ExecutionActivity
Public Class AzureFunctionActivity
Inherits ExecutionActivity
Inheritance
AzureFunctionActivity
Attributes

Constructors

AzureFunctionActivity(String, AzureFunctionActivityMethod, Object)

Initializes a new instance of AzureFunctionActivity.

Properties

AdditionalProperties

Additional Properties.

(Inherited from Activity)
Body

Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string).

DependsOn

Activity depends on condition.

(Inherited from Activity)
Description

Activity description.

(Inherited from Activity)
FunctionName

Name of the Function that the Azure Function Activity will call. Type: string (or Expression with resultType string).

Headers

Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string).

LinkedServiceName

Linked service reference.

(Inherited from ExecutionActivity)
Method

Rest API method for target endpoint.

Name

Activity name.

(Inherited from Activity)
OnInactiveMarkAs

Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.

(Inherited from Activity)
Policy

Activity policy.

(Inherited from ExecutionActivity)
State

Activity state. This is an optional property and if not provided, the state will be Active by default.

(Inherited from Activity)
UserProperties

Activity user properties.

(Inherited from Activity)

Applies to