public static base_responses add ( nitro_service client , systemcmdpolicy resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { systemcmdpolicy addresources [ ] = new systemcmdpolicy [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources [ i ] = new systemcmdpolicy ( ) ; addresources [ i ] . policyname = resources [ i ] . policyname ; addresources [ i ] . action = resources [ i ] . action ; addresources [ i ] . cmdspec = resources [ i ] . cmdspec ; } result = add_bulk_request ( client , addresources ) ; } return result ; }
Use this API to add systemcmdpolicy resources .