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
- Java - Organization samplesJava sample for working with VMware Cloud on AWS OrganizationsVMware Cloud on AWS API vSphere Automation SDK for Java Java
- PowerCLI - Sample VMC Firewall Rules ManagementVMware Cloud on AWS PowerCLI sample module usage for Networking, find the module in the PowerShell Gallery here.VMware Cloud on AWS API VMware PowerCLI PowerShell
- 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
- PowerCLI - VMC Example ScriptVMware Cloud on AWS sample PowerCLI module usage, find the module in the PowerShell Gallery hereVMware PowerCLI VMware Cloud on AWS API PowerShell
- Create Delete SddcA python samples that demonstrates create and delete a SDDC. Install vSphere Automation Python SDK to run the sample: https://github.com/vmware/vsphere-automation-sdk-pythonvSphere Automation SDK for Python VMware Cloud on AWS API Python
- 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