Settings_Clusters_Configuration_PrimitiveComplianceValue

Settings_Clusters_Configuration_PrimitiveComplianceValue
Settings_Clusters_Configuration_PrimitiveComplianceValue

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.

JSON Example
{
    "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"
    }
}
type
Required

The ComplianceValueType enumerated type represents the type of configuration in drift.
BINARY : Indicates the value is a binary.
BOOLEAN : Indicates the value is a boolean.
DOUBLE : Indicates the value is a float/double.
LONG : Indicates the value is a integer(16 or 32 or 64 bit).
STRING : Indicates the value is a string.
SECRET : Indicates the value is a Secret type.
USER_DATA : Indicates that the value is a dynamic user defined structure.

bool_value
Optional

The BooleanComplianceValue structure contains fields that describe a boolean value in drift. This struture captures the desired value and the host value for the drift.

long_value
Optional

The LongComplianceValue structure contains fields that describe a long value in drift. This struture captures the desired value and the host value for the drift.

double_value
Optional

The DoubleComplianceValue structure contains fields that describe a double value in drift. This struture captures the desired value and the host value for the drift.

str_value
Optional

The StringComplianceValue structure contains fields that describe a string value in drift. This struture captures the desired value and the host value for the drift.