1.0.1
Table Of Contents
VMware, Inc. 11
2
Thischapterpresentsacasestudyofafictitiouscompanytoexplainhowtoperformsomeofthebasic
vCenter ChargebacktasksusingtheAPIs.Thechapterincludesthefollowingtopics:
“IntroductiontotheCaseStudy”onpage 11
“LogintovCenterChargebackServer”onpage 12
“A d d vCenterServerInformation”onpage 13
“CreateaCustomChargebackHierarchy”onpage 15
“A d d avCenterServerEntitytotheChargebackHierarchy”onpage 16
“A d d aFixedCost”onpage 18
“ModifyaFixedCostValue”onpage 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 2‐1.
Figure 2-1. Sample Hierarchy for ABC
Understanding the Workflow
2