GalleryImageVersionStorageProfile Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. GalleryImageVersionStorageProfile
- com.
Implements
public final class GalleryImageVersionStorageProfile
implements JsonSerializable<GalleryImageVersionStorageProfile>
This is the storage profile of a Gallery Image Version.
Constructor Summary
| Constructor | Description |
|---|---|
| GalleryImageVersionStorageProfile() |
Creates an instance of Gallery |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Gallery |
dataDiskImages()
Get the data |
|
static
Gallery |
fromJson(JsonReader jsonReader)
Reads an instance of Gallery |
|
Gallery |
osDiskImage()
Get the os |
|
Gallery |
source()
Get the source property: The source of the gallery artifact version. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Gallery |
withDataDiskImages(List<GalleryDataDiskImage> dataDiskImages)
Set the data |
|
Gallery |
withOsDiskImage(GalleryOSDiskImage osDiskImage)
Set the os |
|
Gallery |
withSource(GalleryArtifactVersionFullSource source)
Set the source property: The source of the gallery artifact version. |
Methods inherited from java.lang.Object
Constructor Details
GalleryImageVersionStorageProfile
public GalleryImageVersionStorageProfile()
Creates an instance of GalleryImageVersionStorageProfile class.
Method Details
dataDiskImages
public List<GalleryDataDiskImage> dataDiskImages()
Get the dataDiskImages property: A list of data disk images.
Returns:
fromJson
public static GalleryImageVersionStorageProfile fromJson(JsonReader jsonReader)
Reads an instance of GalleryImageVersionStorageProfile from the JsonReader.
Parameters:
Returns:
Throws:
osDiskImage
public GalleryOSDiskImage osDiskImage()
Get the osDiskImage property: This is the OS disk image.
Returns:
source
public GalleryArtifactVersionFullSource source()
Get the source property: The source of the gallery artifact version.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDataDiskImages
public GalleryImageVersionStorageProfile withDataDiskImages(List<GalleryDataDiskImage> dataDiskImages)
Set the dataDiskImages property: A list of data disk images.
Parameters:
Returns:
withOsDiskImage
public GalleryImageVersionStorageProfile withOsDiskImage(GalleryOSDiskImage osDiskImage)
Set the osDiskImage property: This is the OS disk image.
Parameters:
Returns:
withSource
public GalleryImageVersionStorageProfile withSource(GalleryArtifactVersionFullSource source)
Set the source property: The source of the gallery artifact version.
Parameters:
Returns: