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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mono<SqlPool>
get(String sqlPoolName)
Get Sql Pool.Mono<com.azure.core.http.rest.Response<SqlPool>>
getWithResponse(String sqlPoolName)
Get Sql Pool.Mono<SqlPoolInfoListResult>
list()
List Sql Pools.Mono<com.azure.core.http.rest.Response<SqlPoolInfoListResult>>
listWithResponse()
List Sql Pools.
-
-
-
Method Detail
-
listWithResponse
public Mono<com.azure.core.http.rest.Response<SqlPoolInfoListResult>> listWithResponse()
List Sql Pools.- Returns:
- sQL pool collection along with
Response
on successful completion ofMono
. - 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 ofMono
. - 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.
-
-