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 20 Results Sample NSX
  • vRA-3-Tier-Application

    Contributor SamMcGeownVMW

    An example three tier application deployed by vRealize Automation using CentOS7 as a base, NGINX, Apache+PHP and MariaDB. Full details are covered here: https://www.definit.co.uk/2018/03/three-tier-ap ...
    vRealize Automation vRA Blueprint
    Download

    409 Downloads

    0 Comments

    Updated 11 months ago

  • Basic Kubernetes Tests with PKS

    Contributor kendrickcoleman

    Basic Kubernetes Tests with PKS When creating a new PKS cluster, there needs to be a starting point. How do you verify everything is working as it should? This set of instructions I built for myself a ...
    PKS Shell Script
    Download

    192 Downloads

    0 Comments

    Updated 9 months ago

  • vRealize Automation - NSX Integration

    Contributor VMware

    vRealize Automation - NSX Integration NSX integration in vRealize Automation can help creating and configuring existing networks, on-demand NAT networks and on-demand routed networks, creating load ba ...
    vRealize Automation api_vra_network POSTMAN Collection
    Download

    953 Downloads

    0 Comments

    Updated 2 months ago

  • NSX Playground

    Contributor tsugliani

    .SYNOPSIS This function establishes a connection to the NSX API .DESCRIPTION This function establishes a connection to NSX API .PARAMETER method Specify the REST Method to use (GET/PUT/POST/DELETE)" . ...
    NSX for vSphere VMware PowerCLI PowerShell
    Download

    1859 Downloads

    1 Favorite

    0 Comments

    Updated 3 years ago

  • NSX Deploy Services

    Contributor tsugliani

    Deploy Guest Introspection & Data Security
    VMware PowerCLI NSX for vSphere PowerShell
    Download

    1701 Downloads

    0 Comments

    Updated 3 years ago

  • NSX Resolve Issues

    Contributor tsugliani

    FIX NSX Cluster Status seen as unresolved.
    VMware PowerCLI NSX for vSphere PowerShell
    Download

    1595 Downloads

    0 Comments

    Updated 3 years ago

  • Python code to use the NSX Manager REST API interface

    Contributor joshualevy

    This Python script shows how to make basic REST API calls to an NSX Manager Server.  It shows how to use basic authorization, and how to get data back as XML for JSON. dvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv ...
    Other Platform Python
    Download

    1097 Downloads

    0 Comments

    Updated 2 years ago

  • Download a Support Bundle from an NSX Manager Using the REST API Interface

    Contributor joshualevy

    Shows the two step process of downloading a support bundle from an NSX Manager machine.  Uses basic authentication, a POST request and a GET request, all in Python.
    Other Platform Python
    Download

    535 Downloads

    0 Comments

    Updated 2 years ago

  • PowerCLI - Set Network Adapter to be an Opaque Network

    Contributor kmruddyVMW

    Sample code provided as part of KB: 65149 - https://kb.vmware.com/s/article/65149
    vSphere NSX-T PowerShell
    Download

    173 Downloads

    0 Comments

    Updated 4 months ago

  • Python - Set Network Adapter to be an Opaque Network

    Contributor kmruddyVMW

    Change a VM's network adaptor to be an NSX-T provisioned opaque network, via KB66907: https://kb.vmware.com/s/article/66907
    NSX-T vSphere Python
    Download

    166 Downloads

    0 Comments

    Updated 4 months ago