What’s Deprecated in vSphere 4.1 API?

July 27, 2010

In vSphere 4.1, several properties and types have been deprecated. The following table from vSphere Web Services SDK 4.1 release note lists each deprecated API element and its replacement.

Name of deprecated type, method, or property As of vSphere API 4.1, use instead…
Methods
PropertyCollector.CheckForUpdates PropertyCollector.WaitForUpdatesEx
PropertyCollector.RetrieveProperties PropertyCollector.RetrievePropertiesEx
PropertyCollector.WaitForUpdates PropertyCollector.WaitForUpdatesEx
VirtualMachine.AcquireMksTicket VirtualMachine.AcquireTicket
Data Objects
VirtualMachineMksTicket VirtualMachineTicket
Data Object Properties
ClusterVmToolsMonitoringSettings.enabled ClusterVmToolsMonitoringSettings.vmMonitoring
HostCapability.replayUnsupportedReason HostCapability.replayCompatibilityIssues
VirtualDisk.shares StorageIOAllocationInfo.shares
VirtualMachineRuntimeInfo.memoryOverhead PerformanceManager memory overhead counter

Note that the release note has much more information that you should really read through if you use vSphere 4.1 API.

Author: Steve Jin is the author of VMware VI and vSphere SDK (Prentice Hall), creator of VMware vSphere Java API. For future articles, please subscribe to Email or RSS, and follow on Twitter.

Related Posts

Leave a Reply

Page 1 of 11

OfficeFolders theme by Themocracy