Package com.azure.compute.batch.models
Class BatchSupportedImage
java.lang.Object
com.azure.compute.batch.models.BatchSupportedImage
- All Implemented Interfaces:
com.azure.json.JsonSerializable<BatchSupportedImage>
public final class BatchSupportedImage
extends Object
implements com.azure.json.JsonSerializable<BatchSupportedImage>
A reference to the Azure Virtual Machines Marketplace Image and additional
information about the Image.
-
Method Summary
Modifier and TypeMethodDescriptionstatic BatchSupportedImage
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of BatchSupportedImage from the JsonReader.Get the batchSupportEndOfLife property: The time when the Azure Batch service will stop accepting create Pool requests for the Image.Get the capabilities property: The capabilities or features which the Image supports.Get the imageReference property: The reference to the Azure Virtual Machine's Marketplace Image.Get the nodeAgentSkuId property: The ID of the Compute Node agent SKU which the Image supports.Get the osType property: The type of operating system (e.g.Get the verificationType property: Whether the Azure Batch service actively verifies that the Image is compatible with the associated Compute Node agent SKU.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getNodeAgentSkuId
Get the nodeAgentSkuId property: The ID of the Compute Node agent SKU which the Image supports.- Returns:
- the nodeAgentSkuId value.
-
getImageReference
Get the imageReference property: The reference to the Azure Virtual Machine's Marketplace Image.- Returns:
- the imageReference value.
-
getOsType
Get the osType property: The type of operating system (e.g. Windows or Linux) of the Image.- Returns:
- the osType value.
-
getCapabilities
Get the capabilities property: The capabilities or features which the Image supports. Not every capability of the Image is listed. Capabilities in this list are considered of special interest and are generally related to integration with other features in the Azure Batch service.- Returns:
- the capabilities value.
-
getBatchSupportEndOfLife
Get the batchSupportEndOfLife property: The time when the Azure Batch service will stop accepting create Pool requests for the Image.- Returns:
- the batchSupportEndOfLife value.
-
getVerificationType
Get the verificationType property: Whether the Azure Batch service actively verifies that the Image is compatible with the associated Compute Node agent SKU.- Returns:
- the verificationType value.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<BatchSupportedImage>
- Throws:
IOException
-
fromJson
Reads an instance of BatchSupportedImage from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of BatchSupportedImage if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException
- If the deserialized JSON object was missing any required properties.IOException
- If an error occurs while reading the BatchSupportedImage.
-