Partager via


SparkModelFactory.SparkBatchJob Méthode

Définition

Initialise une nouvelle instance de 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

Paramètres

name
String

Nom du lot.

workspaceName
String

Nom de l’espace de travail.

sparkPoolName
String

Nom du pool Spark.

submitterName
String

Nom de l’émetteur.

submitterId
String

Identificateur de l’émetteur.

artifactId
String

Identificateur de l’artefact.

jobType
Nullable<SparkJobType>

Type de travail.

result
Nullable<SparkBatchJobResultType>

Résultat du travail par lots Spark.

scheduler
SparkScheduler

Informations du planificateur.

plugin
SparkServicePlugin

Informations sur le plug-in.

errors
IEnumerable<SparkServiceError>

Informations sur l'erreur.

id
Int32

ID de session.

appId
String

ID d’application de cette session.

appInfo
IReadOnlyDictionary<String,String>

Informations détaillées sur l’application.

state
Nullable<LivyStates>

État du lot.

logLines
IEnumerable<String>

Lignes de journal.

Retours

Une nouvelle SparkBatchJob instance de moqueries.

S’applique à