1.0.1

VMware, Inc. 11
2
Thischapterpresentsacasestudyofafictitiouscompanytoexplainhowtoperformsomeofthebasic
vCenter ChargebacktasksusingtheAPIs.Thechapterincludesthefollowingtopics:
“IntroductiontotheCaseStudy”onpage 11
“LogintovCenterChargebackServeronpage 12
“A d d vCenterServerInformation”onpage 13
“CreateaCustomChargebackHierarchy”onpage 15
“A d d avCenterServerEntitytotheChargebackHierarchy”onpage 16
“A d d aFixedCost”onpage 18
“ModifyaFixedCostValueonpage 19
“GenerateaReport”onpage 20
Introduction to the Case Study
ABChasapresenceacrossgeographicregionssuchasAsiaPacific(APAC),Europe,theMiddleEastand
Africa(EMEA),andJapan.Ineachoftheseregions,theirofficesarelocatedinmultiplecities.Forexample,in
Japan,amongothercities,ABCalsohasanofficeinTokyo.Thisofficehasa
numberofESXhoststhatrunmany
virtualmachines.Thecompanywantstocreateahierarchyofresourcesandmeasurethecostofresourcesfor
eachofficeandforeachregionasrepresentedinFigure 21.
Figure 2-1. Sample Hierarchy for ABC
Understanding the Workflow
2