ScriptActivityArgs

data class ScriptActivityArgs(val dependsOn: Output<List<ActivityDependencyArgs>>? = null, val description: Output<String>? = null, val linkedServiceName: Output<LinkedServiceReferenceArgs>, val logSettings: Output<ScriptActivityTypePropertiesLogSettingsArgs>? = null, val name: Output<String>, val onInactiveMarkAs: Output<Either<String, ActivityOnInactiveMarkAs>>? = null, val policy: Output<ActivityPolicyArgs>? = null, val returnMultistatementResult: Output<Any>? = null, val scriptBlockExecutionTimeout: Output<Any>? = null, val scripts: Output<List<ScriptActivityScriptBlockArgs>>? = null, val state: Output<Either<String, ActivityState>>? = null, val type: Output<String>, val userProperties: Output<List<UserPropertyArgs>>? = null) : ConvertibleToJava<ScriptActivityArgs>

Script activity type.

Constructors

Link copied to clipboard
constructor(dependsOn: Output<List<ActivityDependencyArgs>>? = null, description: Output<String>? = null, linkedServiceName: Output<LinkedServiceReferenceArgs>, logSettings: Output<ScriptActivityTypePropertiesLogSettingsArgs>? = null, name: Output<String>, onInactiveMarkAs: Output<Either<String, ActivityOnInactiveMarkAs>>? = null, policy: Output<ActivityPolicyArgs>? = null, returnMultistatementResult: Output<Any>? = null, scriptBlockExecutionTimeout: Output<Any>? = null, scripts: Output<List<ScriptActivityScriptBlockArgs>>? = null, state: Output<Either<String, ActivityState>>? = null, type: Output<String>, userProperties: Output<List<UserPropertyArgs>>? = null)

Properties

Link copied to clipboard
val dependsOn: Output<List<ActivityDependencyArgs>>? = null

Activity depends on condition.

Link copied to clipboard
val description: Output<String>? = null

Activity description.

Link copied to clipboard

Linked service reference.

Link copied to clipboard

Log settings of script activity.

Link copied to clipboard
val name: Output<String>

Activity name.

Link copied to clipboard
val onInactiveMarkAs: Output<Either<String, ActivityOnInactiveMarkAs>>? = null

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
val policy: Output<ActivityPolicyArgs>? = null

Activity policy.

Link copied to clipboard
val returnMultistatementResult: Output<Any>? = null

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
val scriptBlockExecutionTimeout: Output<Any>? = null

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: Output<Either<String, ActivityState>>? = null

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

Link copied to clipboard
val type: Output<String>

Type of activity. Expected value is 'Script'.

Link copied to clipboard
val userProperties: Output<List<UserPropertyArgs>>? = null

Activity user properties.

Functions

Link copied to clipboard
open override fun toJava(): ScriptActivityArgs