6.5
Table Of Contents
- vSphere SDK for Perl Programming Guide
- Contents
- Getting Started with vSphere SDK for Perl
- Writing vSphere SDK for Perl Scripts
- Refining vSphere SDK for Perl Scripts
- Creating and Using Filters
- Filtering Views Selectively Using Properties
- Retrieving the ServiceInstance Object on a vSphere Host
- Saving and Using Sessions
- Using Multiple Sessions
- Learning About Object Structure Using Data::Dumper
- Specifying Untyped Arguments in Scheduled Tasks and Callbacks
- Using Advanced Subroutines
- vSphere SDK for Perl Subroutine Reference
- Web Services for Management Perl Library
- Credential Store Perl Library
vSphere SDK for Perl Programming Guide
4 VMware, Inc.
UpdatingViewObjects 32
3 RefiningvSphereSDKforPerlScripts 33
CreatingandUsingFilters 33
UsingFilterswithVim::find_entity_view()orVim::find_entity_views() 33
FilteringViewsSelectivelyUsingProperties 34
UsingViewSubroutineswithaPropertiesArgument 35
UsingFiltersontheUtilityApplicationCommandLine 35
RetrievingtheServiceInstanceObjectonavSphereHost 36
SavingandUsingSessions 36
SavingSessions 36
LoadingSessions 36
UsingMultipleSessions 37
LearningAboutObjectStructureUsingData::Dumper 38
Specifying
UntypedArgumentsinScheduledTasksandCallbacks 39
UsingAdvancedSubroutines 40
Opts::get_config() 40
4 vSphereSDKforPerlSubroutineReference 41
SubroutinesintheOptsPackage 42
add_options 42
get_option 42
option_is_set 43
parse 43
validate 43
usage 43
SubroutinesintheUtilPackage 43
connect 44
disconnect 44
get_inventory_path 44
trace 44
SubroutinesintheVimPackage 45
clear_session 45
find_entity_view 45
find_entity_views 46
get_service_instance 47
get_service_content 47
get_session_id 48
get_view 48
get_views 48
load_session 48
login 49
logout 49
save_session 49
update_view_data 50
A WebServicesforManagementPerlLibrary 51
WebServicesforManagementOverview 51
RequiredPerlModules 52
SampleScripts 53
SOAPMessageConstructionwithWSMan::WSBasic 53
WSMan::WSBasic‐>new 54
register_xml_ns 54
register_class_ns 55
Identify 55