SparkSessionOperationsExtensions.CreateAsync 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.
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
- operations
- ISparkSessionOperations
- workspaceName
- String
- sparkPoolName
- String
- livyRequest
- ExtendedLivySessionRequest
- cancellationToken
- CancellationToken