Class: FFI::VixDiskLib::API::ConnectParams_1_0_0

Inherits:
Struct
  • Object
show all
Defined in:
lib/ffi-vix_disk_lib/struct.rb

Overview

ConnectParams - Connection setup parameters.

vmxSpec is required for opening a virtual disk on a datastore through the Virtual Center or ESX server. vmxSpec is of the form: <vmxPathName>?dcPath=<dcpath>&dsName=<dsname> where vmxPathName is the fullpath for the VMX file, dcpath is the inventory path of the datacenter and dsname is the datastore name.

Inventory path for the datacenter can be read off the Virtual Center client’s inventory tree.

Example VM spec: “MyVm/MyVm.vmx?dcPath=Path/to/MyDatacenter&dsName=storage1”