Skip to content

How to set tags in usage records #10607

Closed Answered by winterhazel
KuasarCloud asked this question in Q&A
Discussion options

You must be logged in to vote

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 s…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@KuasarCloud
Comment options

Answer selected by DaanHoogland
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants