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