Storage Policy Operations
Use Storage Policy API methods to support virtual machine provisioning.
Use the PbmProfileProfileManager methods to create and update storage profiles.
Associate storage profiles with virtual machines and virtual disks. See the description of the vSphere API data object properties VirtualMachineConfigSpec.vmProfile and FileBackedVirtualDiskSpec.profile in the vSphere API Reference. You can also use the vSphere Web Client to associate a storage profile with a virtual machine or virtual disk.
Use the PbmPlacementSolver methods to identify candidate datastores for storage locations.
Specify the datastores when you create virtual machines and virtual disks. See the description of the vSphere API data object properties VirtualMachineFileInfo.vmPathName and VirtualDeviceFileBackingInfo.datastore in the vSphere API Reference.
Use the PbmComplianceManager methods to check compliance between storage requirements and capabilities.