SparkModelFactory.SparkRequest Method

Definition

Initializes a new instance of SparkRequest.

public static Azure.Analytics.Synapse.Spark.Models.SparkRequest SparkRequest (string name = default, string file = default, string className = default, System.Collections.Generic.IEnumerable<string> arguments = default, System.Collections.Generic.IEnumerable<string> jars = default, System.Collections.Generic.IEnumerable<string> pythonFiles = default, System.Collections.Generic.IEnumerable<string> files = default, System.Collections.Generic.IEnumerable<string> archives = default, System.Collections.Generic.IReadOnlyDictionary<string,string> configuration = default, string driverMemory = default, int? driverCores = default, string executorMemory = default, int? executorCores = default, int? executorCount = default);
static member SparkRequest : string * string * string * seq<string> * seq<string> * seq<string> * seq<string> * seq<string> * System.Collections.Generic.IReadOnlyDictionary<string, string> * string * Nullable<int> * string * Nullable<int> * Nullable<int> -> Azure.Analytics.Synapse.Spark.Models.SparkRequest
Public Shared Function SparkRequest (Optional name As String = Nothing, Optional file As String = Nothing, Optional className As String = Nothing, Optional arguments As IEnumerable(Of String) = Nothing, Optional jars As IEnumerable(Of String) = Nothing, Optional pythonFiles As IEnumerable(Of String) = Nothing, Optional files As IEnumerable(Of String) = Nothing, Optional archives As IEnumerable(Of String) = Nothing, Optional configuration As IReadOnlyDictionary(Of String, String) = Nothing, Optional driverMemory As String = Nothing, Optional driverCores As Nullable(Of Integer) = Nothing, Optional executorMemory As String = Nothing, Optional executorCores As Nullable(Of Integer) = Nothing, Optional executorCount As Nullable(Of Integer) = Nothing) As SparkRequest

Parameters

name
String
file
String
className
String
arguments
IEnumerable<String>
pythonFiles
IEnumerable<String>
archives
IEnumerable<String>
configuration
IReadOnlyDictionary<String,String>

Dictionary of <string>.

driverMemory
String
driverCores
Nullable<Int32>
executorMemory
String
executorCores
Nullable<Int32>
executorCount
Nullable<Int32>

Returns

SparkRequest

A new SparkRequest instance for mocking.

Applies to