Class GalleryDiskImage
java.lang.Object
com.microsoft.azure.management.compute.GalleryDiskImage
- Direct Known Subclasses:
GalleryDataDiskImage
,GalleryOSDiskImage
This is the disk image base class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the host caching of the disk.sizeInGB()
Get this property indicates the size of the VHD to be created.source()
Get the source value.withHostCaching
(HostCaching hostCaching) Set the host caching of the disk.Set the source value.
-
Constructor Details
-
GalleryDiskImage
public GalleryDiskImage()
-
-
Method Details
-
sizeInGB
Get this property indicates the size of the VHD to be created.- Returns:
- the sizeInGB value
-
hostCaching
Get the host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Possible values include: 'None', 'ReadOnly', 'ReadWrite'.- Returns:
- the hostCaching value
-
withHostCaching
Set the host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Possible values include: 'None', 'ReadOnly', 'ReadWrite'.- Parameters:
hostCaching
- the hostCaching value to set- Returns:
- the GalleryDiskImage object itself.
-
source
Get the source value.- Returns:
- the source value
-
withSource
Set the source value.- Parameters:
source
- the source value to set- Returns:
- the GalleryDiskImage object itself.
-