2010-03-06 16:56:28 +00:00
|
|
|
#
|
|
|
|
# Definitions of vSphere API 2.5 enumeration and objects types used as input
|
|
|
|
# for the esx_vi_generator.py script.
|
|
|
|
#
|
|
|
|
# This format is line-based, so end-of-line is important.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Enumeration definition:
|
|
|
|
#
|
|
|
|
# enum <name>
|
|
|
|
# <value>
|
|
|
|
# ...
|
|
|
|
# end
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Object definition:
|
|
|
|
#
|
2011-04-10 11:27:56 +00:00
|
|
|
# [managed] object <name> [extends <name>]
|
2010-03-06 16:56:28 +00:00
|
|
|
# <type> <name> <occurrence>
|
|
|
|
# ...
|
|
|
|
# end
|
|
|
|
#
|
|
|
|
# Possible values for the <occurrence> field are:
|
|
|
|
#
|
|
|
|
# - r for a required item
|
|
|
|
# - rl for a required list
|
|
|
|
# - o for an optional item
|
|
|
|
# - ol for an optional list
|
|
|
|
# - i for an ignored item or list
|
|
|
|
#
|
2010-04-13 12:25:52 +00:00
|
|
|
# Object member sequence has to match the WSDL sequence.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Method definition:
|
|
|
|
#
|
|
|
|
# method <name> [returns <type> <occurrence>]
|
|
|
|
# <type> <name> <occurrence>
|
|
|
|
# ...
|
|
|
|
# end
|
|
|
|
#
|
|
|
|
# The _this parameter can have a type attached to it:
|
|
|
|
#
|
2011-05-01 09:51:19 +00:00
|
|
|
# _this:<member>
|
2010-04-13 12:25:52 +00:00
|
|
|
#
|
2011-05-01 09:51:19 +00:00
|
|
|
# The <member> refers to one of the ServiceContent members. This make the
|
2010-04-13 12:25:52 +00:00
|
|
|
# generator auto-bind _this to the corresponding ServiceContent member.
|
2010-03-06 16:56:28 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
|
|
# Enumerations
|
|
|
|
#
|
|
|
|
|
2010-12-30 00:36:31 +00:00
|
|
|
enum AutoStartWaitHeartbeatSetting
|
|
|
|
yes
|
|
|
|
no
|
|
|
|
systemDefault
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2010-03-06 16:56:28 +00:00
|
|
|
enum ManagedEntityStatus
|
|
|
|
gray
|
|
|
|
green
|
|
|
|
yellow
|
|
|
|
red
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
enum ObjectUpdateKind
|
|
|
|
modify
|
|
|
|
enter
|
|
|
|
leave
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
enum PerfStatsType
|
|
|
|
absolute
|
|
|
|
delta
|
|
|
|
rate
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
enum PerfSummaryType
|
|
|
|
average
|
|
|
|
maximum
|
|
|
|
minimum
|
|
|
|
latest
|
|
|
|
summation
|
|
|
|
none
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
enum PropertyChangeOp
|
|
|
|
add
|
|
|
|
remove
|
|
|
|
assign
|
|
|
|
indirectRemove
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
enum SharesLevel
|
|
|
|
low
|
|
|
|
normal
|
|
|
|
high
|
|
|
|
custom
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
enum TaskInfoState
|
|
|
|
queued
|
|
|
|
running
|
|
|
|
success
|
|
|
|
error
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
enum VirtualMachineMovePriority
|
|
|
|
lowPriority
|
|
|
|
highPriority
|
|
|
|
defaultPriority
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
enum VirtualMachinePowerState
|
|
|
|
poweredOff
|
|
|
|
poweredOn
|
|
|
|
suspended
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
|
|
# Objects
|
|
|
|
#
|
|
|
|
|
|
|
|
object AboutInfo
|
|
|
|
String name r
|
|
|
|
String fullName r
|
|
|
|
String vendor r
|
|
|
|
String version r
|
|
|
|
String build r
|
|
|
|
String localeVersion o
|
|
|
|
String localeBuild o
|
|
|
|
String osType r
|
|
|
|
String productLineId r
|
|
|
|
String apiType r
|
|
|
|
String apiVersion r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2010-12-30 00:36:31 +00:00
|
|
|
object AutoStartDefaults
|
|
|
|
Boolean enabled o
|
|
|
|
Int startDelay o
|
|
|
|
Int stopDelay o
|
|
|
|
Boolean waitForHeartbeat o
|
|
|
|
String stopAction o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object AutoStartPowerInfo
|
|
|
|
ManagedObjectReference key r
|
|
|
|
Int startOrder r
|
|
|
|
Int startDelay r
|
|
|
|
AutoStartWaitHeartbeatSetting waitForHeartbeat r
|
|
|
|
String startAction r
|
|
|
|
Int stopDelay r
|
|
|
|
String stopAction r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object ChoiceOption extends OptionType
|
2010-03-06 16:56:28 +00:00
|
|
|
ElementDescription choiceInfo rl
|
|
|
|
Int defaultIndex o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2010-08-01 17:53:00 +00:00
|
|
|
object DatastoreHostMount
|
|
|
|
ManagedObjectReference key r
|
|
|
|
HostMountInfo mountInfo r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2010-05-18 16:11:59 +00:00
|
|
|
object DatastoreInfo
|
|
|
|
String name r
|
|
|
|
String url r
|
|
|
|
Long freeSpace r
|
|
|
|
Long maxFileSize r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2010-03-06 16:56:28 +00:00
|
|
|
object Description
|
|
|
|
String label r
|
|
|
|
String summary r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object DeviceBackedVirtualDiskSpec extends VirtualDiskSpec
|
2010-08-28 19:49:07 +00:00
|
|
|
String device r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2010-03-06 16:56:28 +00:00
|
|
|
object DynamicProperty
|
|
|
|
String name r
|
|
|
|
AnyType val r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object ElementDescription extends Description
|
2010-03-06 16:56:28 +00:00
|
|
|
String key r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object EntityEventArgument extends EventArgument
|
2011-04-16 11:54:39 +00:00
|
|
|
String name r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object EventArgument
|
2010-03-06 16:56:28 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object FileBackedVirtualDiskSpec extends VirtualDiskSpec
|
2010-08-28 19:49:07 +00:00
|
|
|
Long capacityKb r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2010-07-06 17:02:48 +00:00
|
|
|
object FileInfo
|
|
|
|
String path r
|
|
|
|
Long fileSize o
|
|
|
|
DateTime modification o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object FileQuery
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object FileQueryFlags
|
|
|
|
Boolean fileType r
|
|
|
|
Boolean fileSize r
|
|
|
|
Boolean modification r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object FloppyImageFileInfo extends FileInfo
|
2010-07-06 17:02:48 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object FloppyImageFileQuery extends FileQuery
|
2010-07-06 17:02:48 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object FolderFileInfo extends FileInfo
|
2010-07-06 17:02:48 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object FolderFileQuery extends FileQuery
|
2010-07-06 17:02:48 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
2010-12-30 00:36:31 +00:00
|
|
|
object HostAutoStartManagerConfig
|
|
|
|
AutoStartDefaults defaults o
|
|
|
|
AutoStartPowerInfo powerInfo ol
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object HostConfigManager
|
|
|
|
ManagedObjectReference cpuScheduler o
|
|
|
|
ManagedObjectReference datastoreSystem o
|
|
|
|
ManagedObjectReference memoryManager o
|
|
|
|
ManagedObjectReference storageSystem o
|
|
|
|
ManagedObjectReference networkSystem o
|
|
|
|
ManagedObjectReference vmotionSystem o
|
|
|
|
ManagedObjectReference serviceSystem o
|
|
|
|
ManagedObjectReference firewallSystem o
|
|
|
|
ManagedObjectReference advancedOption o
|
|
|
|
ManagedObjectReference diagnosticSystem o
|
|
|
|
ManagedObjectReference autoStartManager o
|
|
|
|
ManagedObjectReference snmpSystem o
|
|
|
|
ManagedObjectReference dateTimeSystem o
|
|
|
|
ManagedObjectReference patchManager o
|
|
|
|
ManagedObjectReference bootDeviceSystem o
|
|
|
|
ManagedObjectReference firmwareSystem o
|
|
|
|
ManagedObjectReference healthStatusSystem o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2010-03-06 16:56:28 +00:00
|
|
|
object HostCpuIdInfo
|
|
|
|
Int level r
|
|
|
|
String vendor o
|
|
|
|
String eax o
|
|
|
|
String ebx o
|
|
|
|
String ecx o
|
|
|
|
String edx o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2010-07-06 17:02:48 +00:00
|
|
|
object HostDatastoreBrowserSearchResults
|
|
|
|
ManagedObjectReference datastore o
|
|
|
|
String folderPath o
|
|
|
|
FileInfo file ol
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object HostDatastoreBrowserSearchSpec
|
|
|
|
FileQuery query ol
|
|
|
|
FileQueryFlags details o
|
|
|
|
Boolean searchCaseInsensitive o
|
|
|
|
String matchPattern ol
|
|
|
|
Boolean sortFoldersFirst o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2010-05-18 16:11:59 +00:00
|
|
|
object HostFileSystemVolume
|
|
|
|
String type r
|
|
|
|
String name r
|
|
|
|
Long capacity r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2012-08-04 17:48:50 +00:00
|
|
|
object HostIpConfig
|
|
|
|
Boolean dhcp r
|
|
|
|
String ipAddress o
|
|
|
|
String subnetMask o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2010-08-01 17:53:00 +00:00
|
|
|
object HostMountInfo
|
|
|
|
String path o
|
|
|
|
String accessMode r
|
|
|
|
Boolean accessible o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object HostNasVolume extends HostFileSystemVolume
|
2010-05-18 16:11:59 +00:00
|
|
|
String remoteHost r
|
|
|
|
String remotePath r
|
|
|
|
String userName o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object HostScsiDiskPartition
|
|
|
|
String diskName r
|
|
|
|
Int partition r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object HostVmfsVolume extends HostFileSystemVolume
|
2010-05-18 16:11:59 +00:00
|
|
|
Int blockSizeMb r
|
|
|
|
Int maxBlocks r
|
|
|
|
Int majorVersion r
|
|
|
|
String version r
|
|
|
|
String uuid r
|
|
|
|
HostScsiDiskPartition extent rl
|
|
|
|
Boolean vmfsUpgradable r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object IsoImageFileInfo extends FileInfo
|
2010-07-06 17:02:48 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object IsoImageFileQuery extends FileQuery
|
2010-07-06 17:02:48 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object LocalDatastoreInfo extends DatastoreInfo
|
2010-05-18 16:11:59 +00:00
|
|
|
String path o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2010-12-06 12:53:36 +00:00
|
|
|
object LocalizedMethodFault
|
|
|
|
MethodFault fault r
|
|
|
|
String localizedMessage o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object NasDatastoreInfo extends DatastoreInfo
|
2010-05-18 16:11:59 +00:00
|
|
|
HostNasVolume nas o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2010-03-06 16:56:28 +00:00
|
|
|
object ObjectContent
|
|
|
|
ManagedObjectReference obj r
|
|
|
|
DynamicProperty propSet ol
|
|
|
|
MissingProperty missingSet i
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object ObjectSpec
|
|
|
|
ManagedObjectReference obj r
|
|
|
|
Boolean skip o
|
|
|
|
SelectionSpec selectSet ol
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object ObjectUpdate
|
|
|
|
ObjectUpdateKind kind r
|
|
|
|
ManagedObjectReference obj r
|
|
|
|
PropertyChange changeSet ol
|
|
|
|
MissingProperty missingSet i
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object OptionType
|
|
|
|
Boolean valueIsReadonly o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object PerfCounterInfo
|
|
|
|
Int key r
|
|
|
|
ElementDescription nameInfo r
|
|
|
|
ElementDescription groupInfo r
|
|
|
|
ElementDescription unitInfo r
|
|
|
|
PerfSummaryType rollupType r
|
|
|
|
PerfStatsType statsType r
|
|
|
|
Int level o
|
|
|
|
Int associatedCounterId ol
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object PerfEntityMetric extends PerfEntityMetricBase
|
2010-03-06 16:56:28 +00:00
|
|
|
PerfSampleInfo sampleInfo ol
|
|
|
|
PerfMetricSeries value ol
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object PerfEntityMetricBase
|
|
|
|
ManagedObjectReference entity r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object PerfMetricId
|
|
|
|
Int counterId r
|
|
|
|
String instance r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object PerfMetricIntSeries extends PerfMetricSeries
|
2010-03-06 16:56:28 +00:00
|
|
|
Long value ol
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object PerfMetricSeries
|
|
|
|
PerfMetricId id r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object PerfQuerySpec
|
|
|
|
ManagedObjectReference entity r
|
|
|
|
DateTime startTime o
|
|
|
|
DateTime endTime o
|
|
|
|
Int maxSample o
|
|
|
|
PerfMetricId metricId ol
|
|
|
|
Int intervalId o
|
|
|
|
String format o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object PerfSampleInfo
|
|
|
|
DateTime timestamp r
|
|
|
|
Int interval r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2012-08-04 17:48:50 +00:00
|
|
|
object PhysicalNic
|
|
|
|
String key o
|
|
|
|
String device r
|
|
|
|
String pci r
|
|
|
|
String driver o
|
|
|
|
PhysicalNicLinkInfo linkSpeed o
|
|
|
|
PhysicalNicLinkInfo validLinkSpecification ol
|
|
|
|
PhysicalNicSpec spec r
|
|
|
|
Boolean wakeOnLanSupported r
|
|
|
|
String mac r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object PhysicalNicLinkInfo
|
|
|
|
Int speedMb r
|
|
|
|
Boolean duplex r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object PhysicalNicSpec
|
|
|
|
HostIpConfig ip o
|
|
|
|
PhysicalNicLinkInfo linkSpeed o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2010-03-06 16:56:28 +00:00
|
|
|
object PropertyChange
|
|
|
|
String name r
|
|
|
|
PropertyChangeOp op r
|
|
|
|
AnyType val o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object PropertyFilterSpec
|
|
|
|
PropertySpec propSet rl
|
|
|
|
ObjectSpec objectSet rl
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object PropertyFilterUpdate
|
|
|
|
ManagedObjectReference filter r
|
|
|
|
ObjectUpdate objectSet ol
|
|
|
|
MissingObject missingSet i
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object PropertySpec
|
|
|
|
String type r
|
|
|
|
Boolean all o
|
|
|
|
String pathSet ol
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object ResourceAllocationInfo
|
|
|
|
Long reservation o
|
|
|
|
Boolean expandableReservation o
|
|
|
|
Long limit o
|
|
|
|
SharesInfo shares o
|
|
|
|
Long overheadLimit o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object ResourcePoolResourceUsage
|
|
|
|
Long reservationUsed r
|
|
|
|
Long reservationUsedForVm r
|
|
|
|
Long unreservedForPool r
|
|
|
|
Long unreservedForVm r
|
|
|
|
Long overallUsage r
|
|
|
|
Long maxUsage r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object SelectionSpec
|
|
|
|
String name o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object ServiceContent
|
|
|
|
ManagedObjectReference rootFolder r
|
|
|
|
ManagedObjectReference propertyCollector r
|
|
|
|
ManagedObjectReference viewManager o
|
|
|
|
AboutInfo about r
|
|
|
|
ManagedObjectReference setting o
|
|
|
|
ManagedObjectReference userDirectory o
|
|
|
|
ManagedObjectReference sessionManager o
|
|
|
|
ManagedObjectReference authorizationManager o
|
|
|
|
ManagedObjectReference perfManager o
|
|
|
|
ManagedObjectReference scheduledTaskManager o
|
|
|
|
ManagedObjectReference alarmManager o
|
|
|
|
ManagedObjectReference eventManager o
|
|
|
|
ManagedObjectReference taskManager o
|
|
|
|
ManagedObjectReference extensionManager o
|
|
|
|
ManagedObjectReference customizationSpecManager o
|
|
|
|
ManagedObjectReference customFieldsManager o
|
|
|
|
ManagedObjectReference accountManager o
|
|
|
|
ManagedObjectReference diagnosticManager o
|
|
|
|
ManagedObjectReference licenseManager o
|
|
|
|
ManagedObjectReference searchIndex o
|
|
|
|
ManagedObjectReference fileManager o
|
|
|
|
ManagedObjectReference virtualDiskManager o
|
|
|
|
ManagedObjectReference virtualizationManager o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object SharesInfo
|
|
|
|
Int shares r
|
|
|
|
SharesLevel level r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object TaskInfo
|
|
|
|
String key r
|
|
|
|
ManagedObjectReference task r
|
|
|
|
String name o
|
|
|
|
String descriptionId r
|
|
|
|
ManagedObjectReference entity o
|
|
|
|
String entityName o
|
|
|
|
ManagedObjectReference locked ol
|
|
|
|
TaskInfoState state r
|
|
|
|
Boolean cancelled r
|
|
|
|
Boolean cancelable r
|
2010-12-06 12:53:36 +00:00
|
|
|
LocalizedMethodFault error o
|
2010-03-06 16:56:28 +00:00
|
|
|
AnyType result o
|
|
|
|
Int progress o
|
|
|
|
TaskReason reason i
|
|
|
|
DateTime queueTime r
|
|
|
|
DateTime startTime o
|
|
|
|
DateTime completeTime o
|
|
|
|
Int eventChainId r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object TemplateConfigFileInfo extends VmConfigFileInfo
|
2010-07-06 17:02:48 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object TemplateConfigFileQuery extends VmConfigFileQuery
|
2010-07-06 17:02:48 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
2012-08-04 17:48:50 +00:00
|
|
|
object TraversalSpec extends SelectionSpec
|
2010-03-06 16:56:28 +00:00
|
|
|
String type r
|
|
|
|
String path r
|
|
|
|
Boolean skip o
|
|
|
|
SelectionSpec selectSet ol
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object UpdateSet
|
|
|
|
String version r
|
|
|
|
PropertyFilterUpdate filterSet ol
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object UserSession
|
|
|
|
String key r
|
|
|
|
String userName r
|
|
|
|
String fullName r
|
|
|
|
DateTime loginTime r
|
|
|
|
DateTime lastActiveTime r
|
|
|
|
String locale r
|
|
|
|
String messageLocale r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2010-08-28 19:49:07 +00:00
|
|
|
object VirtualDiskSpec
|
|
|
|
String diskType r
|
|
|
|
String adapterType r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2010-03-06 16:56:28 +00:00
|
|
|
object VirtualMachineConfigSpec
|
|
|
|
String changeVersion o
|
|
|
|
String name o
|
|
|
|
String version o
|
|
|
|
String uuid o
|
|
|
|
Long npivNodeWorldWideName ol
|
|
|
|
Long npivPortWorldWideName ol
|
|
|
|
String npivWorldWideNameType o
|
|
|
|
String npivWorldWideNameOp o
|
|
|
|
String locationId o
|
|
|
|
String guestId o
|
|
|
|
String alternateGuestName o
|
|
|
|
String annotation o
|
|
|
|
VirtualMachineFileInfo files i
|
|
|
|
ToolsConfigInfo tools i
|
|
|
|
VirtualMachineFlagInfo flags i
|
|
|
|
VirtualMachineConsolePreferences consolePreferences i
|
|
|
|
VirtualMachineDefaultPowerOpInfo powerOpInfo i
|
|
|
|
Int numCPUs o
|
|
|
|
Long memoryMB o
|
|
|
|
VirtualDeviceConfigSpec deviceChange i
|
|
|
|
ResourceAllocationInfo cpuAllocation o
|
|
|
|
ResourceAllocationInfo memoryAllocation o
|
|
|
|
VirtualMachineAffinityInfo cpuAffinity i
|
|
|
|
VirtualMachineAffinityInfo memoryAffinity i
|
|
|
|
VirtualMachineNetworkShaperInfo networkShaper i
|
|
|
|
VirtualMachineCpuIdInfoSpec cpuFeatureMask i
|
|
|
|
OptionValue extraConfig i
|
|
|
|
String swapPlacement o
|
|
|
|
VirtualMachineBootOptions bootOptions i
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object VirtualMachineQuestionInfo
|
|
|
|
String id r
|
|
|
|
String text r
|
|
|
|
ChoiceOption choice r
|
|
|
|
VirtualMachineMessage message i
|
|
|
|
end
|
2010-04-07 09:23:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
object VirtualMachineSnapshotTree
|
|
|
|
ManagedObjectReference snapshot r
|
|
|
|
ManagedObjectReference vm r
|
|
|
|
String name r
|
|
|
|
String description r
|
|
|
|
DateTime createTime r
|
|
|
|
VirtualMachinePowerState state r
|
|
|
|
Boolean quiesced r
|
|
|
|
VirtualMachineSnapshotTree childSnapshotList ol
|
|
|
|
end
|
2010-04-13 12:25:52 +00:00
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object VmConfigFileInfo extends FileInfo
|
2010-07-06 17:02:48 +00:00
|
|
|
Int configVersion o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object VmConfigFileQuery extends FileQuery
|
2010-07-06 17:02:48 +00:00
|
|
|
VmConfigFileQueryFilter filter o
|
|
|
|
VmConfigFileQueryFlags details o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object VmConfigFileQueryFilter
|
|
|
|
Int matchConfigVersion ol
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object VmConfigFileQueryFlags
|
|
|
|
Boolean configVersion r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object VmDiskFileInfo extends FileInfo
|
2010-07-06 17:02:48 +00:00
|
|
|
String diskType o
|
|
|
|
Long capacityKb o
|
|
|
|
Int hardwareVersion o
|
|
|
|
String controllerType o
|
|
|
|
String diskExtents ol
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object VmDiskFileQuery extends FileQuery
|
2010-07-06 17:02:48 +00:00
|
|
|
VmDiskFileQueryFilter filter o
|
|
|
|
VmDiskFileQueryFlags details o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object VmDiskFileQueryFilter
|
|
|
|
String diskType ol
|
|
|
|
Int matchHardwareVersion ol
|
|
|
|
String controllerType ol
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
object VmDiskFileQueryFlags
|
|
|
|
Boolean diskType r
|
|
|
|
Boolean capacityKb r
|
|
|
|
Boolean hardwareVersion r
|
|
|
|
Boolean controllerType o
|
|
|
|
Boolean diskExtents o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object VmEventArgument extends EntityEventArgument
|
2011-04-16 11:54:39 +00:00
|
|
|
ManagedObjectReference vm r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object VmLogFileInfo extends FileInfo
|
2010-07-06 17:02:48 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object VmLogFileQuery extends FileQuery
|
2010-07-06 17:02:48 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object VmNvramFileInfo extends FileInfo
|
2010-07-06 17:02:48 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object VmNvramFileQuery extends FileQuery
|
2010-07-06 17:02:48 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object VmSnapshotFileInfo extends FileInfo
|
2010-07-06 17:02:48 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object VmSnapshotFileQuery extends FileQuery
|
2010-07-06 17:02:48 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
object VmfsDatastoreInfo extends DatastoreInfo
|
2010-05-18 16:11:59 +00:00
|
|
|
HostVmfsVolume vmfs o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-04-10 11:27:56 +00:00
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
|
|
# Managed Objects
|
|
|
|
#
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
managed object ComputeResource extends ManagedEntity
|
2011-04-10 11:27:56 +00:00
|
|
|
ManagedObjectReference host ol
|
|
|
|
ManagedObjectReference resourcePool o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
managed object Datacenter extends ManagedEntity
|
2011-04-10 11:27:56 +00:00
|
|
|
ManagedObjectReference hostFolder r
|
|
|
|
ManagedObjectReference vmFolder r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-11-01 16:12:37 +00:00
|
|
|
managed object Folder extends ManagedEntity
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
managed object HostSystem extends ManagedEntity
|
2011-04-10 11:27:56 +00:00
|
|
|
HostConfigManager configManager r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
managed object ManagedEntity
|
|
|
|
String name r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2010-04-13 12:25:52 +00:00
|
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
|
|
# Methods
|
|
|
|
#
|
|
|
|
|
|
|
|
method AnswerVM
|
|
|
|
ManagedObjectReference _this r
|
|
|
|
String questionId r
|
|
|
|
String answerChoice r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
method CancelTask
|
|
|
|
ManagedObjectReference _this r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method CopyVirtualDisk_Task returns ManagedObjectReference r
|
2011-05-01 09:51:19 +00:00
|
|
|
ManagedObjectReference _this:virtualDiskManager r
|
2010-12-06 20:07:35 +00:00
|
|
|
String sourceName r
|
|
|
|
ManagedObjectReference sourceDatacenter o
|
|
|
|
String destName r
|
|
|
|
ManagedObjectReference destDatacenter o
|
|
|
|
VirtualDiskSpec destSpec o
|
|
|
|
Boolean force o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method CreateFilter returns ManagedObjectReference r
|
2011-05-01 09:51:19 +00:00
|
|
|
ManagedObjectReference _this:propertyCollector r
|
2010-04-13 12:25:52 +00:00
|
|
|
PropertyFilterSpec spec r
|
|
|
|
Boolean partialUpdates r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method CreateSnapshot_Task returns ManagedObjectReference r
|
2010-04-13 12:25:52 +00:00
|
|
|
ManagedObjectReference _this r
|
|
|
|
String name r
|
|
|
|
String description o
|
|
|
|
Boolean memory r
|
|
|
|
Boolean quiesce r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method CreateVirtualDisk_Task returns ManagedObjectReference r
|
2011-05-01 09:51:19 +00:00
|
|
|
ManagedObjectReference _this:virtualDiskManager r
|
2010-08-28 19:49:07 +00:00
|
|
|
String name r
|
|
|
|
ManagedObjectReference datacenter o
|
|
|
|
VirtualDiskSpec spec r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method DeleteVirtualDisk_Task returns ManagedObjectReference r
|
2011-05-01 09:51:19 +00:00
|
|
|
ManagedObjectReference _this:virtualDiskManager r
|
2010-12-22 15:45:50 +00:00
|
|
|
String name r
|
|
|
|
ManagedObjectReference datacenter o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2010-04-13 12:25:52 +00:00
|
|
|
method DestroyPropertyFilter
|
|
|
|
ManagedObjectReference _this r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method FindByIp returns ManagedObjectReference o
|
2011-05-01 09:51:19 +00:00
|
|
|
ManagedObjectReference _this:searchIndex r
|
2010-04-13 12:25:52 +00:00
|
|
|
ManagedObjectReference datacenter o
|
|
|
|
String ip r
|
|
|
|
Boolean vmSearch r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method FindByUuid returns ManagedObjectReference o
|
2011-05-01 09:51:19 +00:00
|
|
|
ManagedObjectReference _this:searchIndex r
|
2010-04-13 12:25:52 +00:00
|
|
|
ManagedObjectReference datacenter o
|
|
|
|
String uuid r
|
|
|
|
Boolean vmSearch r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method Login returns UserSession r
|
2011-05-01 09:51:19 +00:00
|
|
|
ManagedObjectReference _this:sessionManager r
|
2010-04-13 12:25:52 +00:00
|
|
|
String userName r
|
|
|
|
String password r
|
|
|
|
String locale o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
method Logout
|
2011-05-01 09:51:19 +00:00
|
|
|
ManagedObjectReference _this:sessionManager r
|
2010-04-13 12:25:52 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
2010-08-28 19:49:07 +00:00
|
|
|
method MakeDirectory
|
2011-05-01 09:51:19 +00:00
|
|
|
ManagedObjectReference _this:fileManager r
|
2010-08-28 19:49:07 +00:00
|
|
|
String name r
|
|
|
|
ManagedObjectReference datacenter o
|
|
|
|
Boolean createParentDirectories o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method MigrateVM_Task returns ManagedObjectReference r
|
2010-04-13 12:25:52 +00:00
|
|
|
ManagedObjectReference _this r
|
|
|
|
ManagedObjectReference pool o
|
|
|
|
ManagedObjectReference host o
|
|
|
|
VirtualMachineMovePriority priority r
|
|
|
|
VirtualMachinePowerState state o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method PowerOffVM_Task returns ManagedObjectReference r
|
2010-04-13 12:25:52 +00:00
|
|
|
ManagedObjectReference _this r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method PowerOnVM_Task returns ManagedObjectReference r
|
2010-04-13 12:25:52 +00:00
|
|
|
ManagedObjectReference _this r
|
|
|
|
ManagedObjectReference host o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method QueryAvailablePerfMetric returns PerfMetricId ol
|
2011-05-01 09:51:19 +00:00
|
|
|
ManagedObjectReference _this:perfManager r
|
2010-04-13 12:25:52 +00:00
|
|
|
ManagedObjectReference entity r
|
|
|
|
DateTime beginTime o
|
|
|
|
DateTime endTime o
|
|
|
|
Int intervalId o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method QueryPerf returns PerfEntityMetricBase ol
|
2011-05-01 09:51:19 +00:00
|
|
|
ManagedObjectReference _this:perfManager r
|
2010-04-13 12:25:52 +00:00
|
|
|
PerfQuerySpec querySpec rl
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method QueryPerfCounter returns PerfCounterInfo ol
|
2011-05-01 09:51:19 +00:00
|
|
|
ManagedObjectReference _this:perfManager r
|
2010-04-13 12:25:52 +00:00
|
|
|
Int counterId rl
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method QueryVirtualDiskUuid returns String r
|
2011-05-01 09:51:19 +00:00
|
|
|
ManagedObjectReference _this:virtualDiskManager r
|
2010-08-29 17:33:49 +00:00
|
|
|
String name r
|
|
|
|
ManagedObjectReference datacenter o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2010-04-13 12:25:52 +00:00
|
|
|
method RebootGuest
|
|
|
|
ManagedObjectReference _this r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method ReconfigVM_Task returns ManagedObjectReference r
|
2010-04-13 12:25:52 +00:00
|
|
|
ManagedObjectReference _this r
|
|
|
|
VirtualMachineConfigSpec spec r
|
2010-12-30 00:36:31 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
method ReconfigureAutostart
|
|
|
|
ManagedObjectReference _this r
|
|
|
|
HostAutoStartManagerConfig spec r
|
2010-05-18 16:11:59 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
method RefreshDatastore
|
|
|
|
ManagedObjectReference _this r
|
2010-04-13 12:25:52 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method RegisterVM_Task returns ManagedObjectReference r
|
2010-04-13 12:25:52 +00:00
|
|
|
ManagedObjectReference _this r
|
|
|
|
String path r
|
|
|
|
String name o
|
|
|
|
Boolean asTemplate r
|
|
|
|
ManagedObjectReference pool o
|
|
|
|
ManagedObjectReference host o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method RemoveSnapshot_Task returns ManagedObjectReference r
|
2010-04-13 12:25:52 +00:00
|
|
|
ManagedObjectReference _this r
|
|
|
|
Boolean removeChildren r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method RetrieveProperties returns ObjectContent ol
|
2011-05-01 09:51:19 +00:00
|
|
|
ManagedObjectReference _this:propertyCollector r
|
2010-04-13 12:25:52 +00:00
|
|
|
PropertyFilterSpec specSet rl
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method RevertToSnapshot_Task returns ManagedObjectReference r
|
2010-04-13 12:25:52 +00:00
|
|
|
ManagedObjectReference _this r
|
|
|
|
ManagedObjectReference host o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method SearchDatastoreSubFolders_Task returns ManagedObjectReference r
|
2010-08-07 22:24:29 +00:00
|
|
|
ManagedObjectReference _this r
|
|
|
|
String datastorePath r
|
|
|
|
HostDatastoreBrowserSearchSpec searchSpec o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method SearchDatastore_Task returns ManagedObjectReference r
|
2010-07-06 17:02:48 +00:00
|
|
|
ManagedObjectReference _this r
|
|
|
|
String datastorePath r
|
|
|
|
HostDatastoreBrowserSearchSpec searchSpec o
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method SessionIsActive returns Boolean r
|
2011-05-01 09:51:19 +00:00
|
|
|
ManagedObjectReference _this:sessionManager r
|
2010-04-13 12:25:52 +00:00
|
|
|
String sessionID r
|
|
|
|
String userName r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
method ShutdownGuest
|
|
|
|
ManagedObjectReference _this r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method SuspendVM_Task returns ManagedObjectReference r
|
2010-04-13 12:25:52 +00:00
|
|
|
ManagedObjectReference _this r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
method UnregisterVM
|
|
|
|
ManagedObjectReference _this r
|
|
|
|
end
|
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method WaitForUpdates returns UpdateSet r
|
2011-05-01 09:51:19 +00:00
|
|
|
ManagedObjectReference _this:propertyCollector r
|
2010-04-13 12:25:52 +00:00
|
|
|
String version o
|
|
|
|
end
|
2010-12-22 16:24:45 +00:00
|
|
|
|
|
|
|
|
2011-05-01 09:52:33 +00:00
|
|
|
method ZeroFillVirtualDisk_Task returns ManagedObjectReference r
|
2011-05-01 09:51:19 +00:00
|
|
|
ManagedObjectReference _this:virtualDiskManager r
|
2010-12-22 16:24:45 +00:00
|
|
|
String name r
|
|
|
|
ManagedObjectReference datacenter o
|
|
|
|
end
|