GitHub user winterhazel added a comment to the discussion: How to set tags in usage records
> we would like to differentiate that specific use case, is it possible we can > set tags in the usage records json response Yes, that's a possible to differentiate it currently. You can set resource tags on the shared filesystem VM and/or its volumes and check them on the `listUsageRecords` response. However, keep in mind that if users have access to CloudStack, they can edit and remove these tags as long as they have permission to use the `createTags` and `deleteTags` APIs. Another option would be to call other APIs to check if the VM or the volume (specified by `usageid`) is associated with a shared filesystem resource. Ideally, though, CloudStack should be extended to add a new usage type for shared filesystem resources. > If so, where can we set it? Via the UI, you can configure resource tags at the bottom of the VM/the volume's info card.  Via the API, you can configure them through the `createTags` and `deleteTags` APIs. Resource tags associated with a VM will be returned in the running/allocated VM usage records of that VM, and resource tags associated with a volume will be returned in the volume usage records of that volume. > we already created tags for the resource bit it's not there as you can see in > this example Are you passing `includetags=true` when calling `listUsageRecords`? You need to pass this parameter for tags to be listed. GitHub link: https://github.com/apache/cloudstack/discussions/10607#discussioncomment-12601548 ---- This is an automatically sent email for users@cloudstack.apache.org. To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org