[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16305293#comment-16305293
 ] 

ASF subversion and git services commented on CLOUDSTACK-9602:
-------------------------------------------------------------

Commit e27b3e120dbf8c61d6db5e8a97604817c3a82c4c in cloudstack's branch 
refs/heads/master from [~marcaurele]
[ https://gitbox.apache.org/repos/asf?p=cloudstack.git;h=e27b3e1 ]

CLOUDSTACK-9602: Improve resource limits comprehension in listResources (#1554)

Add resource type name in request and response for listResources API call.
This adds in the response a new attribute typename with the String value for 
the corresponding resource enum.

    {
      "capacitytotal": 0,
      "capacityused": 0,
      "percentused": "0",
      "type": 19,
      "typename": "gpu",
      "zoneid": "381d0a95-ed4a-4ad9-b41c-b97073c1a433",
      "zonename": "ch-dk-2"
    }

Signed-off-by: Marc-Aurèle Brothier <m...@brothier.org>

> Add resource type name in response
> ----------------------------------
>
>                 Key: CLOUDSTACK-9602
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9602
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: API
>            Reporter: Marc-Aurèle Brothier
>            Assignee: Marc-Aurèle Brothier
>
> Output the resource type name along with its id to be more human readable for 
> all API call returning a resource.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to