你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
HDInsightSparkActivity 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
HDInsightSparkActivity()
初始化 HDInsightSparkActivity 类的新实例。
public HDInsightSparkActivity ();
Public Sub New ()
适用于
HDInsightSparkActivity(String, Object, Object, IDictionary<String, Object>, String, IList<ActivityDependency>, IList<UserProperty>, LinkedServiceReference, ActivityPolicy, IList<Object>, String, LinkedServiceReference, String, Object, IDictionary<String,Object>)
初始化 HDInsightSparkActivity 类的新实例。
public HDInsightSparkActivity (string name, object rootPath, object entryFilePath, System.Collections.Generic.IDictionary<string,object> additionalProperties = default, string description = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.ActivityDependency> dependsOn = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.UserProperty> userProperties = default, Microsoft.Azure.Management.DataFactory.Models.LinkedServiceReference linkedServiceName = default, Microsoft.Azure.Management.DataFactory.Models.ActivityPolicy policy = default, System.Collections.Generic.IList<object> arguments = default, string getDebugInfo = default, Microsoft.Azure.Management.DataFactory.Models.LinkedServiceReference sparkJobLinkedService = default, string className = default, object proxyUser = default, System.Collections.Generic.IDictionary<string,object> sparkConfig = default);
new Microsoft.Azure.Management.DataFactory.Models.HDInsightSparkActivity : string * obj * obj * System.Collections.Generic.IDictionary<string, obj> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.ActivityDependency> * System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.UserProperty> * Microsoft.Azure.Management.DataFactory.Models.LinkedServiceReference * Microsoft.Azure.Management.DataFactory.Models.ActivityPolicy * System.Collections.Generic.IList<obj> * string * Microsoft.Azure.Management.DataFactory.Models.LinkedServiceReference * string * obj * System.Collections.Generic.IDictionary<string, obj> -> Microsoft.Azure.Management.DataFactory.Models.HDInsightSparkActivity
Public Sub New (name As String, rootPath As Object, entryFilePath As Object, Optional additionalProperties As IDictionary(Of String, Object) = Nothing, Optional description As String = Nothing, Optional dependsOn As IList(Of ActivityDependency) = Nothing, Optional userProperties As IList(Of UserProperty) = Nothing, Optional linkedServiceName As LinkedServiceReference = Nothing, Optional policy As ActivityPolicy = Nothing, Optional arguments As IList(Of Object) = Nothing, Optional getDebugInfo As String = Nothing, Optional sparkJobLinkedService As LinkedServiceReference = Nothing, Optional className As String = Nothing, Optional proxyUser As Object = Nothing, Optional sparkConfig As IDictionary(Of String, Object) = Nothing)
参数
- name
- String
活动名称。
- rootPath
- Object
“sparkJobLinkedService”中所有作业文件的根路径。 类型:包含 resultType 字符串) 的字符串 (或表达式。
- entryFilePath
- Object
要执行的代码/包的根文件夹的相对路径。 类型:包含 resultType 字符串) 的字符串 (或表达式。
- additionalProperties
- IDictionary<String,Object>
消息中的不匹配属性将对此集合进行反序列化
- description
- String
活动说明。
- dependsOn
- IList<ActivityDependency>
活动取决于条件。
- userProperties
- IList<UserProperty>
活动用户属性。
- linkedServiceName
- LinkedServiceReference
链接服务引用。
- policy
- ActivityPolicy
活动策略。
- getDebugInfo
- String
“调试信息”选项。 可能的值包括:“None”、“Always”、“Failure”
- sparkJobLinkedService
- LinkedServiceReference
用于上传入口文件和依赖项以及用于接收日志的存储链接服务。
- className
- String
应用程序的 Java/Spark main 类。
- proxyUser
- Object
要模拟将执行作业的用户。 类型:包含 resultType 字符串) 的字符串 (或表达式。
- sparkConfig
- IDictionary<String,Object>
Spark 配置属性。