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
  • RunProgram

    Contributor VMware Inc

    RunProgram This sample runs a specified program inside a virtual machine with output re-directed to a temporary file inside the guest and downloads the output file. Parameters: url [required] : url of ...
    vSphere Management SDK Java
    Download

    188 Downloads

    0 Comments

    Updated 5 years ago

  • History

    Contributor VMware Inc

    History This sample reads performance measurements from the current time. Parameters: url [required]: url of the web service. username [required]: username for the authentication Password [required]: ...
    vSphere Management SDK Java
    Download

    640 Downloads

    0 Comments

    Updated 5 years ago

  • VIUsage

    Contributor VMware Inc

    VIUsage This sample creates a GUI for graphical representation of the counters Parameters: url [required] : url of the web service username [required] : username for the authentication password [requi ...
    vSphere Management SDK Java
    Download

    284 Downloads

    0 Comments

    Updated 5 years ago

  • RealTime

    Contributor VMware Inc

    RealTime This sample displays performance measurements from the current time at the console Parameters: url [required] : url of the web service username [required] : username for the authentication pa ...
    vSphere Management SDK Java
    Download

    315 Downloads

    0 Comments

    Updated 5 years ago

  • Basics

    Contributor VMware Inc

    Basics This sample displays available performance counters or other data for an requested ESX system. Output is in following report style: Performance Interval: Interval Name Interval Period Interval ...
    vSphere Management SDK Java
    Download

    325 Downloads

    0 Comments

    Updated 5 years ago

  • VMPowerStateAlarm

    Contributor VMware Inc

    VMPowerStateAlarm This sample which creates an Alarm to monitor the virtual machine's power state Parameters: url [required] : url of the web service username [required] : username for the authenticat ...
    vSphere Management SDK Java
    Download

    259 Downloads

    0 Comments

    Updated 5 years ago

  • OVFManagerImportVAppFromUrl

    Contributor VMware Inc

    OVFManagerImportVAppFromUrl This class can be used import or deploy an OVF Appliance from the specified URL. Due to some issue with Jax WS deserialization, "HttpNfcLeaseState" is deserialized as an XM ...
    vSphere Management SDK Java
    Download

    210 Downloads

    0 Comments

    Updated 5 years ago

  • OVFManagerImportLocalVApp

    Contributor VMware Inc

    OVFManagerImportLocalVApp This class can be used import or deploy an OVF Appliance from the Local drive. Due to some issue with JAX-WS deserialization, "HttpNfcLeaseState" is deserialized as an XML El ...
    vSphere Management SDK Java
    Download

    225 Downloads

    0 Comments

    Updated 5 years ago

  • 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

    243 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

    187 Downloads

    0 Comments

    Updated 5 years ago