Class MonitoringClient

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

public final class MonitoringClient extends Object
Initializes a new instance of the synchronous MonitoringClient type.
  • Method Details

    • getSparkJobList

      public 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 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.
    • getSparkJobListWithResponse

      public Response<SparkJobListViewResponse> getSparkJobListWithResponse(String xMsClientRequestId, Context context)
      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.
      context - The context to associate with this operation.
      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.
    • getSqlJobQueryString

      public 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 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.
    • getSqlJobQueryStringWithResponse

      public Response<SqlQueryStringDataModel> getSqlJobQueryStringWithResponse(String xMsClientRequestId, String filter, String orderby, String skip, Context context)
      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.
      context - The context to associate with this operation.
      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.