Interface VirtualMachine.DefinitionStages.WithManagedDataDisk
-
- All Known Subinterfaces:
VirtualMachine.DefinitionManaged,VirtualMachine.DefinitionManagedOrUnmanaged,VirtualMachine.DefinitionStages.WithFromImageCreateOptionsManaged,VirtualMachine.DefinitionStages.WithFromImageCreateOptionsManagedOrUnmanaged,VirtualMachine.DefinitionStages.WithLinuxCreateManaged,VirtualMachine.DefinitionStages.WithLinuxCreateManagedOrUnmanaged,VirtualMachine.DefinitionStages.WithManagedCreate,VirtualMachine.DefinitionStages.WithWindowsCreateManaged,VirtualMachine.DefinitionStages.WithWindowsCreateManagedOrUnmanaged
- Enclosing interface:
- VirtualMachine.DefinitionStages
public static interface VirtualMachine.DefinitionStages.WithManagedDataDiskThe stage of a virtual machine definition allowing to specify a managed data disk.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VirtualMachine.DefinitionStages.WithManagedCreatewithExistingDataDisk(Disk disk)Associates an existing source managed disk with the virtual machine.VirtualMachine.DefinitionStages.WithManagedCreatewithExistingDataDisk(Disk disk, int newSizeInGB, int lun, CachingTypes cachingType)Associates an existing source managed disk with the virtual machine and specifies additional settings.VirtualMachine.DefinitionStages.WithManagedCreatewithExistingDataDisk(Disk disk, int newSizeInGB, int lun, VirtualMachineDiskOptions options)Associates an existing source managed disk with the virtual machine and specifies additional settings.VirtualMachine.DefinitionStages.WithManagedCreatewithExistingDataDisk(Disk disk, int lun, CachingTypes cachingType)Associates an existing source managed disk with the virtual machine and specifies additional settings.VirtualMachine.DefinitionStages.WithManagedCreatewithNewDataDisk(int sizeInGB)Specifies that a managed disk needs to be created implicitly with the given size.VirtualMachine.DefinitionStages.WithManagedCreatewithNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType)Specifies that a managed disk needs to be created implicitly with the given settings.VirtualMachine.DefinitionStages.WithManagedCreatewithNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType, StorageAccountTypes storageAccountType)Specifies that a managed disk needs to be created implicitly with the given settings.VirtualMachine.DefinitionStages.WithManagedCreatewithNewDataDisk(int sizeInGB, int lun, VirtualMachineDiskOptions options)Specifies that a managed disk needs to be created implicitly with the given settings.VirtualMachine.DefinitionStages.WithManagedCreatewithNewDataDisk(Creatable<Disk> creatable)Specifies that a managed disk should be created explicitly with the given definition and attached to the virtual machine as a data disk.VirtualMachine.DefinitionStages.WithManagedCreatewithNewDataDisk(Creatable<Disk> creatable, int lun, CachingTypes cachingType)Specifies that a managed disk needs to be created explicitly with the given definition and attach to the virtual machine as data disk.VirtualMachine.DefinitionStages.WithManagedCreatewithNewDataDiskFromImage(int imageLun)Specifies the data disk to be created from the data disk image in the virtual machine image.VirtualMachine.DefinitionStages.WithManagedCreatewithNewDataDiskFromImage(int imageLun, int newSizeInGB, CachingTypes cachingType)Specifies the data disk to be created from the data disk image in the virtual machine image.VirtualMachine.DefinitionStages.WithManagedCreatewithNewDataDiskFromImage(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.VirtualMachine.DefinitionStages.WithManagedCreatewithNewDataDiskFromImage(int imageLun, int newSizeInGB, VirtualMachineDiskOptions options)Specifies the data disk to be created from the data disk image in the virtual machine image.
-
-
-
Method Detail
-
withNewDataDisk
VirtualMachine.DefinitionStages.WithManagedCreate withNewDataDisk(Creatable<Disk> 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:
creatable- a creatable disk definition- Returns:
- the next stage of the definition
-
withNewDataDisk
VirtualMachine.DefinitionStages.WithManagedCreate withNewDataDisk(Creatable<Disk> creatable, int lun, CachingTypes cachingType)
Specifies that a managed disk needs to be created explicitly with the given definition and attach to the virtual machine as data disk.- Parameters:
creatable- a creatable disklun- the data disk LUNcachingType- a data disk caching type- Returns:
- the next stage of the definition
-
withNewDataDisk
VirtualMachine.DefinitionStages.WithManagedCreate withNewDataDisk(int sizeInGB)
Specifies that a managed disk needs to be created implicitly with the given size.- Parameters:
sizeInGB- the size of the managed disk in GB- Returns:
- the next stage of the definition
-
withNewDataDisk
VirtualMachine.DefinitionStages.WithManagedCreate withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType)
Specifies that a managed disk needs to be created implicitly with the given settings.- Parameters:
sizeInGB- the size of the managed disk in GBlun- the disk LUNcachingType- the caching type- Returns:
- the next stage of the definition
-
withNewDataDisk
VirtualMachine.DefinitionStages.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:
sizeInGB- the size of the managed disk in GBlun- the disk LUNcachingType- the caching typestorageAccountType- the storage account type- Returns:
- the next stage of the definition
-
withNewDataDisk
VirtualMachine.DefinitionStages.WithManagedCreate withNewDataDisk(int sizeInGB, int lun, VirtualMachineDiskOptions options)
Specifies that a managed disk needs to be created implicitly with the given settings.- Parameters:
sizeInGB- the size of the managed disk in GBlun- the disk LUNoptions- the disk options- Returns:
- the next stage of the definition
-
withExistingDataDisk
VirtualMachine.DefinitionStages.WithManagedCreate withExistingDataDisk(Disk disk)
Associates an existing source managed disk with the virtual machine.- Parameters:
disk- an existing managed disk- Returns:
- the next stage of the definition
-
withExistingDataDisk
VirtualMachine.DefinitionStages.WithManagedCreate withExistingDataDisk(Disk disk, int lun, CachingTypes cachingType)
Associates an existing source managed disk with the virtual machine and specifies additional settings.- Parameters:
disk- a managed disklun- the disk LUNcachingType- a caching type- Returns:
- the next stage of the definition
-
withExistingDataDisk
VirtualMachine.DefinitionStages.WithManagedCreate withExistingDataDisk(Disk disk, int newSizeInGB, int lun, VirtualMachineDiskOptions options)
Associates an existing source managed disk with the virtual machine and specifies additional settings.- Parameters:
disk- a managed disknewSizeInGB- the disk resize size in GBlun- the disk LUNoptions- the disk options- Returns:
- the next stage of the definition
-
withExistingDataDisk
VirtualMachine.DefinitionStages.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:
disk- a managed disknewSizeInGB- the disk resize size in GBlun- the disk LUNcachingType- a caching type- Returns:
- the next stage of the definition
-
withNewDataDiskFromImage
VirtualMachine.DefinitionStages.WithManagedCreate withNewDataDiskFromImage(int imageLun)
Specifies the data disk to be created from the data disk image in the virtual machine image.- Parameters:
imageLun- the LUN of the source data disk image- Returns:
- the next stage of the definition
-
withNewDataDiskFromImage
VirtualMachine.DefinitionStages.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:
imageLun- the LUN of the source data disk imagenewSizeInGB- the new size that overrides the default size specified in the data disk imagecachingType- a caching type- Returns:
- the next stage of the definition
-
withNewDataDiskFromImage
VirtualMachine.DefinitionStages.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:
imageLun- the LUN of the source data disk imagenewSizeInGB- the new size that overrides the default size specified in the data disk imagecachingType- a caching typestorageAccountType- a storage account type- Returns:
- the next stage of the definition
-
withNewDataDiskFromImage
VirtualMachine.DefinitionStages.WithManagedCreate withNewDataDiskFromImage(int imageLun, int newSizeInGB, VirtualMachineDiskOptions options)
Specifies the data disk to be created from the data disk image in the virtual machine image.- Parameters:
imageLun- the LUN of the source data disk imagenewSizeInGB- the new size that overrides the default size specified in the data disk imageoptions- the disk options- Returns:
- the next stage of the definition
-
-