Interface UsagesClient


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

    • listBySubscriptionAsync

      com.azure.core.http.rest.PagedFlux<QuotaUsageResultInner> listBySubscriptionAsync(String location, UUID clientRequestId)
      Gets a list of all Search quota usages in the given subscription.
      Parameters:
      location - The unique location name for a Microsoft Azure geographic region.
      clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.
      Returns:
      a list of all Search quota usages in the given subscription as paginated response with PagedFlux.
      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.
    • listBySubscriptionAsync

      com.azure.core.http.rest.PagedFlux<QuotaUsageResultInner> listBySubscriptionAsync(String location)
      Gets a list of all Search quota usages in the given subscription.
      Parameters:
      location - The unique location name for a Microsoft Azure geographic region.
      Returns:
      a list of all Search quota usages in the given subscription as paginated response with PagedFlux.
      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.
    • listBySubscription

      com.azure.core.http.rest.PagedIterable<QuotaUsageResultInner> listBySubscription(String location)
      Gets a list of all Search quota usages in the given subscription.
      Parameters:
      location - The unique location name for a Microsoft Azure geographic region.
      Returns:
      a list of all Search quota usages in the given subscription 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.
    • listBySubscription

      com.azure.core.http.rest.PagedIterable<QuotaUsageResultInner> listBySubscription(String location, UUID clientRequestId, com.azure.core.util.Context context)
      Gets a list of all Search quota usages in the given subscription.
      Parameters:
      location - The unique location name for a Microsoft Azure geographic region.
      clientRequestId - A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.
      context - The context to associate with this operation.
      Returns:
      a list of all Search quota usages in the given subscription 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.