CurrentUsageType

Element:
CurrentUsage
Type:
CurrentUsageType
Namespace:
http://www.vmware.com/vcloud/v1.5
Description:
A collection of simple metrics representing real time usage statistics
Since:
5.6
Schema:
metrics.xsd
Media type(s):
application/vnd.vmware.vcloud.metrics.currentUsage+xml
Extends:
ResourceType
XML Representation:
<CurrentUsage xmlns="http://www.vmware.com/vcloud/v1.5" href="xs:anyURI" type="xs:string">
    <Link href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"
            rel="xs:string"/>
    <Metric name="xs:string" unit="xs:string" value="xs:decimal"/>
</CurrentUsage>

Attributes

Attribute Type Required Modifiable Since Deprecated Description
href anyURI No always 5.6 The URI of the entity.
type string No always 5.6 The MIME type of the entity.

Elements

Element Type Required Modifiable Since Deprecated Description
Link LinkType No none 5.6 A reference to an entity or operation associated with this object.
Metric SimpleMetricType No 5.6
VCloudExtension VCloudExtensionType No always 5.6 An optional extension element that can contain an arbitrary number of elements and attributes. Not related to extension services.

Operations

CRUD Operation Description Since Deprecated
create POST /vApp/{id}/metrics/current Gets the current usage for VM metrics according to the provided spec object.
read GET /vApp/{id}/metrics/current Gets the current usage for all available VM metrics.