GalleryApplicationVersionInner Class

public final class GalleryApplicationVersionInner
extends Resource

Specifies information about the gallery Application Version that you want to create or update.

Constructor Summary

Constructor Description
GalleryApplicationVersionInner()

Creates an instance of GalleryApplicationVersionInner class.

Method Summary

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

Reads an instance of GalleryApplicationVersionInner 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.

GalleryProvisioningState provisioningState()

Get the provisioningState property: The provisioning state, which only appears in the response.

GalleryApplicationVersionPublishingProfile publishingProfile()

Get the publishingProfile property: The publishing profile of a gallery image version.

ReplicationStatus replicationStatus()

Get the replicationStatus property: This is the replication status of the gallery image version.

GalleryApplicationVersionSafetyProfile safetyProfile()

Get the safetyProfile property: The safety profile of the Gallery Application Version.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

GalleryApplicationVersionInner withLocation(String location)
GalleryApplicationVersionInner withPublishingProfile(GalleryApplicationVersionPublishingProfile publishingProfile)

Set the publishingProfile property: The publishing profile of a gallery image version.

GalleryApplicationVersionInner withSafetyProfile(GalleryApplicationVersionSafetyProfile safetyProfile)

Set the safetyProfile property: The safety profile of the Gallery Application Version.

GalleryApplicationVersionInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

GalleryApplicationVersionInner

public GalleryApplicationVersionInner()

Creates an instance of GalleryApplicationVersionInner class.

Method Details

fromJson

public static GalleryApplicationVersionInner fromJson(JsonReader jsonReader)

Reads an instance of GalleryApplicationVersionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of GalleryApplicationVersionInner 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:

GalleryApplicationVersionInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

GalleryApplicationVersionInner.name()

Returns:

the name value.

provisioningState

public GalleryProvisioningState provisioningState()

Get the provisioningState property: The provisioning state, which only appears in the response.

Returns:

the provisioningState value.

publishingProfile

public GalleryApplicationVersionPublishingProfile publishingProfile()

Get the publishingProfile property: The publishing profile of a gallery image version.

Returns:

the publishingProfile value.

replicationStatus

public ReplicationStatus replicationStatus()

Get the replicationStatus property: This is the replication status of the gallery image version.

Returns:

the replicationStatus value.

safetyProfile

public GalleryApplicationVersionSafetyProfile safetyProfile()

Get the safetyProfile property: The safety profile of the Gallery Application Version.

Returns:

the safetyProfile value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

GalleryApplicationVersionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

GalleryApplicationVersionInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withLocation

public GalleryApplicationVersionInner withLocation(String location)

Overrides:

GalleryApplicationVersionInner.withLocation(String location)

Parameters:

location

withPublishingProfile

public GalleryApplicationVersionInner withPublishingProfile(GalleryApplicationVersionPublishingProfile publishingProfile)

Set the publishingProfile property: The publishing profile of a gallery image version.

Parameters:

publishingProfile - the publishingProfile value to set.

Returns:

the GalleryApplicationVersionInner object itself.

withSafetyProfile

public GalleryApplicationVersionInner withSafetyProfile(GalleryApplicationVersionSafetyProfile safetyProfile)

Set the safetyProfile property: The safety profile of the Gallery Application Version.

Parameters:

safetyProfile - the safetyProfile value to set.

Returns:

the GalleryApplicationVersionInner object itself.

withTags

public GalleryApplicationVersionInner withTags(Map tags)

Overrides:

GalleryApplicationVersionInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to