Interface GetUsagesInLocationsClient
public interface GetUsagesInLocationsClient
An instance of this class provides access to all the operations defined in GetUsagesInLocationsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable
<CsmUsageQuotaInner> Lists subscription core usages for all skus used in a location, for a given type of quota.com.azure.core.http.rest.PagedIterable
<CsmUsageQuotaInner> Lists subscription core usages for all skus used in a location, for a given type of quota.com.azure.core.http.rest.PagedFlux
<CsmUsageQuotaInner> Lists subscription core usages for all skus used in a location, for a given type of quota.
-
Method Details
-
listAsync
Lists subscription core usages for all skus used in a location, for a given type of quota. List usages in cores for all skus used by a subscription in a given location, for a specific quota type.- Parameters:
location
- The name of the Azure region.- Returns:
- collection of CSM usage quotas as paginated response with
PagedFlux
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
Lists subscription core usages for all skus used in a location, for a given type of quota. List usages in cores for all skus used by a subscription in a given location, for a specific quota type.- Parameters:
location
- The name of the Azure region.- Returns:
- collection of CSM usage quotas as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- 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<CsmUsageQuotaInner> list(String location, com.azure.core.util.Context context) Lists subscription core usages for all skus used in a location, for a given type of quota. List usages in cores for all skus used by a subscription in a given location, for a specific quota type.- Parameters:
location
- The name of the Azure region.context
- The context to associate with this operation.- Returns:
- collection of CSM usage quotas as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-