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

  • App Modernization

  • Cloud Management

  • Compute Virtualization

  • Desktop & App Virtualization

  • Developer Tools

  • Digital Workspace

  • Hybrid Cloud & Data Center Infrastructure

  • Hyperconverged Infrastructure

  • Multi-Cloud Operations

  • Private & Hybrid Cloud

  • Storage & Availability

  • Virtual Cloud Networking

  • Other Platform

Contributor

Language

1 - 10 of 122 Results Sample REST
  • vRealize Orchestrator StoreOnce Workflows

    Contributor Markus Kraus

    Basic management for HPE StoreOnce Systems via REST API. Project WebSite: http://mycloudrevolution.com/2016/10/25/vrealize-orchestrator-storeonce-workflows/  
    vRealize Orchestrator Plug-in SDK vRO Package
    Download

    624 Downloads

    0 Comments

    Updated 4 years ago

  • vCenter VM Placement

    Contributor VMware Inc

    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

    1113 Downloads

    0 Comments

    Updated 3 years ago

  • vCenter VM Create Exhaustive VM

    Contributor VMware Inc

    vCenter VM Create Exhaustive VM Demonstrates how to create a exhaustive VM with the below configuration: 3 disks, 2 nics, 2 vcpu, 2 GB, memory, boot=BIOS, 1 cdrom, 1 serial port, 1 parallel port, 1 f ...
    vSphere Automation SDK for Python Python
    Download

    1469 Downloads

    0 Comments

    Updated 2 years ago

  • Tagging Workflow

    Contributor VMware Inc

    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

    826 Downloads

    0 Comments

    Updated 2 years ago

  • vCenter VM Create Basic VM

    Contributor VMware Inc

    vCenter VM Create Basic VM Demonstrates how to create a basic VM with following configuration: 2 disks, 1 nic Sample Prerequisites: - datacenter - vm folder - datastore - cluster - standard switch ne ...
    vSphere Automation SDK for Python Python
    Download

    2557 Downloads

    0 Comments

    Updated 2 years ago

  • vCenter VM Create Default VM

    Contributor VMware Inc

    vCenter VM Create Default VM Demonstrates how to create a VM with system provided defaults Sample Prerequisites: - datacenter - vm folder - datastore - cluster - standard switch network This sample ...
    vSphere Automation SDK for Python Python
    Download

    1373 Downloads

    0 Comments

    Updated 3 years ago

  • vCenter VM Hardware Serial

    Contributor VMware Inc

    vCenter VM Hardware Serial Demonstrates how to configure Serial ports for a VM. Sample Prerequisites: The sample needs an existing VM. This sample is a part of the VMware vSphere Automation SDK for ...
    vSphere Automation SDK for Python Python
    Download

    918 Downloads

    0 Comments

    Updated 3 years ago

  • vCenter VM Hardware Disk

    Contributor VMware Inc

    vCenter VM Hardware Disk Demonstrates how to configure disk settings for a VM. Sample Prerequisites: The sample needs an existing VM. This sample is a part of the VMware vSphere Automation SDK for ...
    vSphere Automation SDK for Python Python
    Download

    1018 Downloads

    0 Comments

    Updated 3 years ago

  • vCenter VM List VMs

    Contributor VMware Inc

    vCenter VM List VMs Demonstrates getting list of VMs present in vCenter Sample Prerequisites: vCenter/ESX   This sample is a part of the VMware vSphere Automation SDK for Python To build and run this ...
    vSphere Automation SDK for Python Python
    Download

    2549 Downloads

    0 Comments

    Updated 3 years ago

  • vCenter VM Power

    Contributor VMware Inc

    vCenter VM Power Demonstrates the virtual machine power lifecycle Sample Prerequisites: The sample needs an existing VM. This sample is a part of the VMware vSphere Automation SDK for Python To bu ...
    vSphere Automation SDK for Python Python
    Download

    1322 Downloads

    0 Comments

    Updated 3 years ago