VirtualMachine.UpdateStages.WithUnmanagedDataDisk Interface
public static interface VirtualMachine.UpdateStages.WithUnmanagedDataDisk
The stage of a virtual machine definition allowing to specify unmanaged data disk configuration.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract Blank<Update> |
defineUnmanagedDataDisk(String name)
Deprecated
Unmanaged disks are deprecated by Azure and being retired. Use managed disks instead. See Unmanaged disks deprecation.
Begins the definition of a blank unmanaged data disk to be attached to the virtual machine along with its configuration. |
| abstract Update |
updateUnmanagedDataDisk(String name)
Begins the description of an update of an existing unmanaged data disk of this virtual machine. |
| abstract Update |
withExistingUnmanagedDataDisk(String storageAccountName, String containerName, String vhdName)
Deprecated
Unmanaged disks are deprecated by Azure and being retired. Use managed disks instead. See Unmanaged disks deprecation.
Specifies an existing VHD that needs to be attached to the virtual machine as data disk. |
| abstract Update |
withNewUnmanagedDataDisk(Integer sizeInGB)
Deprecated
Unmanaged disks are deprecated by Azure and being retired. Use managed disks instead. See Unmanaged disks deprecation.
Specifies that a new blank unmanaged data disk needs to be attached to virtual machine. |
| abstract Update |
withoutUnmanagedDataDisk(int lun)
Detaches a unmanaged data disk from the virtual machine. |
| abstract Update |
withoutUnmanagedDataDisk(String name)
Detaches an unmanaged data disk from the virtual machine. |
Method Details
defineUnmanagedDataDisk
@Deprecated
public abstract VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.Blank<VirtualMachine.Update> defineUnmanagedDataDisk(String name)
Deprecated
Begins the definition of a blank unmanaged data disk to be attached to the virtual machine along with its configuration.
Parameters:
Returns:
updateUnmanagedDataDisk
public abstract VirtualMachineUnmanagedDataDisk.Update updateUnmanagedDataDisk(String name)
Begins the description of an update of an existing unmanaged data disk of this virtual machine.
Parameters:
Returns:
withExistingUnmanagedDataDisk
@Deprecated
public abstract VirtualMachine.Update withExistingUnmanagedDataDisk(String storageAccountName, String containerName, String vhdName)
Deprecated
Specifies an existing VHD that needs to be attached to the virtual machine as data disk.
Parameters:
Returns:
withNewUnmanagedDataDisk
@Deprecated
public abstract VirtualMachine.Update withNewUnmanagedDataDisk(Integer sizeInGB)
Deprecated
Specifies that a new blank unmanaged data disk needs to be attached to virtual machine.
Parameters:
Returns:
withoutUnmanagedDataDisk
public abstract VirtualMachine.Update withoutUnmanagedDataDisk(int lun)
Detaches a unmanaged data disk from the virtual machine.
Parameters:
Returns:
withoutUnmanagedDataDisk
public abstract VirtualMachine.Update withoutUnmanagedDataDisk(String name)
Detaches an unmanaged data disk from the virtual machine.
Parameters:
Returns: