CommunityGalleryImageIdentifier Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.CommunityGalleryImageIdentifier

Implements

public final class CommunityGalleryImageIdentifier
implements JsonSerializable<CommunityGalleryImageIdentifier>

This is the community gallery image definition identifier.

Method Summary

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

Reads an instance of CommunityGalleryImageIdentifier from the JsonReader.

String offer()

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

String publisher()

Get the publisher property: The name of the gallery image definition publisher.

String sku()

Get the sku property: The name of the gallery image definition SKU.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static CommunityGalleryImageIdentifier fromJson(JsonReader jsonReader)

Reads an instance of CommunityGalleryImageIdentifier from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

offer

public String offer()

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

Returns:

the offer value.

publisher

public String publisher()

Get the publisher property: The name of the gallery image definition publisher.

Returns:

the publisher value.

sku

public String sku()

Get the sku property: The name of the gallery image definition SKU.

Returns:

the sku value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to