Releases: vmware/vsphere-automation-sdk-java
vSphere 6.7.0 Release
What's New
The vSphere Automation SDKs for vSphere 6.7 includes new APIs for:
- Storage Policy
- Guest Ops
- vCenter Server Appliance and Platform Services Controller appliance deployment
- Installing and Upgrading the vCenter Server Appliance and Platform Services Controller appliance stage 2
- Importing the historical data of vCenter Server
- Scheduling a backup job
- Updating the vCenter Server Appliance
- Managing and recovering the vCenter Server Appliance
Caveats and Limitations
The vcenter API includes the following methods that have known issues and might be removed in a future version. It is advised that these APIs are not invoked:
- DeploymentType.reconfigure
- PscRegistration.repoint
- Upgrade.cancel
- Deployment.rollback
Known Issues
-
Unauthenticated exception following long-running operation
After an API client completes a long-running operation, such as an upload to the content library, the next operation might fail with an "Unauthenticated exception" message. This happens if the long running operation did not complete within the lifetime of the authentication session.
Workaround:
- Keep the session alive by issuing short operations on another thread until the long running operation completes.
- Increase the session length using the VMware vSphere Web Client. Select Administration > System Configuration > Services > vAPI Endpoint > Manage> General, and increase the value for the Maximum session idle time.
-
Samples unable to connect to server.
If you run the samples in a JDK 1.7 environment, the samples will be unable to connect to vSphere services. The error message is:
`Exception in thread "main" java.lang.RuntimeException: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated`
Workaround
The error results from a transport encryption mismatch. In vSphere 6.5 and later, vSphere services run with enhanced security, using TLS 1.2. JDK 1.7 does not support the stronger version of TLS.
To run the samples, you must install JDK 1.8, which supports TLS 1.2. After you install JDK 1.8, set the JAVA_HOME variable to the location of JDK 1.8 on your system.
VMware Cloud on AWS 1.3
- Added bindings and samples for VMware Cloud on AWS Networking APIs
- Updated vSphere bindings for VM Template and Hybrid VC APIs
VMware Cloud on AWS 1.2
- New: Language bindings for working with VMware Cloud on AWS
- New: Multiple samples for working with VMware Cloud on AWS
- Updated: vSphere language bindings to include Content Library VM Templates