GalleryImageVersionStorageProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.GalleryImageVersionStorageProfile

public final class GalleryImageVersionStorageProfile

This is the storage profile of a Gallery Image Version.

Constructor Summary

Constructor Description
GalleryImageVersionStorageProfile()

Creates an instance of GalleryImageVersionStorageProfile class.

Method Summary

Modifier and Type Method and Description
List<GalleryDataDiskImage> dataDiskImages()

Get the dataDiskImages property: A list of data disk images.

GalleryOSDiskImage osDiskImage()

Get the osDiskImage property: This is the OS disk image.

GalleryArtifactVersionFullSource source()

Get the source property: The source of the gallery artifact version.

void validate()

Validates the instance.

GalleryImageVersionStorageProfile withDataDiskImages(List<GalleryDataDiskImage> dataDiskImages)

Set the dataDiskImages property: A list of data disk images.

GalleryImageVersionStorageProfile withOsDiskImage(GalleryOSDiskImage osDiskImage)

Set the osDiskImage property: This is the OS disk image.

GalleryImageVersionStorageProfile 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 dataDiskImages()

Get the dataDiskImages property: A list of data disk images.

Returns:

the dataDiskImages value.

osDiskImage

public GalleryOSDiskImage osDiskImage()

Get the osDiskImage property: This is the OS disk image.

Returns:

the osDiskImage value.

source

public GalleryArtifactVersionFullSource source()

Get the source property: The source of the gallery artifact version.

Returns:

the source value.

validate

public void validate()

Validates the instance.

withDataDiskImages

public GalleryImageVersionStorageProfile withDataDiskImages(List dataDiskImages)

Set the dataDiskImages property: A list of data disk images.

Parameters:

dataDiskImages - the dataDiskImages value to set.

Returns:

the GalleryImageVersionStorageProfile object itself.

withOsDiskImage

public GalleryImageVersionStorageProfile withOsDiskImage(GalleryOSDiskImage osDiskImage)

Set the osDiskImage property: This is the OS disk image.

Parameters:

osDiskImage - the osDiskImage value to set.

Returns:

the GalleryImageVersionStorageProfile object itself.

withSource

public GalleryImageVersionStorageProfile withSource(GalleryArtifactVersionFullSource source)

Set the source property: The source of the gallery artifact version.

Parameters:

source - the source value to set.

Returns:

the GalleryImageVersionStorageProfile object itself.

Applies to