List Policies Compliance VM
DescriptionReturns compliance information about at most 1000 virtual machines matching the filter VM.FilterSpec. If there are no virtual machines matching the VM.FilterSpec an empty List is returned. Virtual machines without storage policy association are not returned.
Request
URLURL
Query Parameters
Query Parameters
Header Parameters
Header Parameters
Response
Response BodyResponse Body
map
of
StoragePoliciesComplianceVMInfo of type application/json
compliance information about virtual machines matching the filter VM.FilterSpec. The key in the result map will be an identifier for the resource type: VirtualMachine.
{
"disks": "enum",
"vm_home": "enum"
}
A Map of virtual disks and their compliance status If empty, the virtual machine does not have any disks or its disks are not associated with a storage policy. 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.
Possible values are: COMPLIANT , NON_COMPLIANT , UNKNOWN_COMPLIANCE , NOT_APPLICABLE , OUT_OF_DATE
Compliance status of the virtual machine home. If unset or empty, virtual machine home is not associated with a storage policy.
Possible values are: COMPLIANT , NON_COMPLIANT , UNKNOWN_COMPLIANCE , NOT_APPLICABLE , OUT_OF_DATE