VirtualDiskUpdate Class

  • java.lang.Object
    • com.azure.resourcemanager.scvmm.models.VirtualDiskUpdate

public final class VirtualDiskUpdate

Virtual disk model.

Constructor Summary

Constructor Description
VirtualDiskUpdate()

Method Summary

Modifier and Type Method and 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.

Methods inherited from java.lang.Object

Constructor Details

VirtualDiskUpdate

public VirtualDiskUpdate()

Method Details

bus

public Integer bus()

Get the bus property: Gets or sets the disk bus.

Returns:

the bus value.

busType

public String busType()

Get the busType property: Gets or sets the disk bus type.

Returns:

the busType value.

diskId

public String diskId()

Get the diskId property: Gets or sets the disk id.

Returns:

the diskId value.

diskSizeGB

public Integer diskSizeGB()

Get the diskSizeGB property: Gets or sets the disk total size.

Returns:

the diskSizeGB value.

lun

public Integer lun()

Get the lun property: Gets or sets the disk lun.

Returns:

the lun value.

name

public String name()

Get the name property: Gets or sets the name of the disk.

Returns:

the name value.

storageQoSPolicy

public StorageQoSPolicyDetails storageQoSPolicy()

Get the storageQoSPolicy property: The QoS policy for the disk.

Returns:

the storageQoSPolicy value.

validate

public void validate()

Validates the instance.

vhdType

public String vhdType()

Get the vhdType property: Gets or sets the disk vhd type.

Returns:

the vhdType 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.

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.

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.

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.

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.

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.

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.

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.

Applies to