Settings_Clusters_Configuration_HostCheckComplianceResult

Settings_Clusters_Configuration_HostCheckComplianceResult
Settings_Clusters_Configuration_HostCheckComplianceResult

This CheckComplianceResult structure contains fields that describe the compliance of an individual host with the desired configuration.

JSON Example
{
    "compliant": false,
    "sets": [
        {
            "path": "string",
            "is_array": false,
            "value": {
                "type": "string",
                "bool_value": {
                    "host_value": false,
                    "desired_value": false
                },
                "long_value": {
                    "host_value": 0,
                    "desired_value": 0
                },
                "double_value": {
                    "host_value": "number",
                    "desired_value": "number"
                },
                "str_value": {
                    "host_value": "string",
                    "desired_value": "string"
                }
            },
            "array_value": {
                "type": "Settings_Clusters_Configuration_ComplianceValueType Object",
                "bool_arr": {
                    "host_arr": [
                        false
                    ],
                    "desired_arr": [
                        false
                    ]
                },
                "long_arr": {
                    "host_arr": [
                        0
                    ],
                    "desired_arr": [
                        0
                    ]
                },
                "double_arr": {
                    "host_arr": [
                        "number"
                    ],
                    "desired_arr": [
                        "number"
                    ]
                },
                "str_arr": {
                    "host_arr": [
                        "string"
                    ],
                    "desired_arr": [
                        "string"
                    ]
                }
            }
        }
    ],
    "adds": [
        {
            "path": "string",
            "is_array": false,
            "value": {
                "type": "string",
                "bool_value": {
                    "host_value": false,
                    "desired_value": false
                },
                "long_value": {
                    "host_value": 0,
                    "desired_value": 0
                },
                "double_value": {
                    "host_value": "number",
                    "desired_value": "number"
                },
                "str_value": {
                    "host_value": "string",
                    "desired_value": "string"
                }
            },
            "array_value": {
                "type": "Settings_Clusters_Configuration_ComplianceValueType Object",
                "bool_arr": {
                    "host_arr": [
                        false
                    ],
                    "desired_arr": [
                        false
                    ]
                },
                "long_arr": {
                    "host_arr": [
                        0
                    ],
                    "desired_arr": [
                        0
                    ]
                },
                "double_arr": {
                    "host_arr": [
                        "number"
                    ],
                    "desired_arr": [
                        "number"
                    ]
                },
                "str_arr": {
                    "host_arr": [
                        "string"
                    ],
                    "desired_arr": [
                        "string"
                    ]
                }
            }
        }
    ],
    "deletes": [
        {
            "path": "string",
            "is_array": false,
            "value": {
                "type": "string",
                "bool_value": {
                    "host_value": false,
                    "desired_value": false
                },
                "long_value": {
                    "host_value": 0,
                    "desired_value": 0
                },
                "double_value": {
                    "host_value": "number",
                    "desired_value": "number"
                },
                "str_value": {
                    "host_value": "string",
                    "desired_value": "string"
                }
            },
            "array_value": {
                "type": "Settings_Clusters_Configuration_ComplianceValueType Object",
                "bool_arr": {
                    "host_arr": [
                        false
                    ],
                    "desired_arr": [
                        false
                    ]
                },
                "long_arr": {
                    "host_arr": [
                        0
                    ],
                    "desired_arr": [
                        0
                    ]
                },
                "double_arr": {
                    "host_arr": [
                        "number"
                    ],
                    "desired_arr": [
                        "number"
                    ]
                },
                "str_arr": {
                    "host_arr": [
                        "string"
                    ],
                    "desired_arr": [
                        "string"
                    ]
                }
            }
        }
    ]
}
boolean
compliant
Required

This boolean flag indicates whether the ESXi host is in compliance with desired configuration.

sets
Optional

List of configuration drifts represented by ComplianceValue. Each describing a configuration whose value on ESXi host is different to that in the desired document. This field is unset if the HostCheckComplianceResult.compliant is set to true.

adds
Optional

List of configuration drifts represented by ComplianceValue. Each describing a configuration that is present in the desired document but absent on the ESXi host. This field is unset if the HostCheckComplianceResult.compliant is set to true or if there are no additions required to make the ESXi host compliant.

deletes
Optional

List of configuration drifts represented by ComplianceValue. Each describing a configuration that is present on the ESXi host but absent in the desired document. This field is unset if the HostCheckComplianceResult.compliant is set to true or if there are no deletions required to make the ESXi host compliant.