Package | Description |
---|---|
com.microsoft.azure.management.compute |
This package contains the classes for ComputeManagementClient.
|
Modifier and Type | Method and Description |
---|---|
DataDisk |
DataDisk.withCaching(CachingTypes caching)
Set specifies the caching requirements.
|
DataDisk |
DataDisk.withCreateOption(DiskCreateOptionTypes createOption)
Set 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 specifies the size of an empty data disk in gigabytes.
|
DataDisk |
DataDisk.withImage(VirtualHardDisk image)
Set the source user image virtual hard disk.
|
DataDisk |
DataDisk.withLun(int lun)
Set specifies the logical unit number of the data disk.
|
DataDisk |
DataDisk.withManagedDisk(ManagedDiskParameters managedDisk)
Set the managed disk parameters.
|
DataDisk |
DataDisk.withName(String name)
Set the disk name.
|
DataDisk |
DataDisk.withToBeDetached(Boolean toBeDetached)
Set specifies whether the datadisk is in process of detachment from the VirtualMachine/VirtualMachineScaleset.
|
DataDisk |
DataDisk.withVhd(VirtualHardDisk vhd)
Set the virtual hard disk.
|
DataDisk |
DataDisk.withWriteAcceleratorEnabled(Boolean writeAcceleratorEnabled)
Set specifies whether writeAccelerator should be enabled or disabled on the disk.
|
Modifier and Type | Method and Description |
---|---|
List<DataDisk> |
StorageProfile.dataDisks()
Get specifies the parameters that are used to add a data disk to a virtual machine.
|
Modifier and Type | Method and Description |
---|---|
StorageProfile |
StorageProfile.withDataDisks(List<DataDisk> dataDisks)
Set specifies the parameters that are used to add a data disk to a virtual machine.
|
Copyright © 2019. All rights reserved.