Package | Description |
---|---|
com.azure.resourcemanager.compute.models |
Package containing the data models for ComputeManagementClient.
|
Modifier and Type | Method and Description |
---|---|
DataDisk |
DataDisk.withCaching(CachingTypes caching)
Set the caching property: Specifies the caching requirements.
|
DataDisk |
DataDisk.withCreateOption(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.
|
DataDisk |
DataDisk.withDiskSizeGB(Integer diskSizeGB)
Set the diskSizeGB property: Specifies the size of an empty data disk in gigabytes.
|
DataDisk |
DataDisk.withImage(VirtualHardDisk image)
Set the image property: The source user image virtual hard disk.
|
DataDisk |
DataDisk.withLun(int lun)
Set the lun property: Specifies the logical unit number of the data disk.
|
DataDisk |
DataDisk.withManagedDisk(ManagedDiskParameters managedDisk)
Set the managedDisk property: The managed disk parameters.
|
DataDisk |
DataDisk.withName(String name)
Set the name property: The disk name.
|
DataDisk |
DataDisk.withToBeDetached(Boolean toBeDetached)
Set the toBeDetached property: Specifies whether the data disk is in process of detachment from the
VirtualMachine/VirtualMachineScaleset.
|
DataDisk |
DataDisk.withVhd(VirtualHardDisk vhd)
Set the vhd property: The virtual hard disk.
|
DataDisk |
DataDisk.withWriteAcceleratorEnabled(Boolean writeAcceleratorEnabled)
Set the writeAcceleratorEnabled property: Specifies whether writeAccelerator should be enabled or disabled on the
disk.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.