Abiquo Documentation Cookies Policy

Our Documentation website uses cookies to improve your experience. Please visit our Cookie Policy page for more information about cookies and how we use them.


Abiquo 4.4

Skip to end of metadata
Go to start of metadata

Contents:

Virtual machines admin resource

The platform uses this resource to display the Virtual machines tab in the infrastructure view. For lists of VMs per physical machine, see VirtualMachinesFromInfrastructureResource 

Main URI of the resource

This class operates mainly over the Resource URI: /admin/virtualmachines

Exposed Methods

List virtual machines to administer in infrastructure

List all virtual machines in infrastructure that are accessible to the user based on the enterprises and datacenters they can access.

Synopsis: GET http://example.com/api/admin/virtualmachines
Roles required:  PHYS_DC_RETRIEVE_DETAILS
Request headers: Accept: application/vnd.abiquo.virtualmachines+json;
Request parameters: 

Parameter

Required

Default Value

Description

 dc

false 

 

filter by datacenter name

rackfalse
filter by rack name
machinefalse

filter by hypervisor host

vmnamefalse

filter by virtual machine name

vmlabelfalse
filter by vmlabel
pcrfalse
filter by public cloud region name
enterprisefalse
filter by enterprise

startwith

false

0

offset

by

false

name

by default ordered by name

has

false

 

name filter

limit

false

25

number of items to retrieve

asc

false

true

whether the sorting of the list is ascendent or descendent

Request Message Body Entity: 
Response Message Body Entity: VirtualMachines Media Type
Request Example:

 Click here to show or hide the request example
Retrieve and administer all VMs from infrastructure
curl 'https://example.com/api/admin/virtualmachines/?maxSize=5&maxSizeMini=1&currentPage=1&limit=25&startwith=0&totalSize=3&asc=true&vmlabel=yvm' -H 'Accept: application/vnd.abiquo.virtualmachines+json;version=4.2' -u user:password --verbose 


> GET /api/admin/virtualmachines/?maxSize=5&maxSizeMini=1&currentPage=1&limit=25&startwith=0&totalSize=3&asc=true&vmlabel=yvm HTTP/1.1
> Host: example.com
> Authorization: Basic YWRtaW46eGFiaXF1bw==
> User-Agent: curl/7.54.0
> Accept: application/vnd.abiquo.virtualmachines+json;version=4.2
> 
< HTTP/1.1 200 200
< Date: Mon, 20 Nov 2017 02:33:06 GMT
< Server: Apache
< Set-Cookie: ABQSESSIONID=8504682895218325548; Max-Age=1800; Expires=Mon, 20-Nov-2017 03:03:07 GMT; Path=/; Secure; HttpOnly
< Set-Cookie: auth=YWRtaW46MTUxMTE0Njk4NzE3NDo4NDljNWI1MDhlODE4MjNhMjI4N2I3NjQ4Y2FlM2U5MzpBQklRVU8; Max-Age=1800; Expires=Mon, 20-Nov-2017 03:03:07 GMT; Path=/; Secure; HttpOnly
< Content-Type: application/vnd.abiquo.virtualmachines+json; version=4.2
< Transfer-Encoding: chunked
< 

{
   "links":[
      {
         "rel":"first",
         "href":"https://example.com:443/api/admin/virtualmachines/?maxSize=5&maxSizeMini=1&currentPage=1&totalSize=3&vmlabel=yvm&cacheStamp=212_1511136076026&limit=25&by=id&asc=true"
      },
      {
         "rel":"last",
         "href":"https://example.com:443/api/admin/virtualmachines/?maxSize=5&maxSizeMini=1&currentPage=1&totalSize=3&vmlabel=yvm&cacheStamp=212_1511136076026&startwith=0&limit=25&by=id&asc=true"
      }
   ],
   "collection":[
      {
         "id":94,
         "uuid":"079ad6d2-ac20-4ba1-8eb4-313551b12120",
         "name":"ABQ_079ad6d2-ac20-4ba1-8eb4-313551b12120",
         "label":"yVM (1)",
         "description":"A virtual machine",
         "cpu":1,
         "ram":48,
         "vdrpEnabled":true,
         "vdrpPort":5902,
         "vdrpIP":"10.60.13.190",
         "idState":4,
         "state":"ON",
         "idType":0,
         "type":"MANAGED",
         "highDisponibility":0,
         "password":"N6f0W1mL",
         "metadata":null,
         "monitored":false,
         "protected":false,
         "variables":{

         },
         "creationTimestamp":1511135990000,
         "backuppolicies":[

         ],
         "lastSynchronize":1511136035000,
         "generateGuestInitialPassword":false,
         "links":[
            {
               "title":"KVM",
               "rel":"machine",
               "type":"application/vnd.abiquo.machine+json",
               "href":"https://example.com:443/api/admin/datacenters/1/racks/1/machines/1"
            },
            {
               "title":"BCDC",
               "rel":"location",
               "type":"application/vnd.abiquo.datacenter+json",
               "href":"https://example.com:443/api/cloud/locations/1"
            },
            {
               "title":"send mail",
               "rel":"sendmail",
               "type":"application/vnd.abiquo.mail+json",
               "href":"https://example.com:443/api/admin/datacenters/1/racks/1/machines/1/virtualmachines/94/action/sendmail"
            },
            {
               "title":"Abiquo",
               "rel":"enterprise",
               "type":"application/vnd.abiquo.enterprise+json",
               "href":"https://example.com:443/api/admin/enterprises/1"
            },
            {
               "title":"Cloud Administrator",
               "rel":"user",
               "type":"application/vnd.abiquo.user+json",
               "href":"https://example.com:443/api/admin/enterprises/1/users/1"
            },
            {
               "title":"bcdcvdc01",
               "rel":"virtualdatacenter",
               "type":"application/vnd.abiquo.virtualdatacenter+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1"
            },
            {
               "title":"vapp_bcdcvdc01",
               "rel":"virtualappliance",
               "type":"application/vnd.abiquo.virtualappliance+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1"
            },
            {
               "title":"metadata",
               "rel":"metadata",
               "type":"application/vnd.abiquo.metadata+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/metadata"
            },
            {
               "title":"vlan network configurations",
               "rel":"configurations",
               "type":"application/vnd.abiquo.virtualmachinenetworkconfigurations+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/network/configurations"
            },
            {
               "title":"192.168.0.0/24",
               "rel":"network_configuration",
               "type":"application/vnd.abiquo.virtualmachinenetworkconfiguration+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/network/configurations/1"
            },
            {
               "title":"nics",
               "rel":"nics",
               "type":"application/vnd.abiquo.nics+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/network/nics"
            },
            {
               "title":"disks",
               "rel":"harddisks",
               "type":"application/vnd.abiquo.harddisks+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/storage/disks"
            },
            {
               "title":"ON",
               "rel":"state",
               "type":"application/vnd.abiquo.virtualmachinestate+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/state"
            },
            {
               "title":"virtual machine undeploy",
               "rel":"undeploy",
               "type":"application/vnd.abiquo.acceptedrequest+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/action/undeploy"
            },
            {
               "title":"virtual machine deploy",
               "rel":"deploy",
               "type":"application/vnd.abiquo.acceptedrequest+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/action/deploy"
            },
            {
               "title":"virtual machine reset",
               "rel":"reset",
               "type":"application/vnd.abiquo.acceptedrequest+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/action/reset"
            },
            {
               "title":"virtual machine snapshot",
               "rel":"instance",
               "type":"application/vnd.abiquo.acceptedrequest+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/action/instance"
            },
            {
               "title":"remote access",
               "rel":"rdpaccess",
               "type":"application/vnd.abiquo.virtualmachineconsole+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/config/rdpaccess"
            },
            {
               "title":"tasks",
               "rel":"tasks",
               "type":"application/vnd.abiquo.tasks+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/tasks"
            },
            {
               "title":"firewalls",
               "rel":"firewalls",
               "type":"application/vnd.abiquo.links+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/firewalls"
            },
            {
               "title":"load balancers",
               "rel":"loadbalancers",
               "type":"application/vnd.abiquo.loadbalancers+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/loadbalancers"
            },
            {
               "title":"request on demand backup",
               "rel":"requestbackup",
               "type":"application/vnd.abiquo.ondemandbackup+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/backup/action/request"
            },
            {
               "title":"request a restore of a backup",
               "rel":"requestrestore",
               "type":"application/vnd.abiquo.restore+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/backup/action/restore"
            },
            {
               "title":"volumes",
               "rel":"volumes",
               "type":"application/vnd.abiquo.volumes+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/storage/volumes"
            },
            {
               "diskControllerType":"IDE",
               "diskLabel":"Hard disk 1",
               "length":"64",
               "title":"35baff1a-96ac-4042-9495-abcf06a8b68a",
               "rel":"disk0",
               "type":"application/vnd.abiquo.harddisk+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/disks/91"
            },
            {
               "title":"Default Tier",
               "rel":"datastoretier0",
               "type":"application/vnd.abiquo.datastoretier+json",
               "href":"https://example.com:443/api/cloud/locations/1/datastoretiers/1"
            },
            {
               "title":"192.168.0.3",
               "rel":"nic0",
               "type":"application/vnd.abiquo.privateip+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/privatenetworks/1/ips/81"
            },
            {
               "title":"protect",
               "rel":"protect",
               "type":"text/plain",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/action/protect"
            },
            {
               "title":"unprotect",
               "rel":"unprotect",
               "type":"text/plain",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/action/unprotect"
            },
            {
               "title":"metricsmetadata",
               "rel":"metricsmetadata",
               "type":"application/vnd.abiquo.metricsmetadata+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/metrics"
            },
            {
               "title":"enablemonitoring",
               "rel":"enablemonitoring",
               "type":"",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/enablemonitoring"
            },
            {
               "title":"collectd",
               "rel":"collectd",
               "type":"application/json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/metrics/collectd"
            },
            {
               "title":"alarms",
               "rel":"alarms",
               "type":"application/vnd.abiquo.alarms+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/alarms"
            },
            {
               "title":"actionplans",
               "rel":"actionplans",
               "type":"application/vnd.abiquo.virtualmachineactionplans+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/actionplans"
            },
            {
               "title":"actionplansflat",
               "rel":"actionplansflat",
               "type":"application/vnd.abiquo.virtualmachineactionplansflat+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/actionplans"
            },
            {
               "title":"clone",
               "rel":"clone",
               "type":"application/vnd.abiquo.virtualmachinecloneoptions+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/94/action/clone"
            },
            {
               "title":"KVM",
               "rel":"hypervisortype",
               "type":"application/vnd.abiquo.hypervisortype+json",
               "href":"https://example.com:443/api/config/hypervisortypes/KVM"
            },
            {
               "title":"yVM",
               "rel":"virtualmachinetemplate",
               "type":"application/vnd.abiquo.virtualmachinetemplate+json",
               "href":"https://example.com:443/api/admin/enterprises/1/datacenterrepositories/1/virtualmachinetemplates/3"
            },
            {
               "title":"Others",
               "rel":"category",
               "type":"application/vnd.abiquo.category+json",
               "href":"https://example.com:443/api/config/categories/1"
            },
            {
               "title":"ABQ_079ad6d2-ac20-4ba1-8eb4-313551b12120",
               "rel":"virtualmachine",
               "type":"application/vnd.abiquo.virtualmachine+json",
               "href":"https://example.com:443/api/admin/datacenters/1/racks/1/machines/1/virtualmachines/94"
            }
         ]
      },
      {
         "id":92,
         "uuid":"265ff942-a086-4b99-85f0-78d40d1dace5",
         "name":"ABQ_265ff942-a086-4b99-85f0-78d40d1dace5",
         "label":"yVM_MJ",
         "description":"A virtual machine",
         "cpu":1,
         "ram":48,
         "vdrpEnabled":true,
         "vdrpPort":5910,
         "vdrpIP":"192.168.2.54",
         "idState":6,
         "state":"OFF",
         "idType":0,
         "type":"MANAGED",
         "highDisponibility":0,
         "password":"Z4ZJS0Tt",
         "keymap":"es",
         "metadata":null,
         "monitored":false,
         "monitoringLevel":"DEFAULT",
         "protected":false,
         "variables":{

         },
         "creationTimestamp":1510862526000,
         "backuppolicies":[

         ],
         "lastSynchronize":1510942489000,
         "generateGuestInitialPassword":false,
         "links":[
            {
               "title":"VMX_04",
               "rel":"machine",
               "type":"application/vnd.abiquo.machine+json",
               "href":"https://example.com:443/api/admin/datacenters/1/racks/2/machines/2"
            },
            {
               "title":"BCDC",
               "rel":"location",
               "type":"application/vnd.abiquo.datacenter+json",
               "href":"https://example.com:443/api/cloud/locations/1"
            },
            {
               "title":"send mail",
               "rel":"sendmail",
               "type":"application/vnd.abiquo.mail+json",
               "href":"https://example.com:443/api/admin/datacenters/1/racks/2/machines/2/virtualmachines/92/action/sendmail"
            },
            {
               "title":"Abiquo",
               "rel":"enterprise",
               "type":"application/vnd.abiquo.enterprise+json",
               "href":"https://example.com:443/api/admin/enterprises/1"
            },
            {
               "title":"Cloud Administrator",
               "rel":"user",
               "type":"application/vnd.abiquo.user+json",
               "href":"https://example.com:443/api/admin/enterprises/1/users/1"
            },
            {
               "title":"bcdcvdc02",
               "rel":"virtualdatacenter",
               "type":"application/vnd.abiquo.virtualdatacenter+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2"
            },
            {
               "title":"vapp_bcdcvdc02",
               "rel":"virtualappliance",
               "type":"application/vnd.abiquo.virtualappliance+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2"
            },
            {
               "title":"metadata",
               "rel":"metadata",
               "type":"application/vnd.abiquo.metadata+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/metadata"
            },
            {
               "title":"vlan network configurations",
               "rel":"configurations",
               "type":"application/vnd.abiquo.virtualmachinenetworkconfigurations+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/network/configurations"
            },
            {
               "title":"192.168.0.0/24",
               "rel":"network_configuration",
               "type":"application/vnd.abiquo.virtualmachinenetworkconfiguration+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/network/configurations/2"
            },
            {
               "title":"nics",
               "rel":"nics",
               "type":"application/vnd.abiquo.nics+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/network/nics"
            },
            {
               "title":"disks",
               "rel":"harddisks",
               "type":"application/vnd.abiquo.harddisks+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/storage/disks"
            },
            {
               "title":"OFF",
               "rel":"state",
               "type":"application/vnd.abiquo.virtualmachinestate+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/state"
            },
            {
               "title":"virtual machine undeploy",
               "rel":"undeploy",
               "type":"application/vnd.abiquo.acceptedrequest+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/action/undeploy"
            },
            {
               "title":"virtual machine deploy",
               "rel":"deploy",
               "type":"application/vnd.abiquo.acceptedrequest+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/action/deploy"
            },
            {
               "title":"virtual machine reset",
               "rel":"reset",
               "type":"application/vnd.abiquo.acceptedrequest+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/action/reset"
            },
            {
               "title":"virtual machine snapshot",
               "rel":"instance",
               "type":"application/vnd.abiquo.acceptedrequest+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/action/instance"
            },
            {
               "title":"remote access",
               "rel":"rdpaccess",
               "type":"application/vnd.abiquo.virtualmachineconsole+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/config/rdpaccess"
            },
            {
               "title":"tasks",
               "rel":"tasks",
               "type":"application/vnd.abiquo.tasks+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/tasks"
            },
            {
               "title":"firewalls",
               "rel":"firewalls",
               "type":"application/vnd.abiquo.links+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/firewalls"
            },
            {
               "title":"load balancers",
               "rel":"loadbalancers",
               "type":"application/vnd.abiquo.loadbalancers+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/loadbalancers"
            },
            {
               "title":"request on demand backup",
               "rel":"requestbackup",
               "type":"application/vnd.abiquo.ondemandbackup+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/backup/action/request"
            },
            {
               "title":"request a restore of a backup",
               "rel":"requestrestore",
               "type":"application/vnd.abiquo.restore+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/backup/action/restore"
            },
            {
               "title":"relocate candidates",
               "rel":"relocatecandidates",
               "type":"application/vnd.abiquo.links+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/action/relocatecandidates"
            },
            {
               "title":"relocate",
               "rel":"relocate",
               "type":"application/vnd.abiquo.acceptedrequest+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/action/relocate"
            },
            {
               "title":"volumes",
               "rel":"volumes",
               "type":"application/vnd.abiquo.volumes+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/storage/volumes"
            },
            {
               "diskAllocation":"THIN",
               "diskControllerType":"IDE",
               "diskLabel":"Hard disk 1",
               "length":"64",
               "title":"664bc328-07fb-46e8-8814-baffdc6b2b94",
               "rel":"disk0",
               "type":"application/vnd.abiquo.harddisk+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/disks/88"
            },
            {
               "title":"Default Tier",
               "rel":"datastoretier0",
               "type":"application/vnd.abiquo.datastoretier+json",
               "href":"https://example.com:443/api/cloud/locations/1/datastoretiers/1"
            },
            {
               "diskAllocation":"THIN",
               "diskController":"lsilogic",
               "diskControllerType":"SCSI",
               "diskLabel":"Temp disk",
               "length":"120",
               "title":"2c893608-dbfc-4f91-bb6f-c939e2f3140a",
               "rel":"disk1",
               "type":"application/vnd.abiquo.harddisk+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/disks/89"
            },
            {
               "title":"Default Tier",
               "rel":"datastoretier1",
               "type":"application/vnd.abiquo.datastoretier+json",
               "href":"https://example.com:443/api/cloud/locations/1/datastoretiers/1"
            },
            {
               "title":"192.168.0.2",
               "rel":"nic0",
               "type":"application/vnd.abiquo.privateip+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/privatenetworks/2/ips/25"
            },
            {
               "title":"protect",
               "rel":"protect",
               "type":"text/plain",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/action/protect"
            },
            {
               "title":"unprotect",
               "rel":"unprotect",
               "type":"text/plain",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/action/unprotect"
            },
            {
               "title":"metricsmetadata",
               "rel":"metricsmetadata",
               "type":"application/vnd.abiquo.metricsmetadata+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/metrics"
            },
            {
               "title":"enablemonitoring",
               "rel":"enablemonitoring",
               "type":"",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/enablemonitoring"
            },
            {
               "title":"collectd",
               "rel":"collectd",
               "type":"application/json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/metrics/collectd"
            },
            {
               "title":"alarms",
               "rel":"alarms",
               "type":"application/vnd.abiquo.alarms+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/alarms"
            },
            {
               "title":"actionplans",
               "rel":"actionplans",
               "type":"application/vnd.abiquo.virtualmachineactionplans+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/actionplans"
            },
            {
               "title":"actionplansflat",
               "rel":"actionplansflat",
               "type":"application/vnd.abiquo.virtualmachineactionplansflat+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/actionplans"
            },
            {
               "title":"clone",
               "rel":"clone",
               "type":"application/vnd.abiquo.virtualmachinecloneoptions+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/2/virtualappliances/2/virtualmachines/92/action/clone"
            },
            {
               "title":"VMware vCenter",
               "rel":"hypervisortype",
               "type":"application/vnd.abiquo.hypervisortype+json",
               "href":"https://example.com:443/api/config/hypervisortypes/VMX_04"
            },
            {
               "title":"yVM_MJ",
               "rel":"virtualmachinetemplate",
               "type":"application/vnd.abiquo.virtualmachinetemplate+json",
               "href":"https://example.com:443/api/admin/enterprises/1/datacenterrepositories/1/virtualmachinetemplates/76"
            },
            {
               "title":"Others",
               "rel":"category",
               "type":"application/vnd.abiquo.category+json",
               "href":"https://example.com:443/api/config/categories/1"
            },
            {
               "title":"ABQ_265ff942-a086-4b99-85f0-78d40d1dace5",
               "rel":"virtualmachine",
               "type":"application/vnd.abiquo.virtualmachine+json",
               "href":"https://example.com:443/api/admin/datacenters/1/racks/2/machines/2/virtualmachines/92"
            }
         ]
      },
      {
         "id":93,
         "uuid":"f38f9980-0c82-4b19-83c2-ac8e211a2703",
         "name":"ABQ_f38f9980-0c82-4b19-83c2-ac8e211a2703",
         "label":"yVM",
         "description":"A virtual machine",
         "cpu":1,
         "ram":48,
         "vdrpEnabled":true,
         "vdrpPort":5901,
         "vdrpIP":"10.60.13.190",
         "idState":4,
         "state":"ON",
         "idType":0,
         "type":"MANAGED",
         "highDisponibility":0,
         "password":"ZHQwgSaS",
         "metadata":null,
         "monitored":false,
         "protected":false,
         "variables":{

         },
         "creationTimestamp":1511135982000,
         "backuppolicies":[

         ],
         "lastSynchronize":1511136034000,
         "generateGuestInitialPassword":false,
         "links":[
            {
               "title":"KVM",
               "rel":"machine",
               "type":"application/vnd.abiquo.machine+json",
               "href":"https://example.com:443/api/admin/datacenters/1/racks/1/machines/1"
            },
            {
               "title":"BCDC",
               "rel":"location",
               "type":"application/vnd.abiquo.datacenter+json",
               "href":"https://example.com:443/api/cloud/locations/1"
            },
            {
               "title":"send mail",
               "rel":"sendmail",
               "type":"application/vnd.abiquo.mail+json",
               "href":"https://example.com:443/api/admin/datacenters/1/racks/1/machines/1/virtualmachines/93/action/sendmail"
            },
            {
               "title":"Abiquo",
               "rel":"enterprise",
               "type":"application/vnd.abiquo.enterprise+json",
               "href":"https://example.com:443/api/admin/enterprises/1"
            },
            {
               "title":"Cloud Administrator",
               "rel":"user",
               "type":"application/vnd.abiquo.user+json",
               "href":"https://example.com:443/api/admin/enterprises/1/users/1"
            },
            {
               "title":"bcdcvdc01",
               "rel":"virtualdatacenter",
               "type":"application/vnd.abiquo.virtualdatacenter+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1"
            },
            {
               "title":"vapp_bcdcvdc01",
               "rel":"virtualappliance",
               "type":"application/vnd.abiquo.virtualappliance+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1"
            },
            {
               "title":"metadata",
               "rel":"metadata",
               "type":"application/vnd.abiquo.metadata+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/metadata"
            },
            {
               "title":"vlan network configurations",
               "rel":"configurations",
               "type":"application/vnd.abiquo.virtualmachinenetworkconfigurations+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/network/configurations"
            },
            {
               "title":"192.168.0.0/24",
               "rel":"network_configuration",
               "type":"application/vnd.abiquo.virtualmachinenetworkconfiguration+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/network/configurations/1"
            },
            {
               "title":"nics",
               "rel":"nics",
               "type":"application/vnd.abiquo.nics+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/network/nics"
            },
            {
               "title":"disks",
               "rel":"harddisks",
               "type":"application/vnd.abiquo.harddisks+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/storage/disks"
            },
            {
               "title":"ON",
               "rel":"state",
               "type":"application/vnd.abiquo.virtualmachinestate+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/state"
            },
            {
               "title":"virtual machine undeploy",
               "rel":"undeploy",
               "type":"application/vnd.abiquo.acceptedrequest+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/action/undeploy"
            },
            {
               "title":"virtual machine deploy",
               "rel":"deploy",
               "type":"application/vnd.abiquo.acceptedrequest+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/action/deploy"
            },
            {
               "title":"virtual machine reset",
               "rel":"reset",
               "type":"application/vnd.abiquo.acceptedrequest+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/action/reset"
            },
            {
               "title":"virtual machine snapshot",
               "rel":"instance",
               "type":"application/vnd.abiquo.acceptedrequest+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/action/instance"
            },
            {
               "title":"remote access",
               "rel":"rdpaccess",
               "type":"application/vnd.abiquo.virtualmachineconsole+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/config/rdpaccess"
            },
            {
               "title":"tasks",
               "rel":"tasks",
               "type":"application/vnd.abiquo.tasks+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/tasks"
            },
            {
               "title":"firewalls",
               "rel":"firewalls",
               "type":"application/vnd.abiquo.links+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/firewalls"
            },
            {
               "title":"load balancers",
               "rel":"loadbalancers",
               "type":"application/vnd.abiquo.loadbalancers+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/loadbalancers"
            },
            {
               "title":"request on demand backup",
               "rel":"requestbackup",
               "type":"application/vnd.abiquo.ondemandbackup+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/backup/action/request"
            },
            {
               "title":"request a restore of a backup",
               "rel":"requestrestore",
               "type":"application/vnd.abiquo.restore+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/backup/action/restore"
            },
            {
               "title":"volumes",
               "rel":"volumes",
               "type":"application/vnd.abiquo.volumes+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/storage/volumes"
            },
            {
               "diskControllerType":"IDE",
               "diskLabel":"Hard disk 1",
               "length":"64",
               "title":"5825720a-48ed-47f7-850c-ce76cb22d67e",
               "rel":"disk0",
               "type":"application/vnd.abiquo.harddisk+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/disks/90"
            },
            {
               "title":"Default Tier",
               "rel":"datastoretier0",
               "type":"application/vnd.abiquo.datastoretier+json",
               "href":"https://example.com:443/api/cloud/locations/1/datastoretiers/1"
            },
            {
               "title":"192.168.0.2",
               "rel":"nic0",
               "type":"application/vnd.abiquo.privateip+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/privatenetworks/1/ips/4"
            },
            {
               "title":"protect",
               "rel":"protect",
               "type":"text/plain",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/action/protect"
            },
            {
               "title":"unprotect",
               "rel":"unprotect",
               "type":"text/plain",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/action/unprotect"
            },
            {
               "title":"metricsmetadata",
               "rel":"metricsmetadata",
               "type":"application/vnd.abiquo.metricsmetadata+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/metrics"
            },
            {
               "title":"enablemonitoring",
               "rel":"enablemonitoring",
               "type":"",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/enablemonitoring"
            },
            {
               "title":"collectd",
               "rel":"collectd",
               "type":"application/json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/metrics/collectd"
            },
            {
               "title":"alarms",
               "rel":"alarms",
               "type":"application/vnd.abiquo.alarms+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/alarms"
            },
            {
               "title":"actionplans",
               "rel":"actionplans",
               "type":"application/vnd.abiquo.virtualmachineactionplans+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/actionplans"
            },
            {
               "title":"actionplansflat",
               "rel":"actionplansflat",
               "type":"application/vnd.abiquo.virtualmachineactionplansflat+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/actionplans"
            },
            {
               "title":"clone",
               "rel":"clone",
               "type":"application/vnd.abiquo.virtualmachinecloneoptions+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines/93/action/clone"
            },
            {
               "title":"KVM",
               "rel":"hypervisortype",
               "type":"application/vnd.abiquo.hypervisortype+json",
               "href":"https://example.com:443/api/config/hypervisortypes/KVM"
            },
            {
               "title":"yVM",
               "rel":"virtualmachinetemplate",
               "type":"application/vnd.abiquo.virtualmachinetemplate+json",
               "href":"https://example.com:443/api/admin/enterprises/1/datacenterrepositories/1/virtualmachinetemplates/3"
            },
            {
               "title":"Others",
               "rel":"category",
               "type":"application/vnd.abiquo.category+json",
               "href":"https://example.com:443/api/config/categories/1"
            },
            {
               "title":"ABQ_f38f9980-0c82-4b19-83c2-ac8e211a2703",
               "rel":"virtualmachine",
               "type":"application/vnd.abiquo.virtualmachine+json",
               "href":"https://example.com:443/api/admin/datacenters/1/racks/1/machines/1/virtualmachines/93"
            }
         ]
      }
   ],
   "totalSize":3
}