DatabricksNotebookActivity Class
DatabricksNotebook activity.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.datafactory.models._models_py3.ExecutionActivityDatabricksNotebookActivity
Constructor
DatabricksNotebookActivity(*, name: str, notebook_path: MutableMapping[str, Any], additional_properties: Dict[str, MutableMapping[str, Any]] | None = None, description: str | None = None, state: str | _models.ActivityState | None = None, on_inactive_mark_as: str | _models.ActivityOnInactiveMarkAs | None = None, depends_on: List[_models.ActivityDependency] | None = None, user_properties: List[_models.UserProperty] | None = None, linked_service_name: _models.LinkedServiceReference | None = None, policy: _models.ActivityPolicy | None = None, base_parameters: Dict[str, MutableMapping[str, Any]] | None = None, libraries: List[Dict[str, MutableMapping[str, Any]]] | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
additional_properties
|
Unmatched properties from the message are deserialized to this collection. |
name
|
Activity name. Required. |
description
|
Activity description. |
state
|
str or
ActivityState
Activity state. This is an optional property and if not provided, the state will be Active by default. Known values are: "Active" and "Inactive". |
on_inactive_mark_as
|
Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. Known values are: "Succeeded", "Failed", and "Skipped". |
depends_on
|
Activity depends on condition. |
user_properties
|
Activity user properties. |
linked_service_name
|
Linked service reference. |
policy
|
Activity policy. |
notebook_path
|
<xref:JSON>
The absolute path of the notebook to be run in the Databricks Workspace. This path must begin with a slash. Type: string (or Expression with resultType string). Required. |
base_parameters
|
Base parameters to be used for each run of this job.If the notebook takes a parameter that is not specified, the default value from the notebook will be used. |
libraries
|
A list of libraries to be installed on the cluster that will execute the job. |
Variables
Name | Description |
---|---|
additional_properties
|
Unmatched properties from the message are deserialized to this collection. |
name
|
Activity name. Required. |
type
|
Type of activity. Required. |
description
|
Activity description. |
state
|
str or
ActivityState
Activity state. This is an optional property and if not provided, the state will be Active by default. Known values are: "Active" and "Inactive". |
on_inactive_mark_as
|
Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. Known values are: "Succeeded", "Failed", and "Skipped". |
depends_on
|
Activity depends on condition. |
user_properties
|
Activity user properties. |
linked_service_name
|
Linked service reference. |
policy
|
Activity policy. |
notebook_path
|
<xref:JSON>
The absolute path of the notebook to be run in the Databricks Workspace. This path must begin with a slash. Type: string (or Expression with resultType string). Required. |
base_parameters
|
Base parameters to be used for each run of this job.If the notebook takes a parameter that is not specified, the default value from the notebook will be used. |
libraries
|
A list of libraries to be installed on the cluster that will execute the job. |
Azure SDK for Python