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
Type
SDK / Platform / Tool
Contributor
Language
- Sample Terraform Configuration file validated with a VMware Cloud on AWS vCenterSample Terraform Configuration file validated with a VMware Cloud on AWS vCenter Nico's Terraform Scripts These scripts are for Terraform for vSphere. You will need to download provider.tf, vars.tf an ...VMware Cloud on AWS Other Language
- Sample Packer Configuration file validated with a VMware Cloud on AWS vCenterSample Packer Configuration file validated with a VMware Cloud on AWS vCenter packervmc Template of a working Packer template with VMware Cloud on AWS. Instructions Download Packer for your platfor ...VMware Cloud on AWS Other Language
- Java - Organization samplesJava sample for working with VMware Cloud on AWS OrganizationsVMware Cloud on AWS API vSphere Automation SDK for Java Java
- Postman REST Samples for VMware Cloud on AWSThis sample includes a postman collection for VMware Cloud on AWSvSphere Management SDK VMware Cloud on AWS API POSTMAN Collection
- List Folders on a VSAN Datastore using PowerCLIThis sample lists the "friendly name" of the top level folders of a VSAN Datastore. VSAN uses UUID to reference everythign and you just need to use the vSphere API to translate to the friendly name pr ...VMware Cloud on AWS VMware PowerCLI PowerShell
- Connect To vSphere With Default Sddc PasswordA 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
- Export VMC Tasks to a CSVPowerCLI script to export tasks from VMware Cloud on AWS to a CSV file Requires VMC ModuleVMware Cloud on AWS API VMware PowerCLI VMware Cloud on AWS PowerShell
- VMware on AWS - 1 Node SDDC DeploymentUse this script to easily deploy a 1 Node SDDC!VMware Cloud on AWS VMware Cloud on AWS API PowerShell
- Deploy OVF TemplateDemonstrates 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
- Deploy VMC SDDC via Datacenter CLIA shell script to create a new SDDC on VMware Cloud on AWS using Datacenter CLI (DCLI) which works on Mac/Linux & Windows and JQ. * Requires you to log into DCLI at least once and store the refresh to ...VMware Cloud on AWS VMware Cloud on AWS API Shell Script