共用方式為


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 current usage count and the limit for the resources of the location under the subscription.

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

Gets the current usage count and the limit for the resources of the location under the subscription.

abstract PagedFlux<UsageInner> listByLocationAsync(String location)

Gets the current usage count and the limit for the resources of the location under the subscription.

Method Details

listByLocation

public abstract PagedIterable<UsageInner> listByLocation(String location)

Gets the current usage count and the limit for the resources of the location under the subscription.

Parameters:

location - The location of the Azure Storage resource.

Returns:

the current usage count and the limit for the resources of the location under the subscription as paginated response with PagedIterable<T>.

listByLocation

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

Gets the current usage count and the limit for the resources of the location under the subscription.

Parameters:

location - The location of the Azure Storage resource.
context - The context to associate with this operation.

Returns:

the current usage count and the limit for the resources of the location under the subscription as paginated response with PagedIterable<T>.

listByLocationAsync

public abstract PagedFlux<UsageInner> listByLocationAsync(String location)

Gets the current usage count and the limit for the resources of the location under the subscription.

Parameters:

location - The location of the Azure Storage resource.

Returns:

the current usage count and the limit for the resources of the location under the subscription as paginated response with PagedFlux<T>.

Applies to