Skip to content

Update network offering usage record (inline with the response) #505

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 4.19
Choose a base branch
from

Conversation

sureshanaparti
Copy link
Contributor

@sureshanaparti sureshanaparti commented May 13, 2025

Update network offering usage record (inline with the response).

(usageenv) 🐱 > list usagerecords startdate=2025-05-11 enddate=2025-05-13 type=13 usageid=bfcb52bf-cb33-4c7d-bd9d-9b4b57d65a77
{
  "count": 110,
  "usagerecord": [
    {
      "account": "admin",
      "accountid": "a5f9d055-1ea1-11f0-8a38-1e00b50002f5",
      "description": "Network offering DefaultIsolatedNetworkOfferingWithSourceNatService (bfcb52bf-cb33-4c7d-bd9d-9b4b57d65a77) usage for VM testvm01 (0c74f18a-2f1b-4bbe-b17e-bd16f4e55d86) ",
      "domain": "ROOT",
      "domainid": "676c3952-1ea1-11f0-8a38-1e00b50002f5",
      "domainpath": "/",
      "enddate": "2025-05-11'T'00:59:59+00:00",
      "isdefault": true,
      "offeringid": "bfcb52bf-cb33-4c7d-bd9d-9b4b57d65a77",
      "rawusage": "1",
      "startdate": "2025-05-11'T'00:00:00+00:00",
      "tags": [],
      "usage": "1 Hrs",
      "usagetype": 13,
      "virtualmachineid": "0c74f18a-2f1b-4bbe-b17e-bd16f4e55d86",
      "zoneid": "cd989e1a-0024-439d-8164-7db39e046c6f"
    },
    {
      "account": "admin",
      "accountid": "a5f9d055-1ea1-11f0-8a38-1e00b50002f5",
      "description": "Network offering DefaultIsolatedNetworkOfferingWithSourceNatService (bfcb52bf-cb33-4c7d-bd9d-9b4b57d65a77) usage for VM testvm02 (617f7798-7a5f-4eb7-9d13-40a3eab641df) ",
      "domain": "ROOT",
      "domainid": "676c3952-1ea1-11f0-8a38-1e00b50002f5",
      "domainpath": "/",
      "enddate": "2025-05-11'T'00:59:59+00:00",
      "isdefault": true,
      "offeringid": "bfcb52bf-cb33-4c7d-bd9d-9b4b57d65a77",
      "rawusage": "1",
      "startdate": "2025-05-11'T'00:00:00+00:00",
      "tags": [],
      "usage": "1 Hrs",
      "usagetype": 13,
      "virtualmachineid": "617f7798-7a5f-4eb7-9d13-40a3eab641df",
      "zoneid": "cd989e1a-0024-439d-8164-7db39e046c6f"
    },
    {
      "account": "admin",
      "accountid": "a5f9d055-1ea1-11f0-8a38-1e00b50002f5",
      "description": "Network offering DefaultIsolatedNetworkOfferingWithSourceNatService (bfcb52bf-cb33-4c7d-bd9d-9b4b57d65a77) usage for VM testvm01 (0c74f18a-2f1b-4bbe-b17e-bd16f4e55d86) ",
      "domain": "ROOT",
      "domainid": "676c3952-1ea1-11f0-8a38-1e00b50002f5",
      "domainpath": "/",
      "enddate": "2025-05-11'T'01:59:59+00:00",
      "isdefault": true,
      "offeringid": "bfcb52bf-cb33-4c7d-bd9d-9b4b57d65a77",
      "rawusage": "1",
      "startdate": "2025-05-11'T'01:00:00+00:00",
      "tags": [],
      "usage": "1 Hrs",
      "usagetype": 13,
      "virtualmachineid": "0c74f18a-2f1b-4bbe-b17e-bd16f4e55d86",
      "zoneid": "cd989e1a-0024-439d-8164-7db39e046c6f"
    },
    ...

📚 Documentation preview 📚: https://cloudstack-documentation--505.org.readthedocs.build/en/505/

@sureshanaparti
Copy link
Contributor Author

@blueorangutan docbuild

@blueorangutan
Copy link

@sureshanaparti a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress.

@blueorangutan
Copy link

QA-Doc build preview: https://qa.cloudstack.cloud/builds/docs-build/pr/505. (QA-JID 340)

@sureshanaparti sureshanaparti force-pushed the update-network-offering-usage-record branch from 9189094 to 3bb3615 Compare May 13, 2025 09:10
@sureshanaparti
Copy link
Contributor Author

@blueorangutan docbuild

@sureshanaparti
Copy link
Contributor Author

@blueorangutan docbuild

@blueorangutan
Copy link

@sureshanaparti a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress.

@blueorangutan
Copy link

QA-Doc build preview: https://qa.cloudstack.cloud/builds/docs-build/pr/505. (QA-JID 341)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants