HPE Morpheus Enterprise Software
1856420 Members
29536 Online
104112 Solutions
New Discussion

Set VMware Notes During Provisioning

 
Not applicable

Set VMware Notes During Provisioning

Has anyone found a way to set the notes field during provisioning of an instance? I tried passing in a value to instance.notes on the JSON request I sent, but it appears that was just thrown away.

3 REPLIES 3
cbunge
HPE Pro

Re: Set VMware Notes During Provisioning

It may be a rough Monday for me, but are you referring to the Wiki tab on an instance that syncs to VMware notes?

Not applicable

Re: Set VMware Notes During Provisioning

Yeah, it looks like that’s stored in the “notes” field on the instance as well (in the JSON response from /api/instances/123).

cbunge
HPE Pro

Re: Set VMware Notes During Provisioning

Ah, the best way to approach this is add a post task on a provisioning workflow that curls back to the system and populates the wiki/notes.

This endpoint does not exist until the machine begins provisioning, so probably why your instance.notes gets dropped.

References:
Wiki Body Example

Post Task Curl Example

Wiki API Documentation