Vm_Storage_Policy_Info

Vm_Storage_Policy_Info
Vm_Storage_Policy_Info

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

JSON Example
{
    "vm_home": "string",
    "disks": {
        "disks": "string"
    }
}
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.

object
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.