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.


Documentation

Skip to end of metadata
Go to start of metadata

Statistics Resource

Exposed Resources Hierarchy
Statistics Resource

Contents:

Generic resource to get statistical data for different types of cloud usage.

Main URI of the Resource

This class operates mainly over the Resource URI: /statistics

Exposed Methods

VAppsResourcesResource Resource

Exposed Resources Hierarchy
VAppsResourcesResource Resource

 

Shows statistical data on resources used by Virtual Appliances * Virtual CPUs used by the virtual machines (total and currently running) * Storage size (total and used) of disks used by virtual machines (total and currently running) * RAM used by the virtual machines (total and currently running) * External storage (in volumes defined in the datacenter's storage section) used by virtual machines (total and currently running) * Total and used number of VLANs defined * Total, reserved and used number of public IPs

Main URI of the Resource

This class operates mainly over the Resource URI: /statistics/vappsresources

Exposed Methods

Retrieve a list of virtual appliance resources for this enterprise

Retrieves a list of virtual appliance resources for this enterprise

Synopsis: GET http://example.com/api/statistics/vappsresources
Roles Required: ROLE_AUTHENTICATED
Request Headers: Accept: application/vnd.abiquo.virtualappsresources+json; version=3.8; application/vnd.abiquo.virtualappsresources+xml; version=3.8;  Content-type: ;
Request Parameters:

Parameter

Required

Default Value

Description

identerprise

false

 

enterprise identifier

 

 

 

 

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

 Click here to show or hide the request example

API example removed: GET_stats_vappsresrcs_AC_vappsresrcs_j_ident
You can download the API examples archive from ABI38Confluence-space-export-152334-314.html.zip

 

VirtualDatacentersResources Resource

Exposed Resources Hierarchy
VirtualDatacentersResources Resource

 

Shows statistical data on resources used by virtual datacenters such as: * Virtual datacenter name * Total virtual machines deployed * Currently running virtual machines * Total number of storage volumes created * Number of storage volumes currently attached to virtual machines

Main URI of the Resource

This class operates mainly over the Resource URI: /statistics/vdcsresources

Exposed Methods

Retrieve a list of virtual datacenter resources for an enterprise

Retrieves a list of virtual datacenter resources filtered by enterprise

Synopsis: GET http://example.com/api/statistics/vdcsresources
Roles Required: ROLE_AUTHENTICATED
Request Headers: Accept: application/vnd.abiquo.virtualdatacentersresources+json; version=3.8; application/vnd.abiquo.virtualdatacentersresources+xml; version=3.8;  Content-type: ;
Request Parameters:

Parameter

Required

Default Value

Description

identerprise

false

 

enterprise identifier

 

 

 

 

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

 Click here to show or hide the request example

API example removed: GET_stats_vdcsresrcs_AC_vdcsresrcs_j_ident
You can download the API examples archive from ABI38Confluence-space-export-152334-314.html.zip

 

 

CloudUsagesResource Resource

Exposed Resources Hierarchy
CloudUsagesResource Resource

 

Shows statistical data on resources used by the Abiquo managed cloud

Main URI of the Resource

This class operates mainly over the Resource URI: /statistics/cloudusage

Exposed Methods

Retrieve all the cloud usages data for all datacenters

Retrieves all the cloud usage data for all datacenters

Synopsis: GET http://example.com/api/statistics/cloudusage/actions/total
Roles Required: ROLE_PHYS_DC_RETRIEVE_RESOURCE_USAGE
Request Headers: Accept: application/vnd.abiquo.cloudusage+json; version=3.8; application/vnd.abiquo.cloudusage+xml; version=3.8;  Content-type: ;
Request Parameters:

Parameter

Required

Default Value

Description

 

 

 

 

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

 Click here to show or hide the request example

API example removed: GET_stats_cldusg_acts_total_AC_cldusg_j
You can download the API examples archive from ABI38Confluence-space-export-152334-314.html.zip

 

 

Retrieve a CloudUsageDto entity.

Synopsis: GET http://example.com/api/statistics/cloudusage/actions/total
Roles Required: ROLE_PHYS_DC_RETRIEVE_RESOURCE_USAGE
Request Headers: Accept: application/vnd.abiquo.cloudusages+json; version=3.8; application/vnd.abiquo.cloudusages+xml; version=3.8;  Content-type: ;
Request Parameters:

Parameter

Required

Default Value

Description

 

 

 

 

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

 Click here to show or hide the request example

API example removed: GET_stats_cldusg_acts_total_AC_cldusg_j
You can download the API examples archive from ABI38Confluence-space-export-152334-314.html.zip

Exposed Methods

Retrieve cloud usage data for a datacenter

Retrieves cloud usage data for a datacenter

Synopsis: GET http://example.com/api/statistics/cloudusage/{datacenter}
Roles Required: ROLE_PHYS_DC_RETRIEVE_RESOURCE_USAGE
Request Headers: Accept: application/vnd.abiquo.cloudusage+json; version=3.8; application/vnd.abiquo.cloudusage+xml; version=3.8;  Content-type: ;
Request Parameters:

Parameter

Required

Default Value

Description

 

 

 

 

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

 Click here to show or hide the request example

API example removed: GET_stats_cldusg_X_AC_cldusg_j
You can download the API examples archive from ABI38Confluence-space-export-152334-314.html.zip

EnterprisesResources Resource

Exposed Resources Hierarchy
EnterprisesResources Resource

 

Shows statistics data on resources used by enterprises

Main URI of the Resource

This class operates mainly over the Resource URI: /statistics/enterpriseresources

Exposed Methods

Retrieves enterprise resources usage data for the whole system

Retrieves enterprise resources usage data for the whole system adding all the enterprises stats

Synopsis: GET http://example.com/api/statistics/enterpriseresources/actions/total
Roles Required: ROLE_ENTERPRISE_RESOURCE_SUMMARY_ENT
Request Headers: Accept: application/vnd.abiquo.enterpriseresources+json; version=3.8; application/vnd.abiquo.enterpriseresources+xml; version=3.8;  Content-type: ;
Request Parameters:

Parameter

Required

Default Value

Description

 

 

 

 

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

 Click here to show or hide the request example

API example removed: GET_stats_entresrcs_acts_total_AC_entresrcs_j
You can download the API examples archive from ABI38Confluence-space-export-152334-314.html.zip

 

Retrieve enterprise resources usage data for an enterprise

Retrieves enterprise resources usage data for an enterprise

Synopsis: GET http://example.com/api/statistics/enterpriseresources/{enterprise}
Roles Required: ROLE_AUTHENTICATED
Request Headers: Accept: application/vnd.abiquo.enterpriseresources+json; version=3.8; application/vnd.abiquo.enterpriseresources+xml; version=3.8;  Content-type: ;
Request Parameters:

Parameter

Required

Default Value

Description

 

 

 

 

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

 Click here to show or hide the request example

API example removed: GET_stats_entresrcs_X_AC_entresrcs_j
You can download the API examples archive from ABI38Confluence-space-export-152334-314.html.zip