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

  • App Modernization

  • Cloud Management

  • Compute Virtualization

  • Desktop & App Virtualization

  • Developer Tools

  • Digital Workspace

  • Hybrid Cloud & Data Center Infrastructure

  • Hyperconverged Infrastructure

  • Multi-Cloud Operations

  • Private & Hybrid Cloud

  • Storage & Availability

  • Virtual Cloud Networking

  • Other Platform

Contributor

Language

1 - 10 of 10 Results Sample vRA7.4
  • Get vRA Network Profiles

    Contributor Trisha Navarro

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

    730 Downloads

    0 Comments

    Updated 4 years ago

  • Bulk vRA VM Update Storage Reservation Policy

    Contributor Selvakumar Jaganathan

    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

    448 Downloads

    0 Comments

    Updated 4 years ago

  • vRO Add and Extend Disks in Linux VM

    Contributor Selvakumar Jaganathan

    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

    1019 Downloads

    0 Comments

    Updated 4 years ago

  • Integrate Avamar backup with vRA through vRO

    Contributor Franc Stephen

    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

    625 Downloads

    0 Comments

    Updated 4 years ago

  • Integrate LANDesk through vRA vRO using landesk webservices

    Contributor Franc Stephen

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

    656 Downloads

    0 Comments

    Updated 4 years ago

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

    Contributor Franc Stephen

    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

    671 Downloads

    0 Comments

    Updated 4 years ago

  • Get Shared Datastore for given ESXi Host Pool and VM

    Contributor Selvakumar Jaganathan

    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

    768 Downloads

    0 Comments

    Updated 4 years ago

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

    Contributor Selvakumar Jaganathan

    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

    517 Downloads

    1 Favorite

    0 Comments

    Updated 4 years ago

  • Get Reservation Policy ID for Reservation Policy

    Contributor Selvakumar Jaganathan

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

    588 Downloads

    0 Comments

    Updated 4 years ago

  • Get vRA Reservation Object

    Contributor Selvakumar Jaganathan

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

    607 Downloads

    0 Comments

    Updated 4 years ago