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
- Enable vSphere Supervisor Kubernetes Cluster using JavaThis class is to enable vSphere Kubernetes cluster Description: -------------- - This class is used to enable vSphere Kubernetes cluster(supervisor cluster) on a given cluster using Java Rest APIs. - ...vSphere Automation SDK for Java Java
- Basic workflow to publish and subscribe content librariesBasic workflow to publish and subscribe content libraries. This sample is a part of the vSphere Automation SDK for Java. If you wish to build and run the sample, clone or download the vSphere Automati ...vSphere Automation SDK for Java Java
- Tagging Create Read Update Delete operationsTagging Create, Read, Update, Delete operations. This sample is a part of the vSphere Automation SDK for Java. If you wish to build and run the sample, clone or download the vSphere Automation SDK for ...vSphere Automation SDK for Java Java
- Workflows to import an OVF package into a content library and download of an OVF template from a content libraryWorkflows to import an OVF package into a content library, and download of an OVF template from a content library. This sample is a part of the vSphere Automation SDK for Java. If you wish to build an ...vSphere Automation SDK for Java Java
- Create a VM with system provided defaultsCreate a VM with system provided defaults. This sample is a part of the vSphere Automation SDK for Java. If you wish to build and run the sample, clone or download the vSphere Automation SDK for Java ...vSphere Automation SDK for Java Java
- Workflow to capture a virtual machine into a content library asa vm templateWorkflow to capture a virtual machine into a content library asa vm template. This sample is a part of the vSphere Automation SDK for Java. If you wish to build and run the sample, clone or download t ...vSphere Automation SDK for Java Java
- Create an SSO connection using a SAML Bearer token when we have a vcenter server and external Platform Services ControllerCreate an SSO connection using a SAML Bearer token when we have a vcenter server and external Platform Services Controller. This sample is a part of the vSphere Automation SDK for Java. If you wish to ...vSphere Automation SDK for Java Java
- Get list of VMs present in vCenterGet list of VMs present in vCenter. This sample is a part of the vSphere Automation SDK for Java. If you wish to build and run the sample, clone or download the vSphere Automation SDK for Java reposit ...vSphere Automation SDK for Java Java
- Create an SSO connection using a SAML Bearer token when we have a vcenter server and embedded Platform Services ControllerCreate an SSO connection using a SAML Bearer token when we have a vcenter server and embedded Platform Services Controller. This sample is a part of the vSphere Automation SDK for Java. If you wish to ...vSphere Automation SDK for Java Java
- Create an exhaustive VMCreate an exhaustive VM with the following configuration - 3 disks, 2 nics, 2 vcpu, 2 GB, memory, boot=BIOS, 1 cdrom, 1 serial port, 1 parallel port, 1 floppy, boot_device=[CDROM, DISK, ETHERNET]). Th ...vSphere Automation SDK for Java Java