SparkSessionOperation Class

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.

C#
public class SparkSessionOperation : Azure.Operation<Azure.Analytics.Synapse.Spark.Models.SparkSession>
Inheritance
SparkSessionOperation

Constructors

SparkSessionOperation()

Initializes a new instance of SparkSessionOperation for mocking.

SparkSessionOperation(Int32, SparkSessionClient)

Initializes a new instance of the SparkSessionOperation class.

Properties

HasCompleted

Gets a value indicating whether the operation has completed.

HasValue

Returns true if the long-running operation completed successfully and has produced final result (accessible by Value property).

Id

Gets an ID representing the operation that can be used to poll for the status of the long-running operation.

Value

Gets the SparkSession. You should await WaitForCompletionAsync(CancellationToken) before attempting to use session in this pending state.

Methods

GetRawResponse()

The last HTTP response received from the server.

UpdateStatus(CancellationToken)

Calls the server to get updated status of the long-running operation.

UpdateStatusAsync(CancellationToken)

Calls the server to get updated status of the long-running operation.

WaitForCompletionAsync(CancellationToken)

Periodically calls the server till the long-running operation completes.

WaitForCompletionAsync(TimeSpan, CancellationToken)

Periodically calls the server till the long-running operation completes.

Applies to

Product Versions
Azure SDK for .NET Preview