Interface WaitStatisticsClient
-
public interface WaitStatisticsClientAn instance of this class provides access to all the operations defined in WaitStatisticsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WaitStatisticInnerget(String resourceGroupName, String serverName, String waitStatisticsId)Retrieve wait statistics for specified identifier.com.azure.core.http.rest.Response<WaitStatisticInner>getWithResponse(String resourceGroupName, String serverName, String waitStatisticsId, com.azure.core.util.Context context)Retrieve wait statistics for specified identifier.com.azure.core.http.rest.PagedIterable<WaitStatisticInner>listByServer(String resourceGroupName, String serverName, WaitStatisticsInput parameters)Retrieve wait statistics for specified aggregation window.com.azure.core.http.rest.PagedIterable<WaitStatisticInner>listByServer(String resourceGroupName, String serverName, WaitStatisticsInput parameters, com.azure.core.util.Context context)Retrieve wait statistics for specified aggregation window.
-
-
-
Method Detail
-
get
WaitStatisticInner 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.
-
getWithResponse
com.azure.core.http.rest.Response<WaitStatisticInner> 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.
-
listByServer
com.azure.core.http.rest.PagedIterable<WaitStatisticInner> 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.
- 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<WaitStatisticInner> 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.
- 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.
-
-