Interface WaitStatistics


public interface WaitStatistics
Resource collection API of WaitStatistics.
  • Method Details

    • getWithResponse

      com.azure.core.http.rest.Response<WaitStatistic> getWithResponse(String resourceGroupName, String serverName, String waitStatisticsId, com.azure.core.util.Context context)
      Retrieve wait statistics for specified identifier.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      waitStatisticsId - The Wait Statistic identifier.
      context - The context to associate with this operation.
      Returns:
      represents a Wait Statistic along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • get

      WaitStatistic get(String resourceGroupName, String serverName, String waitStatisticsId)
      Retrieve wait statistics for specified identifier.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      waitStatisticsId - The Wait Statistic identifier.
      Returns:
      represents a Wait Statistic.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByServer

      com.azure.core.http.rest.PagedIterable<WaitStatistic> listByServer(String resourceGroupName, String serverName, WaitStatisticsInput parameters)
      Retrieve wait statistics for specified aggregation window.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      parameters - The required parameters for retrieving wait statistics.
      Returns:
      a list of wait statistics as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByServer

      com.azure.core.http.rest.PagedIterable<WaitStatistic> listByServer(String resourceGroupName, String serverName, WaitStatisticsInput parameters, com.azure.core.util.Context context)
      Retrieve wait statistics for specified aggregation window.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      parameters - The required parameters for retrieving wait statistics.
      context - The context to associate with this operation.
      Returns:
      a list of wait statistics as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.