GalleryImageVersionStorageProfile Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. GalleryImageVersionStorageProfile
- com.
public final class 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 |
Gallery |
osDiskImage()
Get the os |
Gallery |
source()
Get the source property: The source of the gallery artifact version. |
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
Get the dataDiskImages property: A list of data disk images.
Returns:
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:
validate
public void validate()
Validates the instance.
withDataDiskImages
public GalleryImageVersionStorageProfile withDataDiskImages(List
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:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for