Share via


SparkSessionClient Constructors

Definition

Overloads

SparkSessionClient()

Initializes a new instance of SparkSessionClient for mocking.

SparkSessionClient(Uri, String, TokenCredential, String, SparkClientOptions)

Initializes a new instance of SparkSessionClient.

SparkSessionClient()

Source:
SparkSessionClient.cs

Initializes a new instance of SparkSessionClient for mocking.

protected SparkSessionClient ();
Protected Sub New ()

Applies to

SparkSessionClient(Uri, String, TokenCredential, String, SparkClientOptions)

Source:
SparkSessionClient.cs

Initializes a new instance of SparkSessionClient.

public SparkSessionClient (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.SparkSessionClient : Uri * string * Azure.Core.TokenCredential * string * Azure.Analytics.Synapse.Spark.SparkClientOptions -> Azure.Analytics.Synapse.Spark.SparkSessionClient
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