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
- Get vRA Network ProfilesReturns the names of all network profiles defined in a vRA instancevRealize Automation vRealize Orchestrator JavaScript
- Bulk vRA VM Update Storage Reservation PolicyThis vRO Workflow will create csv files for vRA VMs doesn't have Storage Reservation Policy. Once the VM lists created the other workflow will do dry run/actual run to update the storage reservation p ...vRealize Automation vRealize Orchestrator Plug-in SDK vRealize Orchestrator vRO Package
- vRO Add and Extend Disks in Linux VMThis vRO Package contains workflows for vRA/VC VM add and extend disks on Linux VM.vRealize Orchestrator Plug-in SDK vRealize Orchestrator vRO Package
- Integrate Avamar backup with vRA through vROBased on the reservation policy or location is selected, this code will determine the Avamar domain to place the VM for backup. Based on the prefix set for policy name, it will filter all other polici ...vCloud Automation Center SDK vRealize Orchestrator Plug-in SDK vCloud Suite JavaScript
- Integrate LANDesk through vRA vRO using landesk webservices... we can add or remove vms from Landesk inventory using landesk webservices. I have given example to remove a vm during vRA decommission process. I used powershell to execute this command.vRealize Automation vRealize Orchestrator PowerShell
- Decrypt the secured value of the property which is not added machine requestIf you want to store the secured value in the property but it needs use on post provisioning of the existing VM (provisioned before implementing this functionality or add the functionality to non-vRA ...vRealize Orchestrator vRealize Automation Shell Script
- Get Shared Datastore for given ESXi Host Pool and VMGet shared datastored for given esxi host, virtual machine and resource pool. This code can also be used for vRA Change Reservation for a VM process.vSphere vRealize Automation vRealize Orchestrator Plug-in SDK JavaScript
- Get ESXi Host to Place the VM - DRS Placement.Get the ESXi host to place a vm when moving VM to different to cluster via API. This is part of changing VM's vRA Reservation when VMs moved/migrated to different cluster.vRealize Automation vRealize Orchestrator Plug-in SDK JavaScript
- Get Reservation Policy ID for Reservation PolicyThis is vRO action to get Reservation Policy ID for Reservation Policy.vRealize Orchestrator Plug-in SDK vRealize Automation JavaScript
- Get vRA Reservation ObjectGet vRA Reservation Object by using Reservation Name as string.vRealize Automation vRealize Orchestrator Plug-in SDK JavaScript