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": "USE_SPECIFIED_POLICY"
		}
	},
	"vm_home": {
		"policy": "string",
		"type": "USE_SPECIFIED_POLICY"
	}
}
Parameter To

Update Storage Policy

Feedback

Was this page helpful?