Vsphere Automation Sdk Python Versions Save

Python samples, language bindings, and API reference documentation for vSphere, VMC, and NSX-T using the VMware REST API

7.0.0.1

4 years ago

What’s New

vSphere

  • New bindings for vSphere Lifecycle manager
  • New bindings for vSphere Trust Authority that includes attestation and KMS services
  • New bindings for vCenter Server Profiles to manage profile specification
  • Introduced support for OAuth2
    • identity_client to manage VC identity
    • OAuth2 and OIDC specs and identity types for VC providers
  • Updated APIs for vCenter high availability cluster node with new identifiers
  • Updated vSphere Update Manager bindings to generate compatibility reports
  • New bindings to manage lifecycle and health of harbor container registry in vCenter
  • New bindings for Workload Control Plane namespace management
  • Removed convergence and decommission samples

New samples

  • To retrieve node topology and replication status operations
  • To demonstrate the usage of discovery and plan APIs via lcm_client
  • To generate hardware compatibility reports

VMware Cloud on AWS (VMC on AWS)

  • New hybrid vCenter tech preview APIs (only for VMware Cloud on AWS)
    • Added new bindings to create a sync session and manage groups
  • Removed samples for NSX for vSphere (NSX-V). NSX-V is no longer supported for VMware Cloud on AWS. For more details on the end of life, refer VMware Cloud on AWS documentation

NSX

  • New bindings to support NSX-TT Data Center 3.0. For details on the new features, refer the NSX documentation here

7.0.0.0

4 years ago

What’s New

VMware Cloud on AWS (VMC on AWS)

NSX

  • New API specifications for NSX-T Policy API
  • Updated API bindings for NSX-T Policy, NSX VMC Policy, and NSX VMC AWS Integration

VMC Console

  • Updated APIs to get compatible subnets for a linked AWS account with an additional parameter (linked connected account identifier or linked Account Id)
  • Delete SDDC API no longer supports forceful delete. Parameter "force" has been removed.

DRaaS

  • Removed following APIs -- Create audit setup task for specific appliance and configure rsyslog for it -- Upload backup script to specific appliance
  • Updated API to deactivate site recovery for a specific SDDC.

vSphere

This release contains following new/updated features.

  • VSTATS(Tech Preview APIs) and samples
  • vCenter Guest Customisation APIs
  • VM Guest APIs and samples
  • VM Life Cycle Management APIs(clone and relocate)
  • Resource Pool APIs (create and delete)
Note: clone the SDK repository to get the most recent VMC API bindings

v6.9.1

4 years ago

What’s New

pip Installation from GitHub repository

Ability to install the SDK package directly from the GitHub repository using pip

  • pip install --upgrade pip setuptools
  • pip install --upgrade git+https://github.com/vmware/vsphere-automation-sdk-python.git

Refer to following pull requests

  • pip install from repository : #164
  • updating new installation instructions : #165
  • Optimized setup.py for version control #166

VMware Cloud on AWS (VMC on AWS)

  • VMware Cloud on AWS library now includes APIs for Disaster Recovery as Service (DRaaS). With this version, users can automate the setup and the configuration of site recovery for a specified SDDC using DRaaS APIs.

vSphere

  • vSphere library now supports VMware Certificate Authority (VMCA) root certificate, check-out VMs managed by content library, and a new appliance API to change hostname/IP of vCenter appliance.

v6.8.7

5 years ago

What's New

  • Updated VMware Cloud on AWS Console API bindings
  • Updated VMware Cloud on AWS SDDC API bindings
  • Updated NSX Manager, NSX Policy, NSX VMC Policy and NSX VMC AWS Integration API bindings
  • New bindings and samples for Convergence and Decommission APIs
  • New bindings for Content Library VMTX_Sync APIs
  • New bindings and samples for Token Exchange and query External Identity Providers APIs

v6.8.1

5 years ago
  • Updated VMware Cloud on AWS Console API bindings
  • Updated VMware Cloud on AWS SDDC API bindings
  • Added Compute Policy API bindings
  • Add compute Policy API samples
  • Remove doc folder. The API specs are hosted on gh-pages branch now. The API doc links can be found on the main README.

6.8.0

6 years ago
  • Updated bindings and samples for VMware Cloud on AWS APIs
  • Added bindings for NSX APIs
  • Added HVC samples

v6.7.0

6 years ago

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 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.

v6.6.2

6 years ago
  • 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
  • Updated: Multiple samples for working with Content Library VM Templates

Release Notes:

  • Please use below cmd to refresh the client bindings:
pip install --upgrade --force-reinstall -r requirements.txt --extra-index-url <file:///abs_path/to/sdk/lib/>

v6.6.1

6 years ago
  1. Update vAPI binding and runtime to support vSphere 6.6.1 for VMware Cloud 1.1
  2. Include tech-preview API for Hybrid VC.
  3. Package vSphere Automation runtime and bindings in wheel format.
  4. Update password and remove IP from testbed.py
  5. Remove redundant dependencies from requirements.txt