Skip to main content

add_generic_threshold

Function add_generic_threshold 

Source
pub fn add_generic_threshold(
    config_json: &str,
    params: AddGenericThresholdParams<'_>,
) -> Result<String>
Expand description

Add a new generic threshold (CFG_GENERIC_THRESHOLD record)

§Arguments

  • config_json - JSON configuration string
  • params - Generic threshold parameters (plan, behavior, caps required; feature optional)

§Returns

Modified configuration JSON string