public class VirtualDisk extends VirtualDevice
Java class for VirtualDisk complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="VirtualDisk">
<complexContent>
<extension base="{urn:vim25}VirtualDevice">
<sequence>
<element name="capacityInKB" type="{http://www.w3.org/2001/XMLSchema}long"/>
<element name="capacityInBytes" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="shares" type="{urn:vim25}SharesInfo" minOccurs="0"/>
<element name="storageIOAllocation" type="{urn:vim25}StorageIOAllocationInfo" minOccurs="0"/>
<element name="diskObjectId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="vFlashCacheConfigInfo" type="{urn:vim25}VirtualDiskVFlashCacheConfigInfo" minOccurs="0"/>
<element name="iofilter" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="vDiskId" type="{urn:vim25}ID" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Long |
capacityInBytes |
protected long |
capacityInKB |
protected String |
diskObjectId |
protected List<String> |
iofilter |
protected SharesInfo |
shares |
protected StorageIOAllocationInfo |
storageIOAllocation |
protected ID |
vDiskId |
protected VirtualDiskVFlashCacheConfigInfo |
vFlashCacheConfigInfo |
backing, connectable, controllerKey, deviceInfo, key, slotInfo, unitNumber| Constructor and Description |
|---|
VirtualDisk() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getCapacityInBytes()
Gets the value of the capacityInBytes property.
|
long |
getCapacityInKB()
Gets the value of the capacityInKB property.
|
String |
getDiskObjectId()
Gets the value of the diskObjectId property.
|
List<String> |
getIofilter()
Gets the value of the iofilter property.
|
SharesInfo |
getShares()
Gets the value of the shares property.
|
StorageIOAllocationInfo |
getStorageIOAllocation()
Gets the value of the storageIOAllocation property.
|
ID |
getVDiskId()
Gets the value of the vDiskId property.
|
VirtualDiskVFlashCacheConfigInfo |
getVFlashCacheConfigInfo()
Gets the value of the vFlashCacheConfigInfo property.
|
void |
setCapacityInBytes(Long value)
Sets the value of the capacityInBytes property.
|
void |
setCapacityInKB(long value)
Sets the value of the capacityInKB property.
|
void |
setDiskObjectId(String value)
Sets the value of the diskObjectId property.
|
void |
setShares(SharesInfo value)
Sets the value of the shares property.
|
void |
setStorageIOAllocation(StorageIOAllocationInfo value)
Sets the value of the storageIOAllocation property.
|
void |
setVDiskId(ID value)
Sets the value of the vDiskId property.
|
void |
setVFlashCacheConfigInfo(VirtualDiskVFlashCacheConfigInfo value)
Sets the value of the vFlashCacheConfigInfo property.
|
getBacking, getConnectable, getControllerKey, getDeviceInfo, getKey, getSlotInfo, getUnitNumber, setBacking, setConnectable, setControllerKey, setDeviceInfo, setKey, setSlotInfo, setUnitNumberprotected long capacityInKB
protected Long capacityInBytes
protected SharesInfo shares
protected StorageIOAllocationInfo storageIOAllocation
protected String diskObjectId
protected VirtualDiskVFlashCacheConfigInfo vFlashCacheConfigInfo
protected ID vDiskId
public long getCapacityInKB()
public void setCapacityInKB(long value)
public Long getCapacityInBytes()
Longpublic void setCapacityInBytes(Long value)
value - allowed object is
Longpublic SharesInfo getShares()
SharesInfopublic void setShares(SharesInfo value)
value - allowed object is
SharesInfopublic StorageIOAllocationInfo getStorageIOAllocation()
StorageIOAllocationInfopublic void setStorageIOAllocation(StorageIOAllocationInfo value)
value - allowed object is
StorageIOAllocationInfopublic String getDiskObjectId()
Stringpublic void setDiskObjectId(String value)
value - allowed object is
Stringpublic VirtualDiskVFlashCacheConfigInfo getVFlashCacheConfigInfo()
VirtualDiskVFlashCacheConfigInfopublic void setVFlashCacheConfigInfo(VirtualDiskVFlashCacheConfigInfo value)
value - allowed object is
VirtualDiskVFlashCacheConfigInfopublic List<String> getIofilter()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the iofilter property.
For example, to add a new item, do as follows:
getIofilter().add(newItem);
Objects of the following type(s) are allowed in the list
String
public ID getVDiskId()
IDCopyright © 2018. All rights reserved.