Class DataFlowDebugSessionAsyncClient
java.lang.Object
com.azure.analytics.synapse.artifacts.DataFlowDebugSessionAsyncClient
Initializes a new instance of the asynchronous ArtifactsClient type.
-
Method Summary
Modifier and TypeMethodDescriptionaddDataFlow
(DataFlowDebugPackage request) Add a data flow into debug session.Mono<com.azure.core.http.rest.Response<AddDataFlowToDebugSessionResponse>>
Add a data flow into debug session.Creates a data flow debug session.Creates a data flow debug session.Deletes a data flow debug session.Deletes a data flow debug session.Execute a data flow debug command.Execute a data flow debug command.com.azure.core.http.rest.PagedFlux<DataFlowDebugSessionInfo>
Query all active data flow debug sessions.
-
Method Details
-
createDataFlowDebugSessionWithResponse
public Mono<DataFlowDebugSessionsCreateDataFlowDebugSessionResponse> createDataFlowDebugSessionWithResponse(CreateDataFlowDebugSessionRequest request) Creates a data flow debug session.- Parameters:
request
- Data flow debug session definition.- Returns:
- response body structure for creating data flow debug session on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createDataFlowDebugSession
public Mono<CreateDataFlowDebugSessionResponse> createDataFlowDebugSession(CreateDataFlowDebugSessionRequest request) Creates a data flow debug session.- Parameters:
request
- Data flow debug session definition.- Returns:
- response body structure for creating data flow debug session on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
queryDataFlowDebugSessionsByWorkspace
public com.azure.core.http.rest.PagedFlux<DataFlowDebugSessionInfo> queryDataFlowDebugSessionsByWorkspace()Query all active data flow debug sessions.- Returns:
- a list of active debug sessions as paginated response with
PagedFlux
. - Throws:
CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
addDataFlowWithResponse
public Mono<com.azure.core.http.rest.Response<AddDataFlowToDebugSessionResponse>> addDataFlowWithResponse(DataFlowDebugPackage request) Add a data flow into debug session.- Parameters:
request
- Data flow debug session definition with debug content.- Returns:
- response body structure for starting data flow debug session along with
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
addDataFlow
Add a data flow into debug session.- Parameters:
request
- Data flow debug session definition with debug content.- Returns:
- response body structure for starting data flow debug session on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteDataFlowDebugSessionWithResponse
public Mono<com.azure.core.http.rest.Response<Void>> deleteDataFlowDebugSessionWithResponse(DeleteDataFlowDebugSessionRequest request) Deletes a data flow debug session.- Parameters:
request
- Data flow debug session definition for deletion.- Returns:
- the
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteDataFlowDebugSession
Deletes a data flow debug session.- Parameters:
request
- Data flow debug session definition for deletion.- Returns:
- A
Mono
that completes when a successful response is received. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
executeCommandWithResponse
public Mono<DataFlowDebugSessionsExecuteCommandResponse> executeCommandWithResponse(DataFlowDebugCommandRequest request) Execute a data flow debug command.- Parameters:
request
- Data flow debug command definition.- Returns:
- response body structure of data flow result for data preview, statistics or expression preview on
successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
executeCommand
Execute a data flow debug command.- Parameters:
request
- Data flow debug command definition.- Returns:
- response body structure of data flow result for data preview, statistics or expression preview on
successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-