SparkModelFactory.SparkBatchJob Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SparkBatchJob.
public static Azure.Analytics.Synapse.Spark.Models.SparkBatchJob SparkBatchJob (Azure.Analytics.Synapse.Spark.Models.SparkBatchJobState livyInfo = default, string name = default, string workspaceName = default, string sparkPoolName = default, string submitterName = default, string submitterId = default, string artifactId = default, Azure.Analytics.Synapse.Spark.Models.SparkJobType? jobType = default, Azure.Analytics.Synapse.Spark.Models.SparkBatchJobResultType? result = default, Azure.Analytics.Synapse.Spark.Models.SparkScheduler scheduler = default, Azure.Analytics.Synapse.Spark.Models.SparkServicePlugin plugin = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Synapse.Spark.Models.SparkServiceError> errors = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default, int id = 0, string appId = default, System.Collections.Generic.IReadOnlyDictionary<string,string> appInfo = default, Azure.Analytics.Synapse.Spark.Models.LivyStates? state = default, System.Collections.Generic.IEnumerable<string> logLines = default);
static member SparkBatchJob : Azure.Analytics.Synapse.Spark.Models.SparkBatchJobState * string * string * string * string * string * string * Nullable<Azure.Analytics.Synapse.Spark.Models.SparkJobType> * Nullable<Azure.Analytics.Synapse.Spark.Models.SparkBatchJobResultType> * Azure.Analytics.Synapse.Spark.Models.SparkScheduler * Azure.Analytics.Synapse.Spark.Models.SparkServicePlugin * seq<Azure.Analytics.Synapse.Spark.Models.SparkServiceError> * System.Collections.Generic.IReadOnlyDictionary<string, string> * int * string * System.Collections.Generic.IReadOnlyDictionary<string, string> * Nullable<Azure.Analytics.Synapse.Spark.Models.LivyStates> * seq<string> -> Azure.Analytics.Synapse.Spark.Models.SparkBatchJob
Public Shared Function SparkBatchJob (Optional livyInfo As SparkBatchJobState = Nothing, Optional name As String = Nothing, Optional workspaceName As String = Nothing, Optional sparkPoolName As String = Nothing, Optional submitterName As String = Nothing, Optional submitterId As String = Nothing, Optional artifactId As String = Nothing, Optional jobType As Nullable(Of SparkJobType) = Nothing, Optional result As Nullable(Of SparkBatchJobResultType) = Nothing, Optional scheduler As SparkScheduler = Nothing, Optional plugin As SparkServicePlugin = Nothing, Optional errors As IEnumerable(Of SparkServiceError) = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing, Optional id As Integer = 0, Optional appId As String = Nothing, Optional appInfo As IReadOnlyDictionary(Of String, String) = Nothing, Optional state As Nullable(Of LivyStates) = Nothing, Optional logLines As IEnumerable(Of String) = Nothing) As SparkBatchJob
Parameters
- livyInfo
- SparkBatchJobState
- name
- String
The batch name.
- workspaceName
- String
The workspace name.
- sparkPoolName
- String
The Spark pool name.
- submitterName
- String
The submitter name.
- submitterId
- String
The submitter identifier.
- artifactId
- String
The artifact identifier.
- jobType
- Nullable<SparkJobType>
The job type.
- result
- Nullable<SparkBatchJobResultType>
The Spark batch job result.
- scheduler
- SparkScheduler
The scheduler information.
- plugin
- SparkServicePlugin
The plugin information.
- errors
- IEnumerable<SparkServiceError>
The error information.
- tags
- IReadOnlyDictionary<String,String>
The tags.
- id
- Int32
The session Id.
- appId
- String
The application id of this session.
- appInfo
- IReadOnlyDictionary<String,String>
The detailed application info.
- state
- Nullable<LivyStates>
The batch state.
- logLines
- IEnumerable<String>
The log lines.
Returns
A new SparkBatchJob instance for mocking.