vcenter vm storage policy compliance: info

The info structure contains information about the storage policy compliance of a virtual machine, including information about it's home directory and/or it's virtual disks. This structure was added in vSphere API 6.7

Representation:

{
    "disks"[
        {
            "key""obj-103",
            "value"{
                "check_time""2015-01-01T22:13:05.651Z",
                "failure_cause"[
                    {
                        "args"[
                            "string",
                            "string"
                        ],
                        "default_message""string",
                        "id""string"
                    },
                    {
                        "args"[
                            "string",
                            "string"
                        ],
                        "default_message""string",
                        "id""string"
                    }
                ],
                "policy""obj-103",
                "status""COMPLIANT"
            }
        }
    ],
    "overall_compliance""COMPLIANT",
    "vm_home"{
        "check_time""2015-01-01T22:13:05.651Z",
        "failure_cause"[
            {
                "args"[
                    "string",
                    "string"
                ],
                "default_message""string",
                "id""string"
            },
            {
                "args"[
                    "string",
                    "string"
                ],
                "default_message""string",
                "id""string"
            }
        ],
        "policy""obj-103",
        "status""COMPLIANT"
    }
}

Attributes:

Name Type Description
Required
overall_compliance string The overall compliance status of the virtual machine and all it's entities. This attribute was added in vSphere API 6.7

Defines the storage compliance status of a virtual machine and its applicable entities. This enumeration was added in vSphere API 6.7 Value is one of:
COMPLIANT: Entity is in compliance. This constant was added in vSphere API 6.7
NON_COMPLIANT: Entity is out of compliance. This constant was added in vSphere API 6.7
UNKNOWN_COMPLIANCE: Compliance status of the entity is not known. This constant was added in vSphere API 6.7
NOT_APPLICABLE: Compliance computation is not applicable for this entity because it does not have any storage requirements that apply to the datastore on which it is placed. This constant was added in vSphere API 6.7
OUT_OF_DATE: The Compliance status becomes out-of-date when the profile associated with the entity is edited but not applied. The compliance status remains out-of-date until the edited policy is applied to the entity. This constant was added in vSphere API 6.7

disks list The compliance information vcenter.vm.storage.policy.compliance.vm_compliance_info for the virtual machine's virtual disks that are currently 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": vm_compliance_info}

Optional
vm_home vm_compliance_info The storage policy compliance information vcenter.vm.storage.policy.compliance.vm_compliance_info for the virtual machine's home directory. This attribute was added in vSphere API 6.7

Optional. If unset the virtual machine home directory has no storage policy association.