VmStoragePolicyInfo

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


Properties

map of string
disks Required

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.


string
vm_home Optional

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.

JSON Example

{
	"disks": {
		"key": "string"
	}
}
Returned By

Get Storage Policy

Feedback

Was this page helpful?