Interface VirtualMachineDataDisk

All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.arm.models.HasId, com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<DataDisk>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasName

public interface VirtualMachineDataDisk extends com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<DataDisk>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasName, com.azure.resourcemanager.resources.fluentcore.arm.models.HasId
A managed data disk of a virtual machine.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the disk caching type.
    Gets the creation method used while creating this disk.
    Gets the disk delete options.
    Gets the ID of disk encryption set.
    boolean
    Gets whether the write accelerator is enabled.
    int
    lun()
    Gets the logical unit number assigned to this data disk.
    int
    Gets the size of this data disk in GB.
    Gets the storage account type of the disk.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasId

    id

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel

    innerModel

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName

    name
  • Method Details

    • size

      int size()
      Gets the size of this data disk in GB.
      Returns:
      the size of this data disk in GB
    • lun

      int lun()
      Gets the logical unit number assigned to this data disk.
      Returns:
      the logical unit number assigned to this data disk
    • cachingType

      CachingTypes cachingType()
      Gets the disk caching type.
      Returns:
      the disk caching type
    • creationMethod

      DiskCreateOptionTypes creationMethod()
      Gets the creation method used while creating this disk.
      Returns:
      the creation method used while creating this disk
    • storageAccountType

      StorageAccountTypes storageAccountType()
      Gets the storage account type of the disk.
      Returns:
      the storage account type of the disk
    • deleteOptions

      DeleteOptions deleteOptions()
      Gets the disk delete options.
      Returns:
      the disk delete options
    • diskEncryptionSetId

      String diskEncryptionSetId()
      Gets the ID of disk encryption set.
      Returns:
      the ID of disk encryption set
    • isWriteAcceleratorEnabled

      boolean isWriteAcceleratorEnabled()
      Gets whether the write accelerator is enabled.
      Returns:
      whether the write accelerator is enabled