你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualDisk Class

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

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 busType property: Gets or sets the disk bus type.

CreateDiffDisk createDiffDisk()

Get the createDiffDisk property: Gets or sets a value indicating diff disk.

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.

String displayName()

Get the displayName property: Gets the display name of the virtual disk as shown in the vmmServer.

Integer lun()

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

Integer maxDiskSizeGB()

Get the maxDiskSizeGB property: Gets or sets the max disk size.

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.

String templateDiskId()

Get the templateDiskId property: Gets or sets the disk id in the template.

void validate()

Validates the instance.

String vhdFormatType()

Get the vhdFormatType property: Gets the disk vhd format type.

String vhdType()

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

String volumeType()

Get the volumeType property: Gets or sets the disk volume type.

VirtualDisk withBus(Integer bus)

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

VirtualDisk withBusType(String busType)

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

VirtualDisk withCreateDiffDisk(CreateDiffDisk createDiffDisk)

Set the createDiffDisk property: Gets or sets a value indicating diff disk.

VirtualDisk withDiskId(String diskId)

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

VirtualDisk withDiskSizeGB(Integer diskSizeGB)

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

VirtualDisk withLun(Integer lun)

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

VirtualDisk withName(String name)

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

VirtualDisk withStorageQoSPolicy(StorageQoSPolicyDetails storageQoSPolicy)

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

VirtualDisk withTemplateDiskId(String templateDiskId)

Set the templateDiskId property: Gets or sets the disk id in the template.

VirtualDisk withVhdType(String vhdType)

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

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:

the bus value.

busType

public String busType()

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

Returns:

the busType value.

createDiffDisk

public CreateDiffDisk createDiffDisk()

Get the createDiffDisk property: Gets or sets a value indicating diff disk.

Returns:

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

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:

the displayName value.

lun

public Integer lun()

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

Returns:

the lun value.

maxDiskSizeGB

public Integer maxDiskSizeGB()

Get the maxDiskSizeGB property: Gets or sets the max disk size.

Returns:

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

templateDiskId

public String templateDiskId()

Get the templateDiskId property: Gets or sets the disk id in the template.

Returns:

the templateDiskId value.

validate

public void validate()

Validates the instance.

vhdFormatType

public String vhdFormatType()

Get the vhdFormatType property: Gets the disk vhd format type.

Returns:

the vhdFormatType value.

vhdType

public String vhdType()

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

Returns:

the vhdType value.

volumeType

public String volumeType()

Get the volumeType property: Gets or sets the disk volume type.

Returns:

the volumeType value.

withBus

public VirtualDisk withBus(Integer bus)

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

Parameters:

bus - the bus value to set.

Returns:

the VirtualDisk object itself.

withBusType

public VirtualDisk withBusType(String busType)

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

Parameters:

busType - the busType value to set.

Returns:

the VirtualDisk object itself.

withCreateDiffDisk

public VirtualDisk withCreateDiffDisk(CreateDiffDisk createDiffDisk)

Set the createDiffDisk property: Gets or sets a value indicating diff disk.

Parameters:

createDiffDisk - the createDiffDisk value to set.

Returns:

the VirtualDisk object itself.

withDiskId

public VirtualDisk withDiskId(String diskId)

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

Parameters:

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

withLun

public VirtualDisk withLun(Integer lun)

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

Parameters:

lun - the lun 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 disk.

Parameters:

name - the name value to set.

Returns:

the VirtualDisk object itself.

withStorageQoSPolicy

public VirtualDisk withStorageQoSPolicy(StorageQoSPolicyDetails storageQoSPolicy)

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

Parameters:

storageQoSPolicy - the storageQoSPolicy value to set.

Returns:

the VirtualDisk object itself.

withTemplateDiskId

public VirtualDisk withTemplateDiskId(String templateDiskId)

Set the templateDiskId property: Gets or sets the disk id in the template.

Parameters:

templateDiskId - the templateDiskId value to set.

Returns:

the VirtualDisk object itself.

withVhdType

public VirtualDisk withVhdType(String vhdType)

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

Parameters:

vhdType - the vhdType value to set.

Returns:

the VirtualDisk object itself.

Applies to