Class SharedGalleryImageVersionStorageProfile
java.lang.Object
com.azure.resourcemanager.compute.models.SharedGalleryImageVersionStorageProfile
This is the storage profile of a Gallery Image Version.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the dataDiskImages property: A list of data disk images.Get the osDiskImage property: This is the OS disk image.voidvalidate()Validates the instance.withDataDiskImages(List<SharedGalleryDataDiskImage> dataDiskImages) Set the dataDiskImages property: A list of data disk images.withOsDiskImage(SharedGalleryOSDiskImage osDiskImage) Set the osDiskImage property: This is the OS disk image.
-
Constructor Details
-
SharedGalleryImageVersionStorageProfile
public SharedGalleryImageVersionStorageProfile()
-
-
Method Details
-
osDiskImage
Get the osDiskImage property: This is the OS disk image.- Returns:
- the osDiskImage value.
-
dataDiskImages
Get the dataDiskImages property: A list of data disk images.- Returns:
- the dataDiskImages value.
-
withDataDiskImages
public SharedGalleryImageVersionStorageProfile withDataDiskImages(List<SharedGalleryDataDiskImage> dataDiskImages) Set the dataDiskImages property: A list of data disk images.- Parameters:
dataDiskImages- the dataDiskImages value to set.- Returns:
- the SharedGalleryImageVersionStorageProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-