共用方式為


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)

Gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription.

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

Gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription.

abstract PagedFlux<UsageInner> listAsync(String location)

Gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription.

Method Details

list

public abstract PagedIterable<UsageInner> list(String location)

Gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription.

Parameters:

location - The name of Azure region.

Returns:

the List Usages operation response as paginated response with PagedIterable<T>.

list

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

Gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription.

Parameters:

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

Returns:

the List Usages operation response as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux<UsageInner> listAsync(String location)

Gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription.

Parameters:

location - The name of Azure region.

Returns:

the List Usages operation response as paginated response with PagedFlux<T>.

Applies to