Vcenter Vm Storage Policy Compliance VmComplianceInfo

Vcenter Vm Storage Policy Compliance VmComplianceInfo
Vcenter Vm Storage Policy Compliance VmComplianceInfo

The Vcenter Vm Storage Policy Compliance VmComplianceInfo schema contains information about storage policy compliance associated with a virtual machine.

This schema was added in vSphere API 6.7.

JSON Example
{
    "status": "string",
    "check_time": "string",
    "policy": "string",
    "failure_cause": [
        {
            "id": "string",
            "default_message": "string",
            "args": [
                "string"
            ],
            "params": {
                "params": {
                    "s": "string",
                    "dt": "string",
                    "i": 0,
                    "d": "number",
                    "l": "Vapi Std NestedLocalizableMessage Object",
                    "format": "string",
                    "precision": 0
                }
            },
            "localized": "string"
        }
    ]
}
string
status
Required

Status of the compliance operation.

For more information see: Vcenter Vm Storage Policy Compliance Status.

This property was added in vSphere API 6.7.

string As date-time As date-time
check_time
Required

Date and time of the most recent compliance check.

This property was added in vSphere API 6.7.

string
policy
Optional

Identifier of the storage policy associated with the virtual machine.

This property was added in vSphere API 6.7.

If missing or null SPBM is unable to retrieve or determine the associated policy, Vcenter Vm Storage Policy Compliance VmComplianceInfo.failure_cause is set in such casses.

When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: com.vmware.vcenter.StoragePolicy. When operations return a value of this schema as a response, the property will be an identifier for the resource type: com.vmware.vcenter.StoragePolicy.

failure_cause
Required

The exception that caused the compliance check to fail. There can be more than one cause, since a policy can contain capabilities from multiple providers. If empty, it implies no failures while retrieving compliance.

This property was added in vSphere API 6.7.