Class SqlPoolsAsyncClient

java.lang.Object
com.azure.analytics.synapse.artifacts.SqlPoolsAsyncClient

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

    • listWithResponse

      public Mono<com.azure.core.http.rest.Response<SqlPoolInfoListResult>> listWithResponse()
      List Sql Pools.
      Returns:
      sQL pool collection along with Response on successful completion of Mono.
      Throws:
      ErrorContractException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      public Mono<SqlPoolInfoListResult> list()
      List Sql Pools.
      Returns:
      sQL pool collection on successful completion of Mono.
      Throws:
      ErrorContractException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getWithResponse

      public Mono<com.azure.core.http.rest.Response<SqlPool>> getWithResponse(String sqlPoolName)
      Get Sql Pool.
      Parameters:
      sqlPoolName - The Sql Pool name.
      Returns:
      sql Pool along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorContractException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • get

      public Mono<SqlPool> get(String sqlPoolName)
      Get Sql Pool.
      Parameters:
      sqlPoolName - The Sql Pool name.
      Returns:
      sql Pool on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorContractException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.