Vm_Storage_Policy_Compliance_CheckSpec

Vm_Storage_Policy_Compliance_CheckSpec
Vm_Storage_Policy_Compliance_CheckSpec

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

JSON Example
{
    "vm_home": false,
    "disks": [
        "string"
    ]
}
boolean
vm_home
Required

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

array of string
disks
Optional

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.