Settings_Clusters_Configuration_ComplianceValue

Settings_Clusters_Configuration_ComplianceValue
Settings_Clusters_Configuration_ComplianceValue

The ComplianceValue structure contains fields that describes the drift in an ESXi host configuration from desired value. This structure is used to describe either a change in configuration value(set) or addition of configuration or deletion of a configuration. When used to describe addition or deletion of a configuration, only the path, type and isArray fields are set, and type is always expected to be USER_DATA. When used to describe a set operation, hostValue and desiredValue would only be set if drift is in a property that is of primitive type.

JSON Example
{
    "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"
            ]
        }
    }
}
string As uri
path
Required

Full path to the configuration at drift within the desired document.

boolean
is_array
Required

Indicates if the configuration in drift is an array.

value
Optional

The PrimitiveComplianceValue structure contains fields that describe the drift in a primitive data type value. Depending on the primitive data type of the configuration only one of the members in this structure is populated.

array_value
Optional

The ArrayComplianceValue structure contains fields that describe the drift in an array of primitive data type values. Depending on the primitive data type of the configuration only one of the members in this structure is populated.