Interface AscUsagesClient


public interface AscUsagesClient
An instance of this class provides access to all the operations defined in AscUsagesClient.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.azure.core.http.rest.PagedIterable<ResourceUsageInner>
    list(String location)
    Gets the quantity used and quota limit for resources.
    com.azure.core.http.rest.PagedIterable<ResourceUsageInner>
    list(String location, com.azure.core.util.Context context)
    Gets the quantity used and quota limit for resources.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<ResourceUsageInner> list(String location)
      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<ResourceUsageInner> 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.