Files
deb-python-pyvmomi/docs/vim/vm/device/VirtualDeviceSpec.rst
Shawn Hartsock c83651f5be pyvmomi RST docs do not properly show lists
Fixes RST documents to include list mark up when appropriate.

closes: https://github.com/vmware/pyvmomi/issues/76
2014-08-13 14:49:24 -04:00

1.8 KiB

vim.vm.device.VirtualDeviceSpec

The VirtualDeviceSpec data object type encapsulates change specifications for an individual virtual device. The virtual device being added or modified must be fully specified.

extends

vmodl.DynamicData

Attributes:

operation (vim.vm.device.VirtualDeviceSpec.Operation, optional):

Type of operation being performed on the specified virtual device. If no operation is specified, the spec. is ignored.

fileOperation (vim.vm.device.VirtualDeviceSpec.FileOperation, optional):

Type of operation being performed on the backing of the specified virtual device. If no file operation is specified in the VirtualDeviceSpec, then any backing filenames in the VirtualDevice must refer to files that already exist. The "replace" and "delete" values for this property are only applicable to virtual disk backing files.

device (vim.vm.device.VirtualDevice):

Device specification, with all necessary properties set.

profile ([vim.vm.ProfileSpec], optional):

Virtual Device Profile requirement. Profiles are solution specifics. Storage Profile Based Management(SPBM) is a vSphere server extension. The API users who want to provision VMs using Storage Profiles, need to interact with SPBM service. This is an optional parameter and if user doesn't specify profile, the default behavior will apply.