Class MonitoringAsyncClient

java.lang.Object
com.azure.analytics.synapse.monitoring.MonitoringAsyncClient

public final class MonitoringAsyncClient extends Object
Initializes a new instance of the asynchronous MonitoringClient type.
  • 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

      public Mono<SparkJobListViewResponse> getSparkJobList(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

      public Mono<SparkJobListViewResponse> 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

      public Mono<SqlQueryStringDataModel> 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.