Share via


BatchSupportedImage Class

  • java.lang.Object
    • com.azure.compute.batch.models.BatchSupportedImage

Implements

public final class BatchSupportedImage
implements JsonSerializable<BatchSupportedImage>

A reference to the Azure Virtual Machines Marketplace Image and additional information about the Image.

Method Summary

Modifier and Type Method and Description
static BatchSupportedImage fromJson(JsonReader jsonReader)

Reads an instance of BatchSupportedImage from the JsonReader.

OffsetDateTime getBatchSupportEndOfLife()

Get the batchSupportEndOfLife property: The time when the Azure Batch service will stop accepting create Pool requests for the Image.

List<String> getCapabilities()

Get the capabilities property: The capabilities or features which the Image supports.

BatchVmImageReference getImageReference()

Get the imageReference property: The reference to the Azure Virtual Machine's Marketplace Image.

String getNodeAgentSkuId()

Get the nodeAgentSkuId property: The ID of the Compute Node agent SKU which the Image supports.

OSType getOsType()

Get the osType property: The type of operating system (e.g.

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.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static BatchSupportedImage fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

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.

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.

getImageReference

public BatchVmImageReference getImageReference()

Get the imageReference property: The reference to the Azure Virtual Machine's Marketplace Image.

Returns:

the imageReference value.

getNodeAgentSkuId

public String getNodeAgentSkuId()

Get the nodeAgentSkuId property: The ID of the Compute Node agent SKU which the Image supports.

Returns:

the nodeAgentSkuId 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.

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 JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to