Share via


ImageVersionInner Class

public final class ImageVersionInner
extends ProxyResource

Represents an image version.

Constructor Summary

Constructor Description
ImageVersionInner()

Creates an instance of ImageVersionInner class.

Method Summary

Modifier and Type Method and Description
Boolean excludeFromLatest()

Get the excludeFromLatest property: If the version should be excluded from being treated as the latest version.

static ImageVersionInner fromJson(JsonReader jsonReader)

Reads an instance of ImageVersionInner from the JsonReader.

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 namePropertiesName()

Get the name property: The semantic version string.

Integer osDiskImageSizeInGb()

Get the osDiskImageSizeInGb property: The size of the OS disk image, in GB.

ProvisioningState provisioningState()

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

OffsetDateTime publishedDate()

Get the publishedDate property: The datetime that the backing image version was published.

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

ImageVersionInner

public ImageVersionInner()

Creates an instance of ImageVersionInner class.

Method Details

excludeFromLatest

public Boolean excludeFromLatest()

Get the excludeFromLatest property: If the version should be excluded from being treated as the latest version.

Returns:

the excludeFromLatest value.

fromJson

public static ImageVersionInner fromJson(JsonReader jsonReader)

Reads an instance of ImageVersionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

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

Overrides:

ImageVersionInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ImageVersionInner.name()

Returns:

the name value.

namePropertiesName

public String namePropertiesName()

Get the name property: The semantic version string.

Returns:

the name value.

osDiskImageSizeInGb

public Integer osDiskImageSizeInGb()

Get the osDiskImageSizeInGb property: The size of the OS disk image, in GB.

Returns:

the osDiskImageSizeInGb value.

provisioningState

public ProvisioningState provisioningState()

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

Returns:

the provisioningState value.

publishedDate

public OffsetDateTime publishedDate()

Get the publishedDate property: The datetime that the backing image version was published.

Returns:

the publishedDate 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:

ImageVersionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ImageVersionInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to