Share via


HDInsightSparkActivity Constructor

Definition

Initializes a new instance of HDInsightSparkActivity.

public HDInsightSparkActivity (string name, Azure.Core.Expressions.DataFactory.DataFactoryElement<string> rootPath, Azure.Core.Expressions.DataFactory.DataFactoryElement<string> entryFilePath);
new Azure.ResourceManager.DataFactory.Models.HDInsightSparkActivity : string * Azure.Core.Expressions.DataFactory.DataFactoryElement<string> * Azure.Core.Expressions.DataFactory.DataFactoryElement<string> -> Azure.ResourceManager.DataFactory.Models.HDInsightSparkActivity
Public Sub New (name As String, rootPath As DataFactoryElement(Of String), entryFilePath As DataFactoryElement(Of String))

Parameters

name
String

Activity name.

rootPath
DataFactoryElement<String>

The root path in 'sparkJobLinkedService' for all the job’s files. Type: string (or Expression with resultType string).

entryFilePath
DataFactoryElement<String>

The relative path to the root folder of the code/package to be executed. Type: string (or Expression with resultType string).

Exceptions

name, rootPath or entryFilePath is null.

Applies to