Class SqlPoolsClient


  • public final class SqlPoolsClient
    extends Object
    Initializes a new instance of the synchronous ArtifactsClient type.
    • Method Detail

      • 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.
      • 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.