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. 25
3
ThischapterexplainssomeofthetasksthatyoucanperformbyusingvCenterChargebackManagerAPIsin
anenvironmentwherevCenterChargebackManagerisintegratedwithathirdpartybillingsystem.Youcan
usevCenterChargebackManagertoperformcostmeasurementandgenerateresourceutilizationreports,
whichareprovidedto
thebillingsystemtochargecustomers.
Thechapterincludesthefollowingtopics:
“RequirementsforCodeExamples”onpage 25
“A d d CostModels”onpage 28
“A d d aBillingPolicy”onpage 29
“RetrieveListofHierarchies”onpage 30
“GetDetailsofaHierarchy”onpage 31
“A d d ReportScheduleforHierarchy”onpage 32
“GetReportSchedulebyHierarchyName”onpage 33
“RescheduleaReport”onpage 35
“DeleteReportSchedule”onpage 36
“GetListofArchivedReportsforaHierarchy”onpage 37
“GetaReportasXML”onpage 38
Requirements for Code Examples
ThischapterprovidescodeexamplestoexplainhowyoucancalltheAPIs.Torunthesecodeexamples,you
requirethefollowingJARandhelperclassfiles.
JAR Files
ThecodeexamplesneedthefollowingJARfiles.
commons-httpclient-3.1.jar
commons-logging-1.1.1.jar
jdom.jar
YoumustplacetheseJARfilesintheclasspath.
Using vCenter Chargeback Manager
with a Billing System
3