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
- Retrieving useful VMC SDDC information using cURLMore 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 $SDDCIDVMware Cloud on AWS API VMware Cloud on AWS VMware Cloud Services Platform (CSP) Shell Script
- Java - Organization samplesJava sample for working with VMware Cloud on AWS OrganizationsVMware Cloud on AWS API vSphere Automation SDK for Java Java
- List services in VMware Cloud Services Platform using PowerShellA 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
- Managing Public IP Addresses in VMC using PowerCLIThe 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
- Retrieving useful VMC SDDC information using PowerShellMore 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 $SddcNameVMware Cloud on AWS VMware PowerCLI VMware Cloud Services Platform (CSP) VMware Cloud on AWS API PowerShell
- List services in VMware Cloud Services Platform using cURLA 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-ser ...VMware Cloud on AWS API VMware Cloud Services Platform (CSP) Shell Script
- 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
- vSphere Automation REST API Postman Resources and SamplesvSphere and VMware Cloud on AWS API Postman Resources and Samples These three files provide API resources and example end to end scenarios that you can import in to Postman to execute. vSphere-Autom ...vSphere Automation SDK for REST POSTMAN Collection
- Configure Hybrid Linked Mode between Onprem VC and VMware cloud on AWS using REST API... # 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
- Organization OperationsPython 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-pythonVMware Cloud on AWS API vSphere Automation SDK for Python Python