Versions Compared

Key

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

...

Code Block
    {
      "href": "https://mjsabiquo.bcn.abiquo.com:443/api/cloud/virtualdatacenters/2/virtualappliances/21/virtualmachines/647/state",
      "type": "application/vnd.abiquo.virtualmachinestate+json",
      "rel": "state",
      "title": "ON"
    },

...

Expand
titleClick here to show or hide the request example


Code Block
{
   "linkstaskId":[
 "0e69ac87-305a-49c7-b40e-1d7bbc30956d",
  "userId": "10",
 { "type": "SHUTDOWN",
  "ownerId": "17883",
   "relstate": "selfFINISHED_UNSUCCESSFULLY",
  "creationTimestamp": 1589970620,
  "timestamp": 1589970621,
  "hrefjobs":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/55/virtualappliances/200/virtualmachines/1763/tasks/8812ddf4-a372-40af-81ee-5f5d1e53454c"
 {
    "links": [],
     },"collection": [
      {
         "relid":"parent "0e69ac87-305a-49c7-b40e-1d7bbc30956d.818cbbfb-2d08-48d2-9c0b-079811fe0b62",
         "hrefparentTaskId":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/55/virtualappliances/200/virtualmachines/1763/tasks"
      },
      {
 "0e69ac87-305a-49c7-b40e-1d7bbc30956d",
        "reltype": "acknowledgeSHUTDOWN",
         "hrefdescription":"https://38testing.bcn.abiquo.com:443/api/cloud/virtualdatacenters/55/virtualappliances/200/virtualmachines/1763/tasks/8812ddf4-a372-40af-81ee-5f5d1e53454c/action/ack"
      },
  "Shutdown task's shutdown on virtual machine with id 17883",
    {          "title"state": "cloudadminFAILED",

        "relrollbackState": "userROLLBACK_DONE",

        "typecreationTimestamp":"application/vnd.abiquo.user+json" 1589970620,
         "hreftimestamp":"https://38testing.bcn.abiquo.com:443/api/admin/enterprises/74/users/17"
 1589970621,
     },   "links": []
  {    }
     "title":"ABQ_5e57c34d-5dcb-482b-be0f-a78931f4abd0",]
  },
  "links": [
  "rel":"virtualmachine",  {
       "typerel":"application/vnd.abiquo.virtualmachine+json",
   "self",
      "href": "https://38testingnardo40.bcn.abiquo.com:443/api/cloud/virtualdatacenters/552262/virtualappliances/2002829/virtualmachines/1763/17883/tasks/0e69ac87-305a-49c7-b40e-1d7bbc30956d"
      },
   ], {
  "taskId":"8812ddf4-a372-40af-81ee-5f5d1e53454c",    "userIdrel": "17parent",
   "type":"SHUTDOWN",    "ownerIdhref":"1763",    "state":"FINISHED_UNSUCCESSFULLY","https://nardo40.bcn.abiquo.com:443/api/cloud/virtualdatacenters/2262/virtualappliances/2829/virtualmachines/17883/tasks"
    "creationTimestamp":1458647896},
   "timestamp":1458647897,    "jobs":{
      "linksrel":[
      ] "acknowledge",
      "collectionhref":[          {
            "links":["https://nardo40.bcn.abiquo.com:443/api/cloud/virtualdatacenters/2262/virtualappliances/2829/virtualmachines/17883/tasks/0e69ac87-305a-49c7-b40e-1d7bbc30956d/action/ack"
            ]},
     {
      "idtitle":"8812ddf4-a372-40af-81ee-5f5d1e53454c.191e44d9-74fa-453a-b7e0-596237618fcf "cloudadmin",
            "parentTaskId"rel":"8812ddf4-a372-40af-81ee-5f5d1e53454c",
   "user",
         "type":"SHUTDOWN",
      "application/vnd.abiquo.user+json",
      "descriptionhref":"Shutdown task's shutdown on virtual machine with id 1763" "https://nardo40.bcn.abiquo.com:443/api/admin/enterprises/304/users/10"
    },
    {
       "statetitle":"FAILED "ABQ_17d7d473-71e5-45ce-95ca-6deb305a3554",
            "rollbackState"rel": "ROLLBACK_DONEvirtualmachine",
            "creationTimestamp":1458647896,
  "type": "application/vnd.abiquo.virtualmachine+json",
         "timestamphref":1458647897
    "https://nardo40.bcn.abiquo.com:443/api/cloud/virtualdatacenters/2262/virtualappliances/2829/virtualmachines/17883"
     }
      ]
   }
}


Reset a VM using the API

...