Class QuotasAsyncClient

java.lang.Object
com.azure.quantum.jobs.QuotasAsyncClient

public final class QuotasAsyncClient extends Object
Initializes a new instance of the asynchronous QuantumClient type.
  • Method Details

    • listSinglePage

      public Mono<PagedResponse<Quota>> listSinglePage()
      List quotas for the given workspace.
      Returns:
      list of quotas.
      Throws:
      RestErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      public PagedFlux<Quota> list()
      List quotas for the given workspace.
      Returns:
      list of quotas.
      Throws:
      RestErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listNextSinglePage

      public Mono<PagedResponse<Quota>> listNextSinglePage(String nextLink)
      Get the next page of items.
      Parameters:
      nextLink - The nextLink parameter.
      Returns:
      list of quotas.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      RestErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.