VmStoragePolicyComplianceVmComplianceInfo

The Compliance.VmComplianceInfo structure contains information about storage policy compliance associated with a virtual machine.


Properties

string
check_time Required

Date and time of the most recent compliance check.


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.


string
policy Optional

Identifier of the storage policy associated with the virtual machine. If unset SPBM is unable to retrieve or determine the associated policy, Compliance.VmComplianceInfo.failure-cause is set in such casses. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.vcenter.StoragePolicy. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.vcenter.StoragePolicy.


status Required

Status of the compliance operation.

JSON Example

{
    "check_time": "string",
    "failure_cause": [
        {
            "args": [
                "string"
            ],
            "default_message": "string",
            "id": "string"
        }
    ],
    "status": "enum"
}
Feedback

Was this page helpful?