VMware Sample Exchange

Browse and download code samples from VMware as well as code samples contributed by the VMware community. Log in to Sample Exchange using your MyVMware credentials to submit requests for new samples, contribute your own samples, as well as propose a sample as a solution for open requests.

Disclaimer: All sample content and code in Sample Exchange is licensed to you by the sample's author. VMware does not guarantee the samples; they are provided "AS IS". Use of this site is subject to the VMware Community Terms of Use.

Browse the list below for code samples from VMware and the community. You can filter the list of samples by selecting a platform or language, or enter other search keywords above.

Filters

SDK / Platform / Tool

  • Application Management Services

  • Automation Tools

  • Cloud Management Platform

  • Cloud Native Applications

  • Data Center & Cloud Infrastructure

  • Desktop & Application Virtualization

  • Enterprise Mobility Management

  • Hybrid Cloud & Data Center Infrastructure

  • Networking & Security

  • Storage & Availability

  • Other Platform

Contributor

Language

1 - 10 of 41 Results Sample vSphere Automation
  • CLS API Helper

    Contributor VMware

    CLS API Helper Helper class to perform commonly used operations using Content Library API. This sample is a part of the VMware vSphere Automation SDK for Python To build and run this sample, pleas ...
    vSphere Automation SDK for Python Python
    Download

    539 Downloads

    0 Comments

    Updated 10 months ago

  • CLS Sync Helper

    Contributor VMware

    CLS Sync Helper Helper class to wait for the subscribed libraries and items to be synchronized completely with the publisher. This sample is a part of the VMware vSphere Automation SDK for Python ...
    vSphere Automation SDK for Python Python
    Download

    453 Downloads

    0 Comments

    Updated 2 years ago

  • CLS API Client

    Contributor VMware

    CLS API Client This is a simplified wrapper around the Content Library APIs. It is used to access services exposed by Content Library Service. This sample is a part of the VMware vSphere Automation ...
    vSphere Automation SDK for Python Python
    Download

    600 Downloads

    0 Comments

    Updated 2 months ago

  • Library Publish Subscribe

    Contributor VMware

    Library Publish Subscribe Demonstrates the basic sync workflow to publish and subscribe content libraries. Note: the workflow needs an existing VC datastore with available storage. This sample is a ...
    vSphere Automation SDK for Python Python
    Download

    483 Downloads

    0 Comments

    Updated 2 years ago

  • Library CRUD

    Contributor VMware

    Library CRUD Demonstrates the basic operations of a content library. The sample also demonstrates the interoperability of the VIM and vAPI. Note: the workflow needs an existing VC DS with available s ...
    vSphere Automation SDK for Python Python
    Download

    532 Downloads

    0 Comments

    Updated 2 years ago

  • VM Template Capture

    Contributor VMware

    VM Template Capture Demonstrates the workflow to capture a virtual machine into a content library. Note: The sample needs an existing virtual machine to capture. This sample is a part of the VMware ...
    vSphere Automation SDK for Python Python
    Download

    486 Downloads

    0 Comments

    Updated 1 year ago

  • ISO Mount

    Contributor VMware

    ISO Mount Demonstrates the content library ISO item mount and unmount workflow via the mount and unmount APIs from the ISO service. This sample is a part of the VMware vSphere Automation SDK for Py ...
    vSphere Automation SDK for Python Python
    Download

    534 Downloads

    0 Comments

    Updated 1 year ago

  • vCenter VM Placement

    Contributor VMware

    vCenter VM Placement Cluster names are not guaranteed to be unique within a vCenter instance, so we qualify our search using the Datacenter. If Folders are used, the search must be qualified using Fo ...
    vSphere Automation SDK for Python Python
    Download

    622 Downloads

    0 Comments

    Updated 1 year ago

  • Tagging Workflow

    Contributor VMware

    Tagging Workflow Demonstrates tagging CRUD operations Step 1: Create a Tag category. Step 2: Create a Tag under the category. Step 3: Retrieve the managed object id of an existing cluster from its na ...
    vSphere Automation SDK for Python Python
    Download

    586 Downloads

    0 Comments

    Updated 9 months ago

  • OVF Import Export

    Contributor VMware

    OVF Import Export Demonstrates the workflow to import an OVF package into the content library, as well as download of an OVF template from the content library. Note: the workflow needs an existing VC ...
    vSphere Automation SDK for Python Python
    Download

    597 Downloads

    0 Comments

    Updated 2 years ago

;