GitHub user KuasarCloud closed a discussion: How to set tags in usage records

Hey team!

We started using the SharedFile System and from the usage point of view it's 
just **1 vm and 2 disks**, however we would like to differentiate that specific 
use case, is it possible we can set tags in the usage records json response, 
field "tags": []. If so, where can we set it? we already created tags for the 
resource bit it's not there as you can see in this example

 {
      "description": "Volume usage for ROOT-1323 
(6155ef00-b57d-4744-8356-5f9956exxxxx) and template systemvm-kvm-4.20.0-x86_64 
(3c901477-c177-4d34-ae90-c8ceb6xxxxx) and size (4.88 GB) 5242880000",
      "domain": "xxxxxxxx",
      "domainid": "272c416e-9821-453a-a228-xxxxxxxxxx",
      "domainpath": "/xxxxxxxx/",
      "enddate": "2025-03-21T23:59:59-0500",
      "project": "624349294c0efe30d9ec0fd6",
      "projectid": "a05c87c4-fefa-4550-88fd-xxxxxxxxx",
      "rawusage": "24",
      "size": 5242880000,
      "startdate": "2025-03-21T00:00:00-0500",
      "tags": [],
      "templateid": "3c901477-c177-4d34-ae90-c8ceb633f2c8",
      "usage": "24 Hrs",
      "usageid": "6155ef00-b57d-4744-8356-5f9956ecb746",
      "usagetype": 6,
      "zoneid": "6d4b1650-357e-4885-9ed3-xxxxxxxxx"
    }


GitHub link: https://github.com/apache/cloudstack/discussions/10607

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to