-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feature] Update databricks_permissions resource to support vector-se…
…arch-endpoints (#4209) ## Changes Databricks permissions API has been updated to support `vector-search-endpoints`. This corresponding change to the permissions_definitions would enable the use of the `databricks_permissions` resource to manage ACLs for Vector Search Endpoints leveraging the existing APIs under the hood. Example CLI call confirming support: ``` databricks permissions get vector-search-endpoints {endpoint-id} --debug 18:56:25 INFO start pid=77800 version=0.224.1 args="databricks, permissions, get, vector-search-endpoints, {endpoint-id}, --debug" 18:56:25 INFO Ignoring pat auth, because databricks-cli is preferred pid=77800 sdk=true 18:56:25 INFO Ignoring basic auth, because databricks-cli is preferred pid=77800 sdk=true 18:56:25 INFO Ignoring oauth-m2m auth, because databricks-cli is preferred pid=77800 sdk=true 18:56:25 INFO Refreshed OAuth token from Databricks CLI, expires on 2024-11-11 19:00:53.515729 -0500 EST pid=77800 sdk=true 18:56:25 DEBUG Using Databricks CLI authentication with Databricks OAuth tokens pid=77800 sdk=true 18:56:25 INFO Refreshed OAuth token from Databricks CLI, expires on 2024-11-11 19:00:53.515729 -0500 EST pid=77800 sdk=true 18:56:26 DEBUG GET /api/2.0/permissions/vector-search-endpoints/{endpoint-id} < HTTP/2.0 200 OK < { < "access_control_list": [ .... ``` ## Tests <!-- How is this tested? Please see the checklist below and also describe any other relevant tests --> - [X] `make test` run locally - [X] relevant change in `docs/` folder - [x] covered with integration tests in `internal/acceptance` - [ ] relevant acceptance tests are passing - [X] using Go SDK --------- Co-authored-by: Alex Ott <[email protected]>
- Loading branch information
Showing
5 changed files
with
75 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters