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"{
        "obj-103""COMPLIANT"
    },
    "vm_home""COMPLIANT"
}
{
    "disks"[
        {
            "value""COMPLIANT",
            "key""obj-103"
        }
    ],
    "vm_home""COMPLIANT"
}

Attributes:

Name Type Description
Required
-.disks object 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.Object with element values of type string.

-.disks.* string Defines he valid compliance status values for a virtual machine or virtual disk. This enumeration was added in vSphere API 6.7. Value is one of:
COMPLIANT: The virtual machine or virtual disk is in compliance. This constant was added in vSphere API 6.7.
NON_COMPLIANT: The virtual machine or virtual disk is in not in compliance. This constant was added in vSphere API 6.7.
UNKNOWN_COMPLIANCE: Compliance status of the virtual machine or virtual disk is not known. This constant was added in vSphere API 6.7.
NOT_APPLICABLE: Compliance computation is not applicable for this virtual machine or disk because it does not have any storage requirement that apply to the object-based datastore on which the entity is placed. This constant was added in vSphere API 6.7.
OUT_OF_DATE: Compliance status becomes out of date when the profile associated with the virtual machine or disk is edited and not applied. The compliance status will remain out of date until the latest policy is applied. This constant was added in vSphere API 6.7.
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.