@Generated public interface ExternalLocationsService
Databricks recommends using external locations rather than using storage credentials directly.
To create external locations, you must be a metastore admin or a user with the **CREATE_EXTERNAL_LOCATION** privilege.
This is the high-level interface, that contains generated methods.
Evolving: this interface is under development. Method signatures may change.
| Modifier and Type | Method and Description |
|---|---|
ExternalLocationInfo |
create(CreateExternalLocation createExternalLocation)
Creates a new external location entry in the metastore.
|
void |
delete(DeleteExternalLocationRequest deleteExternalLocationRequest)
Deletes the specified external location from the metastore.
|
ExternalLocationInfo |
get(GetExternalLocationRequest getExternalLocationRequest)
Gets an external location from the metastore.
|
ListExternalLocationsResponse |
list(ListExternalLocationsRequest listExternalLocationsRequest)
Gets an array of external locations (__ExternalLocationInfo__ objects) from the metastore.
|
ExternalLocationInfo |
update(UpdateExternalLocation updateExternalLocation)
Updates an external location in the metastore.
|
ExternalLocationInfo create(CreateExternalLocation createExternalLocation)
void delete(DeleteExternalLocationRequest deleteExternalLocationRequest)
ExternalLocationInfo get(GetExternalLocationRequest getExternalLocationRequest)
ListExternalLocationsResponse list(ListExternalLocationsRequest listExternalLocationsRequest)
NOTE: we recommend using max_results=0 to use the paginated version of this API. Unpaginated calls will be deprecated soon.
PAGINATION BEHAVIOR: When using pagination (max_results >= 0), a page may contain zero results while still providing a next_page_token. Clients must continue reading pages until next_page_token is absent, which is the only indication that the end of results has been reached.
ExternalLocationInfo update(UpdateExternalLocation updateExternalLocation)
Copyright © 2026. All rights reserved.