Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement request - Invoke-DatabricksAPIJSON ? #141

Closed
TakeshiKovacs opened this issue Oct 2, 2020 · 2 comments · Fixed by #144
Closed

Enhancement request - Invoke-DatabricksAPIJSON ? #141

TakeshiKovacs opened this issue Oct 2, 2020 · 2 comments · Fixed by #144
Assignees

Comments

@TakeshiKovacs
Copy link

Hi Guys

Would it be possible to get support for Invoke-DatabricksAPI to accept a JSON string directly or get a new module that accepts JSON instead of a hash table?
The reasoning behind the request is I would like to store a cluster configuration in its original JSON format in source control.
Currently to deploy it, I would have to convert the original JSON format to a hash table, then pass it to the function, which then converts it back to a JSON.

Cheers
Mat

@simondmorias
Copy link
Member

Makes sense. I've got some changes to sort this weekend so will take a look. BTW you can pipe JSON to the cluster and job commands if that is what you are trying to do. Though I need to fix another issue where it doesn't match the cluster name if it already exists and create a duplicate (I will deal with that this weekend as well).

@simondmorias simondmorias self-assigned this Oct 2, 2020
@TakeshiKovacs
Copy link
Author

Thanks Simon!

I will see if the piping will work for us in the mean time.

Cheers
Mat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants