VmStoragePolicyUpdateSpec

The Policy.UpdateSpec structure describes the updates to be made to the storage policies associated with the virtual machine home and/or its virtual disks.


Properties

disks Optional

Storage policy or policies to be used when reconfiguring virtual machine diks. if unset the current storage policy is retained. 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.


vm_home Optional

Storage policy to be used when reconfiguring the virtual machine home. if unset the current storage policy is retained.

JSON Example

{
    "disks": {
        "key": {
            "policy": "string",
            "type": "enum"
        }
    },
    "vm_home": {
        "policy": "string",
        "type": "enum"
    }
}
Feedback

Was this page helpful?