Settings_Clusters_Configuration_HostCompliance
The HostCompliance structure contains fields that describe compliance information for the ESXi host on which the Check Compliance operation completed successfully. Warning: This structure is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
{
"status": "string",
"compliance_info": {
"sets": [
{
"path": "string",
"current": "string",
"target": "string"
}
],
"adds": [
{
"path": "string",
"current": "string",
"target": "string"
}
],
"deletes": [
{
"path": "string",
"current": "string",
"target": "string"
}
]
}
}
This ComplianceStatus enumerated type represents the compliance status of desired configuration on the ESXi host. Warning: This enumeration is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
COMPLIANT : ESXi host is in compliance with Desired configuration. Warning: This constant is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
NON_COMPLIANT : ESXi host is not in compliance with Desired configuration. Warning: This constant is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.
The ComplianceInfo structure contains fields that describe the configuration drift between the desired document and the configurations on the ESXi host. Warning: This structure is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.