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
- vRealize Automation Reporting - Reservation Network Capacity ReportThe Reservation Network Capacity Report workflow provides the ability to report on the IP availability for each Network Profile defined in one or many vRealize Automation instances. The Reservations l ...vRealize Orchestrator vRealize Automation vRO Package
- vRealize Automation Reporting - Compute Resource Status ReportThe Compute Resource Status Report workflow provides the ability to report on the status of each Compute Resource defined in one or many vRealize Automation instances. A list of the Reservations and F ...vRealize Automation vRealize Orchestrator vRO Package
- Retrieve reservation policy name from its ID in vROAfter the request, you will see only reservation policy ID (GUID) instead of its displayName so, you can use this code to retrieve reservation policy name for further execution or add a property and a ...vRealize Automation vCloud Automation Center SDK JavaScript
- Get Reservation Properties from vRA BusinessgroupThis example shows how to get all Reservations from a Businessgroup. The action returns a Array of Properties with informations about the reservations assigned to the Businessgroup.vRealize Orchestrator 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
- Get the Reservation of a vRA VMGet the Reservation of a vRA VMvRealize Automation vRealize Orchestrator Plug-in SDK JavaScript
- Get the Reservation Policy ID of a vRA ReservationGet the ID of the Reservation Policy of a vRA ReservationvRealize Automation vRealize Orchestrator Plug-in SDK JavaScript
- Get the network names of a vRA reservationGet the network names of a vRA reservation (using the CAFE plug-in)vRealize Automation vRealize Orchestrator Plug-in SDK JavaScript