public static interface VirtualMachine.UpdateStages.WithManagedDataDisk
Modifier and Type | Method and Description |
---|---|
VirtualMachine.Update |
withExistingDataDisk(Disk disk)
Associates an existing source managed disk with the VM.
|
VirtualMachine.Update |
withExistingDataDisk(Disk disk,
int lun,
CachingTypes cachingType)
Specifies an existing source managed disk and settings.
|
VirtualMachine.Update |
withExistingDataDisk(Disk disk,
int newSizeInGB,
int lun,
CachingTypes cachingType)
Specifies an existing source managed disk and settings.
|
VirtualMachine.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.
|
VirtualMachine.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.
|
VirtualMachine.Update |
withNewDataDisk(int sizeInGB)
Specifies that a managed disk needs to be created implicitly with the given size.
|
VirtualMachine.Update |
withNewDataDisk(int sizeInGB,
int lun,
CachingTypes cachingType)
Specifies that a managed disk needs to be created implicitly with the given settings.
|
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.
|
VirtualMachine.Update |
withoutDataDisk(int lun)
Detaches a managed data disk with the given LUN from the virtual machine.
|
VirtualMachine.Update withNewDataDisk(Creatable<Disk> creatable)
creatable
- a creatable disk definitionVirtualMachine.Update withNewDataDisk(Creatable<Disk> creatable, int lun, CachingTypes cachingType)
creatable
- a creatable disk definitionlun
- the data disk LUNcachingType
- a data disk caching typeVirtualMachine.Update withNewDataDisk(int sizeInGB)
sizeInGB
- the size of the managed diskVirtualMachine.Update withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType)
sizeInGB
- the size of the managed disklun
- the disk LUNcachingType
- a caching typeVirtualMachine.Update withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType, StorageAccountTypes storageAccountType)
sizeInGB
- the size of the managed disklun
- the disk LUNcachingType
- a caching typestorageAccountType
- a storage account typeVirtualMachine.Update withExistingDataDisk(Disk disk)
disk
- a managed diskVirtualMachine.Update withExistingDataDisk(Disk disk, int lun, CachingTypes cachingType)
disk
- the managed disklun
- the disk LUNcachingType
- a caching typeVirtualMachine.Update withExistingDataDisk(Disk disk, int newSizeInGB, int lun, CachingTypes cachingType)
disk
- a managed disknewSizeInGB
- the disk resize size in GBlun
- the disk LUNcachingType
- a caching typeVirtualMachine.Update withoutDataDisk(int lun)
lun
- the disk LUNCopyright © 2019. All rights reserved.