1.0

Table Of Contents
VMware, Inc. 51
Chapter 5 Managing Chargeback Hierarchies
Format of the CSV File
TheformatoftheentriesintheCSVfileshouldbeasfollows:
<UniqueId>, <ChildName>, <ParentId>, <ChildEntityType> [[, <description>] [, <vcId>,
{<vcEntityId> | <vcEntityMoId>} ] ]
Inthisformat:
UniqueId:Auniquenumbertoidentifytheentity.TheUniqueIdofthefirstentryinthefilemustbe1.
ChildName:Nameoftheentity.
ParentId:TheUniqueIdoftheparentofthisentity.Ifthisentityistherootentity,theParentIdmust
be 0.
ChildEntityType:Thetypeoftheentity.IftheentityisavCenterChargebackentity,the
ChildEntityTypemustbe101.IftheentityisavCenterServerentity,theChildEntityTypemustbe0.
description:(optional)Descriptionoftheentity.ForavCenterServerentity,thisisnotapplicable.
vcId:The IDofthevCenterServerinthevCenterChargebackapplication.IftheentityisavCenterServer
entity,thevcIdmustbespecified.
vcEntityId:TheIDofthevCenterServerentityinthevCenterChargebackapplication.Iftheentityisa
vCenterServerentity,thevcEntityIdmustbespecified.
vcEntityMoId:Themoid(managedobjectID)ofavirtualmachineasdefinedinthevCenterServer.
For a vCenterServerentity,eitherthevcEntityIdorthevcEntityMoIdmustbespecified.
Thefollowingsampleisanexampleofthecontentsofsuchafile:
1,CB-folder,0,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
Manage a Chargeback Hierarchy
Aftercreatingachargebackhierarchy,youcanperformvarioustasksonthehierarchy,suchasviewthe
hierarchy,modifythehierarchybyaddinganddeletingentities,andmanageattributesforindividualentities
inthehierarchy.
Thissectioncoversthefollowingstasks:
“ViewaChargebackHierarchy”onpage 52
“A d d avCenterServerEntity”onpage 52
“A d d avCenterChargebackEntity”onpage 53
“RenameaChargebackHierarchyoraChargebackEntity”onpage 53
“DeleteanEntityfromtheHierarchy”onpage 53
“DeleteaChargebackHierarchy”onpage 54
“A s s i g n Attributes”onpage 54
“MoveEntitiesWithinaHierarchy”onpage 55
“ShareVirtualMachineCost”onpage 55
“ViewPropertiesofavCenterServerEntity”onpage 56
I
MPORTANTEnsurethattherearenoblankrowsinthe.csvfile.vCenterChargebackthrowsanerrorifthere
areanyblankrowsinthefileandthehierarchycreationprocessfails.