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 30 Results Sample VMware Cloud on AWS API
  • Configure Hybrid Linked Mode between Onprem VC and VMware cloud on AWS using REST API

    Contributor VIKAS SHITOLE

    ... # Author: Vikas Shitole   # Website: www.vThinkBeyondVM.com   # Product: VMware Cloud on AWS   # Description: Python script to configure Hybrid Linked Mode (HLM) between Onprem and VMC VC ...
    VMware Cloud on AWS vSphere Automation SDK for REST Python
    Download

    579 Downloads

    1 Comment

    Updated 1 year ago

  • List Tasks

    Contributor Tianhao He

    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

    477 Downloads

    0 Comments

    Updated 1 year ago

  • Cancel Task

    Contributor Tianhao He

    Demostrates how to cancel a running task in VMware Cloud on AWS. To run the sample, please first install vSphere Automation Python SDK: https://github.com/vmware/vsphere-automation-sdk-python
    VMware Cloud on AWS vSphere Automation SDK for Python VMware Cloud on AWS API Python
    Download

    491 Downloads

    0 Comments

    Updated 1 year ago

  • Retrieving useful VMC SDDC information using PowerShell

    Contributor William Lam

    More details can be found at https://www.virtuallyghetto.com/2018/09/using-vmc-api-to-answer-commonly-asked-questions-about-your-sddc.html Usage: Get-VMCSDDCSummary -Org $OrgName -Name $SddcName
    VMware Cloud on AWS VMware PowerCLI VMware Cloud Services Platform (CSP) VMware Cloud on AWS API PowerShell
    Download

    645 Downloads

    0 Comments

    Updated 1 month ago

  • Retrieving useful VMC SDDC information using cURL

    Contributor William Lam

    More details can be found at https://www.virtuallyghetto.com/2018/09/using-vmc-api-to-answer-commonly-asked-questions-about-your-sddc.html Usage: ./vmc_sddc_summary.sh $TOKEN $ORGID $SDDCID  
    VMware Cloud on AWS API VMware Cloud on AWS VMware Cloud Services Platform (CSP) Shell Script
    Download

    579 Downloads

    0 Comments

    Updated 2 months ago

  • Managing Public IP Addresses in VMC using PowerCLI

    Contributor William Lam

    The VMC module now contains three new functions to help manage Public IP Address in VMC from retrieving the current allocated IPs to requesting a new address and lastly to remove an address.  Get-VMC ...
    VMware Cloud on AWS VMware Cloud on AWS API VMware Cloud Services Platform (CSP) VMware PowerCLI PowerShell
    Download

    861 Downloads

    0 Comments

    Updated 1 month ago

  • Java - Organization samples

    Contributor Alan Renouf

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

    1578 Downloads

    1 Favorite

    0 Comments

    Updated 4 months ago

  • Connect To vSphere With Default Sddc Password

    Contributor Tianhao He

    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

    1457 Downloads

    0 Comments

    Updated 1 year ago

  • Export VMC Tasks to a CSV

    Contributor David Glading

    PowerCLI script to export tasks from VMware Cloud on AWS to a CSV file Requires VMC Module   
    VMware Cloud on AWS API VMware PowerCLI VMware Cloud on AWS PowerShell
    Download

    1013 Downloads

    0 Comments

    Updated 3 years ago

  • PowerCLI - Create 100 VMs from template

    Contributor Alan Renouf

    This example shows how to easily create 100s of VMs in the defualt locations in VMware Cloud on AWS
    VMware Cloud on AWS API VMware PowerCLI PowerShell
    Download

    1446 Downloads

    0 Comments

    Updated 3 years ago