Class SqlPoolsAsyncClient
java.lang.Object
com.azure.analytics.synapse.artifacts.SqlPoolsAsyncClient
Initializes a new instance of the asynchronous ArtifactsClient type.
-
Method Summary
Modifier and TypeMethodDescriptionGet Sql Pool.getWithResponse
(String sqlPoolName) Get Sql Pool.list()
List Sql Pools.Mono<com.azure.core.http.rest.Response<SqlPoolInfoListResult>>
List Sql Pools.
-
Method Details
-
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
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
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
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.
-