public OvhOperation serviceName_output_graylog_stream_streamId_rule_POST ( String serviceName , String streamId , String field , Boolean isInverted , OvhStreamRuleOperatorEnum operator , String value ) throws IOException { String qPath = "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}/rule" ; StringBuilder sb = path ( qPath , serviceName , streamId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "field" , field ) ; addBody ( o , "isInverted" , isInverted ) ; addBody ( o , "operator" , operator ) ; addBody ( o , "value" , value ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhOperation . class ) ; }
Register a new rule on specified graylog stream