DeleteActivity Class
Delete activity.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.datafactory.models._models_py3.ExecutionActivityDeleteActivity
Constructor
DeleteActivity(*, name: str, dataset: _models.DatasetReference, 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, recursive: MutableMapping[str, Any] | None = None, max_concurrent_connections: int | None = None, enable_logging: MutableMapping[str, Any] | None = None, log_storage_settings: _models.LogStorageSettings | None = None, store_settings: _models.StoreReadSettings | 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. |
recursive
|
<xref:JSON>
If true, files or sub-folders under current folder path will be deleted recursively. Default is false. Type: boolean (or Expression with resultType boolean). |
max_concurrent_connections
|
The max concurrent connections to connect data source at the same time. |
enable_logging
|
<xref:JSON>
Whether to record detailed logs of delete-activity execution. Default value is false. Type: boolean (or Expression with resultType boolean). |
log_storage_settings
|
Log storage settings customer need to provide when enableLogging is true. |
dataset
|
Delete activity dataset reference. Required. |
store_settings
|
Delete activity store settings. |
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. |
recursive
|
<xref:JSON>
If true, files or sub-folders under current folder path will be deleted recursively. Default is false. Type: boolean (or Expression with resultType boolean). |
max_concurrent_connections
|
The max concurrent connections to connect data source at the same time. |
enable_logging
|
<xref:JSON>
Whether to record detailed logs of delete-activity execution. Default value is false. Type: boolean (or Expression with resultType boolean). |
log_storage_settings
|
Log storage settings customer need to provide when enableLogging is true. |
dataset
|
Delete activity dataset reference. Required. |
store_settings
|
Delete activity store settings. |
Azure SDK for Python