Class MonitoringAsyncClient
java.lang.Object
com.azure.analytics.synapse.monitoring.MonitoringAsyncClient
Initializes a new instance of the asynchronous MonitoringClient type.
-
Method Summary
Modifier and TypeMethodDescriptionGet list of spark applications for the workspace.getSparkJobList
(String xMsClientRequestId) Get list of spark applications for the workspace.getSparkJobListWithResponse
(String xMsClientRequestId) Get list of spark applications for the workspace.Get SQL OD/DW Query for the workspace.getSqlJobQueryString
(String xMsClientRequestId, String filter, String orderby, String skip) Get SQL OD/DW Query for the workspace.getSqlJobQueryStringWithResponse
(String xMsClientRequestId, String filter, String orderby, String skip) Get SQL OD/DW Query for the workspace.
-
Method Details
-
getSparkJobListWithResponse
public Mono<Response<SparkJobListViewResponse>> getSparkJobListWithResponse(String xMsClientRequestId) Get list of spark applications for the workspace.- Parameters:
xMsClientRequestId
- Can provide a guid, which is helpful for debugging and to provide better customer support.- Returns:
- list of spark applications for the workspace.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getSparkJobList
Get list of spark applications for the workspace.- Parameters:
xMsClientRequestId
- Can provide a guid, which is helpful for debugging and to provide better customer support.- Returns:
- list of spark applications for the workspace.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getSparkJobList
Get list of spark applications for the workspace.- Returns:
- list of spark applications for the workspace.
- Throws:
HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getSqlJobQueryStringWithResponse
public Mono<Response<SqlQueryStringDataModel>> getSqlJobQueryStringWithResponse(String xMsClientRequestId, String filter, String orderby, String skip) Get SQL OD/DW Query for the workspace.- Parameters:
xMsClientRequestId
- Can provide a guid, which is helpful for debugging and to provide better customer support.filter
- The filter parameter.orderby
- The orderby parameter.skip
- The skip parameter.- Returns:
- sQL OD/DW Query for the workspace.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getSqlJobQueryString
public Mono<SqlQueryStringDataModel> getSqlJobQueryString(String xMsClientRequestId, String filter, String orderby, String skip) Get SQL OD/DW Query for the workspace.- Parameters:
xMsClientRequestId
- Can provide a guid, which is helpful for debugging and to provide better customer support.filter
- The filter parameter.orderby
- The orderby parameter.skip
- The skip parameter.- Returns:
- sQL OD/DW Query for the workspace.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getSqlJobQueryString
Get SQL OD/DW Query for the workspace.- Returns:
- sQL OD/DW Query for the workspace.
- Throws:
HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-