다음을 통해 공유


VirtualMachineDataDisk Interface

Implements

public interface VirtualMachineDataDisk
extends HasInnerModel<DataDisk>, HasName, HasId

A managed data disk of a virtual machine.

Method Summary

Modifier and Type Method and Description
abstract CachingTypes cachingType()
abstract DiskCreateOptionTypes creationMethod()
abstract DeleteOptions deleteOptions()
abstract String diskEncryptionSetId()
abstract boolean isWriteAcceleratorEnabled()

Gets whether the write accelerator is enabled.

abstract int lun()
abstract int size()
abstract StorageAccountTypes storageAccountType()

Method Details

cachingType

public abstract CachingTypes cachingType()

Returns:

the disk caching type

creationMethod

public abstract DiskCreateOptionTypes creationMethod()

Returns:

the creation method used while creating this disk

deleteOptions

public abstract DeleteOptions deleteOptions()

Returns:

the disk delete options

diskEncryptionSetId

public abstract String diskEncryptionSetId()

Returns:

the ID of disk encryption set

isWriteAcceleratorEnabled

public abstract boolean isWriteAcceleratorEnabled()

Gets whether the write accelerator is enabled.

Returns:

whether the write accelerator is enabled

lun

public abstract int lun()

Returns:

the logical unit number assigned to this data disk

size

public abstract int size()

Returns:

the size of this data disk in GB

storageAccountType

public abstract StorageAccountTypes storageAccountType()

Returns:

the storage account type of the disk

Applies to