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
- generate vc support BundleThis sample helps to create the vCenter support bundle. At the end of execution, the script provides the link to download the vc support bundle. Sample usage generate-vc-suuport_bundle.py --vc_ip \\\' ...vSphere Automation SDK for REST Python
- vCenter services health status verificationThe given sample helps in verifying the vCenter health status.\r\nThis sample can be typically used in the post-life cycle operations of vCenter to determine whether all of the vCenter services succes ...vSphere Automation SDK for REST Python
- A kubectl style command line tool to interact with vSphere 7 with Kubernetes Supervisor Cluster.WCPCTL WCPCTL A kubectl style command line tool to interact with vSphere 7 with Tanzu Supervisor Cluster. Now with support for vSphere 7.0 U1. This can be used to spin up NSX-T or vSphere NW based Sup ...vSphere Automation SDK for REST Python
- 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
- Encender maquina virtual con Node.JSEjemplo de como apagar una maquina virtual utilizando la API REST de VMware en Node.jsvSphere Automation SDK for REST JavaScript
- Apagar maquina virtual con Python 3.XEjemplo de c--mo apagar una m--quina virtual utilizando la API REST de VMware en Python 3.xvSphere Automation SDK for REST Python
- vSphere 6.7 Rest API - get templates in content libraryI have been working with vCenter 6.7 Rest API. Customer ask to get templates from content library. Looked everywhere, but details could not be found. Decent amount of trial and error to get working ...vSphere Automation SDK for REST Shell Script
- vSphere with Kubernetes -- Python script to Configure-Enable vSphere Supervisor Cluster-REST APIs... # Author: Vikas Shitole # Description: Python script to configure/enable vSphere Supervisor cluster on the given cluster # Reference: https://vthinkbeyondvm.com/script-to-configure-vsphere-supervi ...vSphere Automation SDK for REST Python
- vSphere with Kubernetes -- Python script to create vSphere namespaces on Supervisor later... # Author : Vikas Shitole # Description: Python script to create namespace on the top of vSphere Supervisor cluster # Reference: https://vthinkbeyondvm.com/script-to-configure-vsphere-supervisor-cl ...vSphere Automation SDK for REST Python
- 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