Share via


UsagesClient Interface

public interface UsagesClient

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

Method Summary

Modifier and Type Method and Description
abstract PagedIterable<UsageInner> listByLocation(String location)

Lists the current usages and limits in this location for the provided subscription.

abstract PagedIterable<UsageInner> listByLocation(String location, Context context)

Lists the current usages and limits in this location for the provided subscription.

Method Details

listByLocation

public abstract PagedIterable<UsageInner> listByLocation(String location)

Lists the current usages and limits in this location for the provided subscription.

Parameters:

location - The Azure region.

Returns:

list of Core Usages as paginated response with PagedIterable<T>.

listByLocation

public abstract PagedIterable<UsageInner> listByLocation(String location, Context context)

Lists the current usages and limits in this location for the provided subscription.

Parameters:

location - The Azure region.
context - The context to associate with this operation.

Returns:

list of Core Usages as paginated response with PagedIterable<T>.

Applies to