Playbook Parameters : Created VM | Nutanix Community
Skip to main content
Solved

Playbook Parameters : Created VM

  • September 30, 2021
  • 1 reply
  • 335 views

Forum|alt.badge.img+2
  • Trailblazer
  • 18 replies

We created a playbook to send email whenever a New VM got created in Nutanix AHV cluster. How can we add User Name and Cluster Name in Email Message? There is not much benefit if,  such details can not be provided,

Event:

Action:

 

Best answer by Michael.Manuele

@Charu So, unfortunately, the best way to do that today would be adding a REST API action to additional lookup details using the v3/vms API to make the query and then the String parse to pull those details out. We do have an action plan in the next few months that will make it so we can expose these details without needing a lookup, although I don't know if we plan to reveal a username at this time.  

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

1 reply

Michael.Manuele
Nutanix Employee
Forum|alt.badge.img+4
  • Nutanix Employee
  • 47 replies
  • Answer
  • September 30, 2021

@Charu So, unfortunately, the best way to do that today would be adding a REST API action to additional lookup details using the v3/vms API to make the query and then the String parse to pull those details out. We do have an action plan in the next few months that will make it so we can expose these details without needing a lookup, although I don't know if we plan to reveal a username at this time.