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.
{
"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"
}
}
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.
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.
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.
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.
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.