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 Details

    • getNodeAgentSkuId

      public String getNodeAgentSkuId()
      Get the nodeAgentSkuId property: The ID of the Compute Node agent SKU which the Image supports.
      Returns:
      the nodeAgentSkuId value.
    • getImageReference

      public ImageReference getImageReference()
      Get the imageReference property: The reference to the Azure Virtual Machine's Marketplace Image.
      Returns:
      the imageReference value.
    • getOsType

      public OSType getOsType()
      Get the osType property: The type of operating system (e.g. Windows or Linux) of the Image.
      Returns:
      the osType value.
    • getCapabilities

      public List<String> 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

      public OffsetDateTime 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

      public ImageVerificationType 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<BatchSupportedImage>
      Throws:
      IOException
    • fromJson

      public static BatchSupportedImage fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.