XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Api actions like memory or disk

    Scheduled Pinned Locked Moved REST API
    4 Posts 2 Posters 44 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      rtjdamen
      last edited by

      Hi all,

      I’m wondering if it’s possible to change VM settings over the REST API — things like memory, disk size, or CPU count.
      I’ve checked the Swagger documentation, but it doesn’t seem to include those endpoints.

      From what I understand, XO6 is built on top of the same API that Xen Orchestra uses, so in theory these kinds of settings should be adjustable through the API as well.
      Maybe I’m missing something, but I’d really appreciate if someone could point me in the right direction!

      Thanks,
      Robin

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Hi,

        It will be available, yes. For now it's available in the previous API, the JSON RPC one, or also via XO CLI.

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          rtjdamen @olivierlambert
          last edited by

          @olivierlambert Thank u, so for now these endpoinst are not in the restapi yet?

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            Yes, they are created either:

            • on demand for users
            • when we need in XO 6

            Now, XO 6 is becoming the main driver for new endpoint as the UI is providing more and more features.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post