2.5

VMware, Inc. 7
1
Thischapterincludesthefollowingtopics:
“WhatIsvCenterChargebackManager?”onpage 7
“RESTArchitectureonpage 7
“vCenterChargebackManagerAPISyntax”onpage 9
“A P I Versioning”onpage 10
What Is vCenter Chargeback Manager?
vCenterChargebackManagerisacostreportingsolutionforenvironmentsvirtualizedusingvSphere.This
WebbasedapplicationinteractswiththevCenterServer,vCloudDirector,andvShieldManagertoretrieve
resourceusageinformationandotherconfigurationdetails,calculatesthecostbyusingthechargeback
formulasdefinedintheapplication,andgeneratesreports.
vCenterChargebackManagerrunsonanApacheTomcatserverinstance.TheuserinteractswiththevCenter
ChargebackManagerthroughaloadbalancer(ApachehttpdServer).vCenterChargebackManagerconnects
toadatabasethatstoresapplicationrelatedinformation,suchasthedefinedhierarchies,pricingmodel,users,
roles,andsoon.The
applicationalsointeractswiththevCenterServerandvCenterServerDatabasethrough
adatacollector.ThedatacollectorusesVIMAPIstocommunicatewiththevCenterServerandJDBCto
communicatewiththevCenterServerDatabase.
vCenterChargebackManagercanbeintegratedwithavCloudDirectorsetupusingthevCloudDirector
data
collector.ThisdatacollectorinteractswiththevCloudDirectorDatabaseandfetchestheOrgdatarequiredfor
importingthehierarchiesandtherelevantdataintovCenterChargebackManager.Youcanalsoinstallthe
vShieldManagerdatacollectorwhichhelpsyoufetchtheexternalnetworkrelatedinformationforeachOrg
inthevCloudDirectorsetupandreplicatethesameinthevCenterChargebackManagerdatabase.
vCenterChargebackManagerAPIsprovideaninterfaceforapplicationdeveloperstoprogrammaticallyuse
thefunctionalityofvCenterChargebackManager.
FormoreinformationaboutthevCenterChargebackManageranditscapabilities,seethevCenterChargeback
ManagerUser’s
Guide.
REST Architecture
vCenterChargebackManagerAPIsimplementtheRepresentationalStateTransfer(REST)architecture.
RESTbasedAPIshelpyousendHTTPrequestsforresourcesoverthenetworkandreceiveresponses.
vCenter Chargeback Manager APIs
1