Class SqlPoolsClient
java.lang.Object
com.azure.analytics.synapse.artifacts.SqlPoolsClient
Initializes a new instance of the synchronous ArtifactsClient type.
-
Method Summary
Modifier and TypeMethodDescriptionGet Sql Pool.com.azure.core.http.rest.Response<SqlPool>
getWithResponse
(String sqlPoolName, com.azure.core.util.Context context) Get Sql Pool.list()
List Sql Pools.com.azure.core.http.rest.Response<SqlPoolInfoListResult>
listWithResponse
(com.azure.core.util.Context context) List Sql Pools.
-
Method Details
-
list
List Sql Pools.- Returns:
- sQL pool collection.
- Throws:
ErrorContractException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listWithResponse
public com.azure.core.http.rest.Response<SqlPoolInfoListResult> listWithResponse(com.azure.core.util.Context context) List Sql Pools.- Parameters:
context
- The context to associate with this operation.- Returns:
- sQL pool collection along with
Response
. - 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.
- 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.
-
getWithResponse
public com.azure.core.http.rest.Response<SqlPool> getWithResponse(String sqlPoolName, com.azure.core.util.Context context) Get Sql Pool.- Parameters:
sqlPoolName
- The Sql Pool name.context
- The context to associate with this operation.- Returns:
- sql Pool along with
Response
. - 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.
-