Share via


GalleryInner Class

public final class GalleryInner
extends ProxyResource

Represents a gallery.

Constructor Summary

Constructor Description
GalleryInner()

Creates an instance of GalleryInner class.

Method Summary

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

Reads an instance of GalleryInner from the JsonReader.

String galleryResourceId()

Get the galleryResourceId property: The resource ID of the backing Azure Compute Gallery.

String id()

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

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

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

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.

GalleryInner withGalleryResourceId(String galleryResourceId)

Set the galleryResourceId property: The resource ID of the backing Azure Compute Gallery.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

GalleryInner

public GalleryInner()

Creates an instance of GalleryInner class.

Method Details

fromJson

public static GalleryInner fromJson(JsonReader jsonReader)

Reads an instance of GalleryInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

galleryResourceId

public String galleryResourceId()

Get the galleryResourceId property: The resource ID of the backing Azure Compute Gallery.

Returns:

the galleryResourceId value.

id

public String id()

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

Overrides:

GalleryInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

GalleryInner.name()

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

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

Returns:

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

GalleryInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

GalleryInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withGalleryResourceId

public GalleryInner withGalleryResourceId(String galleryResourceId)

Set the galleryResourceId property: The resource ID of the backing Azure Compute Gallery.

Parameters:

galleryResourceId - the galleryResourceId value to set.

Returns:

the GalleryInner object itself.

Applies to