-
Notifications
You must be signed in to change notification settings - Fork 8
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
Query group management #26
Comments
What do you mean by "find the membership query"? As far as creating a query group, I've looked into it before and I passed on it at the time. There's a lot to it. This is what I would need to put it together (thinking out loud). Seems doable but no promises on when I can deliver. This is a side project of mine and not my day job.
I could create commandlets for Get-QuerySupportContext, Get-QuerySupportField and Get-QuerySupportOperator. Then you'd have to save these into variables and input them into a New-OMEQueryGroup commandlet like:
The payload would look similar to the following:
https://developer.dell.com/apis/5898/versions/4.0.1/docs/Tasks/QueryGroups.md |
Thanks Trevor, what I mean is to see the query that determines membership of the query group. Is there a way to retrieve the query relating to an existing group I'll have a look into this and see what I can pull together. Cheers, Will |
I see that the Group Query is available at /api/GroupService/Groups(groupid)/GroupQuery - it would be great if the output from this could be included in the response from Get-OMEGroup. I'll have a go at this when I have some time |
I can get the list of groups, and determine which devices are in the groups, but I cannot find the membership query or create a dynamic group.
we use this to create query groups based on ESXi version so that we can create firmware baselines using the ESXi catalogs matching the installed ESXi version. It would be great to be able to automate this
The text was updated successfully, but these errors were encountered: