vSAN Management API
|
| Local Properties | ||
| Managed Object Types | Data Object Types | All Properties | All Methods |
Data Object - CnsVolumeAttachDetachSpec(vim.cns.VolumeAttachDetachSpec)
- Parameter to
- CnsAttachVolume, CnsDetachVolume
- Extends
- DynamicData
- See also
- CnsVolumeId, VirtualMachine
- Since
- vSAN 6.7U3
Data Object Description
Data object for specifications for volume attach/detach operations.Properties
| Name | Type | Description |
|---|---|---|
| backingTypeName* | xsd:string |
Specifies the file backing type for the volume.
Valid values are defined in CnsVolumeBackingType
For dynamically provisioned volumes:
For statically provisioned volumes:
|
| 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.
Since 9.1.0.0 |
| diskMode* | xsd:string |
The disk persistence mode. Valid modes are
vim.vm.device.VirtualDiskOption.DiskMode#persistent
vim.vm.device.VirtualDiskOption.DiskMode#independent_persistent
vim.vm.device.VirtualDiskOption.DiskMode#independent_nonpersistent
vim.vm.device.VirtualDiskOption.DiskMode#nonpersistent
vim.vm.device.VirtualDiskOption.DiskMode#undoable
vim.vm.device.VirtualDiskOption.DiskMode#append
When unset, default mode is persistent(that also means
dependant persistent to CNS)
see VirtualDiskMode
Since 9.1.0.0 |
| sharing* | xsd:string |
The sharing mode of the virtual disk. Valid values are
vim.vm.device.VirtualDisk.Sharing#sharingNone
vim.vm.device.VirtualDisk.Sharing#sharingMultiWriter
When unset, default value is sharingNone
See VirtualDiskSharing
Since 9.1.0.0 |
| 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.
Since 9.1.0.0 |
| vm | ManagedObjectReference
to a VirtualMachine |
VirtualMachine to which this volume needs to be attached to.
|
| volumeEncrypted* | xsd:boolean |
Indicates whether the volume is encrypted.
When set to true, the volume is encrypted and vpxd API
AttachVStorageObject_Task will be called
for cryptographic key handling during batch attach operations.
When set to false, the volume is not encrypted and vpxd API
AttachVStorageObject_Task call
will be skipped.
When unset, regardless of the volume encryption status,
vpxd API AttachVStorageObject_Task will be
called to determine the volume encryption status and perform
cryptographic key handling if the volume is encrypted.
Note: AttachVStorageObject_Task call might
impact performance.
Since 9.1.0.0 |
| volumeId | CnsVolumeId |
Unique identifier and datastore information for the volume.
|
| Properties inherited from DynamicData | ||
| None | ||
Show WSDL type definition
| Top of page | Local Properties | ||
| Managed Object Types | Data Object Types | All Properties | All Methods |