Interface AscUsages
public interface AscUsages
Resource collection API of AscUsages.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<ResourceUsage>
Gets the quantity used and quota limit for resources.com.azure.core.http.rest.PagedIterable<ResourceUsage>
Gets the quantity used and quota limit for resources.
-
Method Details
-
list
Gets the quantity used and quota limit for resources.- Parameters:
location
- The name of the region to query for usage information.- Returns:
- the quantity used and quota limit for resources as paginated response with
PagedIterable
. - 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.
-
list
com.azure.core.http.rest.PagedIterable<ResourceUsage> list(String location, com.azure.core.util.Context context) Gets the quantity used and quota limit for resources.- Parameters:
location
- The name of the region to query for usage information.context
- The context to associate with this operation.- Returns:
- the quantity used and quota limit for resources as paginated response with
PagedIterable
. - 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.
-