RunNotebookAsyncClient Class

  • java.lang.Object
    • com.azure.analytics.synapse.artifacts.RunNotebookAsyncClient

public final class RunNotebookAsyncClient

Initializes a new instance of the asynchronous ArtifactsClient type.

Method Summary

Modifier and Type Method and Description
Mono<RunNotebookResponse> cancelRun(String runId)

Cancel notebook run.

Mono<Response<RunNotebookResponse>> cancelRunWithResponse(String runId)

Cancel notebook run.

Mono<RunNotebookResponse> createRun(String runId, RunNotebookRequest runNotebookRequest)

Run notebook.

Mono<RunNotebooksCreateRunResponse> createRunWithResponse(String runId, RunNotebookRequest runNotebookRequest)

Run notebook.

Mono<RunNotebookSnapshotResponse> getSnapshot(String runId)

Get RunNotebook Snapshot for run id.

Mono<Response<RunNotebookSnapshotResponse>> getSnapshotWithResponse(String runId)

Get RunNotebook Snapshot for run id.

Mono<RunNotebookResponse> getStatus(String runId)

Get RunNotebook Status for run id.

Mono<Response<RunNotebookResponse>> getStatusWithResponse(String runId)

Get RunNotebook Status for run id.

Methods inherited from java.lang.Object

Method Details

cancelRun

public Mono cancelRun(String runId)

Cancel notebook run.

Parameters:

runId - Notebook run id.

Returns:

run notebook response on successful completion of Mono.

cancelRunWithResponse

public Mono<>> cancelRunWithResponse(String runId)

Cancel notebook run.

Parameters:

runId - Notebook run id.

Returns:

run notebook response along with Response<T> on successful completion of Mono.

createRun

public Mono createRun(String runId, RunNotebookRequest runNotebookRequest)

Run notebook.

Parameters:

runId - Notebook run id.
runNotebookRequest - Run notebook request payload.

Returns:

run notebook response on successful completion of Mono.

createRunWithResponse

public Mono createRunWithResponse(String runId, RunNotebookRequest runNotebookRequest)

Run notebook.

Parameters:

runId - Notebook run id.
runNotebookRequest - Run notebook request payload.

Returns:

run notebook response on successful completion of Mono.

getSnapshot

public Mono getSnapshot(String runId)

Get RunNotebook Snapshot for run id.

Parameters:

runId - Notebook run id.

Returns:

runNotebook Snapshot for run id on successful completion of Mono.

getSnapshotWithResponse

public Mono<>> getSnapshotWithResponse(String runId)

Get RunNotebook Snapshot for run id.

Parameters:

runId - Notebook run id.

Returns:

runNotebook Snapshot for run id along with Response<T> on successful completion of Mono.

getStatus

public Mono getStatus(String runId)

Get RunNotebook Status for run id.

Parameters:

runId - Notebook run id.

Returns:

runNotebook Status for run id on successful completion of Mono.

getStatusWithResponse

public Mono<>> getStatusWithResponse(String runId)

Get RunNotebook Status for run id.

Parameters:

runId - Notebook run id.

Returns:

runNotebook Status for run id along with Response<T> on successful completion of Mono.

Applies to