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 69 Results Sample vSphere Management OSS
  • SDRSRules

    Contributor VMware Inc

    SDRSRules This sample demonstrates how to Add/List/Modify/Delete the rules for an existing SDRS cluster. Parameters: url [required]: url of the web service. username [required]: username for the authe ...
    vSphere Management SDK Java
    Download

    260 Downloads

    0 Comments

    Updated 5 years ago

  • CreateStorageDRS

    Contributor VMware Inc

    CreateStorageDRS This sample demonstrates how to create Storage DRS Parameters: url [required]: url of the web service. username [required]: username for the authentication password [required]: passwo ...
    vSphere Management SDK Java
    Download

    191 Downloads

    0 Comments

    Updated 5 years ago

  • OVFManagerExportVAPP

    Contributor VMware Inc

    OVFManagerExportVAPP This sample demonstrates OVFManager. Exports VMDK's and OVF Descriptor of all VM's in the vApps Parameters: username [required]: username for the authentication password [required ...
    vSphere Management SDK Java
    Download

    204 Downloads

    0 Comments

    Updated 5 years ago

  • SDRSRecommendation

    Contributor VMware Inc

    SDRSRecommendation This sample demonstrates how to Run the Storage DRS on a given SDRS cluster and show the list of recommendations generated by SDRS. Parameters url [required]: url of the web service ...
    vSphere Management SDK Java
    Download

    177 Downloads

    0 Comments

    Updated 5 years ago

  • DeleteOneTimeScheduledTask

    Contributor VMware Inc

    DeleteOneTimeScheduledTask This sample demonstrates deleting a scheduled task Parameters: url [required] : url of the web service username [required] : username for the authentication password [requir ...
    vSphere Management SDK Java
    Download

    162 Downloads

    0 Comments

    Updated 5 years ago

  • CreateUser

    Contributor VMware Inc

    CreateUser The CreateUser class creates a user account and password stores them the local credential store. CreateUser should be used in conjunction with the {@link SimpleAgent} sample application onl ...
    vSphere Management SDK Java
    Download

    240 Downloads

    0 Comments

    Updated 5 years ago

  • OneTimeScheduledTask

    Contributor VMware Inc

    OneTimeScheduledTask This sample demonstrates creation of ScheduledTask using the ScheduledTaskManager Parameters: url [required] : url of the web service. username [required] : username for the authe ...
    vSphere Management SDK Java
    Download

    156 Downloads

    0 Comments

    Updated 5 years ago

  • WeeklyRecurrenceScheduledTask

    Contributor VMware Inc

    WeeklyRecurrenceScheduledTask This sample demonstrates creation of weekly recurring ScheduledTask using the ScheduledTaskManager Parameters: url [required] : url of the web service username [required] ...
    vSphere Management SDK Java
    Download

    115 Downloads

    0 Comments

    Updated 5 years ago

  • SimpleAgent

    Contributor VMware Inc

    SimpleAgent The SimpleAgent class uses the local credential store to obtain user account and password information, for automated logon to the target host system. SimpleAgent can be used with {@link Cr ...
    vSphere Management SDK Java
    Download

    243 Downloads

    0 Comments

    Updated 5 years ago

  • VMotion

    Contributor VMware Inc

    VMotion Used to validate if VMotion is feasible between two hosts or not, It is also used to perform migrate/relocate task depending on the data given Parameters: url [required] : url of the web servi ...
    vSphere Management SDK Java
    Download

    217 Downloads

    0 Comments

    Updated 5 years ago