vcenter storage policies compliance VM: info

Provides the compliance details of a virtual machine and its associated entities which match the given compliance statuses. This structure was added in vSphere API 6.7

Representation:

{
    "disks"[
        {
            "key""obj-103",
            "value""COMPLIANT"
        }
    ],
    "vm_home""COMPLIANT"
}

Attributes:

Name Type Description
Required
disks list 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. This attribute was added in vSphere API 6.7

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.List of {"key": string, "value": string}

Optional
vm_home string Compliance status of the virtual machine home. This attribute was added in vSphere API 6.7

Optional. If unset or empty, virtual machine home is not associated with a storage policy.