weizhouapache commented on PR #7617:
URL: https://github.com/apache/cloudstack/pull/7617#issuecomment-1586120336

   > > @GutoVeronezi Is it better to create a separate API to list all resource 
counts ?
   > 
   > @weizhouapache, as the APIs we have today already return the data we need; 
we would just need to improve the processes [with the new parameter]. 
Therefore, I believe there is no need for a new API [to maintain] that would do 
the same function as the others.
   
   @GutoVeronezi 
   I think it is better to get all resource counts/limitations by a single API 
call, not multiple api calls as you can see on the UI source code. You can 
refer to
   https://cloudstack.apache.org/api/apidocs-4.18/apis/listInfrastructure.html
   https://cloudstack.apache.org/api/apidocs-4.18/apis/listZonesMetrics.html
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to