SparkSessionOperationsExtensions.CreateAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Synapse.Models.ExtendedLivySessionResponse> CreateAsync (this Microsoft.Azure.Synapse.ISparkSessionOperations operations, string workspaceName, string sparkPoolName, Microsoft.Azure.Synapse.Models.ExtendedLivySessionRequest livyRequest, bool? detailed = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Synapse.ISparkSessionOperations * string * string * Microsoft.Azure.Synapse.Models.ExtendedLivySessionRequest * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Synapse.Models.ExtendedLivySessionResponse>
<Extension()>
Public Function CreateAsync (operations As ISparkSessionOperations, workspaceName As String, sparkPoolName As String, livyRequest As ExtendedLivySessionRequest, Optional detailed As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ExtendedLivySessionResponse)

Parameters

workspaceName
System.String
sparkPoolName
System.String
detailed
System.Nullable<System.Boolean>
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<ExtendedLivySessionResponse>

Applies to