WebActivity Class

Web activity.

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

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

Constructor

WebActivity(*, name: str, method: Union[str, _models.WebActivityMethod], url: 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, authentication: Optional[_models.WebActivityAuthentication] = None, disable_cert_validation: Optional[bool] = None, datasets: Optional[List[_models.DatasetReference]] = None, linked_services: Optional[List[_models.LinkedServiceReference]] = None, connect_via: Optional[_models.IntegrationRuntimeReference] = 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 WebActivityMethod

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

url
any

Required. Web activity target endpoint and path. 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).

authentication
WebActivityAuthentication

Authentication method used for calling the endpoint.

disable_cert_validation
bool

When set to true, Certificate validation will be disabled.

datasets
list[DatasetReference]

List of datasets passed to web endpoint.

linked_services
list[LinkedServiceReference]

List of linked services passed to web endpoint.

connect_via
IntegrationRuntimeReference

The integration runtime reference.