ScriptActivityResponse

data class ScriptActivityResponse(val dependsOn: List<ActivityDependencyResponse>? = null, val description: String? = null, val linkedServiceName: LinkedServiceReferenceResponse, val logSettings: ScriptActivityTypePropertiesResponseLogSettings? = null, val name: String, val onInactiveMarkAs: String? = null, val policy: ActivityPolicyResponse? = null, val returnMultistatementResult: Any? = null, val scriptBlockExecutionTimeout: Any? = null, val scripts: List<ScriptActivityScriptBlockResponse>? = null, val state: String? = null, val type: String, val userProperties: List<UserPropertyResponse>? = null)

Script activity type.

Constructors

Link copied to clipboard
constructor(dependsOn: List<ActivityDependencyResponse>? = null, description: String? = null, linkedServiceName: LinkedServiceReferenceResponse, logSettings: ScriptActivityTypePropertiesResponseLogSettings? = null, name: String, onInactiveMarkAs: String? = null, policy: ActivityPolicyResponse? = null, returnMultistatementResult: Any? = null, scriptBlockExecutionTimeout: Any? = null, scripts: List<ScriptActivityScriptBlockResponse>? = null, state: String? = null, type: String, userProperties: List<UserPropertyResponse>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Activity depends on condition.

Link copied to clipboard
val description: String? = null

Activity description.

Link copied to clipboard
Link copied to clipboard

Log settings of script activity.

Link copied to clipboard

Activity name.

Link copied to clipboard

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.

Link copied to clipboard

Activity policy.

Link copied to clipboard

Enable to retrieve result sets from multiple SQL statements and the number of rows affected by the DML statement. Supported connector: SnowflakeV2. Type: boolean (or Expression with resultType boolean).

Link copied to clipboard

ScriptBlock execution timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|(0-9)):(60|(0-9)).

Link copied to clipboard

Array of script blocks. Type: array.

Link copied to clipboard
val state: String? = null

Activity state. This is an optional property and if not provided, the state will be Active by default.

Link copied to clipboard

Type of activity. Expected value is 'Script'.

Link copied to clipboard

Activity user properties.