SharedGalleryImageVersionStorageProfile Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. SharedGalleryImageVersionStorageProfile
- com.
Implements
public final class SharedGalleryImageVersionStorageProfile
implements JsonSerializable<SharedGalleryImageVersionStorageProfile>
This is the storage profile of a Gallery Image Version.
Constructor Summary
Constructor | Description |
---|---|
SharedGalleryImageVersionStorageProfile() |
Creates an instance of Shared |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Shared |
dataDiskImages()
Get the data |
static
Shared |
fromJson(JsonReader jsonReader)
Reads an instance of Shared |
Shared |
osDiskImage()
Get the os |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Shared |
withDataDiskImages(List<SharedGalleryDataDiskImage> dataDiskImages)
Set the data |
Shared |
withOsDiskImage(SharedGalleryOSDiskImage osDiskImage)
Set the os |
Methods inherited from java.lang.Object
Constructor Details
SharedGalleryImageVersionStorageProfile
public SharedGalleryImageVersionStorageProfile()
Creates an instance of SharedGalleryImageVersionStorageProfile class.
Method Details
dataDiskImages
public List
Get the dataDiskImages property: A list of data disk images.
Returns:
fromJson
public static SharedGalleryImageVersionStorageProfile fromJson(JsonReader jsonReader)
Reads an instance of SharedGalleryImageVersionStorageProfile from the JsonReader.
Parameters:
Returns:
Throws:
osDiskImage
public SharedGalleryOSDiskImage osDiskImage()
Get the osDiskImage property: This is the OS disk image.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDataDiskImages
public SharedGalleryImageVersionStorageProfile withDataDiskImages(List
Set the dataDiskImages property: A list of data disk images.
Parameters:
Returns:
withOsDiskImage
public SharedGalleryImageVersionStorageProfile withOsDiskImage(SharedGalleryOSDiskImage osDiskImage)
Set the osDiskImage property: This is the OS disk image.
Parameters:
Returns:
Applies to
Azure SDK for Java