6.5

Table Of Contents
VMware, Inc. 45
Chapter 4 vSphere SDK for Perl Subroutine Reference
Parameters
Returns
Returnsnothing.
Subroutines in the Vim Package
TheVimpackageincludesthefollowingsubroutines:
“clear_session”onpage 45
“find_entity_view”onpage 45
“find_entity_views”onpage 46
“get_service_instance”onpage 47
“get_service_content”onpage 47
“get_session_id”onpage 48
“get_view”onpage 48
“get_views”onpage 48
“load_session”onpage 48
“login”onpage 49
“logout”onpage 49
“save_session”onpage 49
“update_view_data”onpage 50
clear_session
Terminatesthecurrentsessionloadedbytheload_session()subroutine.
Parameters
Noparameters.
Returns
Returnsnothing.
find_entity_view
Searchestheinventorytreeforamanagedentitythatmatchesthespecifiedentitytype.Thesearchbeginswith
therootfolderunlessthebegin_entityparameterisspecified.
Inmostcases,youspecifyafilterorpropertywhenusingthiscommandtoavoidperformanceproblems.See
“CreatingandUsingFilters”onpage 33
and“FilteringViewsSelectivelyUsingProperties”onpage 34.
Parameter Description
loglevel Numericvaluethatspecifiestheloglevel.Defaultis0.
message Stringthatspecifiestheassociatedloglevelvalue.