VmStoragePolicyComplianceCheckSpec

The Compliance.CheckSpec structure contains fields used to specify the entities on which the storage policy compliance check is to be invoked.


Properties

Required Property Name Type Description
optional disks array of string

Identifiers of the virtual machine’s virtual disks for which compliance should be checked. 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.

required vm_home boolean

Invoke compliance check on the virtual machine home directory if set to true.

JSON Example

{
    "vm_home": false
}
Feedback

Was this page helpful?