Abiquo 4.0

Skip to end of metadata
Go to start of metadata
GET_cld_vdcs_X_vapps_X_AC_vapp_j.0001.txt

cURL:

curl -X GET'https://example.com/api/cloud/virtualdatacenters/1/virtualappliances' \
     -H 'Accept: application/vnd.abiquo.virtualappliances+json;version=4.2' \
     -u user:password --verbose

Success status code: 200

Request payload:

--none--

Response payload:

{
   "links":[
      {
         "rel":"first",
         "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances?limit=25&by=name&asc=true"
      },
      {
         "rel":"last",
         "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances?startwith=0&limit=25&by=name&asc=true"
      }
   ],
   "collection":[
      {
         "id":1,
         "error":0,
         "highDisponibility":0,
         "name":"vapp_bcdcvdc01",
         "publicApp":0,
         "state":"DEPLOYED",
         "iconUrl":"theme/abicloudDefault/img/tux.png",
         "notAllocatedVirtualMachines":0,
         "onVirtualMachines":2,
         "offVirtualMachines":0,
         "pausedVirtualMachines":0,
         "allocatedVirtualMachines":0,
         "configuredVirtualMachines":0,
         "unknownVirtualMachines":0,
         "lockedVirtualMachines":0,
         "links":[
            {
               "title":"vapp_bcdcvdc01",
               "rel":"edit",
               "type":"application/vnd.abiquo.virtualappliance+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1"
            },
            {
               "title":"bcdcvdc01",
               "rel":"virtualdatacenter",
               "type":"application/vnd.abiquo.virtualdatacenter+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1"
            },
            {
               "title":"Abiquo",
               "rel":"enterprise",
               "type":"application/vnd.abiquo.enterprise+json",
               "href":"https://example.com:443/api/admin/enterprises/1"
            },
            {
               "title":"virtual machines",
               "rel":"virtualmachines",
               "type":"application/vnd.abiquo.virtualmachines+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/virtualmachines"
            },
            {
               "title":"virtual appliances state",
               "rel":"state",
               "type":"application/vnd.abiquo.virtualappliancestate+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/state"
            },
            {
               "title":"undeploy",
               "rel":"undeploy",
               "type":"application/vnd.abiquo.acceptedrequest+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/action/undeploy"
            },
            {
               "title":"deploy",
               "rel":"deploy",
               "type":"application/vnd.abiquo.acceptedrequest+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/action/deploy"
            },
            {
               "title":"price",
               "rel":"price",
               "type":"text/plain",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/action/price"
            },
            {
               "title":"layers",
               "rel":"layers",
               "type":"application/vnd.abiquo.layers+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/layers"
            },
            {
               "title":"alerts",
               "rel":"alerts",
               "type":"application/vnd.abiquo.alerts+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/alerts"
            },
            {
               "title":"spec",
               "rel":"spec",
               "type":"application/vnd.abiquo.virtualappliancespec+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/action/spec"
            },
            {
               "title":"tasks",
               "rel":"tasks",
               "type":"application/vnd.abiquo.tasks+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/tasks"
            },
            {
               "title":"scalinggroups",
               "rel":"scalinggroups",
               "type":"application/vnd.abiquo.scalinggroups+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/scalinggroups"
            },
            {
               "title":"metricsmetadata",
               "rel":"metricsmetadata",
               "type":"application/vnd.abiquo.metricsmetadata+json",
               "href":"https://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/metrics"
            },
            {
               "title":"collectd",
               "rel":"collectd",
               "type":"application/json",
               "href":"https://://example.com:443/api/cloud/virtualdatacenters/1/virtualappliances/1/metrics/collectd"
            }
         ]
      }
   ],
   "totalSize":1
}