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
Invoke vSphere APIs via the new vSphere Client module.
Refer to [quick start guide](https://github.com/vmware/vsphere-automation-sdk-python#connect-to-a-vcenter-server) for detailed usage.
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.
**Workarounds**:
- 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.
- A couple of service endpoints under vCenter namespace are not accessible through the vSphere Client module.
ovfs, vcenter-inventory, iso, hvc and vm_template API endpoints are not accessible through the vSphere client module.
**Workaround**
Please use the legacy invocation mechanism demonstrated in the corresponding samples to access above API endpoints.