通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServerUsagesClient Interface

public interface ServerUsagesClient

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

Method Details

listByServer

public abstract PagedIterable<ServerUsageInner> 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<ServerUsageInner> 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<ServerUsageInner> 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