Virtual Disk API Programming Guide - Documentation - VMware
Virtual Disk API Programming Guide - Documentation - VMware
Virtual Disk API Programming Guide - Documentation - VMware
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
dynamicType = ,<br />
operation = "add",<br />
fileOperation = ,<br />
// CDROM<br />
device = (vim.vm.device.<strong>Virtual</strong>Cdrom) {<br />
dynamicType = ,<br />
// key number of CDROM<br />
key = -42,<br />
deviceInfo = (vim.Description) null,<br />
backing = (vim.vm.device.<strong>Virtual</strong>Cdrom.RemotePassthroughBackingInfo) {<br />
dynamicType = ,<br />
deviceName = "",<br />
useAutoDetect = ,<br />
exclusive = false,<br />
},<br />
connectable = (vim.vm.device.<strong>Virtual</strong>Device.ConnectInfo) {<br />
dynamicType = ,<br />
startConnected = false,<br />
allowGuestControl = true,<br />
connected = false,<br />
},<br />
// connects to this controller<br />
controllerKey = 200,<br />
unitNumber = 0,<br />
},<br />
},<br />
(vim.vm.device.<strong>Virtual</strong>DeviceSpec) {<br />
dynamicType = ,<br />
operation = "add",<br />
fileOperation = ,<br />
// SCSI controller<br />
device = (vim.vm.device.<strong>Virtual</strong>LsiLogicController) {<br />
dynamicType = ,<br />
// key number of SCSI controller<br />
key = -44,<br />
deviceInfo = (vim.Description) null,<br />
backing = (vim.vm.device.<strong>Virtual</strong>Device.BackingInfo) null,<br />
connectable = (vim.vm.device.<strong>Virtual</strong>Device.ConnectInfo) null,<br />
controllerKey = ,<br />
unitNumber = ,<br />
busNumber = 0,<br />
hotAddRemove = ,<br />
sharedBus = "noSharing",<br />
scsiCtlrUnitNumber = ,<br />
},<br />
},<br />
(vim.vm.device.<strong>Virtual</strong>DeviceSpec) {<br />
dynamicType = ,<br />
operation = "add",<br />
fileOperation = ,<br />
// Network controller<br />
device = (vim.vm.device.<strong>Virtual</strong>PCNet32) {<br />
dynamicType = ,<br />
// key number of Network controller<br />
key = -48,<br />
deviceInfo = (vim.Description) null,<br />
backing = (vim.vm.device.<strong>Virtual</strong>EthernetCard.NetworkBackingInfo) {<br />
dynamicType = ,<br />
deviceName = "<strong>Virtual</strong> Machine Network",<br />
useAutoDetect = ,<br />
network = ,<br />
inPassthroughMode = ,<br />
},<br />
connectable = (vim.vm.device.<strong>Virtual</strong>Device.ConnectInfo) {<br />
dynamicType = ,<br />
startConnected = true,<br />
allowGuestControl = true,<br />
connected = true,<br />
Designing vSphere Backup Solutions<br />
<strong>VMware</strong>, Inc. 75