Partager via


ServerUsagesClient Interface

public interface ServerUsagesClient

An instance of this class provides access to all the operations defined in ServerUsagesClient.

Method Summary

Modifier and Type Method and Description
abstract PagedIterable<ServerUsageInner> listByServer(String resourceGroupName, String serverName)

Gets server usages.

abstract PagedIterable<ServerUsageInner> listByServer(String resourceGroupName, String serverName, Context context)

Gets server usages.

abstract PagedFlux<ServerUsageInner> listByServerAsync(String resourceGroupName, String serverName)

Gets server usages.

Method Details

listByServer

public abstract PagedIterable listByServer(String resourceGroupName, String serverName)

Gets server usages.

Parameters:

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.

Returns:

server usages as paginated response with PagedIterable<T>.

listByServer

public abstract PagedIterable listByServer(String resourceGroupName, String serverName, Context context)

Gets server usages.

Parameters:

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.

Returns:

server usages as paginated response with PagedIterable<T>.

listByServerAsync

public abstract PagedFlux listByServerAsync(String resourceGroupName, String serverName)

Gets server usages.

Parameters:

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.

Returns:

server usages as paginated response with PagedFlux<T>.

Applies to