ApiConfigEnforcement Data Model

Properties
name data type description
label string A label can be used to retrieve a set of configurations where this enforcement is applied. This is currently restricted to only those enums defined in ParamSpecLabel.java. All these configurations having the same label must be uniform. In other words, all these configurations must accept the same configuration input. There are two variations. Different configurations may have 1. different units for numeric configurations 2. different separators for list style configurations.
defaultValue string The new default value that these configurations should use instead of what is supplied by in Cloudera Manager by default.
unit string This can be MILLISECONDS, SECONDS, MINUTES, HOURS, BYTES, KILOBYTES, MEGABYTES, GIGABYTES, PERCENT, PAGES, TIMES, LINES. Optional.
separator string The new default value could be applied to configurations that require different separators. We need to know the separator the supplied default value has in order to generate the correct default value correctly. Optional.

Example

{
  "label" : "...",
  "defaultValue" : "...",
  "unit" : "...",
  "separator" : "..."
}