Share via


AzureFunctionActivity Constructors

Definition

Overloads

AzureFunctionActivity()

Initializes a new instance of the AzureFunctionActivity class.

AzureFunctionActivity(String, String, Object, IDictionary<String, Object>, String, IList<ActivityDependency>, IList<UserProperty>, LinkedServiceReference, ActivityPolicy, Object, Object)

Initializes a new instance of the AzureFunctionActivity class.

AzureFunctionActivity()

Initializes a new instance of the AzureFunctionActivity class.

public AzureFunctionActivity ();
Public Sub New ()

Applies to

AzureFunctionActivity(String, String, Object, IDictionary<String, Object>, String, IList<ActivityDependency>, IList<UserProperty>, LinkedServiceReference, ActivityPolicy, Object, Object)

Initializes a new instance of the AzureFunctionActivity class.

public AzureFunctionActivity (string name, string method, object functionName, System.Collections.Generic.IDictionary<string,object> additionalProperties = default, string description = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.ActivityDependency> dependsOn = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.UserProperty> userProperties = default, Microsoft.Azure.Management.DataFactory.Models.LinkedServiceReference linkedServiceName = default, Microsoft.Azure.Management.DataFactory.Models.ActivityPolicy policy = default, object headers = default, object body = default);
new Microsoft.Azure.Management.DataFactory.Models.AzureFunctionActivity : string * string * obj * System.Collections.Generic.IDictionary<string, obj> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.ActivityDependency> * System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.UserProperty> * Microsoft.Azure.Management.DataFactory.Models.LinkedServiceReference * Microsoft.Azure.Management.DataFactory.Models.ActivityPolicy * obj * obj -> Microsoft.Azure.Management.DataFactory.Models.AzureFunctionActivity
Public Sub New (name As String, method As String, functionName As Object, Optional additionalProperties As IDictionary(Of String, Object) = Nothing, Optional description As String = Nothing, Optional dependsOn As IList(Of ActivityDependency) = Nothing, Optional userProperties As IList(Of UserProperty) = Nothing, Optional linkedServiceName As LinkedServiceReference = Nothing, Optional policy As ActivityPolicy = Nothing, Optional headers As Object = Nothing, Optional body As Object = Nothing)

Parameters

name
String

Activity name.

method
String

Rest API method for target endpoint. Possible values include: 'GET', 'POST', 'PUT', 'DELETE', 'OPTIONS', 'HEAD', 'TRACE'

functionName
Object

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

additionalProperties
IDictionary<String,Object>

Unmatched properties from the message are deserialized this collection

description
String

Activity description.

dependsOn
IList<ActivityDependency>

Activity depends on condition.

userProperties
IList<UserProperty>

Activity user properties.

linkedServiceName
LinkedServiceReference

Linked service reference.

policy
ActivityPolicy

Activity policy.

headers
Object

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

body
Object

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

Applies to