nvazquez opened a new pull request #3560: Display VM snapshot tags on usage 
records
URL: https://github.com/apache/cloudstack/pull/3560
 
 
   ## Description
   
   Problem: Tags are not visible on listUsageRecords type=25/27 (VM snapshots) 
even though there are tags on the VM snapshot
   
   ````
   list usagerecords startdate=2015-01-01 enddate=2019-08-13 includetags=true 
type=25
   {
   "account": "admin",
   "accountid": "29728169-ba9e-11e9-8e85-1e0050010765",
   "description": "VMSnapshot on primary storage usage for VM multi-disk-asa 
(b73a99b1-04d6-4bd4-b6b6-dacc683efc27) with size 21743271936",
   "domain": "ROOT",
   "domainid": "f89085e7-ba9d-11e9-8e85-1e0050010765",
   "enddate": "2019-08-13'T'11:58:15+00:00",
   "name": "i-2-21-VM_VS_20190813114616",
   "rawusage": "0.198085",
   "size": 21743271936,
   "startdate": "2019-08-13'T'11:46:22+00:00",
   "tags": [],
   "usage": "0.198085 Hrs",
   "usagetype": 27,
   "virtualmachineid": "b73a99b1-04d6-4bd4-b6b6-dacc683efc27",
   "zoneid": "873d6c1e-34e4-43fe-a809-1193e3fdabb8"
   }
   ````
   
   ## Types of changes
   - [x] Enhancement (improves an existing feature and functionality)
   
   ## Screenshots (if appropriate):
   
   ## How Has This Been Tested?
   - Take VM Snapshots
   - Assign tags to VM snapshots
   - Generate usage records
   - List usage records and verify tags are displayed
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to