DataDisk (Azure SDK for Java Reference Documentation)

Get the caching property: Specifies the caching requirements. Get the createOption property: Specifies how the virtual machine should be created. Possible values are: **Attach** This value is used when you are using a specialized disk to create the virtual machine. **FromImage** This value is used when you are using an image to create

All Methods Instance Methods Concrete Methods Modifier and TypeMethod and DescriptionCachingTypescaching()

Get the caching property: Specifies the caching requirements.

DiskCreateOptionTypescreateOption()

Get the createOption property: Specifies how the virtual machine should be created.<br><br> Possible values are:<br><br> **Attach** – This value is used when you are using a specialized disk to create the virtual machine.<br><br> **FromImage** – This value is used when you are using an image to create the virtual machine.

LongdiskIopsReadWrite()

Get the diskIopsReadWrite property: Specifies the Read-Write IOPS for the managed disk when StorageAccountType is UltraSSD_LRS.

LongdiskMBpsReadWrite()

Get the diskMBpsReadWrite property: Specifies the bandwidth in MB per second for the managed disk when StorageAccountType is UltraSSD_LRS.

IntegerdiskSizeGB()

Get the diskSizeGB property: Specifies the size of an empty data disk in gigabytes.

VirtualHardDiskimage()

Get the image property: The source user image virtual hard disk.

intlun()

Get the lun property: Specifies the logical unit number of the data disk.

ManagedDiskParametersmanagedDisk()

Get the managedDisk property: The managed disk parameters.

Stringname()

Get the name property: The disk name.

BooleantoBeDetached()

Get the toBeDetached property: Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset.

voidvalidate()

Validates the instance.

VirtualHardDiskvhd()

Get the vhd property: The virtual hard disk.

DataDiskwithCaching(CachingTypes caching)

Set the caching property: Specifies the caching requirements.

DataDiskwithCreateOption(DiskCreateOptionTypes createOption)

Set the createOption property: Specifies how the virtual machine should be created.<br><br> Possible values are:<br><br> **Attach** – This value is used when you are using a specialized disk to create the virtual machine.<br><br> **FromImage** – This value is used when you are using an image to create the virtual machine.

DataDiskwithDiskSizeGB(Integer diskSizeGB)

Set the diskSizeGB property: Specifies the size of an empty data disk in gigabytes.

DataDiskwithImage(VirtualHardDisk image)

Set the image property: The source user image virtual hard disk.

DataDiskwithLun(int lun)

Set the lun property: Specifies the logical unit number of the data disk.

DataDiskwithManagedDisk(ManagedDiskParameters managedDisk)

Set the managedDisk property: The managed disk parameters.

DataDiskwithName(String name)

Set the name property: The disk name.

DataDiskwithToBeDetached(Boolean toBeDetached)

Set the toBeDetached property: Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset.

DataDiskwithVhd(VirtualHardDisk vhd)

Set the vhd property: The virtual hard disk.

DataDiskwithWriteAcceleratorEnabled(Boolean writeAcceleratorEnabled)

Set the writeAcceleratorEnabled property: Specifies whether writeAccelerator should be enabled or disabled on the disk.

BooleanwriteAcceleratorEnabled()

Get the writeAcceleratorEnabled property: Specifies whether writeAccelerator should be enabled or disabled on the disk.

ncG1vNJzZmiZqqq%2Fpr%2FDpJuom6Njr627wWeaqKqVY8SqusOorqxmnprBcHDWnploopGrrnCt2a6pnmWimsCwwdGcnKaZnpa0pr6MnKamqKWpsnB%2BjWllaWeTpLpwrdmuqZ5noprAsMHRnJymmZ6WtKa%2BjpympqilqbJwuc6dnKWrX3muta2joqqkZpipuq0%3D

 Share!