VirtualDiskUpdate Class
- java.
lang. Object - com.
azure. resourcemanager. scvmm. models. VirtualDiskUpdate
- com.
Implements
public final class VirtualDiskUpdate
implements JsonSerializable<VirtualDiskUpdate>
Virtual Disk Update model.
Constructor Summary
| Constructor | Description |
|---|---|
| VirtualDiskUpdate() |
Creates an instance of Virtual |
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 |
| String |
diskId()
Get the disk |
| Integer |
diskSizeGB()
Get the disk |
|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
| Integer |
lun()
Get the lun property: Gets or sets the disk lun. |
| String |
name()
Get the name property: Gets or sets the name of the disk. |
|
Storage |
storageQosPolicy()
Get the storage |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
vhdType()
Get the vhd |
|
Virtual |
withBus(Integer bus)
Set the bus property: Gets or sets the disk bus. |
|
Virtual |
withBusType(String busType)
Set the bus |
|
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 |
withVhdType(String vhdType)
Set the vhd |
Methods inherited from java.lang.Object
Constructor Details
VirtualDiskUpdate
public VirtualDiskUpdate()
Creates an instance of VirtualDiskUpdate class.
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:
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:
fromJson
public static VirtualDiskUpdate fromJson(JsonReader jsonReader)
Reads an instance of VirtualDiskUpdate from the JsonReader.
Parameters:
Returns:
Throws:
lun
public Integer lun()
Get the lun property: Gets or sets the disk lun.
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:
toJson
validate
public void validate()
Validates the instance.
vhdType
public String vhdType()
Get the vhdType property: Gets or sets the disk vhd type.
Returns:
withBus
public VirtualDiskUpdate withBus(Integer bus)
Set the bus property: Gets or sets the disk bus.
Parameters:
Returns:
withBusType
public VirtualDiskUpdate withBusType(String busType)
Set the busType property: Gets or sets the disk bus type.
Parameters:
Returns:
withDiskId
public VirtualDiskUpdate withDiskId(String diskId)
Set the diskId property: Gets or sets the disk id.
Parameters:
Returns:
withDiskSizeGB
public VirtualDiskUpdate withDiskSizeGB(Integer diskSizeGB)
Set the diskSizeGB property: Gets or sets the disk total size.
Parameters:
Returns:
withLun
public VirtualDiskUpdate withLun(Integer lun)
Set the lun property: Gets or sets the disk lun.
Parameters:
Returns:
withName
public VirtualDiskUpdate withName(String name)
Set the name property: Gets or sets the name of the disk.
Parameters:
Returns:
withStorageQosPolicy
public VirtualDiskUpdate withStorageQosPolicy(StorageQosPolicyDetails storageQosPolicy)
Set the storageQosPolicy property: The QoS policy for the disk.
Parameters:
Returns:
withVhdType
public VirtualDiskUpdate withVhdType(String vhdType)
Set the vhdType property: Gets or sets the disk vhd type.
Parameters:
Returns: