public final class SqlPoolsClient extends Object
Modifier and Type | Method and Description |
---|---|
SqlPool |
get(String sqlPoolName)
Get Sql Pool.
|
com.azure.core.http.rest.Response<SqlPool> |
getWithResponse(String sqlPoolName,
com.azure.core.util.Context context)
Get Sql Pool.
|
SqlPoolInfoListResult |
list()
List Sql Pools.
|
com.azure.core.http.rest.Response<SqlPoolInfoListResult> |
listWithResponse(com.azure.core.util.Context context)
List Sql Pools.
|
public SqlPoolInfoListResult list()
ErrorContractException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.core.http.rest.Response<SqlPoolInfoListResult> listWithResponse(com.azure.core.util.Context context)
context
- The context to associate with this operation.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.public SqlPool get(String sqlPoolName)
sqlPoolName
- The Sql Pool name.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.public com.azure.core.http.rest.Response<SqlPool> getWithResponse(String sqlPoolName, com.azure.core.util.Context context)
sqlPoolName
- The Sql Pool name.context
- The context to associate with this operation.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.Copyright © 2021 Microsoft Corporation. All rights reserved.