WebActivity Class
Web activity.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.synapse.artifacts.models._models_py3.ExecutionActivityWebActivity
Constructor
WebActivity(*, name: str, method: Union[str, azure.synapse.artifacts.models._artifacts_client_enums.WebActivityMethod], url: 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, authentication: Optional[azure.synapse.artifacts.models._models_py3.WebActivityAuthentication] = None, datasets: Optional[List[azure.synapse.artifacts.models._models_py3.DatasetReference]] = None, linked_services: Optional[List[azure.synapse.artifacts.models._models_py3.LinkedServiceReference]] = None, connect_via: Optional[azure.synapse.artifacts.models._models_py3.IntegrationRuntimeReference] = None, **kwargs)
Parameters
Unmatched properties from the message are deserialized to this collection.
- method
- str or WebActivityMethod
Required. Rest API method for target endpoint. Possible values include: "GET", "POST", "PUT", "DELETE".
- url
- object
Required. Web activity target endpoint and path. 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).
- authentication
- WebActivityAuthentication
Authentication method used for calling the endpoint.
- linked_services
- list[LinkedServiceReference]
List of linked services passed to web endpoint.
Feedback
Submit and view feedback for