Activity Class

A pipeline activity.

You probably want to use the sub-classes and not this class directly. Known sub-classes are: AppendVariableActivity, AzureDataExplorerCommandActivity, AzureFunctionActivity, AzureMLBatchExecutionActivity, AzureMLExecutePipelineActivity, AzureMLUpdateResourceActivity, ControlActivity, CopyActivity, CustomActivity, DataLakeAnalyticsUSQLActivity, DatabricksJobActivity, DatabricksNotebookActivity, DatabricksSparkJarActivity, DatabricksSparkPythonActivity, DeleteActivity, ExecuteDataFlowActivity, ExecutePipelineActivity, ExecuteSSISPackageActivity, ExecuteWranglingDataflowActivity, ExecutionActivity, FailActivity, FilterActivity, ForEachActivity, GetMetadataActivity, HDInsightHiveActivity, HDInsightMapReduceActivity, HDInsightPigActivity, HDInsightSparkActivity, HDInsightStreamingActivity, IfConditionActivity, LookupActivity, ScriptActivity, SetVariableActivity, SynapseSparkJobDefinitionActivity, SqlServerStoredProcedureActivity, SwitchActivity, SynapseNotebookActivity, UntilActivity, ValidationActivity, WaitActivity, WebActivity, WebHookActivity

Constructor

Activity(*args: Any, **kwargs: Any)

Variables

Name Description
name
str

Activity name. Required.

type
str

Type of activity. Required. Default value is None.

description
str

Activity description.

state

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.

Attributes

depends_on

Activity depends on condition.

depends_on: list['_models.ActivityDependency'] | None

description

Activity description.

description: str | None

name

Activity name. Required.

name: str

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

on_inactive_mark_as: str | _models.ActivityOnInactiveMarkAs | None

state

Activity state. This is an optional property and if not provided, the state will be Active by default. Known values are: "Active" and "Inactive".

state: str | _models.ActivityState | None

type

Type of activity. Required. Default value is None.

type: str

user_properties

Activity user properties.

user_properties: list['_models.UserProperty'] | None