Share via


WebHookActivity Constructors

Definition

Overloads

WebHookActivity()

Initializes a new instance of the WebHookActivity class.

WebHookActivity(String, Object, IDictionary<String,Object>, String, IList<ActivityDependency>, IList<UserProperty>, String, Object, Object, WebActivityAuthentication, Object)

Initializes a new instance of the WebHookActivity class.

WebHookActivity()

Initializes a new instance of the WebHookActivity class.

public WebHookActivity ();
Public Sub New ()

Applies to

WebHookActivity(String, Object, IDictionary<String,Object>, String, IList<ActivityDependency>, IList<UserProperty>, String, Object, Object, WebActivityAuthentication, Object)

Initializes a new instance of the WebHookActivity class.

public WebHookActivity (string name, object url, 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, string timeout = default, object headers = default, object body = default, Microsoft.Azure.Management.DataFactory.Models.WebActivityAuthentication authentication = default, object reportStatusOnCallBack = default);
new Microsoft.Azure.Management.DataFactory.Models.WebHookActivity : 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> * string * obj * obj * Microsoft.Azure.Management.DataFactory.Models.WebActivityAuthentication * obj -> Microsoft.Azure.Management.DataFactory.Models.WebHookActivity
Public Sub New (name As String, url 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 timeout As String = Nothing, Optional headers As Object = Nothing, Optional body As Object = Nothing, Optional authentication As WebActivityAuthentication = Nothing, Optional reportStatusOnCallBack As Object = Nothing)

Parameters

name
String

Activity name.

url
Object

WebHook activity target endpoint and path. 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.

timeout
String

The timeout within which the webhook should be called back. If there is no value specified, it defaults to 10 minutes. Type: string. Pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).

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

authentication
WebActivityAuthentication

Authentication method used for calling the endpoint.

reportStatusOnCallBack
Object

When set to true, statusCode, output and error in callback request body will be consumed by activity. The activity can be marked as failed by setting statusCode >= 400 in callback request. Default is false. Type: boolean (or Expression with resultType boolean).

Applies to