VirtualMachine.UpdateStages.WithUnmanagedDataDisk Interface

Definition

The stage of a virtual machine definition allowing to specify unmanaged data disk configuration.

public interface WithUnmanagedDataDisk

Methods

defineUnmanagedDataDisk(String name)

Begins the definition of a blank unmanaged data disk to be attached to the virtual machine along with its configuration.

updateUnmanagedDataDisk(String name)

Begins the description of an update of an existing unmanaged data disk of this virtual machine.

withExistingUnmanagedDataDisk(String storageAccountName, String containerName, String vhdName)

Specifies an existing VHD that needs to be attached to the virtual machine as data disk.

withNewUnmanagedDataDisk(Integer sizeInGB)

Specifies that a new blank unmanaged data disk needs to be attached to virtual machine.

withoutUnmanagedDataDisk(int lun)

Detaches a unmanaged data disk from the virtual machine.

withoutUnmanagedDataDisk(String name)

Detaches an unmanaged data disk from the virtual machine.