public class ImageDataDisk extends Object
Constructor and Description |
---|
ImageDataDisk() |
Modifier and Type | Method and Description |
---|---|
String |
blobUri()
Get the Virtual Hard Disk.
|
CachingTypes |
caching()
Get specifies the caching requirements.
|
Integer |
diskSizeGB()
Get specifies the size of empty data disks in gigabytes.
|
int |
lun()
Get specifies the logical unit number of the data disk.
|
SubResource |
managedDisk()
Get the managedDisk.
|
SubResource |
snapshot()
Get the snapshot.
|
StorageAccountTypes |
storageAccountType()
Get specifies the storage account type for the managed disk.
|
ImageDataDisk |
withBlobUri(String blobUri)
Set the Virtual Hard Disk.
|
ImageDataDisk |
withCaching(CachingTypes caching)
Set specifies the caching requirements.
|
ImageDataDisk |
withDiskSizeGB(Integer diskSizeGB)
Set specifies the size of empty data disks in gigabytes.
|
ImageDataDisk |
withLun(int lun)
Set specifies the logical unit number of the data disk.
|
ImageDataDisk |
withManagedDisk(SubResource managedDisk)
Set the managedDisk.
|
ImageDataDisk |
withSnapshot(SubResource snapshot)
Set the snapshot.
|
ImageDataDisk |
withStorageAccountType(StorageAccountTypes storageAccountType)
Set specifies the storage account type for the managed disk.
|
public int lun()
public ImageDataDisk withLun(int lun)
lun
- the lun value to setpublic SubResource snapshot()
public ImageDataDisk withSnapshot(SubResource snapshot)
snapshot
- the snapshot value to setpublic SubResource managedDisk()
public ImageDataDisk withManagedDisk(SubResource managedDisk)
managedDisk
- the managedDisk value to setpublic String blobUri()
public ImageDataDisk withBlobUri(String blobUri)
blobUri
- the blobUri value to setpublic CachingTypes caching()
public ImageDataDisk withCaching(CachingTypes caching)
caching
- the caching value to setpublic Integer diskSizeGB()
public ImageDataDisk withDiskSizeGB(Integer diskSizeGB)
diskSizeGB
- the diskSizeGB value to setpublic StorageAccountTypes storageAccountType()
public ImageDataDisk withStorageAccountType(StorageAccountTypes storageAccountType)
storageAccountType
- the storageAccountType value to setCopyright © 2019. All rights reserved.