@Generated public class DataSourcesAPI extends Object
This API does not support searches. It returns the full list of SQL warehouses in your workspace. We advise you to use any text editor, REST client, or `grep` to search the response from this API for the name of your SQL warehouse as it appears in Databricks SQL.
**Warning**: This API is deprecated. Please see the latest version of the Databricks SQL API. [Learn more]
[Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html
| Constructor and Description |
|---|
DataSourcesAPI(ApiClient apiClient)
Regular-use constructor
|
DataSourcesAPI(DataSourcesService mock)
Constructor for mocks
|
| Modifier and Type | Method and Description |
|---|---|
DataSourcesService |
impl() |
Iterable<DataSource> |
list()
Retrieves a full list of SQL warehouses available in this workspace.
|
public DataSourcesAPI(ApiClient apiClient)
public DataSourcesAPI(DataSourcesService mock)
public Iterable<DataSource> list()
**Warning**: This API is deprecated. Please use :method:warehouses/list instead. [Learn more]
[Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html
public DataSourcesService impl()
Copyright © 2026. All rights reserved.