SparkBatchClient Constructors
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.
Overloads
SparkBatchClient() |
Initializes a new instance of SparkBatchClient for mocking. |
SparkBatchClient(Uri, String, TokenCredential, String, SparkClientOptions) |
Initializes a new instance of SparkBatchClient. |
SparkBatchClient()
- Source:
- SparkBatchClient.cs
Initializes a new instance of SparkBatchClient for mocking.
protected SparkBatchClient ();
Protected Sub New ()
Applies to
SparkBatchClient(Uri, String, TokenCredential, String, SparkClientOptions)
- Source:
- SparkBatchClient.cs
Initializes a new instance of SparkBatchClient.
public SparkBatchClient (Uri endpoint, string sparkPoolName, Azure.Core.TokenCredential credential, string livyApiVersion = "2019-11-01-preview", Azure.Analytics.Synapse.Spark.SparkClientOptions options = default);
new Azure.Analytics.Synapse.Spark.SparkBatchClient : Uri * string * Azure.Core.TokenCredential * string * Azure.Analytics.Synapse.Spark.SparkClientOptions -> Azure.Analytics.Synapse.Spark.SparkBatchClient
Public Sub New (endpoint As Uri, sparkPoolName As String, credential As TokenCredential, Optional livyApiVersion As String = "2019-11-01-preview", Optional options As SparkClientOptions = Nothing)
Parameters
- endpoint
- Uri
The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net.
- sparkPoolName
- String
Name of the spark pool.
- credential
- TokenCredential
A credential used to authenticate to an Azure Service.
- livyApiVersion
- String
Valid api-version for the request.
- options
- SparkClientOptions
The options for configuring the client.
Applies to
Azure SDK for .NET