Developer Documentation

ComplianceVmComplianceInfo

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


Properties

Required Property Name Type Description
required check_time string

Date and time of the most recent compliance check.

required failure_cause array of StdLocalizableMessage

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.

optional policy string

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.

required status ComplianceStatus Enum

Status of the compliance operation.

Feedback

Was this page helpful?