SparkModelFactory.SparkBatchJobCollection 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 SparkBatchJobCollection.
public static Azure.Analytics.Synapse.Spark.Models.SparkBatchJobCollection SparkBatchJobCollection (int from = 0, int total = 0, System.Collections.Generic.IEnumerable<Azure.Analytics.Synapse.Spark.Models.SparkBatchJob> sessions = default);
static member SparkBatchJobCollection : int * int * seq<Azure.Analytics.Synapse.Spark.Models.SparkBatchJob> -> Azure.Analytics.Synapse.Spark.Models.SparkBatchJobCollection
Public Shared Function SparkBatchJobCollection (Optional from As Integer = 0, Optional total As Integer = 0, Optional sessions As IEnumerable(Of SparkBatchJob) = Nothing) As SparkBatchJobCollection
Parameters
- from
- Int32
The start index of fetched sessions.
- total
- Int32
Number of sessions fetched.
- sessions
- IEnumerable<SparkBatchJob>
Batch list.
Returns
A new SparkBatchJobCollection instance for mocking.