DataLakeAnalyticsUSQLActivity Class
Data Lake Analytics U-SQL activity.
All required parameters must be populated in order to send to server.
Constructor
DataLakeAnalyticsUSQLActivity(*, name: str, script_path: MutableMapping[str, Any], script_linked_service: _models.LinkedServiceReference, 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, degree_of_parallelism: MutableMapping[str, Any] | None = None, priority: MutableMapping[str, Any] | None = None, parameters: Dict[str, MutableMapping[str, Any]] | None = None, runtime_version: MutableMapping[str, Any] | None = None, compilation_mode: MutableMapping[str, Any] | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
additional_properties
|
Unmatched properties from the message are deserialized to this collection. Default value: None
|
name
|
Activity name. Required. |
description
|
Activity description. Default value: None
|
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". Default value: None
|
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". Default value: None
|
depends_on
|
Activity depends on condition. Default value: None
|
user_properties
|
Activity user properties. Default value: None
|
linked_service_name
|
Linked service reference. Default value: None
|
policy
|
Activity policy. Default value: None
|
script_path
|
<xref:JSON>
Case-sensitive path to folder that contains the U-SQL script. Type: string (or Expression with resultType string). Required. |
script_linked_service
|
Script linked service reference. Required. |
degree_of_parallelism
|
<xref:JSON>
The maximum number of nodes simultaneously used to run the job. Default value is 1. Type: integer (or Expression with resultType integer), minimum: 1. Default value: None
|
priority
|
<xref:JSON>
Determines which jobs out of all that are queued should be selected to run first. The lower the number, the higher the priority. Default value is 1000. Type: integer (or Expression with resultType integer), minimum: 1. Default value: None
|
parameters
|
Parameters for U-SQL job request. Default value: None
|
runtime_version
|
<xref:JSON>
Runtime version of the U-SQL engine to use. Type: string (or Expression with resultType string). Default value: None
|
compilation_mode
|
<xref:JSON>
Compilation mode of U-SQL. Must be one of these values : Semantic, Full and SingleBox. Type: string (or Expression with resultType string). Default value: None
|
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. |
script_path
|
<xref:JSON>
Case-sensitive path to folder that contains the U-SQL script. Type: string (or Expression with resultType string). Required. |
script_linked_service
|
Script linked service reference. Required. |
degree_of_parallelism
|
<xref:JSON>
The maximum number of nodes simultaneously used to run the job. Default value is 1. Type: integer (or Expression with resultType integer), minimum: 1. |
priority
|
<xref:JSON>
Determines which jobs out of all that are queued should be selected to run first. The lower the number, the higher the priority. Default value is 1000. Type: integer (or Expression with resultType integer), minimum: 1. |
parameters
|
Parameters for U-SQL job request. |
runtime_version
|
<xref:JSON>
Runtime version of the U-SQL engine to use. Type: string (or Expression with resultType string). |
compilation_mode
|
<xref:JSON>
Compilation mode of U-SQL. Must be one of these values : Semantic, Full and SingleBox. Type: string (or Expression with resultType string). |