VirtualDisk Class
- java.
lang. Object - com.
azure. resourcemanager. scvmm. models. VirtualDisk
- com.
public final class VirtualDisk
Virtual disk model.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| VirtualDisk() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
bus()
Get the bus property: Gets or sets the disk bus. |
| String |
busType()
Get the bus |
|
Create |
createDiffDisk()
Get the create |
| String |
diskId()
Get the disk |
| Integer |
diskSizeGB()
Get the disk |
| String |
displayName()
Get the display |
| Integer |
lun()
Get the lun property: Gets or sets the disk lun. |
| Integer |
maxDiskSizeGB()
Get the max |
| String |
name()
Get the name property: Gets or sets the name of the disk. |
|
Storage |
storageQoSPolicy()
Get the storage |
| String |
templateDiskId()
Get the template |
| void |
validate()
Validates the instance. |
| String |
vhdFormatType()
Get the vhd |
| String |
vhdType()
Get the vhd |
| String |
volumeType()
Get the volume |
|
Virtual |
withBus(Integer bus)
Set the bus property: Gets or sets the disk bus. |
|
Virtual |
withBusType(String busType)
Set the bus |
|
Virtual |
withCreateDiffDisk(CreateDiffDisk createDiffDisk)
Set the create |
|
Virtual |
withDiskId(String diskId)
Set the disk |
|
Virtual |
withDiskSizeGB(Integer diskSizeGB)
Set the disk |
|
Virtual |
withLun(Integer lun)
Set the lun property: Gets or sets the disk lun. |
|
Virtual |
withName(String name)
Set the name property: Gets or sets the name of the disk. |
|
Virtual |
withStorageQoSPolicy(StorageQoSPolicyDetails storageQoSPolicy)
Set the storage |
|
Virtual |
withTemplateDiskId(String templateDiskId)
Set the template |
|
Virtual |
withVhdType(String vhdType)
Set the vhd |
Methods inherited from java.lang.Object
Constructor Details
VirtualDisk
public VirtualDisk()
Method Details
bus
public Integer bus()
Get the bus property: Gets or sets the disk bus.
Returns:
busType
public String busType()
Get the busType property: Gets or sets the disk bus type.
Returns:
createDiffDisk
public CreateDiffDisk createDiffDisk()
Get the createDiffDisk property: Gets or sets a value indicating diff disk.
Returns:
diskId
public String diskId()
Get the diskId property: Gets or sets the disk id.
Returns:
diskSizeGB
public Integer diskSizeGB()
Get the diskSizeGB property: Gets or sets the disk total size.
Returns:
displayName
public String displayName()
Get the displayName property: Gets the display name of the virtual disk as shown in the vmmServer. This is the fallback label for a disk when the name is not set.
Returns:
lun
public Integer lun()
Get the lun property: Gets or sets the disk lun.
Returns:
maxDiskSizeGB
public Integer maxDiskSizeGB()
Get the maxDiskSizeGB property: Gets or sets the max disk size.
Returns:
name
public String name()
Get the name property: Gets or sets the name of the disk.
Returns:
storageQoSPolicy
public StorageQoSPolicyDetails storageQoSPolicy()
Get the storageQoSPolicy property: The QoS policy for the disk.
Returns:
templateDiskId
public String templateDiskId()
Get the templateDiskId property: Gets or sets the disk id in the template.
Returns:
validate
public void validate()
Validates the instance.
vhdFormatType
public String vhdFormatType()
Get the vhdFormatType property: Gets the disk vhd format type.
Returns:
vhdType
public String vhdType()
Get the vhdType property: Gets or sets the disk vhd type.
Returns:
volumeType
public String volumeType()
Get the volumeType property: Gets or sets the disk volume type.
Returns:
withBus
public VirtualDisk withBus(Integer bus)
Set the bus property: Gets or sets the disk bus.
Parameters:
Returns:
withBusType
public VirtualDisk withBusType(String busType)
Set the busType property: Gets or sets the disk bus type.
Parameters:
Returns:
withCreateDiffDisk
public VirtualDisk withCreateDiffDisk(CreateDiffDisk createDiffDisk)
Set the createDiffDisk property: Gets or sets a value indicating diff disk.
Parameters:
Returns:
withDiskId
public VirtualDisk withDiskId(String diskId)
Set the diskId property: Gets or sets the disk id.
Parameters:
Returns:
withDiskSizeGB
public VirtualDisk withDiskSizeGB(Integer diskSizeGB)
Set the diskSizeGB property: Gets or sets the disk total size.
Parameters:
Returns:
withLun
public VirtualDisk withLun(Integer lun)
Set the lun property: Gets or sets the disk lun.
Parameters:
Returns:
withName
public VirtualDisk withName(String name)
Set the name property: Gets or sets the name of the disk.
Parameters:
Returns:
withStorageQoSPolicy
public VirtualDisk withStorageQoSPolicy(StorageQoSPolicyDetails storageQoSPolicy)
Set the storageQoSPolicy property: The QoS policy for the disk.
Parameters:
Returns:
withTemplateDiskId
public VirtualDisk withTemplateDiskId(String templateDiskId)
Set the templateDiskId property: Gets or sets the disk id in the template.
Parameters:
Returns:
withVhdType
public VirtualDisk withVhdType(String vhdType)
Set the vhdType property: Gets or sets the disk vhd type.
Parameters:
Returns: