What’s Deprecated in vSphere 4.1 API?
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.CheckForUpdatesPropertyCollector.WaitForUpdatesExPropertyCollector.RetrievePropertiesPropertyCollector.RetrievePropertiesExPropertyCollector.WaitForUpdatesPropertyCollector.WaitForUpdatesExVirtualMachine.AcquireMksTicketVirtualMachine.AcquireTicketData Objects VirtualMachineMksTicketVirtualMachineTicketData Object Properties ClusterVmToolsMonitoringSettings.enabledClusterVmToolsMonitoringSettings.vmMonitoringHostCapability.replayUnsupportedReasonHostCapability.replayCompatibilityIssuesVirtualDisk.sharesStorageIOAllocationInfo.sharesVirtualMachineRuntimeInfo.memoryOverheadPerformanceManager 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.
