Partager 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> list(String location)

List network usages for a subscription.

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

List network usages for a subscription.

abstract PagedFlux<UsageInner> listAsync(String location)

List network usages for a subscription.

Method Details

list

public abstract PagedIterable list(String location)

List network usages for a subscription.

Parameters:

location - The location where resource usage is queried.

Returns:

the list usages operation response as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String location, Context context)

List network usages for a subscription.

Parameters:

location - The location where resource usage is queried.
context - The context to associate with this operation.

Returns:

the list usages operation response as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String location)

List network usages for a subscription.

Parameters:

location - The location where resource usage is queried.

Returns:

the list usages operation response as paginated response with PagedFlux<T>.

Applies to