API Methods for vSphere
Virtual Machine Encryption
Methods for managing vSphere virtual machine
encryption are in the vSphere API, part of the Web Services SDK. In addition,
you need a few Storage Policy APIs to create and assign encryption storage
policies.