vcenter vm storage policy: update spec
The
update_spec
structure describes the updates to be made to the storage policies associated with the virtual machine home and/or its virtual disks. This structure was added in vSphere API 6.7Representation:
{
"disks": [
{
"key": "obj-103",
"value": {
"policy": "obj-103",
"type": "USE_SPECIFIED_POLICY"
}
}
],
"vm_home": {
"policy": "obj-103",
"type": "USE_SPECIFIED_POLICY"
}
}
"disks": [
{
"key": "obj-103",
"value": {
"policy": "obj-103",
"type": "USE_SPECIFIED_POLICY"
}
}
],
"vm_home": {
"policy": "obj-103",
"type": "USE_SPECIFIED_POLICY"
}
}
Attributes:
Name | Type | Description |
---|---|---|
Optional | ||
vm_home | vm_home_policy_spec | Storage policy to be used when reconfiguring the virtual machine home. This attribute was added in vSphere API 6.7 Optional. if unset the current storage policy is retained. |
disks | list | Storage policy or policies to be used when reconfiguring virtual machine diks. This attribute was added in vSphere API 6.7 Optional. if unset the current storage policy is retained.When clients pass a value of this structure as a parameter, the key in the field key/value pairs 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 key/value pairs will be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk . |