Share via


ImageInner Class

public final class ImageInner
extends ProxyResource

Represents an image.

Constructor Summary

Constructor Description
ImageInner()

Creates an instance of ImageInner class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: The description of the image.

static ImageInner fromJson(JsonReader jsonReader)

Reads an instance of ImageInner from the JsonReader.

HibernateSupport hibernateSupport()

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

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

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.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ImageInner

public ImageInner()

Creates an instance of ImageInner class.

Method Details

description

public String description()

Get the description property: The description of the image.

Returns:

the description value.

fromJson

public static ImageInner fromJson(JsonReader jsonReader)

Reads an instance of ImageInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ImageInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ImageInner.name()

Returns:

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

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ImageInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ImageInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to