vSphere

The vSphere provider for Pulumi can be used to provision any of the cloud resources available in vSphere. The vSphere provider must be configured with credentials to deploy and update resources in vSphere.

See the full API documentation for complete details of the available vSphere provider APIs.

Setup

The vSphere provider supports several options for providing access to vSphere credentials. See vSphere setup page for details.

Example

const vsphere = require("@pulumi/vsphere")
const dc = new vsphere.Datacenter("my-dc", {
  name: "Production-DataCenter",
});
import * as vsphere from "@pulumi/vsphere";
const dc = new vsphere.Datacenter("my-dc", {
  name: "Production-DataCenter",
});
import pulumi_vsphere as vsphere
dc = vsphere.Datacenter("my-dc",
  name='Production-DataCenter',
)
import (
    vsphere "github.com/pulumi/pulumi-vsphere/sdk/go/vsphere"
)
dc, _ := vsphere.NewDatacenter(ctx, "test", &vsphere.DatacenterArgs{
  Name: "Production-DataCenter"
})
using System.Threading.Tasks;
using Pulumi;
using Pulumi.Vsphere;

class Program
{
    static Task Main() =>
        Deployment.Run(() => {
            var dc = new Vsphere.Datacenter("my-dc", new Vsphere.DatacenterArgs
            {
                Name = "Production-DataCenter",
            });
        });
}

Libraries

The following packages are available in packager managers:

The vSphere provider is open source and available in the pulumi/pulumi-vsphere repo.