Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Here the request data is the modified VM shown above. 

Code Block
titlePUT the Virtual Machinevirtual machine
curl -X PUT https://mjsabq.bcn.abiquo.com:443/api/cloud/virtualdatacenters/3/virtualappliances/4/virtualmachines/182 \
     -H 'Accept: application/vnd.abiquo.acceptedrequest+json;version=4.2' \
     -H 'Content-type: application/vnd.abiquo.virtualmachine+json;version=4.2' \
     -d @virtualmachine_plus_volume.json -u admin:xabiquo --verbose 

...

The request will return a link that can be used to check the progress of the task.

Code Block
titleTHE Task The task just created
{
    "message": "You can keep track of the progress in the link",
    "links": [
        {
            "rel": "status",
            "href": "https://mjsabiquo.bcn.abiquo.com:443/api/cloud/virtualdatacenters/3/virtualappliances/4/virtualmachines/182/tasks/11ffdcb8-82c7-47f3-9c54-02c702e02a0d"
        }
    ]
}

...