Class VirtualMachineImageProperties
java.lang.Object
com.azure.resourcemanager.compute.fluent.models.VirtualMachineImageProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<VirtualMachineImageProperties>
public final class VirtualMachineImageProperties
extends Object
implements com.azure.json.JsonSerializable<VirtualMachineImageProperties>
Describes the properties of a Virtual Machine Image.
-
Method Summary
Modifier and TypeMethodDescriptionGet the architecture property: Specifies the Architecture Type.Get the automaticOSUpgradeProperties property: Describes automatic OS upgrade properties on the image.Get the dataDiskImages property: The list of data disk images information.Get the disallowed property: Specifies disallowed configuration for the VirtualMachine created from the image.features()Get the features property: The features property.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of VirtualMachineImageProperties from the JsonReader.Get the hyperVGeneration property: Specifies the HyperVGeneration Type.Get the imageDeprecationStatus property: Describes image deprecation status properties on the image.Get the osDiskImage property: Contains the os disk image information.plan()Get the plan property: Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
plan
Get the plan property: Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.- Returns:
- the plan value.
-
osDiskImage
Get the osDiskImage property: Contains the os disk image information.- Returns:
- the osDiskImage value.
-
dataDiskImages
Get the dataDiskImages property: The list of data disk images information.- Returns:
- the dataDiskImages value.
-
automaticOSUpgradeProperties
Get the automaticOSUpgradeProperties property: Describes automatic OS upgrade properties on the image.- Returns:
- the automaticOSUpgradeProperties value.
-
hyperVGeneration
Get the hyperVGeneration property: Specifies the HyperVGeneration Type.- Returns:
- the hyperVGeneration value.
-
disallowed
Get the disallowed property: Specifies disallowed configuration for the VirtualMachine created from the image.- Returns:
- the disallowed value.
-
features
Get the features property: The features property.- Returns:
- the features value.
-
architecture
Get the architecture property: Specifies the Architecture Type.- Returns:
- the architecture value.
-
imageDeprecationStatus
Get the imageDeprecationStatus property: Describes image deprecation status properties on the image.- Returns:
- the imageDeprecationStatus value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<VirtualMachineImageProperties>- Throws:
IOException
-
fromJson
public static VirtualMachineImageProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of VirtualMachineImageProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of VirtualMachineImageProperties 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 VirtualMachineImageProperties.
-