ImageDataDisk Class
- java.
lang. Object - com.
microsoft. azure. management. compute. ImageDataDisk
- com.
public class ImageDataDisk
Describes a data disk.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
blobUri()
Get the blobUri value. |
Caching |
caching()
Get the caching value. |
Integer |
diskSizeGB()
Get the diskSizeGB value. |
int |
lun()
Get the lun value. |
SubResource |
managedDisk()
Get the managedDisk value. |
SubResource |
snapshot()
Get the snapshot value. |
Storage |
storageAccountType()
Get the storageAccountType value. |
Image |
withBlobUri(String blobUri)
Set the blobUri value. |
Image |
withCaching(CachingTypes caching)
Set the caching value. |
Image |
withDiskSizeGB(Integer diskSizeGB)
Set the diskSizeGB value. |
Image |
withLun(int lun)
Set the lun value. |
Image |
withManagedDisk(SubResource managedDisk)
Set the managedDisk value. |
Image |
withSnapshot(SubResource snapshot)
Set the snapshot value. |
Image |
withStorageAccountType(StorageAccountTypes storageAccountType)
Set the storageAccountType value. |
Method Details
blobUri
public String blobUri()
Get the blobUri value.
Returns:
caching
public CachingTypes caching()
Get the caching value.
Returns:
diskSizeGB
public Integer diskSizeGB()
Get the diskSizeGB value.
Returns:
lun
public int lun()
Get the lun value.
Returns:
managedDisk
public SubResource managedDisk()
Get the managedDisk value.
Returns:
snapshot
public SubResource snapshot()
Get the snapshot value.
Returns:
storageAccountType
public StorageAccountTypes storageAccountType()
Get the storageAccountType value.
Returns:
withBlobUri
public ImageDataDisk withBlobUri(String blobUri)
Set the blobUri value.
Parameters:
Returns:
withCaching
public ImageDataDisk withCaching(CachingTypes caching)
Set the caching value.
Parameters:
Returns:
withDiskSizeGB
public ImageDataDisk withDiskSizeGB(Integer diskSizeGB)
Set the diskSizeGB value.
Parameters:
Returns:
withLun
public ImageDataDisk withLun(int lun)
Set the lun value.
Parameters:
Returns:
withManagedDisk
public ImageDataDisk withManagedDisk(SubResource managedDisk)
Set the managedDisk value.
Parameters:
Returns:
withSnapshot
public ImageDataDisk withSnapshot(SubResource snapshot)
Set the snapshot value.
Parameters:
Returns:
withStorageAccountType
public ImageDataDisk withStorageAccountType(StorageAccountTypes storageAccountType)
Set the storageAccountType value.
Parameters:
Returns:
Applies to
Azure SDK for Java