SubscriptionUsagesClient Interface

public interface SubscriptionUsagesClient

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

Method Summary

Modifier and Type Method and Description
abstract SubscriptionUsageInner get(String locationName, String usageName)

Gets a subscription usage metric.

abstract Mono<SubscriptionUsageInner> getAsync(String locationName, String usageName)

Gets a subscription usage metric.

abstract Response<SubscriptionUsageInner> getWithResponse(String locationName, String usageName, Context context)

Gets a subscription usage metric.

abstract Mono<Response<SubscriptionUsageInner>> getWithResponseAsync(String locationName, String usageName)

Gets a subscription usage metric.

abstract PagedIterable<SubscriptionUsageInner> listByLocation(String locationName)

Gets all subscription usage metrics in a given location.

abstract PagedIterable<SubscriptionUsageInner> listByLocation(String locationName, Context context)

Gets all subscription usage metrics in a given location.

abstract PagedFlux<SubscriptionUsageInner> listByLocationAsync(String locationName)

Gets all subscription usage metrics in a given location.

Method Details

get

public abstract SubscriptionUsageInner get(String locationName, String usageName)

Gets a subscription usage metric.

Parameters:

locationName - The name of the region where the resource is located.
usageName - Name of usage metric to return.

Returns:

a subscription usage metric.

getAsync

public abstract Mono getAsync(String locationName, String usageName)

Gets a subscription usage metric.

Parameters:

locationName - The name of the region where the resource is located.
usageName - Name of usage metric to return.

Returns:

a subscription usage metric on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String locationName, String usageName, Context context)

Gets a subscription usage metric.

Parameters:

locationName - The name of the region where the resource is located.
usageName - Name of usage metric to return.
context - The context to associate with this operation.

Returns:

a subscription usage metric along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String locationName, String usageName)

Gets a subscription usage metric.

Parameters:

locationName - The name of the region where the resource is located.
usageName - Name of usage metric to return.

Returns:

a subscription usage metric along with Response<T> on successful completion of Mono.

listByLocation

public abstract PagedIterable listByLocation(String locationName)

Gets all subscription usage metrics in a given location.

Parameters:

locationName - The name of the region where the resource is located.

Returns:

all subscription usage metrics in a given location as paginated response with PagedIterable<T>.

listByLocation

public abstract PagedIterable listByLocation(String locationName, Context context)

Gets all subscription usage metrics in a given location.

Parameters:

locationName - The name of the region where the resource is located.
context - The context to associate with this operation.

Returns:

all subscription usage metrics in a given location as paginated response with PagedIterable<T>.

listByLocationAsync

public abstract PagedFlux listByLocationAsync(String locationName)

Gets all subscription usage metrics in a given location.

Parameters:

locationName - The name of the region where the resource is located.

Returns:

all subscription usage metrics in a given location as paginated response with PagedFlux<T>.

Applies to