5 Essential Tips for Maximizing Your Experience at Nutanix .NEXT for Bloggers
Thanks a lot @AnishWalia20, I’ll be waiting for your response. thanks!
Hi Anish, it is a pleasure receiving such polite and great answers from you. appreciate itwell, for entity_ids affected_entities": [ { "entity_type": "cluster", "entity_type_display_name": null, "entity_name": null, "uuid": "000582c6-cf0d-e0a8-0000-000000016950", "id": "92496" }]I've tried inserting both the “uuid” and “id” fields mentioned here for my alerts, but it did not have any effect (other alerts with different id or uuid fields were not filtered)
Thanks Anish! I really appreciate your help.This does confuse me a bit with this https://www.nutanix.dev/reference/prism_element/v2/api/alerts/get-alerts-getalerts/ what is entity_ids then? if I wrote the id value for entity_ids query param in this request, it seemed to have no effect. is it supposed to be other field? thanks a lot!
Thanks a lot! it does help.Last question if I may,I also have troubles figuring what is the entity_type_ids for endpointshttps://www.nutanix.dev/reference/prism_element/v2/api/alerts/post-alerts-resolve-resolvealerts/https://www.nutanix.dev/reference/prism_element/v2/api/alerts/post-alerts-acknowledge-acknowledgealertsI’ve been doing GET /alerts and tried using the field ‘id’ in ‘affected_entities’ received from GET /alerts response, but it doesn’t seem to have any effect at all. could it be that entity_type_ids isn’t supported? or did I sent the wrong parameter to it?
Awesome.If you could still somehow figure what are the possibilities for filters for get /vms and get /hosts it would be great, as for some filters I'm getting"message": "Exception while retrieving entities : java.lang.RuntimeException: Unrecognized field X passed, unable to build filter.",and for other filters it seems to be functioning as expected.Thanks!
I was using a username for authentication and the user did not have permissions to do such actions, that’s why I was getting the access denied message, my bad.Thanks!
Thanks a lot Anish!about - Are you sure when executing API POST /vms/{uuid}/set_power_state , you are entering all the required parameters?quite sure, I did a GET /vms ,took “uuid” field I got from one of the vms there.also, I've been getting access denied on API call that doesn’t require any parameter, such asPOST alerts/acknowledge https://www.nutanix.dev/reference/prism_element/v2/api/alerts/post-alerts-acknowledge-acknowledgealerts/POST alerts/resolvehttps://www.nutanix.dev/reference/prism_element/v2/api/alerts/post-alerts-resolve-resolvealerts/
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.