Share via


ImageProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.devcenter.fluent.models.ImageProperties

Implements

public final class ImageProperties
implements JsonSerializable<ImageProperties>

Properties of an image.

Constructor Summary

Constructor Description
ImageProperties()

Creates an instance of ImageProperties class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: The description of the image.

static ImageProperties fromJson(JsonReader jsonReader)

Reads an instance of ImageProperties from the JsonReader.

HibernateSupport hibernateSupport()

Get the hibernateSupport property: Indicates whether this image has hibernate enabled.

String offer()

Get the offer property: The name of the image offer.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

String publisher()

Get the publisher property: The publisher of the image.

RecommendedMachineConfiguration recommendedMachineConfiguration()

Get the recommendedMachineConfiguration property: The recommended machine configuration to use with the image.

String sku()

Get the sku property: The SKU name for the image.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ImageProperties

public ImageProperties()

Creates an instance of ImageProperties class.

Method Details

description

public String description()

Get the description property: The description of the image.

Returns:

the description value.

fromJson

public static ImageProperties fromJson(JsonReader jsonReader)

Reads an instance of ImageProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ImageProperties 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 ImageProperties.

hibernateSupport

public HibernateSupport hibernateSupport()

Get the hibernateSupport property: Indicates whether this image has hibernate enabled. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate.

Returns:

the hibernateSupport value.

offer

public String offer()

Get the offer property: The name of the image offer.

Returns:

the offer value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

Returns:

the provisioningState value.

publisher

public String publisher()

Get the publisher property: The publisher of the image.

Returns:

the publisher value.

recommendedMachineConfiguration

public RecommendedMachineConfiguration recommendedMachineConfiguration()

Get the recommendedMachineConfiguration property: The recommended machine configuration to use with the image.

Returns:

the recommendedMachineConfiguration value.

sku

public String sku()

Get the sku property: The SKU name for the image.

Returns:

the sku value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to