AzureFunctionActivity Class

Azure Function activity.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.datafactory.models._models_py3.ExecutionActivity
AzureFunctionActivity

Constructor

AzureFunctionActivity(*, name: str, method: Union[str, _models.AzureFunctionActivityMethod], function_name: Any, additional_properties: Optional[Dict[str, Any]] = None, description: Optional[str] = None, depends_on: Optional[List[_models.ActivityDependency]] = None, user_properties: Optional[List[_models.UserProperty]] = None, linked_service_name: Optional[_models.LinkedServiceReference] = None, policy: Optional[_models.ActivityPolicy] = None, headers: Optional[Any] = None, body: Optional[Any] = None, **kwargs)

Variables

additional_properties
dict[str, any]

Unmatched properties from the message are deserialized to this collection.

name
str

Required. Activity name.

type
str

Required. Type of activity.Constant filled by server.

description
str

Activity description.

depends_on
list[ActivityDependency]

Activity depends on condition.

user_properties
list[UserProperty]

Activity user properties.

linked_service_name
LinkedServiceReference

Linked service reference.

policy
ActivityPolicy

Activity policy.

method
str or AzureFunctionActivityMethod

Required. Rest API method for target endpoint. Known values are: "GET", "POST", "PUT", "DELETE", "OPTIONS", "HEAD", "TRACE".

function_name
any

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

headers
any

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
any

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