Update network offering usage record (inline with the response)#505
Merged
DaanHoogland merged 1 commit intoapache:4.19from May 14, 2025
Merged
Conversation
Contributor
Author
|
@blueorangutan docbuild |
|
@sureshanaparti a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress. |
|
QA-Doc build preview: https://qa.cloudstack.cloud/builds/docs-build/pr/505. (QA-JID 340) |
9189094 to
3bb3615
Compare
Contributor
Author
|
@blueorangutan docbuild |
Contributor
Author
|
@blueorangutan docbuild |
14 tasks
|
@sureshanaparti a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress. |
|
QA-Doc build preview: https://qa.cloudstack.cloud/builds/docs-build/pr/505. (QA-JID 341) |
rajujith
approved these changes
May 14, 2025
Contributor
rajujith
left a comment
There was a problem hiding this comment.
LGTM.
I am able to list usage records for type 13 with the usage id i.e the network offering id.
(usage) 🐱 > list usagerecords startdate=2025-05-14 enddate=2025-05-14 type=13 usageid=0604e20e-2636-462e-bdf9-95edc9befed5
{
"count": 1,
"usagerecord": [
{
"account": "admin",
"accountid": "47a9dacf-308a-11f0-829c-1e0066000471",
"description": "Network offering DefaultIsolatedNetworkOfferingWithSourceNatService (0604e20e-2636-462e-bdf9-95edc9befed5) usage for VM VM1 (b300586b-5f59-46d3-986e-aa074e2d0444) ",
"domain": "ROOT",
"domainid": "012fe828-308a-11f0-829c-1e0066000471",
"domainpath": "/",
"enddate": "2025-05-14'T'06:59:59+00:00",
"isdefault": true,
"offeringid": "0604e20e-2636-462e-bdf9-95edc9befed5",
"rawusage": "0.449722",
"startdate": "2025-05-14'T'06:00:00+00:00",
"tags": [],
"usage": "0.449722 Hrs",
"usagetype": 13,
"virtualmachineid": "b300586b-5f59-46d3-986e-aa074e2d0444",
"zoneid": "f9a26223-216b-4ed1-be1b-2fc1b0dc0f8a"
}
]
}
Contributor
|
refers apache/cloudstack#10852 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update network offering usage record (inline with the response).
📚 Documentation preview 📚: https://cloudstack-documentation--505.org.readthedocs.build/en/505/