SharedGalleryImageVersionStorageProfile Class

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

Implements

public final class SharedGalleryImageVersionStorageProfile
implements JsonSerializable<SharedGalleryImageVersionStorageProfile>

This is the storage profile of a Gallery Image Version.

Method Summary

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

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

static SharedGalleryImageVersionStorageProfile fromJson(JsonReader jsonReader)

Reads an instance of SharedGalleryImageVersionStorageProfile from the JsonReader.

SharedGalleryOSDiskImage osDiskImage()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

dataDiskImages

public List<SharedGalleryDataDiskImage> dataDiskImages()

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

Returns:

the dataDiskImages value.

fromJson

public static SharedGalleryImageVersionStorageProfile fromJson(JsonReader jsonReader)

Reads an instance of SharedGalleryImageVersionStorageProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SharedGalleryImageVersionStorageProfile if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SharedGalleryImageVersionStorageProfile.

osDiskImage

public SharedGalleryOSDiskImage osDiskImage()

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

Returns:

the osDiskImage value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to