1.0.1

Table Of Contents
VMware, Inc. 57
Chapter 5 Managing Chargeback Hierarchies
Format of the CSV File
StartingwithvCenterChargeback1.0.1,anewformatfortheentriesintheCSVfileisdefined.Thisnewformat
isasfollows:
<UniqueId>, <ChildName>, <ParentId>, <ChildEntityType> [[, <description>] [, <vcIP/DNS>,
{<vcEntityId> | <vcEntityMoId>} ] ]
Inthisformat:
UniqueId:Auniquenumbertoidentifytheentity.TheUniqueIdofthefirstentryinthefilemustbe1.
ChildName:Nameoftheentity.
ParentId:TheUniqueIdoftheparentofthisentity.Ifthisentityistherootentity,theParentIdmust
be 1.
ChildEntityType:Thetypeoftheentity.IftheentityisavCenterChargebackentity,the
ChildEntityTypemustbe101.IftheentityisavCenterServerentity,theChildEntityTypemustbe0.
description:(optional)Descriptionoftheentity.ForavCenterServerentity,thisisnotapplicable.
vcId:The IDofthevCenterServerinthevCenterChargebackapplication.IftheentityisavCenterServer
entity,thevcIdmustbespecified.
vcIP/DNS:TheIPaddressortheDNSnameofthevCenterServerentityinthevCenterChargeback
application.For a vCenterServerentity,eitherthevcIP/DNSorthevcEntityMoIdmustbespecified.
vcEntityMoId:Themoid(managedobjectID)ofavirtualmachineasdefinedinthevCenterServer.
For a vCenterServerentity,eitherthevcIP/DNSorthevcEntityMoIdmustbespecified.
Thefollowingsampleisanexampleofthecontentsofsuchafile:
#version vCenter Chargeback 1.0.1
1,CB-folder,-1,101
2,CB-folder-1,1,101,vCenter Chargeback entity
3,vc-entity-1,1,0,1,10
4,vc-entity-2,2,0,1,vm-61
ThefirstlineoftheCSVfilespecifiestheversionofvCenterChargeback.Ifthislineisnotpresent,theformat
defaultstothatforvCenterChargeback1.0.StartingwiththevCenterChargeback1.0.1release,blanklinesin
theCSVfileareignoredandlinesstartingwiththehashsign(#)
areconsideredascomments.
Manage a Chargeback Hierarchy
Aftercreatingachargebackhierarchy,youcanperformvarioustasksonthehierarchy,suchasviewthe
hierarchy,modifythehierarchybyaddinganddeletingentities,andmanageattributesforindividualentities
inthehierarchy.
Thissectioncoversthefollowingstasks:
“ViewaChargebackHierarchy”onpage 58
“A d d avCenterServerEntity”onpage 58
“A d d avCenterChargebackEntity”onpage 59
“RenameaChargebackHierarchyoraChargebackEntity”onpage 59
“DeleteanEntityfromtheHierarchy”onpage 60
“DeleteaChargebackHierarchy”onpage 60
“A s s i g n Attributes”onpage 60
“MoveEntitiesWithinaHierarchy”onpage 61
“ShareVirtualMachineCost”onpage 61
“ViewPropertiesofavCenterServerEntity”onpage 62