add support of name-based properties
Opened this issue · 0 comments
copdips commented
Hello,
Most of the databricks-cli commands needs to specify the object id when using get/set/delete, which respects to the backend databricks api spec.
As databricks-cli is designed to facilate raw API call usage, it would be nice to accepte also the name-based properties.
For example, we have databricks instance-pools get --instance-pool-id 0123-012345-abcd-pool-11111111
It would be nice to have: databricks instance-pools get --instance-pool-name {name}
Some thing for other commands.
Currently, such thing has already been done in databricks/dbx, it would be nice if it is impletemented at databricks-cli level directly, that databricks/dbx can rely on, and also for the pure databricks-cli users.