Partager via


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()

Gets the disk caching type.

abstract DiskCreateOptionTypes creationMethod()

Gets the creation method used while creating this disk.

abstract DeleteOptions deleteOptions()

Gets the disk delete options.

abstract String diskEncryptionSetId()

Gets the ID of disk encryption set.

abstract boolean isWriteAcceleratorEnabled()

Gets whether the write accelerator is enabled.

abstract int lun()

Gets the logical unit number assigned to this data disk.

abstract int size()

Gets the size of this data disk in GB.

abstract StorageAccountTypes storageAccountType()

Gets the storage account type of the disk.

Method Details

cachingType

public abstract CachingTypes cachingType()

Gets the disk caching type.

Returns:

the disk caching type

creationMethod

public abstract DiskCreateOptionTypes creationMethod()

Gets the creation method used while creating this disk.

Returns:

the creation method used while creating this disk

deleteOptions

public abstract DeleteOptions deleteOptions()

Gets the disk delete options.

Returns:

the disk delete options

diskEncryptionSetId

public abstract String diskEncryptionSetId()

Gets the ID of disk encryption set.

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()

Gets the logical unit number assigned to this data disk.

Returns:

the logical unit number assigned to this data disk

size

public abstract int size()

Gets the size of this data disk in GB.

Returns:

the size of this data disk in GB

storageAccountType

public abstract StorageAccountTypes storageAccountType()

Gets the storage account type of the disk.

Returns:

the storage account type of the disk

Applies to