vcenter vm storage policy compliance: check spec
The
check_spec
structure contains fields used to specify the entities on which the storage policy compliance check is to be invoked. This structure was added in vSphere API 6.7Representation:
{
"disks": [
"obj-103",
"obj-103"
],
"vm_home": true
}
"disks": [
"obj-103",
"obj-103"
],
"vm_home": true
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
vm_home | boolean | Invoke compliance check on the virtual machine home directory if set to true. This attribute was added in vSphere API 6.7 |
Optional | ||
disks | string[] | Identifiers of the virtual machine's virtual disks for which compliance should be checked. This attribute was added in vSphere API 6.7 Optional. If unset or empty, compliance check is invoked on all the associated disks.When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: com.vmware.vcenter.vm.hardware.Disk . When operations return a value of this structure as a result, the field will contain identifiers for the resource type: com.vmware.vcenter.vm.hardware.Disk . |