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)

Gets the list of usages.

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

Gets the list of usages.

Method Details

listByLocation

public abstract PagedIterable<UsageInner> listByLocation(String location)

Gets the list of usages. Returns list of usage per SKU family for the specified subscription in the specified region.

Parameters:

location - The location name.

Returns:

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

listByLocation

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

Gets the list of usages. Returns list of usage per SKU family for the specified subscription in the specified region.

Parameters:

location - The location name.
filter - The filter to apply to the operation.
context - The context to associate with this operation.

Returns:

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

Applies to