Interface Usages


public interface Usages
Resource collection API of Usages.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.azure.core.http.rest.PagedIterable<SignalRServiceUsage>
    list(String location)
    List resource usage quotas by location.
    com.azure.core.http.rest.PagedIterable<SignalRServiceUsage>
    list(String location, com.azure.core.util.Context context)
    List resource usage quotas by location.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<SignalRServiceUsage> list(String location)
      List resource usage quotas by location.
      Parameters:
      location - the location like "eastus".
      Returns:
      object that includes an array of the resource usages and a possible link for next set 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<SignalRServiceUsage> list(String location, com.azure.core.util.Context context)
      List resource usage quotas by location.
      Parameters:
      location - the location like "eastus".
      context - The context to associate with this operation.
      Returns:
      object that includes an array of the resource usages and a possible link for next set 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.