Interface Usages
-
public interface Usages
Resource collection API of Usages.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.http.rest.PagedIterable<Usage>
listByLocation(String location)
Returns list of usage per SKU family for the specified subscription in the specified region.com.azure.core.http.rest.PagedIterable<Usage>
listByLocation(String location, String filter, com.azure.core.util.Context context)
Returns list of usage per SKU family for the specified subscription in the specified region.
-
-
-
Method Detail
-
listByLocation
com.azure.core.http.rest.PagedIterable<Usage> listByLocation(String location)
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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByLocation
com.azure.core.http.rest.PagedIterable<Usage> listByLocation(String location, String filter, com.azure.core.util.Context context)
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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
-