2.0

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(ApacheHTTPServer).vCenterChargebackManagerconnects
toadatabasethatstoresapplicationrelatedinformation,suchasthedefinedhierarchies,costmodel,users,
roles,andsoon.The
applicationalsointeractswiththevCenterServerandvCenterServerDatabasethrough
aDataCollector.TheDataCollectorusesVIMAPIstocommunicatewiththevCenterServerandJDBCto
communicatewiththevCenterServerDatabase.
vCenterChargebackManagercanbeintegratedwithavCloudDirectorsetupusingtheCloudDirector
Data
Collector.ThisdatacollectorinteractswiththevCloudDirectorDatabaseandfetchestheOrgdatarequired
forimportingthehierarchiesandtherelevantdataintovCenterChargebackManager.Youcanalsoinstallthe
vShieldManagerDataCollectorwhichhelpsyoufetchtheexternalnetworkrelatedinformationforeachOrg
inthevCloudDirectorsetupandreplicatethesameinthevCenterChargebackManagerdatabase.
vCenterChargebackManagerAPIsprovideaninterfaceforapplicationdeveloperstoprogrammaticallyuse
thefunctionalityofvCenterChargebackManager.
FormoreinformationaboutthevCenterChargebackManageranditscapabilities,seethevCenterChargeback
ManagerUser’s
Guide.
REST Architecture
vCenterChargebackManagerAPIsimplementtheRepresentationalStateTransfer(REST)architecture.
RESTbasedAPIshelpyousendHTTPrequestsforresourcesoverthenetworkandreceiveresponses.
vCenter Chargeback Manager APIs
1