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 30 Results Sample VMware Cloud on AWS API
  • 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

    313 Downloads

    0 Comments

    Updated 2 months ago

  • Cancel Task

    Contributor tianhao64

    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

    410 Downloads

    0 Comments

    Updated 2 months ago

  • AWS Integrations - Send SDDC Inventory Data to Slack Channel

    Contributor Brian_Graf

    Use AWS Lambda and Slack integrations to send inventory updates of your SDDC to a slack channel.
    VMware Cloud on AWS API Other Platform Python
    Download

    1253 Downloads

    0 Comments

    Updated 2 years ago

  • AWS Integrations - Serverless Self-Service VM Deployment

    Contributor Brian_Graf

    Use S3, Lambda, Cognito, and VMware APIs to create a static S3 website to deploy VMs from Content Library
    VMware Cloud on AWS API vSphere Automation SDK for Python Python
    Download

    618 Downloads

    0 Comments

    Updated 2 years ago

  • REST - GET VMC SDDC Firewall Rules

    Contributor codydearkland

    This script returns the firewall rule name and index number for all firewall rules in a VMware Cloud on AWS SDDC. You can continue to parse the "fwedge.json()['firewallRules']['firewallRules']" JSON r ...
    VMware Cloud on AWS API Other Platform Python
    Download

    783 Downloads

    0 Comments

    Updated 2 years ago

  • REST - GET SDDC Data with Python

    Contributor codydearkland

    Simple Python script to return basic SDDC facts for an Organization. F-Strings are used from Python 3.6. You can replace these with concatenate's if you don't want to leverage 3.6. 
    VMware Cloud on AWS API Other Platform Python
    Download

    779 Downloads

    0 Comments

    Updated 2 years ago

  • Organization Operations

    Contributor tianhao64

    Python sample for working with VMware Cloud on AWS Organizations. Install vSphere Automation Python SDK to run the sample: https://github.com/vmware/vsphere-automation-sdk-python
    VMware Cloud on AWS API vSphere Automation SDK for Python Python
    Download

    928 Downloads

    0 Comments

    Updated 2 months ago

  • Add Remove Hosts

    Contributor tianhao64

    A python sample that demonstrates add and remove ESX hosts. Install vSphere Automation Python SDK to run the sample: https://github.com/vmware/vsphere-automation-sdk-python
    VMware Cloud on AWS API vSphere Automation SDK for Python Python
    Download

    1015 Downloads

    0 Comments

    Updated 7 months ago

  • L2 VPN vMotion On Prem To VMC

    Contributor Brian_Graf

    This script will allow you to easily move one or more virtual machines from on-premises to VMware Cloud on AWS if you have the required networking configured (Layer 2 VPN & Direct Connect at this time ...
    VMware Cloud on AWS API VMware PowerCLI PowerShell
    Download

    671 Downloads

    0 Comments

    Updated 2 years ago

  • VMware Cloud on AWS Terraform Example use cases

    Contributor vm2cloud

    Use Terraform to provision VM's to VMware Cloud on AWS. See full guide here http://www.vmtocloud.com/how-to-use-terraform-with-vmware-cloud-on-aws/
    vSphere Automation SDK for REST VMware Cloud on AWS API Other Language
    Download

    742 Downloads

    0 Comments

    Updated 2 years ago

;