The VMware Storage Policy Programming Guide describes how to use the VMware® Storage Policy API.

The VMware Storage Policy SDK supports the development of vCenter clients that use storage profiles for virtual machine configuration. This method of storage administration is called storage policy based management (SPBM).

Revision History

This book is revised with each release of the product or when necessary. The following table summarizes significant changes in each version of this book.

Revision Date Description
11 OCT 2022 vSphere 8.0 release. Minor cleanup.
02 APR 2020 Improved illustrations for vSphere 7.0.
17 Apr 2018 Revised for vSphere 6.7 with new chapter about VVol storage profiles.
16 Nov 2016 Revised for vSphere 6.5 with minor updates.
12 Mar 2015 Revised for vSphere 6.0 with new chapters about Tag, VM, and vSAN storage profiles.
12 Sep 2013 First version of this manual for vSphere 5.5 with information about storage profiles.

Intended Audience

This book is intended for anyone who needs to develop applications using the VMware Storage Policy SDK. An understanding of Web Services technology and some programming background in Java is required.

Sample Code

The VMware Storage Policy SDK includes Java programs to list storage profiles, view a specific profile, create a new storage profile, associate a storage profile with a VM (when creating, cloning, or relocating the VM), check compliance of the VM with its storage profile, and delete a storage profile.

API Reference

Many of the SPBM interfaces start with the letters Pbm, for policy based management. To find an API reference information, go to click vSphere Management SDK then click VMware Storage Policy API Reference. There are Pbm interfaces in all categories: managed objects, data objects, enumerated types, fault types, methods, and so forth.