Class VirtualDiskUpdate
- java.lang.Object
-
- com.azure.resourcemanager.scvmm.models.VirtualDiskUpdate
-
public final class VirtualDiskUpdate extends Object
Virtual disk model.
-
-
Constructor Summary
Constructors Constructor Description VirtualDiskUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
bus()
Get the bus property: Gets or sets the disk bus.String
busType()
Get the busType property: Gets or sets the disk bus type.String
diskId()
Get the diskId property: Gets or sets the disk id.Integer
diskSizeGB()
Get the diskSizeGB property: Gets or sets the disk total size.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.StorageQoSPolicyDetails
storageQoSPolicy()
Get the storageQoSPolicy property: The QoS policy for the disk.void
validate()
Validates the instance.String
vhdType()
Get the vhdType property: Gets or sets the disk vhd type.VirtualDiskUpdate
withBus(Integer bus)
Set the bus property: Gets or sets the disk bus.VirtualDiskUpdate
withBusType(String busType)
Set the busType property: Gets or sets the disk bus type.VirtualDiskUpdate
withDiskId(String diskId)
Set the diskId property: Gets or sets the disk id.VirtualDiskUpdate
withDiskSizeGB(Integer diskSizeGB)
Set the diskSizeGB property: Gets or sets the disk total size.VirtualDiskUpdate
withLun(Integer lun)
Set the lun property: Gets or sets the disk lun.VirtualDiskUpdate
withName(String name)
Set the name property: Gets or sets the name of the disk.VirtualDiskUpdate
withStorageQoSPolicy(StorageQoSPolicyDetails storageQoSPolicy)
Set the storageQoSPolicy property: The QoS policy for the disk.VirtualDiskUpdate
withVhdType(String vhdType)
Set the vhdType property: Gets or sets the disk vhd type.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Gets or sets the name of the disk.- Returns:
- the name value.
-
withName
public VirtualDiskUpdate withName(String name)
Set the name property: Gets or sets the name of the disk.- Parameters:
name
- the name value to set.- Returns:
- the VirtualDiskUpdate object itself.
-
diskId
public String diskId()
Get the diskId property: Gets or sets the disk id.- Returns:
- the diskId value.
-
withDiskId
public VirtualDiskUpdate withDiskId(String diskId)
Set the diskId property: Gets or sets the disk id.- Parameters:
diskId
- the diskId value to set.- Returns:
- the VirtualDiskUpdate object itself.
-
diskSizeGB
public Integer diskSizeGB()
Get the diskSizeGB property: Gets or sets the disk total size.- Returns:
- the diskSizeGB value.
-
withDiskSizeGB
public VirtualDiskUpdate withDiskSizeGB(Integer diskSizeGB)
Set the diskSizeGB property: Gets or sets the disk total size.- Parameters:
diskSizeGB
- the diskSizeGB value to set.- Returns:
- the VirtualDiskUpdate object itself.
-
bus
public Integer bus()
Get the bus property: Gets or sets the disk bus.- Returns:
- the bus value.
-
withBus
public VirtualDiskUpdate withBus(Integer bus)
Set the bus property: Gets or sets the disk bus.- Parameters:
bus
- the bus value to set.- Returns:
- the VirtualDiskUpdate object itself.
-
lun
public Integer lun()
Get the lun property: Gets or sets the disk lun.- Returns:
- the lun value.
-
withLun
public VirtualDiskUpdate withLun(Integer lun)
Set the lun property: Gets or sets the disk lun.- Parameters:
lun
- the lun value to set.- Returns:
- the VirtualDiskUpdate object itself.
-
busType
public String busType()
Get the busType property: Gets or sets the disk bus type.- Returns:
- the busType value.
-
withBusType
public VirtualDiskUpdate withBusType(String busType)
Set the busType property: Gets or sets the disk bus type.- Parameters:
busType
- the busType value to set.- Returns:
- the VirtualDiskUpdate object itself.
-
vhdType
public String vhdType()
Get the vhdType property: Gets or sets the disk vhd type.- Returns:
- the vhdType value.
-
withVhdType
public VirtualDiskUpdate withVhdType(String vhdType)
Set the vhdType property: Gets or sets the disk vhd type.- Parameters:
vhdType
- the vhdType value to set.- Returns:
- the VirtualDiskUpdate object itself.
-
storageQoSPolicy
public StorageQoSPolicyDetails storageQoSPolicy()
Get the storageQoSPolicy property: The QoS policy for the disk.- Returns:
- the storageQoSPolicy value.
-
withStorageQoSPolicy
public VirtualDiskUpdate withStorageQoSPolicy(StorageQoSPolicyDetails storageQoSPolicy)
Set the storageQoSPolicy property: The QoS policy for the disk.- Parameters:
storageQoSPolicy
- the storageQoSPolicy value to set.- Returns:
- the VirtualDiskUpdate object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-