次の方法で共有


VirtualDisk Class

  • java.lang.Object
    • com.azure.resourcemanager.connectedvmware.models.VirtualDisk

public final class VirtualDisk

Virtual disk model.

Constructor Summary

Constructor Description
VirtualDisk()

Method Summary

Modifier and Type Method and Description
Integer controllerKey()

Get the controllerKey property: Gets or sets the controller id.

Integer deviceKey()

Get the deviceKey property: Gets or sets the device key value.

String deviceName()

Get the deviceName property: Gets or sets the device name.

DiskMode diskMode()

Get the diskMode property: Gets or sets the disk mode.

String diskObjectId()

Get the diskObjectId property: Gets or sets the disk object id.

Integer diskSizeGB()

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

DiskType diskType()

Get the diskType property: Gets or sets the disk backing type.

String label()

Get the label property: Gets or sets the label of the virtual disk in vCenter.

String name()

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

Integer unitNumber()

Get the unitNumber property: Gets or sets the unit number of the disk on the controller.

void validate()

Validates the instance.

VirtualDisk withControllerKey(Integer controllerKey)

Set the controllerKey property: Gets or sets the controller id.

VirtualDisk withDeviceKey(Integer deviceKey)

Set the deviceKey property: Gets or sets the device key value.

VirtualDisk withDeviceName(String deviceName)

Set the deviceName property: Gets or sets the device name.

VirtualDisk withDiskMode(DiskMode diskMode)

Set the diskMode property: Gets or sets the disk mode.

VirtualDisk withDiskSizeGB(Integer diskSizeGB)

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

VirtualDisk withDiskType(DiskType diskType)

Set the diskType property: Gets or sets the disk backing type.

VirtualDisk withName(String name)

Set the name property: Gets or sets the name of the virtual disk.

VirtualDisk withUnitNumber(Integer unitNumber)

Set the unitNumber property: Gets or sets the unit number of the disk on the controller.

Methods inherited from java.lang.Object

Constructor Details

VirtualDisk

public VirtualDisk()

Method Details

controllerKey

public Integer controllerKey()

Get the controllerKey property: Gets or sets the controller id.

Returns:

the controllerKey value.

deviceKey

public Integer deviceKey()

Get the deviceKey property: Gets or sets the device key value.

Returns:

the deviceKey value.

deviceName

public String deviceName()

Get the deviceName property: Gets or sets the device name.

Returns:

the deviceName value.

diskMode

public DiskMode diskMode()

Get the diskMode property: Gets or sets the disk mode.

Returns:

the diskMode value.

diskObjectId

public String diskObjectId()

Get the diskObjectId property: Gets or sets the disk object id.

Returns:

the diskObjectId value.

diskSizeGB

public Integer diskSizeGB()

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

Returns:

the diskSizeGB value.

diskType

public DiskType diskType()

Get the diskType property: Gets or sets the disk backing type.

Returns:

the diskType value.

label

public String label()

Get the label property: Gets or sets the label of the virtual disk in vCenter.

Returns:

the label value.

name

public String name()

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

Returns:

the name value.

unitNumber

public Integer unitNumber()

Get the unitNumber property: Gets or sets the unit number of the disk on the controller.

Returns:

the unitNumber value.

validate

public void validate()

Validates the instance.

withControllerKey

public VirtualDisk withControllerKey(Integer controllerKey)

Set the controllerKey property: Gets or sets the controller id.

Parameters:

controllerKey - the controllerKey value to set.

Returns:

the VirtualDisk object itself.

withDeviceKey

public VirtualDisk withDeviceKey(Integer deviceKey)

Set the deviceKey property: Gets or sets the device key value.

Parameters:

deviceKey - the deviceKey value to set.

Returns:

the VirtualDisk object itself.

withDeviceName

public VirtualDisk withDeviceName(String deviceName)

Set the deviceName property: Gets or sets the device name.

Parameters:

deviceName - the deviceName value to set.

Returns:

the VirtualDisk object itself.

withDiskMode

public VirtualDisk withDiskMode(DiskMode diskMode)

Set the diskMode property: Gets or sets the disk mode.

Parameters:

diskMode - the diskMode value to set.

Returns:

the VirtualDisk object itself.

withDiskSizeGB

public VirtualDisk withDiskSizeGB(Integer diskSizeGB)

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

Parameters:

diskSizeGB - the diskSizeGB value to set.

Returns:

the VirtualDisk object itself.

withDiskType

public VirtualDisk withDiskType(DiskType diskType)

Set the diskType property: Gets or sets the disk backing type.

Parameters:

diskType - the diskType value to set.

Returns:

the VirtualDisk object itself.

withName

public VirtualDisk withName(String name)

Set the name property: Gets or sets the name of the virtual disk.

Parameters:

name - the name value to set.

Returns:

the VirtualDisk object itself.

withUnitNumber

public VirtualDisk withUnitNumber(Integer unitNumber)

Set the unitNumber property: Gets or sets the unit number of the disk on the controller.

Parameters:

unitNumber - the unitNumber value to set.

Returns:

the VirtualDisk object itself.

Applies to