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

  • 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 22 Results Sample VMware Cloud on AWS
  • Using Import-VApp to upload OVA or OVF to VMware Cloud on AWS

    Contributor lamw

    This is a sample that uploads an OVA into VMware Cloud on AWS using the PowerCLI Import-VApp cmdlet.  Requirements: VPN established between your onPrem environment and the Management Compute Gateway ...
    VMware Cloud on AWS VMware PowerCLI PowerShell
    Download

    202 Downloads

    1 Comment

    Updated 3 months ago

  • Java - Organization samples

    Contributor alanrenouf

    Java sample for working with VMware Cloud on AWS Organizations
    VMware Cloud on AWS API vSphere Automation SDK for Java Java
    Download

    558 Downloads

    0 Comments

    Updated 1 month ago

  • Deploy OVF Template

    Contributor tianhao64

    Demonstrates the workflow to deploy an OVF library item to a resource pool in VMware Cloud on AWS. Install vSphere Automation Python SDK to run the sample: https://github.com/vmware/vsphere-automation ...
    VMware Cloud on AWS API VMware Cloud on AWS vSphere Automation SDK for Python Python
    Download

    360 Downloads

    0 Comments

    Updated 2 months ago

  • Connect To vSphere With Default Sddc Password

    Contributor tianhao64

    A python sample that demonstrates how to connect to a vSphere in a SDDC using the initial cloud admin credentials. Install vSphere Automation Python SDK to run the sample: https://github.com/vmware/vs ...
    VMware Cloud on AWS API VMware Cloud on AWS Python
    Download

    376 Downloads

    0 Comments

    Updated 2 months ago

  • Curl example usage for VMware Cloud on AWS

    Contributor alanrenouf

    This sample shows how to use curl to authenticate with the VMware Cloud on AWS API's and perform a simple call to list the orgs
    VMware Cloud on AWS API VMware Cloud on AWS Shell Script
    Download

    343 Downloads

    0 Comments

    Updated 11 months ago

  • Automating the creation of 3rd Party Content Library directly on Amazon S3

    Contributor lamw

    vSphere Content Library supports the ability to create a "3rd Party Content Library" which can be backed by HTTP(s) endpoint. Historically, this required customers to store the content locally on a sy ...
    Other Platform Python
    Download

    439 Downloads

    0 Comments

    Updated 1 month ago

  • List services in VMware Cloud Services Platform using PowerShell

    Contributor lamw

    A PowerShell Module that provides two functions that interact with the VMware Cloud Services Platform (CSP) REST API. The Get-CSPAccessToken fucntion accepts in a Refresh Token retrieved from CSP and ...
    VMware PowerCLI VMware Cloud on AWS API VMware Cloud Services Platform (CSP) PowerShell
    Download

    297 Downloads

    0 Comments

    Updated 4 months ago

  • List services in VMware Cloud Services Platform using cURL

    Contributor lamw

    A sample that connects to the VMware Cloud Services Platform (CSP) REST API with Refresh Token and retrieves the CSP Access Token and list all available services for given user.  ./vmware-list-csp-se ...
    VMware Cloud on AWS API VMware Cloud Services Platform (CSP) Shell Script
    Download

    284 Downloads

    0 Comments

    Updated 9 months ago

  • Automating new Cloud Motion with vSphere Replication using HCX API

    Contributor lamw

    PowerShell Module for Hybrid Cloud Extension (HCX) API which enables a number of operations including automating the new Cloud Motion with vSphere Replication migration type using HCX API Please see h ...
    VMware Cloud on AWS VMware PowerCLI PowerShell
    Download

    267 Downloads

    0 Comments

    Updated 1 month ago

  • List Tasks

    Contributor tianhao64

    Demonstrates how to list tasks with given status Please install vSphere Automation Python SDK to run the sample: https://github.com/vmware/vsphere-automation-sdk-python
    vSphere Automation SDK for Python VMware Cloud on AWS Python
    Download

    78 Downloads

    0 Comments

    Updated 2 months ago