vSphere Web Services API


Data Object - VStorageObjectAttachSpec(vim.vslm.VStorageObjectAttachSpec)

Extends
DynamicData
See also
Datastore, ID
Since
vSphere API Release 9.1.0.0

Data Object Description

This data type defines the specification for one volume to be attached to virtual machine.

Properties

Name Type Description
controllerKey*xsd:int

Key of the controller the disk will connect to. It can be unset if there is only one controller (SCSI/SATA/NVMe) with the available slot in the virtual machine. If there are multiple SCSI/SATA/NVMe controllers available, user must specify the controller; if there is no available controllers, a MissingController fault will be thrown.
datastoreManagedObjectReference
to a Datastore

datastore where the volume is located.
diskMode*xsd:string

The disk persistence mode. Supported modes are listed in VirtualDiskMode When unset, default mode is vim.vm.device.VirtualDiskOption#persistent (that also means dependent persistent to CNS) see VirtualDiskMode
sharing*xsd:string

The sharing mode of the virtual disk. Supported modes are listed in VirtualDiskSharing When unset, default value is vim.vm.device.VirtualDisk.Sharing#sharingNone See VirtualDiskSharing
unitNumber*xsd:int

The unit number of the disk to be attached on its controller. If unset, the next free slot on the specified controller or on the only available controller will be assigned to the attached disk.
volumeIdID

The ID of the virtual disk to be operated. See ID
Properties inherited from DynamicData
None
*Need not be set
Show WSDL type definition