public interface ServerUsagesClient
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.http.rest.PagedIterable<ServerUsageInner> |
listByServer(String resourceGroupName,
String serverName)
Returns server usages.
|
com.azure.core.http.rest.PagedIterable<ServerUsageInner> |
listByServer(String resourceGroupName,
String serverName,
com.azure.core.util.Context context)
Returns server usages.
|
com.azure.core.http.rest.PagedFlux<ServerUsageInner> |
listByServerAsync(String resourceGroupName,
String serverName)
Returns server usages.
|
com.azure.core.http.rest.PagedFlux<ServerUsageInner> listByServerAsync(String resourceGroupName, String serverName)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.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.com.azure.core.http.rest.PagedIterable<ServerUsageInner> listByServer(String resourceGroupName, String serverName)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.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.com.azure.core.http.rest.PagedIterable<ServerUsageInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.serverName - The name of the server.context - The context to associate with this operation.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.Copyright © 2020 Microsoft Corporation. All rights reserved.