HP Matrix Operating Environment Chargeback

Technical white paper | HP Matrix Operating Environment Chargeback
10
Figure 9. XML ServiceUsageDetail list
<?xml version="1.0" ?>
<GetServiceUsageDetail>
<ServiceUsageDetail>
<date>2014-04-01</date>
</ServiceUsageDetail>
<ServiceUsageDetail>
<date>2014-04-02</date>
</ServiceUsageDetail>
</GetServiceUsageDetail>
Service information
The <ServiceUsageDetail> element contains the allocation data metrics for one specific service per day, as indicated
by the <date> element. Service attributes are available within the <serviceInformation> element. The metrics for
the service are listed inside the <resourceUsageDetail> element. Figure 10 shows a partial example of an XML file
containing the service information attributes.
Figure 10. ServiceUsageDetail element containing ServiceInformation elements
<ServiceUsageDetail>
<date>2012-04-13</date>
<serviceInformation>
<billingCode>HR</billingCode>
<id>InfrastructureService:5aba985d-0376-4679-a577-21ca178902b4</id>
<name>intranet_service</name>
<organizationId>SERVICEPROVIDER</organizationId>
<owner>IO-CMS-QA-08\Administrator</owner>
<startDate>2012-04-13</startDate>
</serviceInformation>
<resourceUsageDetail>
</resourceUsageDetail>
</ServiceUsageDetail>
Resource usage detail
The “Get Detailed Usage” operation returns information about logical servers, disks, and IPs. As illustrated in the following,
this information organized by corresponding child elements within the <ResourceUsageDetail> element.
Fixed cost
Fixed cost information is represented by the <fixedCost> element nested within <resourceUsageDetail> and
<ServiceUsageDetail> elements. Figure 11 shows a partial example.
Figure 11. XML element containing service information
<resourceUsageDetail>
<fixedCost>1.2158</fixedCost>
</resourceUsageDetail>