Registry / networking / rbvmomi

rbvmomi

JSON →
library3.0.0rbrubygemsunverified

Ruby interface to the VMware vSphere API.

gem install rbvmomi
INSTALL
IMPORT
SIG · RBVMOMI
R
rbvmomi
networkingrubyv3.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RbVmomi
require 'rbvmomi'

Connect to a vCenter server and list datacenters.

require 'rbvmomi' vim = RbVmomi::VIM.connect(host: 'vcenter.example.com', user: 'admin', password: 'password', insecure: true) # List all datacenters datacenters = vim.serviceInstance.content.rootFolder.children puts datacenters.map(&:name)
Debug
Known issues
gotchaRbVmomi requires a connection to a VMware vSphere environment.
fix
Ensure you have valid credentials and network access to a vCenter or ESXi host.
affects: >= 1.0.0
Upgrade
Version history
3.0.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
Resources
rbvmomi — gem install rbvmomi · libregistry