VirtualMachine.DefinitionStages.WithManagedDataDisk Interface
public interface WithManagedDataDisk
The stage of a virtual machine definition allowing to specify a managed data disk.
Method Summary
Method Details
withExistingDataDisk
public WithManagedCreate withExistingDataDisk(Disk disk)
Associates an existing source managed disk with the virtual machine.
Parameters:
Returns:
withExistingDataDisk
public WithManagedCreate withExistingDataDisk(Disk disk, int lun, CachingTypes cachingType)
Associates an existing source managed disk with the virtual machine and specifies additional settings.
Parameters:
Returns:
withExistingDataDisk
public WithManagedCreate withExistingDataDisk(Disk disk, int newSizeInGB, int lun, CachingTypes cachingType)
Associates an existing source managed disk with the virtual machine and specifies additional settings.
Parameters:
Returns:
withNewDataDisk
public WithManagedCreate withNewDataDisk(Creatable
Specifies that a managed disk should be created explicitly with the given definition and attached to the virtual machine as a data disk.
Parameters:
Returns:
withNewDataDisk
public WithManagedCreate withNewDataDisk(Creatable
Specifies that a managed disk needs to be created explicitly with the given definition and attach to the virtual machine as data disk.
Parameters:
Returns:
withNewDataDisk
public WithManagedCreate withNewDataDisk(int sizeInGB)
Specifies that a managed disk needs to be created implicitly with the given size.
Parameters:
Returns:
withNewDataDisk
public WithManagedCreate 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 WithManagedCreate 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:
withNewDataDiskFromImage
public WithManagedCreate withNewDataDiskFromImage(int imageLun)
Specifies the data disk to be created from the data disk image in the virtual machine image.
Parameters:
Returns:
withNewDataDiskFromImage
public WithManagedCreate withNewDataDiskFromImage(int imageLun, int newSizeInGB, CachingTypes cachingType)
Specifies the data disk to be created from the data disk image in the virtual machine image.
Parameters:
Returns:
withNewDataDiskFromImage
public WithManagedCreate withNewDataDiskFromImage(int imageLun, int newSizeInGB, CachingTypes cachingType, StorageAccountTypes storageAccountType)
Specifies the data disk to be created from the data disk image in the virtual machine image.
Parameters:
Returns:
Applies to
Azure SDK for Java