VirtualMachine.UpdateStages.WithManagedDataDisk Interface
public static interface VirtualMachine.UpdateStages.WithManagedDataDisk
The stage of a virtual machine update allowing to specify a managed data disk.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update |
withExistingDataDisk(Disk disk)
Associates an existing source managed disk with the VM. |
abstract Update |
withExistingDataDisk(Disk disk, int lun, CachingTypes cachingType)
Specifies an existing source managed disk and settings. |
abstract Update |
withExistingDataDisk(Disk disk, int newSizeInGB, int lun, CachingTypes cachingType)
Specifies an existing source managed disk and settings. |
abstract Update |
withExistingDataDisk(Disk disk, int newSizeInGB, int lun, VirtualMachineDiskOptions options)
Associates an existing source managed disk with the virtual machine and specifies additional settings. |
abstract Update |
withNewDataDisk(Creatable<Disk> creatable)
Specifies that a managed disk needs to be created explicitly with the given definition and attached to the virtual machine as a data disk. |
abstract Update |
withNewDataDisk(Creatable<Disk> creatable, int lun, CachingTypes cachingType)
Specifies that a managed disk needs to be created explicitly with the given definition and attached to the virtual machine as a data disk. |
abstract Update |
withNewDataDisk(int sizeInGB)
Specifies that a managed disk needs to be created implicitly with the given size. |
abstract Update |
withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType)
Specifies that a managed disk needs to be created implicitly with the given settings. |
abstract Update |
withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType, StorageAccountTypes storageAccountType)
Specifies that a managed disk needs to be created implicitly with the given settings. |
abstract Update |
withNewDataDisk(int sizeInGB, int lun, VirtualMachineDiskOptions options)
Specifies that a managed disk needs to be created implicitly with the given settings. |
abstract Update |
withoutDataDisk(int lun)
Detaches a managed data disk with the given LUN from the virtual machine. |
Method Details
withExistingDataDisk
public abstract VirtualMachine.Update withExistingDataDisk(Disk disk)
Associates an existing source managed disk with the VM.
Parameters:
Returns:
withExistingDataDisk
public abstract VirtualMachine.Update withExistingDataDisk(Disk disk, int lun, CachingTypes cachingType)
Specifies an existing source managed disk and settings.
Parameters:
Returns:
withExistingDataDisk
public abstract VirtualMachine.Update withExistingDataDisk(Disk disk, int newSizeInGB, int lun, CachingTypes cachingType)
Specifies an existing source managed disk and settings.
Parameters:
Returns:
withExistingDataDisk
public abstract VirtualMachine.Update withExistingDataDisk(Disk disk, int newSizeInGB, int lun, VirtualMachineDiskOptions options)
Associates an existing source managed disk with the virtual machine and specifies additional settings.
Parameters:
Returns:
withNewDataDisk
public abstract VirtualMachine.Update withNewDataDisk(Creatable
Specifies that a managed disk needs to be created explicitly with the given definition and attached to the virtual machine as a data disk.
Parameters:
Returns:
withNewDataDisk
public abstract VirtualMachine.Update withNewDataDisk(Creatable
Specifies that a managed disk needs to be created explicitly with the given definition and attached to the virtual machine as a data disk.
Parameters:
Returns:
withNewDataDisk
public abstract VirtualMachine.Update withNewDataDisk(int sizeInGB)
Specifies that a managed disk needs to be created implicitly with the given size.
Parameters:
Returns:
withNewDataDisk
public abstract VirtualMachine.Update withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType)
Specifies that a managed disk needs to be created implicitly with the given settings.
Parameters:
Returns:
withNewDataDisk
public abstract VirtualMachine.Update withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType, StorageAccountTypes storageAccountType)
Specifies that a managed disk needs to be created implicitly with the given settings.
Parameters:
Returns:
withNewDataDisk
public abstract VirtualMachine.Update withNewDataDisk(int sizeInGB, int lun, VirtualMachineDiskOptions options)
Specifies that a managed disk needs to be created implicitly with the given settings.
Parameters:
Returns:
withoutDataDisk
public abstract VirtualMachine.Update withoutDataDisk(int lun)
Detaches a managed data disk with the given LUN from the virtual machine.
Parameters:
Returns: