pub fn set_generic_threshold( config_json: &str, params: SetGenericThresholdParams<'_>, ) -> Result<String>
Set (update) a generic threshold
config_json
params
Modified configuration JSON string