AzureFunctionActivity Class
Azure Function activity.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.synapse.artifacts.models._models_py3.ExecutionActivityAzureFunctionActivity
Constructor
AzureFunctionActivity(*, name: str, method: Union[str, azure.synapse.artifacts.models._artifacts_client_enums.AzureFunctionActivityMethod], function_name: object, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List[azure.synapse.artifacts.models._models_py3.ActivityDependency]] = None, user_properties: Optional[List[azure.synapse.artifacts.models._models_py3.UserProperty]] = None, linked_service_name: Optional[azure.synapse.artifacts.models._models_py3.LinkedServiceReference] = None, policy: Optional[azure.synapse.artifacts.models._models_py3.ActivityPolicy] = None, headers: Optional[object] = None, body: Optional[object] = None, **kwargs)
Parameters
Unmatched properties from the message are deserialized to this collection.
- method
- str or AzureFunctionActivityMethod
Required. Rest API method for target endpoint. Possible values include: "GET", "POST", "PUT", "DELETE", "OPTIONS", "HEAD", "TRACE".
- function_name
- object
Required. Name of the Function that the Azure Function Activity will call. Type: string (or Expression with resultType string).
- 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).
Feedback
Submit and view feedback for