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

SDK / Platform / Tool

  • Automation Tools

  • Cloud Management Platform

  • Cloud Native Applications

  • Data Center & Cloud Infrastructure

  • Desktop & Application Virtualization

  • Enterprise Mobility Management

  • Hybrid Cloud & Data Center Infrastructure

  • Networking & Security

  • Storage & Availability

  • Other Platform

Contributor

Language

1 - 10 of 10 Results Sample vRA7.4
  • Integrate Avamar backup with vRA through vRO

    Contributor fstephen

    Based 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
    Download

    253 Downloads

    0 Comments

    Updated 8 months ago

  • Bulk vRA VM Update Storage Reservation Policy

    Contributor sjaganat16

    This 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
    Download

    115 Downloads

    0 Comments

    Updated 8 months ago

  • vRO Add and Extend Disks in Linux VM

    Contributor sjaganat16

    This vRO Package contains workflows for vRA/VC VM add and extend disks on Linux VM.
    vRealize Orchestrator Plug-in SDK vRealize Orchestrator vRO Package
    Download

    328 Downloads

    0 Comments

    Updated 8 months ago

  • Get Shared Datastore for given ESXi Host Pool and VM

    Contributor sjaganat16

    Get 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
    Download

    315 Downloads

    0 Comments

    Updated 9 months ago

  • Get ESXi Host to Place the VM - DRS Placement.

    Contributor sjaganat16

    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
    Download

    245 Downloads

    1 Favorite

    0 Comments

    Updated 9 months ago

  • Get Reservation Policy ID for Reservation Policy

    Contributor sjaganat16

    This is vRO action to get Reservation Policy ID for Reservation Policy.
    vRealize Orchestrator Plug-in SDK vRealize Automation JavaScript
    Download

    205 Downloads

    0 Comments

    Updated 9 months ago

  • Get vRA Reservation Object

    Contributor sjaganat16

    Get vRA Reservation Object by using Reservation Name as string.
    vRealize Automation vRealize Orchestrator Plug-in SDK JavaScript
    Download

    250 Downloads

    0 Comments

    Updated 9 months ago

  • Integrate LANDesk through vRA vRO using landesk webservices

    Contributor fstephen

    ... 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
    Download

    239 Downloads

    0 Comments

    Updated 8 months ago

  • Decrypt the secured value of the property which is not added machine request

    Contributor fstephen

    If 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
    Download

    261 Downloads

    0 Comments

    Updated 8 months ago

  • Get vRA Network Profiles

    Contributor tnavarro1

    Returns the names of all network profiles defined in a vRA instance
    vRealize Automation vRealize Orchestrator JavaScript
    Download

    207 Downloads

    0 Comments

    Updated 4 months ago

;