VMware Cloud Community
seaduck
Contributor
Contributor

vSphere API calls equivalent to UNMAP



Hi,


I am trying to add UNMAP in the vSphere web client plugin.  However, it seems like there is no API call for UNMAP.  You have to call through the CLI in order to UNMAP.


Is there an equivalent set of vSphere API calls that would do the same thing as UNMAP?


Thanks!

Reply
0 Kudos
5 Replies
lamw
Community Manager
Community Manager

There is not an UNMAP API, you will need to either us ESXCLI within the ESXi Shell or the remote version

Reply
0 Kudos
seaduck
Contributor
Contributor



Yes, but doesn't UNMAP call the vSphere API through the ESXCLI?  If so, there should be some equivalent set of calls that does the same thing as UNMAP....

Reply
0 Kudos
lamw
Community Manager
Community Manager

No, it does not. ESXCLI is completely different and it does not have an API

Reply
0 Kudos
seaduck
Contributor
Contributor

That is disappointing, but thank you for confirming.

Reply
0 Kudos
lamw
Community Manager
Community Manager

If you would like to DM privately with more details for this request I can forward it internally.

In the meantime, here is one option of exposing this functionality through the vSphere Web Client http://www.virtuallyghetto.com/2014/09/want-to-issue-a-vaai-unmap-operation-using-the-vsphere-web-cl...

Reply
0 Kudos