2.0
Table Of Contents
- API Programming Guide
- Contents
- About This Book
- vCenter Chargeback Manager APIs
- Understanding the Workflow
- Using vCenter Chargeback Manager with a Billing System
- Index
VMware, Inc. 7
1
Thischapterincludesthefollowingtopics:
“WhatIsvCenterChargebackManager?”onpage 7
“RESTArchitecture”onpage 7
“vCenterChargebackManagerAPISyntax”onpage 9
“A P I Versioning”onpage 10
What Is vCenter Chargeback Manager?
vCenterChargebackManagerisacostreportingsolutionforenvironmentsvirtualizedusingvSphere.This
Web‐basedapplicationinteractswiththevCenterServer,vCloudDirector,andvShieldManagertoretrieve
resourceusageinformationandotherconfigurationdetails,calculatesthecostbyusingthechargeback
formulasdefinedintheapplication,andgeneratesreports.
vCenterChargebackManagerrunsonanApacheTomcatserverinstance.TheuserinteractswiththevCenter
ChargebackManagerthroughaloadbalancer(ApacheHTTPServer).vCenterChargebackManagerconnects
toadatabasethatstoresapplication‐relatedinformation,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.
REST‐basedAPIshelpyousendHTTPrequestsforresourcesoverthenetworkandreceiveresponses.
vCenter Chargeback Manager APIs
1