Developer Documentation

PolicyInfo

The Policy.Info structure contains information about the storage policies associated with virtual machine’s home directory and virtual hard disks.


Properties

Required Property Name Type Description
required disks map of string

Storage policies associated with virtual disks. The values in this map are storage policy identifiers. They will be identifiers for the resource type:com.vmware.vcenter.StoragePolicy If the map is empty, the virtual machine does not have any disks or its disks are not associated with a storage policy. When clients pass a value of this structure as a parameter, the key in the field map must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk. When operations return a value of this structure as a result, the key in the field map will be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk.

optional vm_home string

Storage Policy associated with virtual machine home. Ifunset, the virtual machine’s home directory doesn’t have any storage policy. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.vcenter.StoragePolicy. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.vcenter.StoragePolicy.

Feedback

Was this page helpful?